; Update ChangeLog.2 and AUTHORS files
[emacs.git] / ChangeLog.2
blob8f937b9ee876495479e18d01f1a7ddfea5341d82
1 2017-02-03  Tino Calancha  <tino.calancha@gmail.com>
3         * CONTRIBUTE (Documenting your changes): Index new vars/commands in manual.
5 2017-01-31  Eli Zaretskii  <eliz@gnu.org>
7         Index byte-compile-debug
9         * doc/lispref/compile.texi (Compilation Functions): Index
10         byte-compile-debug.
12 2017-01-31  Philipp Stephani  <phst@google.com>
14         Document `byte-compile-debug' in the ELisp manual
16         * doc/lispref/compile.texi: Document variable `byte-compile-debug'.
18 2017-01-31  Philipp Stephani  <phst@google.com>
20         Document variable `byte-compile-debug'
22         * lisp/emacs-lisp/bytecomp.el (byte-compile-debug): Document variable.
24 2017-01-31  Noam Postavsky  <npostavs@gmail.com>
26         Fix call to debugger on assertion failure
28         * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): The first
29         argument must be `error', and the second is a list of arguments for
30         `signal'.
32 2017-01-29  Noam Postavsky  <npostavs@gmail.com>
34         Call modification hooks in org-src fontify buffers
36         * lisp/org/org-src.el (org-src-font-lock-fontify-block): Let-bind
37         `inhibit-modification-hooks' to nil, since this function can be called
38         from jit-lock-function which binds that variable to t (Bug#25132).
40 2017-01-28  Eli Zaretskii  <eliz@gnu.org>
42         Improve documentation of 'format' conversions
44         * src/editfns.c (Fformat): More accurate description of %g and
45         effects of the various flags on it.  More accurate description of
46         integer conversions.
48         * doc/lispref/strings.texi (Formatting Strings): More accurate
49         description of %g and effects of the various flags on it.  More
50         accurate description of integer conversions.  (Bug#25557)
52 2017-01-27  Vladimir Panteleev  <git@thecybershadow.net>  (tiny change)
54         Remove stale functions from ert manual
56         * doc/misc/ert.texi (Useful Techniques when Writing Tests):
57         Replace ert--mismatch references with its cl-lib replacement,
58         cl-mismatch.
60 2017-01-27  Eli Zaretskii  <eliz@gnu.org>
62         Fix a typo in Eshell manual
64         * doc/misc/eshell.texi (History): Fix a typo.  Reported by Mak
65         Kolybabi <mak@kolybabi.com>.
67 2017-01-20  Eli Zaretskii  <eliz@gnu.org>
69         Improve documentation of hooks related to saving buffers
71         * lisp/files.el (write-file-functions, write-contents-functions)
72         (before-save-hook, after-save-hook): Note that these are only used
73         by save-buffer.
75         * doc/lispref/backups.texi (Auto-Saving):
76         * doc/lispref/files.texi (Saving Buffers): Mention that
77         save-related hooks are not run by auto-saving.  (Bug#25460)
79 2017-01-20  Eli Zaretskii  <eliz@gnu.org>
81         Improve documentation of auto-save-visited-file-name
83         * doc/emacs/files.texi (Auto Save Files): Mention subtle
84         differences between saving the buffer and auto-saving with
85         auto-save-visited-file-name set non-nil.  (Bug#25478)
87 2017-01-18  Tom Tromey  <tom@tromey.com>
89         fix typo in mailcap-mime-extensions
91         * lisp/gnus/mailcap.el (mailcap-mime-extensions): Use "text/x-patch",
92         not "test/x-patch".  (Bug#25472)
94 2017-01-18  Lele Gaifax  <lele@metapensiero.it>  (tiny change)
96         Fix typos in flymake.el
98         * lisp/progmodes/flymake.el (flymake-check-patch-master-file-buffer):
99         Spelling fixes in the doc string.
101 2017-01-17  Glenn Morris  <rgm@gnu.org>
103         More NEWS checking for admin.el's set-version
105         * admin/admin.el (set-version): Warn if temporary NEWS markup
106         still present in release candidates.
108 2017-01-17  Michael Albinus  <michael.albinus@gmx.de>
110         Fix auto-save-file-name problem in Tramp on MS Windows. Do not merge
112         * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
113         Fix a problem when running on MS Windows.
115 2017-01-16  Ian Dunn  <dunni@gnu.org>  (tiny change)
117         * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
119 2017-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * lisp/progmodes/sql.el (sql-product-alist): Doc tweak
123         `:sqli-comint-func' does not have to be a symbol.
125 2017-01-14  Eli Zaretskii  <eliz@gnu.org>
127         * lisp/progmodes/sql.el (sql-product-alist): Doc fix.  (Bug#25440)
129 2017-01-13  Eli Zaretskii  <eliz@gnu.org>
131         Improve documentation of dabbrevs
133         * doc/emacs/abbrevs.texi (Dynamic Abbrevs): Add a cross reference
134         to "Dabbrev Customization".
135         (Dabbrev Customization): More details about the default value of
136         dabbrev-abbrev-char-regexp and use cases when it might not be good
137         enough.  (Bug#25432)
139 2017-01-12  Noam Postavsky  <npostavs@gmail.com>
141         Clarify that easy-menu-add is a nop (Bug#25382)
143         * lisp/emacs-lisp/easymenu.el (easy-menu-add): Make it into an alias of
144         `ignore', like `easy-menu-remove'.
146 2017-01-12  Glenn Morris  <rgm@gnu.org>
148         * lisp/textmodes/rst.el (rst-package-emacs-version-alist): Fix entry.
150 2017-01-11  Eli Zaretskii  <eliz@gnu.org>
152         Revert "Add DNS keywords and remove duplications"
154         This reverts commit 1cb9aa5b14867983d0013a61709b4d0af18364ff.
156 2017-01-11  Alexander Kuleshov  <kuleshovmail@gmail.com>
158         Add DNS keywords and remove duplications
160         * lisp/textmodes/dns-mode.el (dns-mode-types): Add two TLSA and
161         NSEC" DNS related keywords and remove duplication of "NSAP".
163 2017-01-10  Eli Zaretskii  <eliz@gnu.org>
165         Improve documentation of coding-systems
167         * doc/lispref/nonascii.texi (Coding System Basics): Mention
168         'prefer-utf-8'.  Index it and 'undecided'.
169         (Encoding and I/O): Fix a typo.
170         (User-Chosen Coding Systems): Improve the documentation of
171         ACCEPT-DEFAULT-P argument to select-safe-coding-system.  Document
172         select-safe-coding-system-function.
173         (Specifying Coding Systems): Document coding-system-require-warning.
175 2017-01-09  Eli Zaretskii  <eliz@gnu.org>
177         Improve definition of 'variable-pitch' face on MS-Windows
179         * lisp/faces.el (variable-pitch): Don't specify too many
180         attributes of the font, otherwise faces that request different
181         weight or slant or size will not get them.
183 2017-01-09  Eli Zaretskii  <eliz@gnu.org>
185         Fix an error message in python.el
187         * lisp/progmodes/python.el (python-shell-get-process-or-error):
188         Don't repeat the same key binding twice.  (Bug#25405)
190 2017-01-07  Noam Postavsky  <npostavs@gmail.com>
192         Clarify major mode switching
194         * doc/emacs/modes.texi (Major Modes):
195         * doc/lispref/modes.texi (Modes, Major Modes): Explictly say that each
196         buffer has exactly one major mode and can't be "turned off", only
197         switched away from (Bug#25357).
199 2017-01-07  Noam Postavsky  <npostavs@gmail.com>
201         Add helpful comment to compile-command's docstring
203         * lisp/progmodes/compile.el (compile-command): Mention trailing space in
204         docstring (Bug#25337).
206 2017-01-06  Eli Zaretskii  <eliz@gnu.org>
208         Fix ':version' of 'select-enable-primary'
210         * lisp/select.el (select-enable-primary): Fix a typo in
211         ':version'.  (Bug#25375)
213 2017-01-04  Glenn Morris  <rgm@gnu.org>
215         Update remaining copyright years with admin.el M-x set-copyright
217         * etc/refcards/ru-refcard.tex (cyear): Set to 2017.
219 2017-01-04  Glenn Morris  <rgm@gnu.org>
221         * lisp/ffap.el (ffap-lax-url): Bump :version after recent change.
223 2017-01-03  Philipp Stephani  <phst@google.com>
225         Document that functions in 'ffap-alist' can use the match data
227         * lisp/ffap.el (ffap-alist): Document that ffap sets the match data
228         while walking 'ffap-alist'.
230 2017-01-01  Paul Eggert  <eggert@cs.ucla.edu>
232         Fix copyright years by hand
234         These are dates that admin/update-copyright did not update, or
235         updated incorrectly.
237 2017-01-01  Paul Eggert  <eggert@cs.ucla.edu>
239         Update copyright year to 2017
241         Run admin/update-copyright.
243 2016-12-30  Nicolas Petton  <nicolas@petton.fr>
245         Bump Emacs version to 25.1.91
247         * README:
248         * configure.ac:
249         * msdos/sed2v2.inp:
250         * nt/README.W32: Bump Emacs version.
251         * lisp/ldefs-boot.el: Update.
253 2016-12-30  Alan Mackenzie  <acm@muc.de>
255         Backport: Remove an ambiguity from defvar's doc string.  Fixes bug #25292.
257         The ambiguity was whether INITVALUE is evaluated when it's not going to be
258         used to set SYMBOL's value.
260         * src/eval.c (defvar): Rewrite a paragraph of the doc string.
262         (cherry picked from commit 8295e97f18490a535d1188a3daf0b0fd1bf4fa0d)
264 2016-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>
266         * lisp/emacs-lisp/inline.el: Fix apply-conversion (bug#25280)
268         (inline--dont-quote): Quote the function with #' when passing it to `apply'.
269         Cherry picked from commit e6161f648903d821865b9610b3b6aa0f82a5dcb7.
271 2016-12-26  Eli Zaretskii  <eliz@gnu.org>
273         Document 'default-toplevel-value' and 'set-default-toplevel-value'
275         * doc/lispref/variables.texi (Default Value): Document
276         'default-toplevel-value' and 'set-default-toplevel-value'.
278 2016-12-25  Leo Liu  <sdl.web@gmail.com>
280         Don't modify minibuffer variables globally
282         * lisp/files.el (cd): Use setq-local instead.  (Bug#25260)
284 2016-12-24  Eli Zaretskii  <eliz@gnu.org>
286         Revert to pre-25.1 behavior in ffap
288         * lisp/ffap.el (ffap-lax-url): Change the default to t, to produce
289         the same behavior as in Emacs 24.x.  (Bug#25264)
290         Explain the trade-offs of customizing this in the doc string.
292 2016-12-24  Noam Postavsky  <npostavs@gmail.com>
294         * lisp/ffap.el: Fix obsolete comment referencing ffap-bug.
296 2016-12-23  Eli Zaretskii  <eliz@gnu.org>
298         Attempt to fix 64-bit AIX build
300         * src/unexaix.c (make_hdr, copy_text_and_data, write_segment): Fix
301         type-casts that assumed 32-bit pointers.  (Bug#25141)
303 2016-12-23  Philipp Stephani  <phst@google.com>
305         Clarify usage of 'ediff-cleanup-hook' (Bug#24675)
307         * doc/misc/ediff.texi (Hooks): Clarify usage of 'ediff-cleanup-hook'
309 2016-12-23  Philipp Stephani  <phst@google.com>
311         Document that variable binding order is unspecified
313         * doc/lispref/variables.texi (Local Variables):
314         * doc/misc/cl.texi (Modify Macros): Document that binding order in 'let' and
315         'cl-letf' is unspecified.
317 2016-12-23  Eli Zaretskii  <eliz@gnu.org>
319         * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix.
321 2016-12-23  Stefan Monnier  <monnier@IRO.UMontreal.CA>
323         Fix M-x hints on Mac port
325         * lisp/simple.el (execute-extended-command--shorter): Call
326         input-pending-p to trigger input processing on some systems, such
327         as Mac port.  (Bug#23002)
329 2016-12-22  Martin Rudalics  <rudalics@gmx.at>
331         Work around reporting a dpi change in apply_xft_settings
333         * src/xsettings.c (apply_xft_settings): Don't report a change
334         when dpi settings do not differ substantially.
336 2016-12-20  Alan Mackenzie  <acm@muc.de>
338         Amend the version number of CC Mode 5.33 -> 5.32.99.  Don't merge to trunk.
340         lisp/progmodes/cc-defs.el: Amend the version number.
341         etc/NEWS: Add an item explaining the change.
343 2016-12-20  Noam Postavsky  <npostavs@gmail.com>
345         Improve skeleton docstrings
347         * lisp/skeleton.el (skeleton-end-newline): Remove mention of
348         `skeleton-end-hook', its default code was moved into `skeleton-insert'.
349         (skeleton-insert): Mention `skeleton-end-newline' and move reference to
350         `skeleton-end-hook' above the explanation of skeleton syntax.
352 2016-12-19  Eli Zaretskii  <eliz@gnu.org>
354         Improve documentation of 'w32-scroll-lock-modifier'
356         * doc/emacs/msdos.texi (Windows Keyboard): Document how to set up
357         w32-scroll-lock-modifier so that Scroll Lock toggles the LED.
359         * src/w32fns.c (syms_of_w32fns) <w32-scroll-lock-modifier>: Doc
360         fix.  (Bug#25204)
362 2016-12-19  Eli Zaretskii  <eliz@gnu.org>
364         Document 'describe-fontset'
366         * doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
367         (Bug#25216)
369 2016-12-19  Eli Zaretskii  <eliz@gnu.org>
371         Document 'describe-fontset'
373         * doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
374         (Bug#25216)
376 2016-12-17  Eli Zaretskii  <eliz@gnu.org>
378         Repair desktop restoration on text terminals
380         * lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI
381         frame here, instead of in desktop-restoring-frameset.  That's
382         because desktop-read wants to know whether frameset will actually
383         be restored, and has fallback procedures up its sleeve when it
384         won't be; these fallbacks need to be invoked when the frameset is
385         not going to be restored.  (Bug#24298)
387 2016-12-17  Dmitry Gutov  <dgutov@yandex.ru>
389         Ignore forward-sexp-function in js-mode indentation code
391         * lisp/progmodes/js.el (js--multi-line-declaration-indentation)
392         (js--maybe-goto-declaration-keyword-end):
393         Bind forward-sexp-function to nil (bug#25215).
395 2016-12-16  Eli Zaretskii  <eliz@gnu.org>
397         Improve documentation of 'define-coding-system'
399         * lisp/international/mule.el (define-coding-system): Warn against
400         possible infinite recursion in pre-write-conversion and
401         post-read-conversion functions.  (Bug#25203)
403 2016-12-11  Michael Albinus  <michael.albinus@gmx.de>
405         Fix Bug#25162
407         * doc/emacs/files.texi (Reverting): Document
408         auto-revert-remote-files and auto-revert-verbose.
410         * lisp/autorevert.el (auto-revert-verbose, auto-revert-mode)
411         (auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
413 2016-12-11  Glenn Morris  <rgm@gnu.org>
415         Fix a typo in define-abbrev-table
417         * lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.
419 2016-12-11  Glenn Morris  <rgm@gnu.org>
421         Bump makeinfo requirement from 4.7 to 4.13
423         * configure.ac: Bump makeinfo version requirement from 4.7 to 4.13.
424         We need at least 4.8, and that may be buggy, so go for the last
425         of the 4 series, which is 8 years old.  (Bug#25108)
427 2016-12-11  Glenn Morris  <rgm@gnu.org>
429         Fixes related to select-enable-clipboard
431         * lisp/menu-bar.el (clipboard-yank, clipboard-kill-ring-save)
432         (clipboard-kill-region):
433         * lisp/eshell/esh-io.el (eshell-virtual-targets)
434         (eshell-clipboard-append):
435         Replace option gui-select-enable-clipboard with
436         select-enable-clipboard; renamed October 2014.  (Bug#25145)
438 2016-12-10  Noam Postavsky  <npostavs@gmail.com>
440         Define struct predicate before acccesors
442         The accessor functions use the predicate function, which causes problems
443         when reloading after unload-feature: the compiler-macro property is
444         still present on the predicate symbol, and the compiler fails to find
445         the definition when trying to inline it into the accessor
446         function (Bug#25088).
448         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
449         before field accessor definitions.
451 2016-12-08  Glenn Morris  <rgm@gnu.org>
453         Doc fix for vc-git
455         * lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
457 2016-12-08  Glenn Morris  <rgm@gnu.org>
459         Further improve make-dist checking
461         * make-dist: Print status messages when checking.
463 2016-12-08  Glenn Morris  <rgm@gnu.org>
465         Improve previous make-dist change
467         * make-dist: Let make check the info files more thoroughly.
469 2016-12-08  Glenn Morris  <rgm@gnu.org>
471         Make make-dist --snapshot do some sanity checks
473         * make-dist: Snapshot mode no longer disables checks.
474         Checks now includes checks for freshness.  (Bug#25084)
475         Checks now exits with an error if problems were found.
477 2016-12-07  Paul Eggert  <eggert@cs.ucla.edu>
479         Fix minor quoting problems in doc strings
481 2016-12-07  Philipp Stephani  <p.stephani2@gmail.com>
483         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring
485         so that it matches the actual implementation.
486         See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
488 2016-12-07  Noam Postavsky  <npostavs@gmail.com>
490         Don't assume window-point and point are the same
492         The function `cursor-sensor--detect' calls `bobp' to decide whether to
493         check properties at (1- (window-point)).  However, (window-point) may be
494         at beginning of buffer, even if (point) is not.  In this case an
495         `args-out-of-range' error will be signaled (Bug#25104).
497         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the
498         value of (window-point) against (point-min), rather than (bobp) to
499         decide if (1- (window-point)) is accessible.
501 2016-12-02  Nicolas Petton  <nicolas@petton.fr>
503         Fix bug#25087
505         * etc/themes/manoj-dark-theme.el: Fix two typos.
507         (cherry picked from commit 66d6e7e9ecf5e481f8c2c3a4f88411f66c869a6e)
509 2016-12-02  Eli Zaretskii  <eliz@gnu.org>
511         * lisp/vc/ediff-util.el (ediff-janitor): Doc fix.  (Bug#25046)
513 2016-12-02  Eli Zaretskii  <eliz@gnu.org>
515         Improve indexing of 'man'
517         * doc/emacs/programs.texi (Man Page): Index 'man', not
518         'manual-entry', as the latter is an alias for the former.
519         Suggested by Hong Xu <hong@topbug.net>.  (Bug#25033)
521 2016-12-02  Paul Eggert  <eggert@cs.ucla.edu>
523         Port to Sun C 5.14
525         Backport from master.  Sun C 5.14 supports C11 but not GCC
526         extensions, and so refuses to compile Emacs without this patch.
527         * src/alloc.c (lmalloc, lrealloc): Don't use INT_ADD_WRAPV on
528         size_t, as in general this macro is restricted to signed types.
530 2016-12-02  Richard Stallman  <rms@gnu.org>
532         Fix mail-combine-fields
534         * lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to
535         avoid losing our place in the search loop.
537         (cherry picked from commit 5fbba6cceaf843cfca449eb000a0a65243b61808)
539 2016-12-01  Martin Rudalics  <rudalics@gmx.at>
541         Fix documentation of `window-combination-resize'
543         * src/window.c (Vwindow_combination_resize): Fix doc-string.
544         * doc/lispref/windows.texi (Recombining Windows): Fix
545         documentation of `window-combination-resize'.
547 2016-11-29  Bogdan Creanga  <bogdan.creanga@gmail.com>  (tiny change)
549         Typo fixes in elisp manual
551         * doc/lispref/sequences.texi: Add missing '4' in result (Bug#25047).
552         * doc/lispref/strings.texi (Text Comparison): Avoid duplicate
553         definitions of 'string-prefix-p' and 'string-suffix-p'.
554         * doc/lispref/symbols.texi (Definitions): Pluralize 'definitions'.
556 2016-11-28  Eli Zaretskii  <eliz@gnu.org>
558         Fix 'expand-file-name' during startup on MS-Windows
560         * src/w32.c (w32_init_file_name_codepage): New function, resets
561         file_name_codepage and w32_ansi_code_page to undo the values
562         recorded during dumping.
563         (codepage_for_filenames): Fix an embarrassing typo.  Ignore the
564         cached value of file-name encoding if it is nil, i.e. not
565         initialized yet.  Actually cache the last used file-name encoding
566         to avoid calling APIs when not necessary.
568         * src/w32.h (w32_init_file_name_codepage): Add prototype.
570         * src/w32term.c (syms_of_w32term): Set the value of
571         w32_unicode_filenames according to the OS version.  This avoids
572         resetting it during startup, which then causes temacs to run with
573         the incorrect value.
575         * src/emacs.c (main): Call w32_init_file_name_codepage early
576         during the startup.
578         * src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
579         after converting $HOME to a UTF-8 string, so that 'newdirlim' is
580         consistent with it.  (Bug#25038)
582         * lisp/international/mule-cmds.el (set-locale-environment): Set
583         'default-file-name-coding-system' to the ANSI codepage even in
584         non-interactive sessions.
586         * lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
587         Doc fix.
588         (abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
589         unibyte string.
591         * doc/lispref/files.texi (Directory Names): Index
592         'directory-abbrev-alist'.
594 2016-11-28  Nicolas Petton  <nicolas@petton.fr>
596         * admin/authors.el (authors-renamed-files-alist): Addition.
598 2016-11-28  Glenn Morris  <rgm@gnu.org>
600         Tweak refcard note about documentation location
602         * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
603         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
604         * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
605         * etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
606         * etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
607         * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
608         * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
609         * etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
610         * etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
611         * etc/refcards/survival.tex, etc/refcards/vipcard.tex:
612         * etc/refcards/viperCard.tex: Tweak documentation url.
614 2016-11-28  Glenn Morris  <rgm@gnu.org>
616         Improve treatment of Fortran's "class is"
618         * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
619         Handle "class is".  (Bug#25039)
620         * test/automated/f90.el (f90-test-bug25039): New test.
622 2016-11-28  Nicolas Petton  <nicolas@petton.fr>
624         Bump Emacs version to 25.1.90
626         * README:
627         * configure.ac:
628         * msdos/sed2v2.inp:
629         * nt/README.W32: Bump Emacs version to 25.1.90
631 2016-11-27  Nicolas Petton  <nicolas@petton.fr>
633         Bump Emacs version
635         * README:
636         * configure.ac:
637         * etc/NEWS:
638         * msdos/sed2v2.inp:
639         * nt/README.W32: Bump Emacs version to 25.2.90
641 2016-11-26  Karl Fogel  <kfogel@red-bean.com>
643         Handle TeX comments when making new paragraph
645         * lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
646           Handle comment case directly, and dispatch to `tex-terminate-paragraph'
647           for original behavior in non-comment case.
648           (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
650 2016-11-25  Eli Zaretskii  <eliz@gnu.org>
652         Restore keystroke echo in 'C-q'
654         * lisp/simple.el (read-quoted-char): Use 'read-event' instead of
655         'read-key', to avoid losing the keystroke echo in 'C-q'.  (Bug#24635)
657 2016-11-25  Eli Zaretskii  <eliz@gnu.org>
659         Improve documentation of 'current-word'
661         * lisp/simple.el (current-word): Clarify and improve the doc
662         string.  (Bug#24979)
664 2016-11-25  Chunyang Xu  <mail@xuchunyang.me>
666         Fix a typo in an Eshell defcustom
668         * lisp/eshell/esh-mode.el (eshell-scroll-to-bottom-on-output): Fix
669         a typo in the 'others' standard value.  (Bug#24983)
671 2016-11-24  Hong Xu  <hong@topbug.net>  (tiny change)
673         Minor copyedits of electric-pair-mode
675         * doc/emacs/programs.texi (Matching): Add index entries.  Fix
676         typos.  (Bug#25012)
678 2016-11-24  Eli Zaretskii  <eliz@gnu.org>
680         Fix documentation of 'invocation-directory'
682         * doc/lispref/os.texi (System Environment): Fix wording of the
683         description of 'invocation-directory'.  (Bug#24999)
685 2016-11-23  Glenn Morris  <rgm@gnu.org>
687         * admin/authors.el (authors-aliases): Add an entry.
689 2016-11-22  Philipp Stephani  <phst@google.com>
691         Guard terminal parameter in XTerm mouse mode
693         It has been observed (in the HTerm terminal emulator) that the
694         event stored in the 'xterm-mouse-last-down' terminal parameter gets
695         overwritten during a mouse drag operation, causing Emacs to attempt to
696         synthesize the non-existing <drag-mouse-0> event.  Copy the event into
697         the terminal parameter to protect against such modifications.
699         * lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification
700         of input event list.
702 2016-11-21  Nicolas Petton  <nicolas@petton.fr>
704         * etc/AUTHORS: Regenerate the AUTHORS file
706 2016-11-21  Nicolas Petton  <nicolas@petton.fr>
708         Update ChangeLog files and authors.el
710         * admin/authors.el (authors-renamed-files-alist): Add entries for
711           obsolete files.
712         * ChangeLog.2: Update.
714 2016-11-21  Eli Zaretskii  <eliz@gnu.org>
716         Fix menu bindings of Dired 'A' and 'Q' commands
718         * lisp/dired.el (dired-mode-map): Rebind "Search Files" and "Query
719         Replace in Files" menu items to 'dired-do-find-regexp' and
720         'dired-do-find-regexp-and-replace', respectively.  (Bug#24977)
722 2016-11-20  Eli Zaretskii  <eliz@gnu.org>
724         Avoid errors in shr-pixel-column due to dedicated windows
726         * lisp/net/shr.el (shr-pixel-column): If we are switching to
727         another buffer in the selected window, make that window
728         temporarily non-dedicated.  (Bug#24950)
730 2016-11-20  Tino Calancha  <tino.calancha@gmail.com>
732         Update format-time-string documentation
734         * doc/lispref/os.texi (Time Parsing):
735         Document %F, %g, %G, %u and %V.
737 2016-11-19  Eli Zaretskii  <eliz@gnu.org>
739         * admin/release-process: Update versions and blocking bug numbers.
741 2016-11-18  Eli Zaretskii  <eliz@gnu.org>
743         Improve documentation of functions that accept time values
745         * doc/lispref/os.texi (Time Calculations): Mention the meaning of
746         'nil' or a scalar number as the time-value argument.  Add a
747         cross-reference to 'float-time' for computing a time difference as
748         a scalar number of seconds.
750         * src/editfns.c (Fformat_time_string, Ftime_less_p)
751         (Ftime_subtract, Ftime_add, Fdecode_time, Fcurrent_time_string)
752         (Fcurrent_time_zone): Mention in the doc strings the meaning of
753         nil argument and the fact that a time value can be a scalar number
754         of seconds since the epoch.
755         (Ftime_subtract): Mention 'float-time'.
757 2016-11-18  Daniel Colascione  <dancol@dancol.org>
759         Speed up initialization by preferring /dev/urandom to GnuTLS
761         * src/sysdep.c (init_random): Try /dev/urandom before GnuTLS.
763         (cherry picked from commit a37eba849eddc41375ad73974f6fcb1258aa8eba)
765 2016-11-18  Glenn Morris  <rgm@gnu.org>
767         Add a comment in generated refcards about the source
769         * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
770         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
771         * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
772         * etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
773         * etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
774         * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
775         * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
776         * etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
777         * etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
778         * etc/refcards/survival.tex, etc/refcards/vipcard.tex:
779         * etc/refcards/viperCard.tex: Add comment about the source.
781 2016-11-17  Dmitry Gutov  <dgutov@yandex.ru>
783         js-mode: Fix indent problem after a regexp
785         * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
786         slash is not ending a regexp (bug#24854).
788 2016-11-16  Eli Zaretskii  <eliz@gnu.org>
790         Fix sluggish display of symbols in UTF-8 language environment
792         * lisp/international/fontset.el (setup-default-fontset): Make sure
793         Symbola and FreeMono are set up in the default fontset as belonging
794         to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
795         long and futile search for a suitable font, whose side effect is a
796         lot of consing, which then hits the font-cache compacting issue,
797         and causes very sluggish redisplay of characters displayed by
798         these fonts.  All this happens because the default for the
799         registry is "iso8859-1".  (Bug#24953)
801 2016-11-16  Glenn Morris  <rgm@gnu.org>
803         Don't confuse how Texinfo outputs @var with the input
805         * doc/emacs/rmail.texi (Movemail):
806         * doc/lispref/control.texi (Pattern matching case statement):
807         * doc/lispref/frames.texi (Size and Position):
808         * doc/lispref/processes.texi (Asynchronous Processes):
809         * doc/lispref/text.texi (Document Object Model):
810         * doc/lispref/windows.texi (Coordinates and Windows):
811         Do not upper-case the argument of @var.
813 2016-11-16  Glenn Morris  <rgm@gnu.org>
815         * doc/lispref/display.texi (Scroll Bars):
816         * doc/lispref/frames.texi (Size and Position):
817         * doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
819         * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --daemon.
821 2016-11-15  Eli Zaretskii  <eliz@gnu.org>
823         More fixes in copyright notices in etc/refcards/
825         * etc/refcards/calccard.tex:
826         * etc/refcards/cs-dired-ref.tex:
827         * etc/refcards/cs-refcard.tex:
828         * etc/refcards/cs-survival.tex:
829         * etc/refcards/de-refcard.tex:
830         * etc/refcards/dired-ref.tex:
831         * etc/refcards/fr-dired-ref.tex:
832         * etc/refcards/fr-refcard.tex:
833         * etc/refcards/fr-survival.tex:
834         * etc/refcards/orgcard.tex:
835         * etc/refcards/pl-refcard.tex:
836         * etc/refcards/pt-br-refcard.tex:
837         * etc/refcards/refcard.tex:
838         * etc/refcards/ru-refcard.tex:
839         * etc/refcards/sk-dired-ref.tex:
840         * etc/refcards/sk-refcard.tex:
841         * etc/refcards/sk-survival.tex:
842         * etc/refcards/survival.tex:
843         * etc/refcards/vipcard.tex:
844         * etc/refcards/viperCard.tex: Change "GNU Emacs" to "this
845         document" in copyright notices.  (Bug#24520)
847 2016-11-13  Eli Zaretskii  <eliz@gnu.org>
849         Update copyright text in refcards
851         * etc/refcards/viperCard.tex:
852         * etc/refcards/vipcard.tex:
853         * etc/refcards/survival.tex:
854         * etc/refcards/sk-survival.tex:
855         * etc/refcards/sk-dired-ref.tex:
856         * etc/refcards/sk-refcard.tex:
857         * etc/refcards/ru-refcard.tex:
858         * etc/refcards/refcard.tex:
859         * etc/refcards/pt-br-refcard.tex:
860         * etc/refcards/pl-refcard.tex:
861         * etc/refcards/orgcard.tex:
862         * etc/refcards/gnus-refcard.tex:
863         * etc/refcards/fr-survival.tex:
864         * etc/refcards/fr-refcard.tex:
865         * etc/refcards/fr-dired-ref.tex:
866         * etc/refcards/dired-ref.tex:
867         * etc/refcards/de-refcard.tex:
868         * etc/refcards/cs-survival.tex:
869         * etc/refcards/cs-refcard.tex:
870         * etc/refcards/cs-dired-ref.tex:
871         * etc/refcards/calccard.tex: Update the copyright blurb.  (Bug#24520)
873 2016-11-12  Eli Zaretskii  <eliz@gnu.org>
875         Fix Outline command names
877         * doc/emacs/text.texi (Foldout): Use the outline-* names instead
878         of the obsolete aliases.  (Bug#24890)
880 2016-11-10  Philipp Stephani  <phst@google.com>
882         Send text received by bracketed paste to process
884         See Bug#24639.
886         * lisp/term.el (term--xterm-paste): New function.
887         (term-raw-map): Use it.
888         (xterm--pasted-text): Declare function from xterm.el.
890 2016-11-10  Alan Mackenzie  <acm@muc.de>
892         Correct the statement about programming modes always running prog-mode-hook.
894         * doc/emacs/modes.texi (Major Modes): Amend the statement about programming
895         modes running prog-mode-hook to say that it applies to many (not all) such
896         modes, and specifying exactly which modes.
898 2016-11-10  Eli Zaretskii  <eliz@gnu.org>
900         Improve documentation of 'occur'
902         * doc/emacs/search.texi (Other Repeating Search): Clarify how to
903         use Occur with search strings from last Isearch.  (Bug#24890)
905 2016-11-09  Noam Postavsky  <npostavs@gmail.com>
907         Do call debugger on failed cl-assert
909         "Don't call debug on failed cl-assert..." removed the call to `debug' in
910         cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
911         thus messing up ert test runs.  However, calling the debugger is useful
912         because it allows catching failed assertions even inside
913         `condition-case' calls.  The problem with ert can be avoided by calling
914         `debugger' instead of `debug' directly, since ert installs its own
915         debugger while running tests.
917         * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
918         `debugger' if `debug-on-error' is non-nil.
920 2016-11-09  Daniel Colascione  <dancol@dancol.org>
922         Avoid infloop in python
924         Fix bug#24905
926         * lisp/progmodes/python.el (python-info-docstring-p): Improve
927         infloop avoidance: replace (bobp) with generic test for
928         forward progress.
929         * test/automated/python-tests.el (python-bob-infloop-avoid): Add
930         test for bug#24905
932 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
934         Don't refer to obsolete FEATURE-unload-hook
936         * doc/lispref/tips.texi (Coding Conventions): Refer to
937         FEATURE-unload-function rather than its obsolete variant
938         FEATURE-unload-hook.  (Bug#24890)
940 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
942         Improve documentation of dabbrevs
944         * lisp/dabbrev.el (dabbrev-expand): Doc fix.  (Bug#24890)
946         * doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention
947         'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and
948         'dabbrev-ignored-buffer-names' and their purpose.  (Bug#24890)
950 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
952         * lisp/chistory.el (list-command-history): Doc fix.  (Bug#24890)
954         * lisp/simple.el (set-mark-command): Doc fix.  (Bug#24890)
956 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
958         Improve documentation of some Help commands
960         * doc/emacs/help.texi (Help Mode): Fix mistake in key sequences.
961         Mention the 'l' and 'r' keys.
962         (Misc Help): Mention that 'C-h m' describes key bindings.
963         (Bug#24890)
965 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
967         Fix documentation of yes-or-no prompts
969         * doc/emacs/mini.texi (Yes or No Prompts): Fix mistakes in key
970         sequences.  (Bug#24890)
972 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
974         Fix documentation of partial completion style
976         * doc/emacs/mini.texi (Completion Styles): Fix the description of
977         the wildcard '*'.  (Bug#24890)
979 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
981         Fix documentation of the mode line on emacsclient frames
983         * doc/emacs/screen.texi (Mode Line): Document the '@' indicator on
984         emacsclient frames.
986 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
988         Fix description of 'C-z' in User manual
990         * doc/emacs/entering.texi (Exiting): 'C-z' is bound to
991         'suspend-frame'.  (Bug#24890)
993 2016-11-07  Eli Zaretskii  <eliz@gnu.org>
995         Improve and clarify documentation of Outline Mode
997         * doc/emacs/text.texi (Outline Visibility): Use the outline-*
998         names instead of the obsolete aliases.  (Bug#24890)
1000         * lisp/outline.el (outline-hide-sublevels, outline-hide-other)
1001         (outline-hide-body): Doc fixes.  (Bug#24890)
1003 2016-11-06  Eli Zaretskii  <eliz@gnu.org>
1005         Add Emacs version number to nt/README.W32
1007         * nt/README.W32: Include the version number of the latest Emacs
1008         release.
1010         * admin/admin.el (set-version): Update the version in nt/README.W32.
1012 2016-11-06  Noam Postavsky  <npostavs@gmail.com>
1014         Fix python-mode hideshow regexp
1016         2015-02-07 "Fix hideshow integration[...]" changed the regexp added to
1017         `hs-special-modes-alist' so that it worked when not searching from the
1018         beginning of the line.  However, this allows matching tokens ending in
1019         "def" or "class", not just those keywords.  This results in an infinite
1020         loop in hs-hide-all (Bug #24815).
1022         * lisp/progmodes/python.el (python-mode): Add symbol boundaries around
1023         the def|class matching part of the regexp added to
1024         hs-special-modes-alist.
1026 2016-11-06  Paul Eggert  <eggert@cs.ucla.edu>
1028         Modernize usage of 'macOS' in doc and comments
1030         Apple changed the spelling of its operating system again, to "macOS",
1031         effective with macOS 10.12 Sierra (2016-09-20).  Change Emacs
1032         documentation and comments to match this.  Stick with older OS
1033         spellings ("OS X", "Mac OS X") when talking about older releases where
1034         the older names are more correct.
1036 2016-11-06  Paul Eggert  <eggert@cs.ucla.edu>
1038         Prefer comments /* like this */ in C code
1040         Emacs C code assumes C99 features, but has long used traditional
1041         comments /* like this */ instead of C99-style comments // like this.
1042         Stick with traditional comments for now, partly for style, partly as
1043         it may be safer with compilers that are not fully in C99 mode.
1045 2016-11-05  Noam Postavsky  <npostavs@gmail.com>
1047         * doc/lispref/loading.texi (Autoload): Better link (Bug#24845).
1049 2016-11-05  Eli Zaretskii  <eliz@gnu.org>
1051         Clarify documentation of face attribute functions
1053         * doc/lispref/display.texi (Attribute Functions): Make sure to
1054         document that an omitted FRAME argument means the same as nil.
1055         (Bug#24879)
1057 2016-11-05  Noam Postavsky  <npostavs@gmail.com>
1059         Don't call debug on failed cl-assert
1061         Doing this causes problems when running ert tests, for
1062         instance (Bug#24778).  The call to `debug` when `debug-on-error' is
1063         non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
1064         define-inline and move some code...".
1066         * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
1067         `debug' directly.
1069 2016-11-04  Phillip Lord  <phillip.lord@russet.org.uk>
1071         Update README for precompiled windows Emacs.
1073          * nt/README.W32: Describe 64 and 32-bit downloads, optional
1074            dependencies bundle. Remove old material on sourcing dependencies.
1075            Remove references to Windows 95. Update GUI references to recent
1076            Windows. Remove references to Usenet.
1078 2016-11-04  Hong Xu  <hong@topbug.net>
1080         Clarify documentation of 'vc-responsible-backend' wrt symlinks
1082         * lisp/vc/vc.el (vc-responsible-backend): Clarify that symlinks
1083         are not resolved when the VC backend is reported.
1085         * doc/lispref/files.texi (Truenames): Document
1086         'vc-responsible-backend'.  (Bug#23436)
1087         * doc/emacs/maintaining.texi (Version Control Systems): Fix a
1088         typo.
1090 2016-11-04  Eli Zaretskii  <eliz@gnu.org>
1092         Clarify doc string of 'transpose-sexps'
1094         * lisp/simple.el (transpose-sexps): Clarify the conditions for
1095         transposing sexps that are lists or strings.  Mention the effect
1096         of the prefix argument.  (Bug#24860)
1098 2016-11-04  Tibor Csögör  <tibi@tiborius.net>  (tiny change)
1100         Fix docstring of 'browse-url-firefox-new-window-is-tab'
1102         * lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab):
1103         Remove obsolete note from docstring (obsoleted by previous commits).
1104         (Bug#24843)
1106 2016-11-04  Eli Zaretskii  <eliz@gnu.org>
1108         Improve documentation of 'font-lock-remove-keywords'
1110         * doc/lispref/modes.texi (Customizing Keywords): Clarify the
1111         'keywords' argument of 'font-lock-remove-keywords'.  Suggested by
1112         Hong Xu <hong@topbug.net>.  (Bug#24830)
1114 2016-11-04  Eli Zaretskii  <eliz@gnu.org>
1116         Fix documentation of the command summary key
1118         * doc/misc/info.texi (Help-^L, Help-Xref, Top): Emacs Info uses
1119         '?' for the summary of commands, whereas the stand-alone reader
1120         uses 'H'.  (Bug#24825)
1122 2016-11-04  Eli Zaretskii  <eliz@gnu.org>
1124         Mark relocation workarounds with REL_ALLOC
1126         * src/search.c (boyer_moore): Mark workarounds for ralloc.c
1127         relocation of buffer text with "#ifdef REL_ALLOC".
1129 2016-11-02  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1131         Fix documentation for 'eudc-options-file'
1133         * doc/misc/eudc.texi (The Server Hotlist): Update the default
1134         value of 'eudc-options-file'.
1136         Backport:
1138         (cherry picked from commit 0575fd95d0b92a9a0ebff8df183a449190f74dbc)
1140 2016-11-02  Tibor Csögör  <tibi@tiborius.net>
1142         Fix documentation of 'eudc-inline-expansion-format'
1144         * doc/misc/eudc.texi (Inline Query Expansion): Fix the default value of
1145         'eudc-inline-expansion-format'. (Bug#24840)
1147         Backport:
1149         (cherry picked from commit 1fef1387c387d80f8ece326621539b89a6965702)
1151 2016-10-31  Clément Pit--Claudel  <clement.pitclaudel@live.com>
1153         python.el: Fix detection of native completion in Python 3 (bug #24401)
1155         With Python 3.5, (python-shell-completion-native-get-completions ... "")
1156         would return an empty list, causing python.el to think that native
1157         completion was unavailable (the difference between Python 2 and Python 3
1158         is due to https://bugs.python.org/issue25660).
1160         * lisp/progmodes/python.el (python-shell-completion-native-try): Use "_"
1161           to check whether native completion is available instead of "".
1163 2016-10-26  Glenn Morris  <rgm@gnu.org>
1165         * Makefile.in (install-arch-indep): Skip etc/refcards/emacsver.tex.in.
1167 2016-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1169         * lisp/subr.el (set-transient-map): Exit for unbound events (bug#24755).
1171 2016-10-26  Eli Zaretskii  <eliz@gnu.org>
1173         Update category-table for Chinese characters
1175         * lisp/international/characters.el (standard-category-table):
1176         Update the ranges of Han and Chinese characters.  (Bug#24798)
1178 2016-10-26  Noam Postavsky  <npostavs@gmail.com>
1180         Inhibit buffer relocation during regex searches
1182         * src/search.c (looking_at_1, fast_looking_at, search_buffer): Prevent
1183         relocation of buffer contents during calls to re_search_2.  This ensures
1184         the pointers into buffer text won't be invalidated by
1185         r_alloc_sbrk (called from malloc with configurations where
1186         REL_ALLOC=yes).
1188 2016-10-26  Noam Postavsky  <npostavs@gmail.com>
1190         Revert fixes to allocation of regex matching
1192         The fix was not complete, and completing it was proving too complicated.
1194         - Revert "* src/regex.c (re_search_2): Make new code safe for
1195                   -Wjump-misses-init."
1196           This reverts commit c2a17924a57483d14692c8913edbe8ad24b5ffbb.
1197         - Revert "Port to GCC 6.2.1 + --enable-gcc-warnings"
1198           This reverts commit f6134bbda259c115c06d4a9a3ab5c39340a15949.
1199         - Revert "Fix handling of allocation in regex matching"
1200           This reverts commit ad66b3fadb7ae22a4cbb82bb1507c39ceadf3897.
1201         - Revert "Fix handling of buffer relocation in regex.c functions"
1202           This reverts commit ee04aedc723b035eedaf975422d4eb242894121b.
1204 2016-10-25  Eli Zaretskii  <eliz@gnu.org>
1206         Comment for bug#24793
1208         * lisp/info.el (Info-mode-font-lock-keywords): Add a comment
1209         explaining why `..' quoting is not fontified using the
1210         'Info-quoted' face.  (Bug#24793)
1212 2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>
1214         Default REL_ALLOC to 'no'
1216         This should make ralloc-related bugs less likely on GNU/Linux
1217         systems with bleeding-edge glibc.  See the email thread containing:
1218         http://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00801.html
1219         Do not merge to master.
1220         * configure.ac (REL_ALLOC): Default to 'no' on all platforms, not
1221         merely on platforms with Doug Lea malloc.  Although bleeding-edge
1222         glibc no longer exports __malloc_initialize_hook and so longer
1223         passes the configure-time test for Doug Lea malloc, ralloc tickles
1224         longstanding bugs like Bug#24358 and Bug#24764 and Emacs is likely
1225         to be more reliable without it.  This patch is not needed on
1226         master, which uses hybrid malloc in this situation.
1228 2016-10-24  Eli Zaretskii  <eliz@gnu.org>
1230         Yet another fix for using pointers into buffer text
1232         * src/search.c (boyer_moore): Update pointers to buffer text
1233         after call to set_search_regs.  (Bug#24358)
1235 2016-10-24  Eli Zaretskii  <eliz@gnu.org>
1237         Another fix for using pointer to buffer text
1239         * src/search.c (Freplace_match): Move the call to BYTE_POS_ADDR
1240         after the call to xpalloc, to avoid the danger of buffer text
1241         relocation after its address was taken.  (Bug#24358)
1243 2016-10-24  Michael Albinus  <michael.albinus@gmx.de>
1245         Fix Bug#24478
1247         * lisp/net/tramp-sh.el (tramp-histfile-override): Change default value
1248         to "~/.tramp_history".
1249         (tramp-open-shell): Check proper HISTFILE setting.
1250         (tramp-maybe-open-connection): Cleanup also for errors.  (Bug#24478)
1252 2016-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1254         Port --enable-gcc-warnings to bleeding-edge glibc
1256         Bleeding-edge glibc sets emacs_cv_var_doug_lea_malloc to 'no'.
1257         Do not merge to master.
1258         * configure.ac: Check for valloc decl when compiling gmalloc.c.
1259         * src/gmalloc.c (emacs_abort) [emacs]: Adjust decl to match
1260         what is in lisp.h.  Remove duplicate decl.
1261         (aligned_alloc): #undef before defining.
1262         (aligned_alloc, memalign) [!MSDOS]: Declare.
1263         (valloc) [HAVE_DECL_VALLOC]: Remove duplicate decl.
1265 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1267         Fix handling of buffer relocation in regex.c functions
1269         * src/search.c (search_buffer): Updated the base pointer to buffer
1270         text after the call to re_search_2.  (Bug#24358)
1272 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1274         Avoid relocating buffers while libxml2 reads its text
1276         * src/xml.c (parse_region) [REL_ALLOC]: Freeze the ralloc arena
1277         while libxml2 reads the current buffer's text.  (Bug#24764)
1279 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1281         Attempt to catch reads from a buffer that is relocated
1283         * src/xml.c (parse_region): Add assertion to ensure buffer text is
1284         not relocated while libxml2 is reading it.  (Bug#24764)
1286 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1288         Revert "* lisp/simple.el (process-menu-mode, list-processes--refresh):"
1290         This reverts commit a4285bcb1114e29200001f33af9b4802167d6140.
1291         Do not merge to master!
1293 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1295         Revert "* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):"
1297         This reverts commit b0c447e4668116cecfda91d0203cb7cac2486d92.
1298         Do not merge to master!
1300 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1302         Revert "* lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (Bug#23617)"
1304         This reverts commit cf3c19b0298236293d9c56d5ba425af4f42c1f8e.
1305         Do not merge to master!
1307 2016-10-23  Eli Zaretskii  <eliz@gnu.org>
1309         ;* src/w32heap.c: Fix typo and wording of the comments.
1311 2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1313         electric-quote mode no longer worries about coding
1315         * doc/emacs/text.texi (Quotation Marks), etc/NEWS: Document this.
1316         * lisp/electric.el (electric--insertable-p): Remove.
1317         All uses removed (Bug#24759).
1319 2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1321         * src/regex.c (re_search_2): Make new code safe for -Wjump-misses-init.
1323 2016-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1325         Port to GCC 6.2.1 + --enable-gcc-warnings
1327         * src/regex.c (ENSURE_FAIL_STACK, re_search_2):
1328         Redo recent regex changes to avoid complaints from GCC 6.2.1 when
1329         Emacs is configured with --enable-gcc-warnings.  Also, work around
1330         GCC bug 78081, which was uncovered by this new code.
1332 2016-10-22  Noam Postavsky  <npostavs@gmail.com>
1334         Explain how to debug emacsclient lisp errors
1336         * doc/lispref/debugging.texi (Error Debugging): Mention that
1337         debug-on-signal is useful for getting backtraces from
1338         emacsclient (Bug#24616).
1340 2016-10-22  Noam Postavsky  <npostavs@gmail.com>
1342         Let describe-function work for lambda again
1344         Since commit "* lisp/help-fns.el (describe-function): More type
1345         checking[...]", `describe-function' throws a user-error when given a
1346         non-symbol.  This prevents the [back] button in a *Help* buffer from
1347         working when the page it goes back to describes an anonymous
1348         function (e.g., the result of `describe-key' on a key which is bound to
1349         a lambda form).
1351         * lisp/help-fns.el (describe-function): Move the checks on FUNCTION
1352         being an fbound symbol into the `interactive' form.  This allows
1353         non-interactive calls to pass an anonymous function (Bug #24221).  Note
1354         that passing a non-bound symbol non-interactively will still trigger a
1355         `void-function' error from `describe-function-1'.
1357 2016-10-22  Noam Postavsky  <npostavs@gmail.com>
1359         Fix kill-line's docstring
1361         * lisp/simple.el (kill-line): The effect of show-trailing-whitespace is
1362         important lines with *no* nonblanks (Bug #16654).
1364 2016-10-22  Noam Postavsky  <npostavs@gmail.com>
1366         Fix handling of allocation in regex matching
1368         `re_match_2_internal' uses pointers to the lisp objects that it
1369         searches.  Since it may call malloc when growing the "fail stack", these
1370         pointers may be invalidated while searching, resulting in memory
1371         curruption (Bug #24358).
1373         To fix this, we check the pointer that the lisp object (as specified by
1374         re_match_object) points to before and after growing the stack, and
1375         update existing pointers accordingly.
1377         * src/regex.c (STR_BASE_PTR): New macro.
1378         (ENSURE_FAIL_STACK, re_search_2): Use it to convert pointers into
1379         offsets before possible malloc call, and back into pointers again
1380         afterwards.
1381         (POS_AS_IN_BUFFER): Add explanatory comment about punning trick.
1382         * src/search.c (search_buffer): Instead of storing search location as
1383         pointers, store them as pointers and recompute the corresponding address
1384         for each call to `re_search_2'.
1385         (string_match_1, fast_string_match_internal, fast_looking_at):
1386         * src/dired.c (directory_files_internal): Set `re_match_object' to Qnil
1387         after calling `re_search' or `re_match_2'.
1388         * src/regex.h (re_match_object): Mention new usage in commentary.
1390 2016-10-21  Paul Eggert  <eggert@cs.ucla.edu>
1392         * lisp/electric.el (electric-quote-mode): Improve doc (Bug#24759).
1394 2016-10-20  Tino Calancha  <tino.calancha@gmail.com>
1396         vc-region-history: Search just on lines intersecting the region
1398         * lisp/vc/vc.el (vc-region-history): If region ends in the beginning
1399         of a line, then exclude that line from the search (Bug#24725).
1401 2016-10-19  Eli Zaretskii  <eliz@gnu.org>
1403         Fix documentation of 'alist-get'
1405         * doc/lispref/lists.texi (Association Lists): Fix the signature of
1406         'alist-get'.  Fix the markup, the wording, and the punctuation in
1407         the description. (Bug#24740)
1409 2016-10-19  Eli Zaretskii  <eliz@gnu.org>
1411         * src/regex.h (re_match_object): Improve commentary.
1413 2016-10-19  Alan Third  <alan@idiocy.org>
1415         Fix cursor at bottom left of rectangle (bug#24364)
1417         * lisp/rect.el (rectangle--col-pos): Don't assume point at EOL doesn't
1418         require rectangle--point-crutches to be set.
1420 2016-10-19  Michael Albinus  <michael.albinus@gmx.de>
1422         Change Tramp version to "2.2.13.25.2"
1424         * doc/misc/trampver.texi:
1425         * lisp/net/trampver.el: Change version to "2.2.13.25.2".
1427 2016-10-19  Eli Zaretskii  <eliz@gnu.org>
1429         * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Fix last change.
1431 2016-10-19  Eli Zaretskii  <eliz@gnu.org>
1433         Don't scan compiled module files for autoloads
1435         * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Ignore
1436         compiled module files.  Make sure the extension really ends the
1437         file name.
1439 2016-10-18  Michael Albinus  <michael.albinus@gmx.de>
1441         Fix Bug#24698
1443         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1444         Don't send "stty tab0" to *BSD and Darwin machines.  (Bug#24698)
1446 2016-10-18  Eli Zaretskii  <eliz@gnu.org>
1448         * lisp/subr.el (start-process): Doc fix.  (Bug#24693)
1450 2016-10-18  Göktuğ Kayaalp  <self@gkayaalp.com>
1452         Fix display of vc-dir CVS file statuses in subdirectories
1454         * lisp/vc/vc-cvs.el (vc-cvs-dir-status-files): Use 'cvs update'
1455         instead of 'cvs status'.  It's faster, easier to parse, and
1456         relieves us of the need to use vc-expand-dirs.  (Bug#24082)
1457         (vc-cvs-after-dir-status): Parse its output.
1459 2016-10-17  Eli Zaretskii  <eliz@gnu.org>
1461         Update URL of MS-Windows optional DLLs
1463         * nt/README.W32:
1464         * nt/INSTALL: Update the URL of the MS-Windows binaries of the
1465         optional libraries built with MSYS2/MinGW64 project tools.
1467 2016-10-17  Eli Zaretskii  <eliz@gnu.org>
1469         Fix time-related data types in 2 editfns.c functions
1471         * src/editfns.c (format_time_string, Fcurrent_time_zone): Pass a
1472         pointer to time_t value to emacs_localtime_rz and gmtime_r,
1473         instead of relying on struct timespec's tv_sec member to be of
1474         compatible type.
1476 2016-10-17  Tino Calancha  <f92capac@gmail.com>
1478         * lisp/simple.el (process-menu-mode, list-processes--refresh):
1479         Include PID.  (Bug#21725)
1481         (cherry picked from commit b7adc2f23787eb72015cd705b873e229db6a5049)
1483 2016-10-17  Tino Calancha  <f92capac@gmail.com>
1485         * lisp/ibuf-ext.el (ibuffer-do-shell-command-file):
1486         Fix non-file-visiting-buffer case.  (Bug#22678)
1488         (cherry picked from commit 738738259ba77fe17e433c64e0758ea59ab5bc75)
1490 2016-10-17  Tino Calancha  <f92capac@gmail.com>
1492         * lisp/ibuffer.el (ibuffer): Improve 'other-window' case.  (Bug#23617)
1494         (cherry picked from commit f4ef1a1fea15aa58fbb5e7a59bff260720658e49)
1496 2016-10-17  Paul Eggert  <eggert@cs.ucla.edu>
1498         Port to Ubuntu 16.10, which needs gcc -nopie
1500         * configure.ac (emacs_cv_prog_cc_no_pie): Rename from
1501         emacs_cv_prog_cc_nopie.  All usages changed.  Check for -no-pie in
1502         preference to -nopie (Bug#24682).  Backport from master.
1504 2016-10-17  Glenn Morris  <rgm@gnu.org>
1506         * lisp/cus-start.el (exec-path): Handle nil elements.  (Bug#24471)
1508 2016-10-16  Andreas Politz  <politza@hochschule-trier.de>
1510         Catch the imenu-unavailable error in sh-mode completion table
1512         * lisp/progmodes/sh-script.el (sh--cmd-completion-table):
1513         Catch the imenu-unavailable error (bug#24238).
1515 2016-10-16  Eli Zaretskii  <eliz@gnu.org>
1517         More char-width fixes
1519         * lisp/international/characters.el (char-width-table): More fixes
1520         according to the latest EastAsianWidth.txt.  (Bug#24705)
1522 2016-10-15  Eli Zaretskii  <eliz@gnu.org>
1524         Fix char-width-table values for some Emoji
1526         * lisp/international/characters.el (char-width-table): Add missing
1527         range U+1F400..U+1F43E.  (Bug#24699)
1529         * admin/notes/unicode: Mention the need to verify char-width-table
1530         setting against data in EastAsianWidth.txt.
1532 2016-10-15  Eli Zaretskii  <eliz@gnu.org>
1534         Keep point when switching from and to *terminal* buffer
1536         * lisp/term.el (term-reset-size): Don't reset the size if it
1537         didn't change.  If the size did change, restore point after
1538         adjusting the size.  (Bug#24465)
1540 2016-10-15  Michael Albinus  <michael.albinus@gmx.de>
1542         * INSTALL: Use correct Emacs release number 25.
1544 2016-10-14  Eli Zaretskii  <eliz@gnu.org>
1546         Avoid crashes due to objects read with the #n=object form
1548         * src/lread.c (read1): Use Fcons for 'placeholder', not AUTO_CONS,
1549         because elements of the list in 'read_objects' cannot be allocated
1550         off the stack.  (Bug#24640)
1552 2016-10-13  Eli Zaretskii  <eliz@gnu.org>
1554         Improve doc string of 'completion-at-point-functions'
1556         * lisp/minibuffer.el (completion-at-point-functions): Doc fix.
1557         (Bug#24663)
1559 2016-10-13  Philipp Stephani  <phst@google.com>
1561         Fix crash in evaluating functions
1563         See Bug#24673
1565         * src/eval.c (funcall_lambda): Fix crash for bogus functions such
1566         as (closure).
1568 2016-10-13  Paul Eggert  <eggert@cs.ucla.edu>
1570         * src/filelock.c (current_lock_owner): Update comment.
1572 2016-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1574         Port --enable-gcc-warnings to GCC 6.2.1
1576         Backport from master.
1577         * src/conf_post.h (GNUC_PREREQ): New macro.
1578         * src/keyboard.c: Use it to work around GCC bug 54561.
1579         * src/process.c (would_block): New function.
1580         (server_accept_connection, wait_reading_process_output, send_process):
1581         Use it.
1583 2016-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1585         Work around Samba bug with ':' in symlink contents
1587         * src/filelock.c (current_lock_owner): When reading the contents
1588         of a lock, treat the UTF-8 for U+F022 as if it were ':' (Bug#24656).
1589         Backport from master.
1591 2016-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1593         Port last_marked change to full-program optimizers
1595         * src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.
1597 2016-10-12  Eli Zaretskii  <eliz@gnu.org>
1599         Adapt GDB scripts to '--enable-check-lisp-object-type' builds
1601         * etc/emacs-buffer.gdb <$qnil>: New variable.
1602         (ybuffer-list, yset-buffer): Use $qnil for comparing against
1603         'nil', as direct comparison with Qnil doesn't work in a build with
1604         '--enable-check-lisp-object-type'.
1606         * src/.gdbinit: Adapt commands of the temporary breakpoint in
1607         init_sys_modes to a build with '--enable-check-lisp-object-type'.
1609 2016-10-11  Eli Zaretskii  <eliz@gnu.org>
1611         Avoid optimizing out the last_marked[] array
1613         * src/alloc.c <last_marked>: No longer 'static', to avoid having
1614         it optimized out in optimized builds, which then makes debugging
1615         GC problems harder.
1617 2016-10-09  Alan Mackenzie  <acm@muc.de>
1619         CC Mode manual: remove reference to former Emacs variable last-command-char
1621         * doc/misc/cc-mode.texi (Hanging Semicolons and Commas): Replace reference to
1622         variable last-command-char by one to macro c-last-command-char.
1624 2016-10-08  Eli Zaretskii  <eliz@gnu.org>
1626         Allow to disable compaction of font caches
1628         * src/font.c (syms_of_font) <inhibit-compacting-font-caches>: New
1629         boolean variable.
1630         * src/alloc.c (compact_font_caches): Use it to bypass the call to
1631         compact_font_cache_entry.  (Bug#24634)  (Bug#24565)
1633         * etc/NEWS: Mention the new variable.
1635 2016-10-08  Eli Zaretskii  <eliz@gnu.org>
1637         Allow selection of font for symbols as in Emacs 24.x
1639         * src/fontset.c (syms_of_fontset) <use-default-font-for-symbols>:
1640         New boolean variable.
1641         (face_for_char): Use it to fall back to pre-Emacs 25.1 behavior
1642         when selecting fonts for displaying symbol and punctuation
1643         characters.  (Bug#24644)
1645         * etc/NEWS: Mention the new variable.
1647 2016-10-08  Eli Zaretskii  <eliz@gnu.org>
1649         Fix horizontal scrolling during Isearch
1651         * lisp/isearch.el (isearch-update): Compute the window's body
1652         width in a way that is correct when there are no fringes.
1653         (Bug#24584)
1655 2016-10-08  Eli Zaretskii  <eliz@gnu.org>
1657         Fix infloop in redisplay due to truncated lines and invisible text
1659         * src/xdisp.c (forward_to_next_line_start): Don't call
1660         'get_next_display_element' after finding the end of line.  This
1661         avoids setting the row's end position to the wrong value when the
1662         next screen line begins with invisible text; that wrong value
1663         caused set_cursor_from_row position the cursor in the wrong screen
1664         line, and eventually triggered bug#24109.
1666 2016-10-07  David Engster  <deng@randomsample.de>
1668         gitmerge: Add cherry pick to gitmerge-skip-regexp
1670         * admin/gitmerge.el (gitmerge-skip-regexp): Add "cherry picked
1671         from commit", which is the string appended by 'git cherry-pick
1672         -x'.
1674         (cherry picked from commit f648e4866981b142fca788372e1fd9013a0bb16a)
1676 2016-10-06  Eli Zaretskii  <eliz@gnu.org>
1678         Improve documentation of 'menu-bar-open'
1680         * lisp/term/w32-win.el (w32-menu-bar-open): Clarify that sometimes
1681         two ESC keypresses are needed to exit the menu.
1683         * doc/emacs/screen.texi (Menu Bar): Qualify the description of how
1684         to exit menus.  (Bug#24596)
1686 2016-10-06  Eli Zaretskii  <eliz@gnu.org>
1688         Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
1690         * nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
1691         defining to avoid redefinition warnings.
1693         * nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
1694         inclusion of sys/stat.h from the system headers, which could then
1695         lead to compilation errors due to redefinition of 'struct stat'
1696         etc.  This is needed because latest versions of MinGW runtime
1697         include sys/stat.h from wchar.h.
1699         * src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
1700         redefine to 4 to avoid conflict between 2 definitions of
1701         MemoryBarrier.  (Bug#24613)
1703         Do not merge to master!
1705 2016-10-05  John Wiegley  <johnw@newartisans.com>
1707         Add documentation note from Alex
1709 2016-10-05  Aurelien Aptel  <aaptel@suse.com>
1711         * src/alloc.c: call only non-null finalizers
1713 2016-10-04  Karl Fogel  <kfogel@red-bean.com>
1715         Clarify that doc fixes are okay in feature freeze
1717         * CONTRIBUTE (branches): Explain that doc fixes are always safe, even
1718         on a release branch in feature freeze.  Tweak wording of paragraph
1719         after that to avoid a misleading contrast.
1721 2016-10-04  Eli Zaretskii  <eliz@gnu.org>
1723         Avoid crashes when setting the cursor
1725         * src/xdisp.c (display_and_set_cursor): Don't index glyphs of a
1726         glyph row if hpos is out of valid bounds.  This avoids crashes in
1727         some rare cases.  (Bug#24614)
1729 2016-10-04  Philippe Vaucher  <philippe.vaucher@gmail.com>
1731         Restore 'command-debug-status' functionality
1733         * src/callint.c (Fcall_interactively): Bind command-debug-status
1734         to nil.  This restores functionality inadvertently removed in
1735         Emacs 25.1.  (Bug#24555)
1737         * lisp/subr.el (command-debug-status): Declare obsolete.
1739         * doc/lispref/debugging.texi (Internals of Debugger): Document
1740         that 'command-debug-status' is obsolete.
1742 2016-10-03  Karl Fogel  <kfogel@red-bean.com>
1744         Document yank behavior in the right place
1746         * lisp/simple.el (yank): Document the handling of the
1747         `yank-handled-properties' and `yank-excluded-properties' variables,
1748         and the `yank-handler' text property.
1749         (yank-pop): Refer to `yank' now (bug#286)
1751         * lisp/subr.el (insert-for-yank): Refer to `yank' now.
1752         (insert-for-yank-1): Refer to `insert-for-yank' now.
1754         See this thread for discussion:
1756           https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
1757           From: Karl Fogel
1758           To: Emacs Devel
1759           Subject: Question about intended behavior of 'insert-for-yank-1'.
1760           Date: Mon, 12 Sep 2016 00:17:14 -0500
1761           Message-ID: <874m5lr92d.fsf@red-bean.com>
1763 2016-10-03  Philipp Stephani  <phst@google.com>
1765         Document nil args of compare-buffer-substrings
1767         * src/editfns.c (Fcompare_buffer_substrings): Document behavior when
1768         the arguments are nil.
1770 2016-10-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1772         * doc/misc/message.texi (Bcc Warning): Fix markup.
1774         * doc/misc/message.texi (Bcc Warning):
1775         Document mml-secure-safe-bcc-list.
1777 2016-10-02  Noam Postavsky  <npostavs@gmail.com>
1779         Don't require isearch-update before isearch-done
1781         It is useful to be able to call `isearch-done' unconditionally to
1782         ensure a non-isearching state.
1784         * lisp/isearch.el (isearch-done): Check that `isearch--current-buffer'
1785         is a live buffer before using it (Bug #21091).
1786         * test/automated/isearch-tests.el (isearch--test-done): Test it.
1788         (cherry picked from commit 68f4b5292781bc331b040105c4079902b993835c)
1790 2016-10-02  Peder O. Klingenberg  <peder@klingenberg.no>
1792         Avoid error in icalendar--read-element
1794         * lisp/calendar/icalendar.el (icalendar--read-element): Avoid a regex
1795         stack overflow by not using regex to extract values from calendar
1796         events. (Bug#24315)
1798         (cherry picked from commit 55dde6c1a21a792d3d75c19e612c74dd054aaf1e)
1800 2016-10-02  Lars Ingebrigtsen  <larsi@gnus.org>
1802         Make a menu less ambiguous
1804         * doc/emacs/custom.texi (Key Bindings): The Modifier Keys node
1805         is about using modifier keys, not binding them (bug#10942).
1807         (cherry picked from commit 214f85a0a68b96a552ca605d601b33f6eef5c4ca)
1809 2016-10-02  Devon Sean McCullough  <Emacs-Hacker2012@jovi.net>
1811         Doc fix for url-http
1813         * lisp/url/url-http.el (url-http): Document better return values
1814           (bug#13187) (tiny change)
1816         (cherry picked from commit 344303c8d9cb03d4778a73940e80e966280aa694)
1818 2016-10-01  Eli Zaretskii  <eliz@gnu.org>
1820         * lisp/frame.el (blink-cursor-delay): Doc fix.  (Bug#24372)
1822 2016-09-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1824         * lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.
1826 2016-09-27  Paul Eggert  <eggert@cs.ucla.edu>
1828         Regexp Functions doc minor fixes
1830         * doc/lispref/searching.texi (Regexp Functions):
1831         Fix misspelling of “matching”.  Use @table for table.
1832         Reformat code example to fit into info file width (Bug#17862).
1834 2016-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1836         Backport mm-convert-shr-links fix from master (bug#23964)
1838         * lisp/gnus/mm-decode.el (mm-convert-shr-links):
1839         Preserve key bindings that shr adds (bug#23964).
1841 2016-09-26  Eli Zaretskii  <eliz@gnu.org>
1843         Improve documentation of 'expand-abbrev' and wrapper hooks
1845         * lisp/simple.el (filter-buffer-substring-functions)
1846         (buffer-substring--filter): Add a link to 'with-wrapper-hook' as
1847         the place to look for documentation of wrapper hooks.
1848         * lisp/minibuffer.el (completion-in-region-functions)
1849         (completion--in-region): Add a link to 'with-wrapper-hook' as the
1850         place to look for documentation of wrapper hooks.
1851         * lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify
1852         the doc strings.  (Bug#24540)
1854         * doc/lispref/text.texi (Buffer Contents): Mention
1855         'with-wrapper-hook's doc string as the place to learn about that
1856         obsolete facility.
1858 2016-09-25  Eli Zaretskii  <eliz@gnu.org>
1860         Minor copyedits of MS-Windows installation instructions
1862         * nt/INSTALL:
1863         * nt/README.W32: Add URL of Emacs dependencies on alpha.gnu.org.
1865 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1867         Fix display of cursor when 'blink-cursor-delay' has small value
1869         * lisp/frame.el (blink-cursor-check, blink-cursor-mode):
1870         Protect ourselves against too small values of blink-cursor-delay.
1871         This avoids erratic display of the cursor, or even failure to
1872         display it, when user types text at high speed or leans on a key
1873         to invoke the keyboard auto-repeat feature.  (Bug#24372)
1875 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1877         Improve the doc string of 'format'
1879         * src/editfns.c (Fformat): Fix ambiguity in the doc string's usage
1880         of a literal period.  (Bug#24407)
1882         This was backported from master
1883         (cherry picked from commit 7123896626b06c26c4e37839ab41e41980c8f433)
1885 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1887         Improve doc strings in whitespace.el
1889         * lisp/whitespace.el (whitespace-mode, whitespace-newline-mode)
1890         (global-whitespace-mode, global-whitespace-newline-mode): Improve
1891         the doc strings.  (Bug#24413)
1893         This was backported from master
1894         (cherry picked from commit 3462fe73351f3da5bc3ebf8296ee44dd2e6b1dbc)
1896 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1898         Improve detectability of 'next-logical-line' and 'previous-logical-line'
1900         * lisp/simple.el (next-line, previous-line): Mention
1901         'next-logical-line' and 'previous-logical-line' in the doc
1902         strings.  (Bug#24443)
1904         This was backported from master
1905         (cherry picked from commit e95d0d15bb1534803b0adb3c3a927c8beb7d4e79)
1907 2016-09-23  Martin Rudalics  <rudalics@gmx.at>
1909         Fix (next-frame nil t) crash (Bug#24281)
1911         * src/frame.c (candidate_frame): Check minibuf argument before
1912         comparing it to zero (Bug#24281).
1914         This was backported from master
1915         (cherry picked from commit dc491c3df305a73908fe8de20b7c428a5b38c846)
1917 2016-09-23  Noam Postavsky  <npostavs@gmail.com>
1919         Fix debugging of string-match-p errors
1921         * src/eval.c (call_debugger): Bind inhibit-changing-match-data to nil so
1922         that debugger code that needs to do regexp match won't break
1923         (Bug #23949, Bug #24166, Bug#16294).
1925         This was backported from master
1926         (cherry picked from commit 7fb75680b38fe0805c2ff7e9cca3bec8121ba984)
1928 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1930         Fix region display while dragging mouse
1932         * lisp/mouse.el (mouse-drag-track): Reset deactivate-mark in the
1933         buffer of the drag event, to allow mark to be set and the region
1934         be shown as we drag the mouse.  (Bug#24030)
1936         This was backported from master
1937         (cherry picked from commit 7d58b02f363ab02961faa950d1ba727df96f2f19)
1939 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1941         Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'
1943         * src/xdisp.c (move_it_in_display_line_to): Don't assume we can
1944         wrap on a whitespace character if it's followed by another
1945         whitespace character.  When returning under WORD_WRAP for a screen
1946         line that is continued, restore to wrap point when atpos/atx
1947         position would be displayed on the next screen line due to
1948         line-wrap.  (Bug#23570)
1950         This is backported from master
1951         (cherry picked from commit 99848b37d2c3e14c0af45fc6da437a806aa58a80)
1953 2016-09-23  Paul Eggert  <eggert@cs.ucla.edu>
1955         Improve display of tex-verbatim and Info quoted
1957         Problem reported by Glenn Morris (Bug#19889).
1958         * doc/emacs/display.texi (Standard Faces):
1959         * doc/lispref/display.texi (Basic Faces):
1960         * etc/NEWS: Mention fixed-pitch-serif.
1961         * lisp/faces.el (face-font-family-alternatives):
1962         New family alias Monospace Serif.
1963         (fixed-pitch-serif): New face, which uses the new family.
1964         * lisp/info.el (Info-quoted):
1965         * lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face.
1966         * test/automated/font-parse-tests.el (font-parse-tests--data):
1967         Add test case for Monospace Serif.
1969         This is backport from master
1970         (cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)
1972 2016-09-23  Lars Ingebrigtsen  <larsi@gnus.org>
1974         Document how to check for ImageMagick support
1976         * doc/lispref/display.texi (ImageMagick Images): Say how to
1977         check for ImageMagick support, which isn't quite obvious
1978         (bug#20702).
1980         This is backport from master
1981         (cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)
1983 2016-09-23  Tino Calancha  <f92capac@gmail.com>
1985         Run find-function-after-hook after finding a symbol
1987         * lisp/emacs-lisp/find-func.el (find-library):
1988         * lisp/help-mode.el (help-function-def, help-variable-def):
1989         Run `find-function-after-hook' inside the help-function of the
1990         buttons (bug#22583).
1991         * etc/NEWS: Mention the change.
1993         This is a backport from master.
1994         (cherry picked from commit f069d854508946bcc03e4c77ceb430748e3ab6d7)
1996 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
1998         Document 'timerp'
2000         * doc/lispref/os.texi (Timers): Document 'timerp'.  (Bug#24511)
2001         Improve indexing.
2003 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
2005         Improve documentation of overlay priorities
2007         * doc/lispref/display.texi (Overlay Properties): Minor copyedits.
2008         By popular demand, mention the '(PRIMNARY . SECONDARY)' form of
2009         overlay properties used for the region.  (Bug#20253)
2011 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
2013         Fix 'dired-compress-files'
2015         * lisp/dired-aux.el (dired-do-compress-to): Make sure the archive
2016         file name is fully expanded by running it through
2017         'expand-file-name'.  Suggested by Drew Adams <drew.adams@oracle.com>.
2018         (Bug#24486)  Doc fix.
2019         * lisp/dired.el: Regenerated changes in autoloads.
2021 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
2023         Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR
2025         * src/character.h (STRING_CHAR):
2026         * src/buffer.h (FETCH_MULTIBYTE_CHAR): Update commentary: these
2027         two macros no longer do any character unification, so the caveats
2028         in those comments are no longer pertinent.
2030 2016-09-23  Eli Zaretskii  <eliz@gnu.org>
2032         Increment Emacs version to 25.1.50
2034         * README:
2035         * configure.ac:
2036         * etc/NEWS:
2037         * msdos/sed2v2.inp: Bump the version to 25.1.50.
2039 2016-09-21  Eli Zaretskii  <eliz@gnu.org>
2041         Document the optional zlib library in MS-Windows builds
2043         * nt/README.W32:
2044         * nt/INSTALL.W64:
2045         * nt/INSTALL: Mention the optional text decompression support and
2046         the zlib library.
2048 2016-09-21  Eli Zaretskii  <eliz@gnu.org>
2050         Fix tagging of DEFUN by etags
2052         * lib-src/etags.c (C_entries): Tag DEFUN twice: once with its C
2053         name, and then again with its Lisp name.  This restores the
2054         ability to find Lisp primitives by their C name, which was lost
2055         when the etags back-end was switched to a more strict search
2056         criteria.
2058         * test/etags/ETAGS.good_1:
2059         * test/etags/ETAGS.good_2:
2060         * test/etags/ETAGS.good_3:
2061         * test/etags/ETAGS.good_4:
2062         * test/etags/ETAGS.good_5:
2063         * test/etags/ETAGS.good_6:
2064         * test/etags/CTAGS.good: Adapt to the changes in etags.c wrt
2065         tagging DEFUN.
2067 2016-09-21  Eli Zaretskii  <eliz@gnu.org>
2069         Avoid resetting track-mouse by mouse clicks
2071         * lisp/mouse.el (mouse-drag-line, mouse-drag-track): Don't assume
2072         the previous value of track-mouse is nil; instead, save and
2073         restore the previous value.  (Bug#24480)
2075 2016-09-20  Eli Zaretskii  <eliz@gnu.org>
2077         Improve nt/README.W32 instructions
2079         * nt/README.W32: Add instructions for installing 64-bit builds of
2080         optional libraries.  (Bug#24470)
2082 2016-09-17  Eli Zaretskii  <eliz@gnu.org>
2084         Document that desktop file overrides frame parameters
2086         * doc/emacs/misc.texi (Saving Emacs Sessions):
2087         * doc/emacs/frames.texi (Frame Parameters): Document that frame
2088         parameters restored by desktop.el take precedence over the
2089         customizations in the init file, and explain how to countermand
2090         that.  For the details of the issue, see
2091         http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00318.html.
2093 2016-09-15  Nicolas Petton  <nicolas@petton.fr>
2095         * etc/AUTHORS: Regenerate the AUTHORS file
2097 2016-09-16  Nicolas Petton  <nicolas@petton.fr>
2099         * Version 25.1 released.
2101 2016-09-15  Nicolas Petton  <nicolas@petton.fr>
2103         * etc/AUTHORS: Regenerate the AUTHORS file
2105 2016-09-15  Eli Zaretskii  <eliz@gnu.org>
2107         Update admin/authors.el
2109         * admin/authors.el (authors-fixed-entries): Add an entry for Bob
2110         Weiner.
2112 2016-09-14  Eli Zaretskii  <eliz@gnu.org>
2114         Update Antinews in ELisp manual
2116         * doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
2117         * doc/lispref/elisp.texi (Top): Update the main menu entry for
2118         Antinews.
2120 2016-09-11  Noam Postavsky  <npostavs@gmail.com>
2122         Fix comments on window height macros
2124         * src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
2125         confusing claim that "height is in pixels and in lines"; in fact it's in
2126         pixels.
2128 2016-09-10  Toke Høiland-Jørgensen  <toke@toke.dk>  (tiny change)
2130         Fix 'url-http-create-request' when cookies are used
2132         * lisp/url/url-http.el (url-http-create-request): Make sure the
2133         cookie headers are a unibyte string.  For the details, see
2134         http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00202.html.
2136 2016-09-08  Martin Rudalics  <rudalics@gmx.at>
2138         Fix cross reference in frames.texi
2140         * doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
2141         reference.
2143 2016-09-04  immerrr  <immerrr@gmail.com>
2145         Fix regexp-opt documentation (bug #17862)
2147         * lisp/emacs-lisp/regexp-opt.el (regexp-opt):
2148         * doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.
2150 2016-08-31  Nicolas Richard  <youngfrog@members.fsf.org>
2152         * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.
2154 2016-08-27  Noam Postavsky  <npostavs@gmail.com>
2156         Fix tags-query-replace docstring
2158         * lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
2159         regarding non-existent parameters.
2161 2016-08-26  Eli Zaretskii  <eliz@gnu.org>
2163         Clarify documentation of precision in format specs
2165         * doc/lispref/strings.texi (Formatting Strings): Be less
2166         definitive wrt what precision means in format specs other than
2167         floating-point, %s and %S.  (Bug#24314)
2169 2016-08-24  Eli Zaretskii  <eliz@gnu.org>
2171         Improve and clarify documentation of subprocesses
2173         * doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
2174         Mention 'make-process' rather than 'start-process'.  Update wrt
2175         standard destinations of standard output/error streams and due to
2176         different formats of arguments accepted by 'make-process'.
2177         (Processes): Mention process objects that represent connections.
2178         (Synchronous Processes): Minor clarifications.
2179         (Asynchronous Processes): Describe 'make-process' and
2180         'make-pipe-process' before 'start-process'.  Update and expand the
2181         documentation.
2182         (Deleting Processes, Process Information, Input to Processes)
2183         (Signals to Processes, Query Before Exit, Network): Update and
2184         expand the documentation, especially wrt process objects that
2185         represent connections.
2186         (Output from Processes): Mention the possibility of separating
2187         stderr via 'make-process'.
2188         (Filter Functions): Mention that stderr by default arrives at the
2189         filter function together with stdout.  (Bug#24287)
2191         * src/process.c (Fprocess_id, Fprocess_command)
2192         (Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
2193         process objects that represent connections.
2195 2016-08-23  Paul Eggert  <eggert@cs.ucla.edu>
2197         * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).
2199 2016-08-21  Nicolas Petton  <nicolas@petton.fr>
2201         * etc/AUTHORS: Update the AUTHORS file
2203 2016-08-20  Philipp Stephani  <phst@google.com>
2205         Some assorted documentation clarifications
2207         * src/fileio.c (Fwrite_region): Clarify that END is ignored if
2208         START is nil.
2209         * src/editfns.c (Fbuffer_size): Add short discussion about
2210         narrowing.
2211         * src/callproc.c (Fcall_process_region): Discuss behavior when
2212         START and END are not buffer positions.
2214 2016-08-18  Eli Zaretskii  <eliz@gnu.org>
2216         Improve commentary in src/character.h
2218         * src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
2219         (MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
2220         info from commentary and improve it.
2222 2016-08-17  Dmitry Gutov  <dgutov@yandex.ru>
2224         * etc/NEWS: Mention the change in json-encode-string.
2226         The change was made to fix bug#20154, and came up again in bug#24239.
2228 2016-08-16  Eli Zaretskii  <eliz@gnu.org>
2230         * src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
2232         (Bug#24206)
2234 2016-08-16  Eli Zaretskii  <eliz@gnu.org>
2236         Avoid segfaults due to quoting in 'substitute-command-keys'
2238         * src/doc.c (Fsubstitute_command_keys): Correct character counts
2239         when the input string is unibyte.  (Bug#24206)
2241 2016-08-16  Martin Rudalics  <rudalics@gmx.at>
2243         In NEWS describe new handling of window margins (Bug#24193)
2245         * etc/NEWS: Describe new handling of margins when splitting or
2246         resizing windows (Bug#24193).
2248 2016-08-16  Martin Rudalics  <rudalics@gmx.at>
2250         Facultatively ignore margins when splitting and resizing windows (Bug#24193)
2252         Provide a new window parameter 'min-margins' which allows to
2253         ignore the actual widths of a window's margins when splitting or
2254         resizing that window horizontally.  This should serve as a
2255         workaround for handling the problems raised by Bug#24193.
2257         * lisp/window.el (window--min-size-1): Handle new window
2258         parameter 'min-margins'.
2259         (split-window): Fix text of error messages.
2260         * doc/lispref/windows.texi (Window Parameters): Describe new
2261         parameter 'min-margins'.
2263 2016-08-14  Noam Postavsky  <npostavs@gmail.com>
2265         Document CATEGORY arg to modify-category-entry
2267         * src/category.c (Fmodify_category_entry): Document CATEGORY argument.
2269 2016-08-13  Noam Postavsky  <npostavs@gmail.com>
2271         Document char-script-table's effect on word motion
2273         * doc/lispref/positions.texi (Word Motion): Talk about
2274         char-script-table (Bug #10494).
2276 2016-08-13  Eli Zaretskii  <eliz@gnu.org>
2278         Further fix for 'url-http-create-request' and multibyte strings
2280         * lisp/url/url-http.el (url-http-create-request): Run
2281         url-mime-charset-string through url-http--encode-string.
2282         (Bug#24117)
2284 2016-08-13  Noam Postavsky  <npostavs@gmail.com>
2286         Fix docstring of eval-expression
2288         * lisp/simple.el (eval-expression): Fix the docstring to reflect the
2289         fact that the prefix argument does not affect formatting for
2290         integers (Bug #20691).
2292 2016-08-11  Eli Zaretskii  <eliz@gnu.org>
2294         Clarify when 'cursor' property is in effect
2296         * doc/lispref/text.texi (Special Properties): Minor copyedits.
2297         (Bug#24179)
2299 2016-08-11  Dmitry Gutov  <dgutov@yandex.ru>
2301         Convert the remaining strings to unibyte before concatenating
2303         * lisp/url/url-http.el (url-http--encode-string): New function.
2304         (url-http-create-request): Use it to convert ASCII to unibyte.
2305         (Bug#24117)
2307 2016-08-11  Eli Zaretskii  <eliz@gnu.org>
2309         Fix bug with handling the bidi cache
2311         * src/xdisp.c (redisplay_window): Save and restore the state of
2312         the bidi cache before reusing the iterator after calls to
2313         try_window and try_window_reusing_current_matrix.
2315 2016-08-10  Eli Zaretskii  <eliz@gnu.org>
2317         * doc/lispref/text.texi (Change Hooks): Minor copyedits.
2319 2016-08-09  Eli Zaretskii  <eliz@gnu.org>
2321         Clarify documentation of before/after-change-functions
2323         * doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
2324         not called in balanced pairs.
2326 2016-08-06  Noam Postavsky  <npostavs@gmail.com>
2328         Document use of vectors in keymaps
2330         * doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
2331         format (Bug #14797).
2333 2016-08-03  Alan Third  <alan@idiocy.org>
2335         Post AppDefined events from the main thread ONLY (bug#23934)
2337         * src/nsterm.h: Make nextappdefined var not just GNUStep.
2338         * src/nsterm.m (ns_send_appdefined, sendFromMainThread): Remove GNUStep
2340 2016-08-03  John Wiegley  <johnw@newartisans.com>
2342         Update to the AUTHORS file for Bob Weiner
2344                 * etc/AUTHORS: Update the packages attributed to Bob Weiner
2346 2016-08-02  John Wiegley  <johnw@newartisans.com>
2348         Revert "Fix local printer set to left aligned string formatter."
2350         This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.
2352 2016-08-02  John Wiegley  <johnw@newartisans.com>
2354         Revert "Fix ses-delete-blanks to delete only blanks + documentation."
2356         This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.
2358 2016-08-02  John Wiegley  <johnw@newartisans.com>
2360         Revert "Fix English."
2362         This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.
2364 2016-08-01  Eli Zaretskii  <eliz@gnu.org>
2366         Improve doc strings of 'gud-gdb' and 'gdb'
2368         * lisp/progmodes/gdb-mi.el (gdb):
2369         * lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)
2371 2016-08-01  Eli Zaretskii  <eliz@gnu.org>
2373         Fix doc string of 'minibuffer-message-timeout'
2375         * src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
2376         Doc fix.  (Bug#24123)
2378 2016-07-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2380         Fix English.
2382         * doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
2383           incorrect English.
2385 2016-07-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2387         Fix ses-delete-blanks to delete only blanks + documentation.
2389         * doc/misc/ses.texi (Quick Tutorial): Mention the '!'
2390         'ses-range' modifier as an alternative to 'ses+'.
2391         (Advanced Features): Add a refernce to node 'Nonrelocatable
2392         references' concerning function 'ses-rename-cell'.
2393         (Standard formula functions): Mention the '!' 'ses-range'
2394         modifier as an alternative to 'ses-delete-blanks'.
2395         (More on cell printing): Fix fallback printer
2396         definition.  Minor editorial formatting changes.
2397         (Nonrelocatable references): Document the use of
2398         'ses-rename-cell' as a better way to make cell reference
2399         non-relocatable.
2400         (The data area): Document the presence of local printer
2401         definitions in the data area.
2403         * lisp/ses.el (ses-delete-blanks): Do not remove
2404         *error*.  Any error in an argument should propagate into the
2405         using formula rather than being silently hidden !
2407 2016-07-29  Noam Postavsky  <npostavs@gmail.com>
2409         profiler: document prefix arg for tree expansion
2411         * doc/lispref/debugging.texi (Profiling):
2412         * lisp/profiler.el (profiler-report-toggle-entry): Document use of
2413         prefix argument to expand whole call trees.
2415 2016-07-29  Noam Postavsky  <npostavs@gmail.com>
2417         Clarify usage of eshell-visual-options
2419         * lisp/eshell/em-term.el (eshell-visual-options): Add second option to
2420         example usage (Bug #19627).
2422 2016-07-29  Noam Postavsky  <npostavs@gmail.com>
2424         Fix comment in files-in-below-directory
2426         * doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
2427         say append, since the code is adding to front of list (Bug #21589).
2429 2016-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2431         Fix local printer set to left aligned string formatter.
2433         * lisp/ses.el (ses-local-printer-compile): Add missing case
2434         for left-aligned string formatter.
2436 2016-07-24  Nicolas Petton  <nicolas@petton.fr>
2438         Bump Emacs version to 25.1 for the first RC
2440         * README:
2441         * configure.ac:
2442         * lisp/ldefs-boot.el:
2443         * msdos/sed2v2.inp: Bump Emacs version to 25.1.
2445 2016-07-24  Nicolas Petton  <nicolas@petton.fr>
2447         * etc/AUTHORS: Update the AUTHORS file
2449         ;; * ChangeLog.2: ChangeLog update.
2451 2016-07-24  Nicolas Petton  <nicolas@petton.fr>
2453         * admin/authors.el (authors-valid-file-names): Addition.
2455 2016-07-23  Eli Zaretskii  <eliz@gnu.org>
2457         Warn about Cairo-related problems
2459         * etc/NEWS: Warn about known problems in the Cairo build.
2460         (Bug#23925)
2462 2016-07-23  Paul Pogonyshev  <pogonyshev@gmail.com>
2464         Don't let completion break `declare' handling
2466         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Fix to not alter
2467         `defun-declarations-alist' by side effect (Bug #23648).
2469 2016-07-23  Noam Postavsky  <npostavs@gmail.com>
2471         Adjust match data before calling after-change-funs
2473         It's important to adjust the match data in between calling
2474         before-change-functions and after-change-functions, so that buffer
2475         change hooks will always see match-data consistent with buffer content.
2476         (Bug #23917)
2478         * src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
2479         true call update_search_regs.  Update all callers (except
2480         Freplace_match) to pass 0 for the new parameter.
2481         * src/search.c (update_search_regs): New function, extracted from
2482         Freplace_match.
2483         (Freplace_match): Remove match data adjustment code, pass 1 for
2484         ADJUST_MATCH_DATA to replace_range instead.
2486 2016-07-21  Mark Oteiza  <mvoteiza@udel.edu>
2488         Do not show string-rectangle preview if minibuffer is empty
2490         * lisp/rect.el (rectangle--string-preview): Remove condition that sets
2491         preview string to the default replacement string.
2493 2016-07-21  Achim Gratz  <Stromeko@nexgo.de>
2495         * etc/PROBLEMS: Add entry about selection problems under Plasma 5.
2497         Bug#24013
2499 2016-07-21  Paul Eggert  <eggert@cs.ucla.edu>
2501         Port to glibc 2.24 (pre-release) + ppc64
2503         Backport from master (Bug#24033).
2504         Inspired by a suggestion by Florian Weimer in:
2505         https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
2506         * src/emacs.c (main) [__PPC64__]:
2507         Special case for __PPC64__, which needs ASLR disabled in
2508         dumped Emacs too.
2510 2016-07-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2512         * lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
2514         * lisp/net/shr.el (shr-fill-line):
2515         Preserve text properties in folded lines (bug#24034).
2517 2016-07-17  Robert Cochran  <robert-git@cochranmail.com>  (tiny change)
2519         Expand FIXME near definition of fboundp
2521         This expansion of the FIXME is so that future developers are aware of
2522         the potential problems of aliasing fboundp to symbol-function without
2523         taking backwards compatibility into account.
2525         * src/data.c (fboundp): Note potential backwards compatibility issues in
2526         FIXME.
2528 2016-07-17  Noam Postavsky  <npostavs@gmail.com>
2530         kill-rectangle should mention killed-rectangle
2532         * lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
2533         and warning message, rather than kill ring (Bug#19773).
2535 2016-07-16  Eli Zaretskii  <eliz@gnu.org>
2537         Avoid assertion violations in nhexl-mode
2539         * src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
2540         code executed in all builds.  (Bug#24001)
2542 2016-07-15  Fredrik Bergroth  <fbergroth@gmail.com>  (tiny change)
2544         Use memmove instead of memcpy on overlapping regions
2546         * src/editfns.c (Ftranspose_regions): Regions may overlap, so
2547         use memmove instead of memcpy (bug#19213).
2550         This is a backport from trunk.
2551         (cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)
2553 2016-07-15  Noam Postavsky  <npostavs@gmail.com>
2555         Document buffer-swap-text+save-excursion interaction
2557         * doc/lispref/buffers.texi (Swapping Text):
2558         * src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
2559         `buffer-swap-text' and `save-excursion' (Bug #4655).
2561 2016-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2563         Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
2565         * lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
2566         * lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
2567         mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
2568         * lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
2569         `class' is not a symbol but a class object.
2571 2016-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2573         Include cl-generic in package--builtin-versions (bug#22817)
2575         * lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
2576         Add ourselves manually.  Don't merge since there's a better fix on master.
2578 2016-07-14  Michael Albinus  <michael.albinus@gmx.de>
2580         Improve timing in `tramp-test29-environment-variables'
2582         * test/automated/tramp-tests.el
2583         (tramp-test--shell-command-to-string-asynchronously):
2584         Add additional `accept-process-output' call.
2585         (tramp-test29-environment-variables): Remove additional sleep calls.
2587 2016-07-14  Michael Albinus  <michael.albinus@gmx.de>
2589         Add test for handling environment variables in Tramp
2591         * test/automated/tramp-tests.el
2592         (tramp-test--shell-command-to-string-asynchronously): New defun.
2593         (tramp-test29-environment-variables): New test.
2594         (tramp-test30-vc-registered)
2595         (tramp-test31-make-auto-save-file-name)
2596         (tramp-test32-special-characters)
2597         (tramp-test32-special-characters-with-stat)
2598         (tramp-test32-special-characters-with-perl)
2599         (tramp-test32-special-characters-with-ls, tramp-test33-utf8)
2600         (tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
2601         (tramp-test33-utf8-with-ls)
2602         (tramp-test34-asynchronous-requests)
2603         (tramp-test35-recursive-load, tramp-test36-unload): Rename.
2605 2016-07-13  Glenn Morris  <rgm@gnu.org>
2607         * lisp/emacs-lisp/package.el (describe-package-1)
2608         (package-status-external): Fix face references.  (Bug#23927)
2610 2016-07-12  Stephen Berman  <stephen.berman@gmx.net>
2612         Improve documentation of search functions
2614         Make the documentation of the search functions more accurate,
2615         complete, and uniform; in particular, extend the description of
2616         the effect when the 'count' parameter is a negative number to all
2617         of these functions.
2619         * src/search.c (Fsearch_backward, Fsearch_forward)
2620         (Fre_search_backward, Fre_search_forward)
2621         (Fposix_search_backward, Fposix_search_forward):
2622         * lisp/isearch.el (word-search-backward, word-search-forward)
2623         (word-search-backward-lax, word-search-forward-lax): Improve doc
2624         strings as described above.
2626         * doc/lispref/searching.texi (String Search, Regexp Search)
2627         (POSIX Regexps): Use 'count' instead of 'repeat' as the name of
2628         the fourth parameter of the *-search-{forward,backward} functions
2629         and improve documentation as described above.
2631 2016-07-12  Michael Albinus  <michael.albinus@gmx.de>
2633         Delete environment variables in Tramp when needed
2635         * lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
2636         (tramp-sh-handle-start-file-process)
2637         (tramp-sh-handle-process-file, ): Use it.  (Bug#23952)
2639 2016-07-12  Eli Zaretskii  <eliz@gnu.org>
2641         Add "New in Emacs 25" section to the FAQ
2643         * doc/misc/efaq.texi (Latest version of Emacs): Update for later
2644         versions.
2645         (New in Emacs 25): New node.
2646         (Status of Emacs): Add it to the menu.
2648 2016-07-10  Eli Zaretskii  <eliz@gnu.org>
2650         Fix 'vertical-motion' in non-interactive sessions
2652         * src/indent.c (Fvertical_motion): Don't return uninitialized
2653         value in non-interactive session.  This fixes random errors in
2654         batch mode, see
2655         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
2656         and
2657         http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
2658         for the details.
2660 2016-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2662         Fix memory leak in imagemagick-types
2664         * src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
2665         avoid memory leak.
2667 2016-07-10  Eli Zaretskii  <eliz@gnu.org>
2669         Update ELisp manual to match 'string-collate-equalp' doc string
2671         * doc/lispref/strings.texi (Text Comparison): Remove reference to
2672         sorting from the description of 'string-collate-equalp'.  (Bug#23902)
2674 2016-07-09  Noam Postavsky  <npostavs@gmail.com>
2676         Clarify docstring of find-feature-regexp
2678         * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
2679         is optional (Bug #23520).
2681 2016-07-09  Noam Postavsky  <npostavs@gmail.com>
2683         Add details to cl-lib defining macros' docstrings
2685         * lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
2686         of supported arglist forms (Bug #22462).
2688 2016-07-09  Eli Zaretskii  <eliz@gnu.org>
2690         Clarify doc string of 'save-buffer'
2692         * lisp/files.el (save-buffer): Clarify that backups might not be
2693         made even if this command is invoked with 2 or 3 "C-u"s.
2694         (Bug#3702)
2696 2016-07-08  Eli Zaretskii  <eliz@gnu.org>
2698         Un-confuse doc string of 'string-collate-equalp'
2700         * src/fns.c (Fstring_collate_equalp): Remove confusing text from
2701         doc string.  (Bug#23902)
2703 2016-07-07  Eli Zaretskii  <eliz@gnu.org>
2705         Clarify documentation of 'mouse-on-link-p'
2707         * lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
2708         argument.  (Bug#23899)
2710 2016-07-06  Phillip Lord  <phillip.lord@russet.org.uk>
2712         Fix missing undo-boundary on revert-buffer.
2714         * lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
2715         * src/fileio.c (insert-buffer-contents): Call
2716           undo-auto--undoably-changed-buffers before changes.
2718         Addresses Bug#23785.
2720         Do not merge to master as c98bc98 also addresses the same bug.
2722 2016-07-06  Martin Rudalics  <rudalics@gmx.at>
2724         Amend last addition to etc/PROBLEMS
2726         * etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings
2728 2016-07-06  Paul Eggert  <eggert@cs.ucla.edu>
2730         Fix open-network-stream responsiveness
2732         Problem reported by Christer Ekholm (Bug#23864).
2733         Backport from master.
2734         * src/process.c (wait_reading_process_output):
2735         Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
2736         when wait == INFINITY and got_output_end_time is invalid.
2737         In this case the code should break, not continue.
2739 2016-07-05  Phillip Lord  <phillip.lord@russet.org.uk>
2741         Fix missing point information in undo
2743         * src/undo.c (record_insert): Use record_point instead of
2744           prepare_record, and do so unconditionally.
2745           (prepare_record): Do not record first change.
2746           (record_point): Now conditional on state before the last command.
2747           (record_delete): Call record_point unconditionally.
2748           (record_property_change): Use prepare_record.
2749           (record_marker_adjustments): Use prepare_record.
2751         Addresses Bug# 21722
2753 2016-07-04  Eli Zaretskii  <eliz@gnu.org>
2755         Avoid crashes when buffer modification hooks clobber match data
2757         * src/search.c (Freplace_match): Error out if buffer modification
2758         hooks triggered by buffer changes in replace_range, upcase-region,
2759         and upcase-initials-region clobber the match data needed to be
2760         adjusted for the replacement.  (Bug#23869)
2762 2016-07-03  Noam Postavsky  <npostavs@gmail.com>
2764         Note combine-and-quote-strings doesn't shell quote
2766         * doc/lispref/processes.texi (Shell Arguments):
2767         * lisp/subr.el (combine-and-quote-strings): Add a note that
2768         combine-and-quote-strings doesn't protect arguments against shell
2769         evaluation (Bug #20333).
2771 2016-07-03  Noam Postavsky  <npostavs@gmail.com>
2773         Explain when package-initialize isn't called
2775         * doc/lispref/os.texi (Startup Summary): Explain that package-initialize
2776         is not called when options -q, -Q, or --batch were passed (Bug #19151).
2778 2016-07-03  Noam Postavsky  <npostavs@gmail.com>
2780         Fix escaping in sh-indent-after-continuation docstr
2782         * lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
2783         escape backslashes in docstring (Bug#23046).
2785 2016-07-02  Eli Zaretskii  <eliz@gnu.org>
2787         Clarify the documentation of back-references in replacements
2789         * doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
2790         with \1, not \0.
2792         * lisp/replace.el (query-replace-regexp)
2793         (query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)
2795 2016-07-01  Noam Postavsky  <npostavs@gmail.com>
2797         Clarify lexical binding with symbol args behavior
2799         * doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
2800         arguments always refer to dynamic values (Bug #23781).  Remove mention
2801         of obsolete restriction regarding lexical binding for defun and
2802         defmacro, this no longer applies since 61b108cc 2012-05-29 "*
2803         lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".
2805 2016-06-30  Michael Albinus  <michael.albinus@gmx.de>
2807         * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
2809 2016-06-29  Eli Zaretskii  <eliz@gnu.org>
2811         * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.  (Bug#23865)
2813 2016-06-29  Eli Zaretskii  <eliz@gnu.org>
2815         Avoid assertion violations when rendering some fonts
2817         * src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
2818         high" if its pixel_size value is zero.  This avoids assertion
2819         violations at the end of x_produce_glyphs.
2821 2016-06-28  Noam Postavsky  <npostavs@gmail.com>
2823         Document more details of package activation
2825         * doc/emacs/package.texi (Package Installation): Explain that package
2826         activation adds to load-path (Bug #21704).
2828 2016-06-28  Noam Postavsky  <npostavs@gmail.com>
2830         Fixup warning message regarding HOME a bit more
2832         * src/w32.c (init_environment): The manual section title is "Windows
2833         HOME" (Bug #11612).  Move newline so warning fits in 80 character lines.
2835 2016-06-27  Eli Zaretskii  <eliz@gnu.org>
2837         * lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.
2839 2016-06-27  Michael Albinus  <michael.albinus@gmx.de>
2841         Fix input method "probhat" for Bengali
2843         Author: উৎসব রায় <uroybd@gmail.com>
2845         * lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.
2847 2016-06-27  Noam Postavsky  <npostavs@gmail.com>
2849         Add to elisp-completion-at-point's docstring
2851         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
2852         position dependent behavior (Bug #19854).
2854 2016-06-27  Noam Postavsky  <npostavs@gmail.com>
2855             Eli Zaretskii  <eliz@gnu.org>
2857         Give more helpful warning about setting HOME
2859         * src/w32.c (init_environment): Improve warning message that pops when
2860         Emacs sets HOME according to existence of C:\.emacs (Bug #11612).
2862 2016-06-26  Eli Zaretskii  <eliz@gnu.org>
2864         Fix slow redisplay in term-mode
2866         * lisp/term.el (term-mode): Move the setting of
2867         bidi-paragraph-direction from 'ansi-term' to here, since term-mode
2868         is also affected.  Do not merge to master, since there the problem
2869         is solved in bidi.c by changing the regexps that delimit a
2870         paragraph.  (Bug#23801)
2872 2016-06-26  উৎসব রায়  <uroybd@gmail.com>
2874         New input method "probhat" for Bengali
2876         * lisp/leim/quail/indian.el ("probhat"): New input method.
2877         (Bug#23822)
2879         * etc/NEWS: Mention the new input method.
2881 2016-06-25  Noam Postavsky  <npostavs@gmail.com>
2882             Drew Adams  <drew.adams@oracle.com>
2884         Update docs for `customize-mode'
2886         * lisp/cus-edit.el (customize-mode): This function works with both major
2887         and minor modes, make docstring and prompt reflect that (Bug #23649).
2889         * doc/lispref/modes.texi (Derived Modes): Remove note about
2890         customize-mode being experimental; it has been around since Emacs
2891         22 (Bug #11299).
2893 2016-06-23  Eli Zaretskii  <eliz@gnu.org>
2895         Fix documentation of 'assoc-string' and 'compare-strings'
2897         * src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
2898         string comparison.  (Bug#23833)
2899         * src/fns.c (Fcompare_strings): Fix the description of how
2900         IGNORE-CASE affects the comparison.
2902         * doc/lispref/strings.texi (Text Comparison): Clarify how
2903         CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
2904         the description of how IGNORE-CASE affects the comparison in
2905         'compare-strings'.
2907 2016-06-22  Dmitry Gutov  <dgutov@yandex.ru>
2909         Error on multibyte characters in HTTP request
2911         * lisp/url/url-http.el (url-http-create-request): Check the
2912         constructed request in the end to verify that it does not contain
2913         multibyte characters (bug#23750).
2915 2016-06-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2917         * lisp/gnus/mm-decode.el (mm-convert-shr-links):
2918         Mask keys that launch `widget-button-click' (bug#22157).
2920 2016-06-22  Dmitry Gutov  <dgutov@yandex.ru>
2922         Unset GIT_DIR when calling Git commands
2924         * lisp/vc/vc-git.el (vc-git--call, vc-git-command):
2925         Unset GIT_DIR (bug#23769).
2927 2016-06-21  Phillip Lord  <phillip.lord@russet.org.uk>
2929         Ensure undo-boundary after insert-file-contents.
2931         * src/fileio.c: Record undoable change during insert-file-contents.
2933         Addresses Bug #23785.
2935 2016-06-21  Eli Zaretskii  <eliz@gnu.org>
2937         Clarify documentation of 'line-spacing' and 'line-height'
2939         * doc/lispref/display.texi (Line Height): Clarify how the line
2940         height is determined via variables and text properties.  (Bug#23806)
2942 2016-06-20  Eli Zaretskii  <eliz@gnu.org>
2944         Fix removal of variables from process-environment
2946         * src/callproc.c (add_env): Fix comparison of a variable with a
2947         value against the same variable without a value.  (Bug#23779)
2949 2016-06-20  Glenn Morris  <rgm@gnu.org>
2951         * admin/authors.el (authors-ignored-files, authors-valid-file-names)
2952         (authors-renamed-files-alist): Additions.
2954         * admin/authors.el (authors-aliases, authors-fixed-case): Additions.
2956 2016-06-18  Noam Postavsky  <npostavs@gmail.com>
2958         Fix documentation of completion functions
2960         So that the described behavior matches the code (and docstrings).
2962         * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
2963         collections are used like string keys, not ignored (Bug #10416).
2965 2016-06-18  Eli Zaretskii  <eliz@gnu.org>
2967         Clarify documentation of 'font-lock-maximum-decoration'
2969         * doc/emacs/display.texi (Font Lock): Explain how to make the
2970         customization of 'font-lock-maximum-decoration' effective for an
2971         existing buffer.  (Bug#23783)
2973 2016-06-17  Glenn Morris  <rgm@gnu.org>
2975         * doc/misc/cl.texi (Usage): Add some more details.
2977 2016-06-17  Noam Postavsky  <npostavs@gmail.com>
2979         Fbackward_prefix_chars: stay within buffer bounds
2981         The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
2982         scanning" (1998-03-18), moved the check against of the position against the
2983         buffer beginning out the loop condition so that we might end up checking
2984         the syntax of characters before the beginning of the buffer.  This can
2985         cause segfaults or trigger a "Point before start of properties" error in
2986         `update_interval' (called indirectly from `char_quoted').
2988         * src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
2989         buffer is reached (Bug #3552, Bug #17132, Bug #19379).
2991 2016-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2993         Fix ifdef-vs-if typo with RANDR13_LIBRARY
2995         * src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
2996         This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
2997         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html
2999         (cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)
3001 2016-06-16  Stephen Berman  <stephen.berman@gmx.net>
3003         Fix last todo-mode change
3005         * lisp/calendar/todo-mode.el (todo-read-category): Return the
3006         keymap in order to use its defined key bindings.
3008 2016-06-15  Stephen Berman  <stephen.berman@gmx.net>
3010         Improve last todo-mode fix
3012         * lisp/calendar/todo-mode.el (todo-read-category): Use
3013         set-keymap-parent instead of copy-keymap, and default (as
3014         previously) to the global binding (for rationale, see
3015         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).
3017 2016-06-14  Stephen Berman  <stephen.berman@gmx.net>
3019         Fix todo-mode use of minibuffer completion keymap (bug#23695).
3021         * lisp/calendar/todo-mode.el (todo-read-category): Don't
3022         override minibuffer-local-completion-map globally (bug#23695).
3023         Bind <SPC> key to self-insert-command.
3025 2016-06-14  Glenn Morris  <rgm@gnu.org>
3027         * src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23764)
3029         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
3030         Avoid mangling autoloads with unspecified arguments.  (Bug#21299)
3032 2016-06-13  Glenn Morris  <rgm@gnu.org>
3034         * lisp/help-fns.el (describe-function-1): Avoid reporting advised
3035         autoloads as aliases.  (Bug#21299)
3037 2016-06-13  Stephen Berman  <stephen.berman@gmx.net>
3039         Minor grammar fix (bug#23746)
3041         * doc/lispref/processes.texi (Synchronous Processes):
3042         Another minor grammar fix (bug#23746).
3044 2016-06-13  Stephen Berman  <stephen.berman@gmx.net>
3046         Doc fixes for grammar and typos (bug#23746)
3048         * doc/emacs/files.texi (Customize Save):
3049         * doc/emacs/frames.texi (Window Dividers):
3050         * doc/emacs/misc.texi (Printing):
3051         * doc/lispref/compile.texi (Compiler Errors):
3052         * doc/lispref/keymaps.texi (Changing Key Bindings):
3053         * doc/lispref/loading.texi (Named Features):
3054         * doc/lispref/markers.texi (Marker Insertion Types):
3055         * doc/lispref/modes.texi (Mode Hooks):
3056         * doc/lispref/text.texi (Undo):
3057         * src/floatfns.c (Fldexp):
3058         * src/xfaces.c (syms_of_xfaces):
3059         Minor doc fixes for grammar and typos (bug#23746).
3061 2016-06-13  Eli Zaretskii  <eliz@gnu.org>
3063         * doc/lispref/processes.texi (Process Buffers): Minor rewording.  (Bug#23446)
3065 2016-06-13  Eli Zaretskii  <eliz@gnu.org>
3067         Add cross-reference to ELisp manual
3069         * doc/lispref/commands.texi (Classifying Events): Add
3070         cross-reference to "Motion Events".  (Bug#23756)
3072 2016-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3074         * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
3076         Don't rewrite (funcall 'f ...) to (f ...).
3078 2016-06-11  Phillip Lord  <phillip.lord@russet.org.uk>
3080         Restore initial undo boundary with viper
3082         * lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
3083           boundary if it has been removed.
3085         Addresses Bug#22295.
3087 2016-06-11  Phillip Lord  <phillip.lord@russet.org.uk>
3089         Revert "Fix viper undo breakage from undo-boundary changes"
3091         This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.
3093 2016-06-11  Ken Brown  <kbrown@cornell.edu>
3095         Fix dbus crash on 32-bit Cygwin
3097         * src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
3098         connection address.  (Bug#23741)
3099         (xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
3100         address.
3102 2016-06-10  Nicolas Petton  <nicolas@petton.fr>
3104         Bump version to 25.0.95
3106         * README:
3107         * configure.ac:
3108         * lisp/ldefs-boot.el:
3109         * msdos/sed2v2.inp: Bump Emacs version to 25.0.95.
3111 2016-06-10  Nicolas Petton  <nicolas@petton.fr>
3113         * etc/AUTHORS: Update the AUTHORS file
3115 2016-06-10  Nicolas Petton  <nicolas@petton.fr>
3117         add entries to authors.el
3119         * admin/authors.el (authors-renamed-files-alist): Add char-fold files.
3121 2016-06-10  Jules Tamagnan  <jtamagnan@gmail.com>
3123         Fix eldoc-related freezes in python mode
3125         * lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
3126         (python-eldoc-function-timeout)
3127         (python-eldoc-function-timeout-permanent): New defcustoms.
3128         (python-eldoc-function): If python-eldoc--get-doc-at-point times
3129         out, effectively turn off ElDoc in current buffer.  (Bug#23609)
3131 2016-06-09  Martin Rudalics  <rudalics@gmx.at>
3133         Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)
3135         * lisp/mouse.el (mouse-set-region): If the mouse ends up in
3136         another window or on the menu bar, use `window-point' of
3137         selected window instead of `posn-point' of the event end
3138         (Bug#23707).
3140 2016-06-08  Marco Wahl  <marcowahlsoft@gmail.com>
3142         org.el: Fix bindings of < and > for calendar scrolling
3144         [This patch taken from upstream Org repo with 8b63dc9 dated
3145         2014-10-20 (Bug#23725).]
3146         * lisp/org/org.el (org-read-date-minibuffer-local-map):
3147         Switch to the current calendar API for scrolling the calendar.
3149 2016-06-08  Phillip Lord  <phillip.lord@russet.org.uk>
3151         Fix undo boundary in recursive edit (Bug#23632)
3153          * src/keyboard.c (recursive_edit_1): specbind
3154            undo-auto--undoably-changed-buffers.
3155          * lisp/simple.el (undo-auto--undoably-changed-buffers):
3156            fix docstring.
3158 2016-06-07  Glenn Morris  <rgm@gnu.org>
3160         Doc fixes re alist-get.  (Bug#23548)
3162         * lisp/subr.el (alist-get): Doc fix.
3163         * doc/lispref/lists.texi (Association Lists): Improve alist-get.
3165 2016-06-07  Glenn Morris  <rgm@gnu.org>
3167         * lisp/progmodes/python.el (inferior-python-mode):
3168         Avoid tabs.  (Bug#23616)
3170         * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.
3172 2016-06-07  Tino Calancha  <f92capac@gmail.com>
3174         * lisp/help-fns.el (describe-function-1):
3175         Fix handling of file name for aliases.  (Bug#21950)
3177         * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
3179         * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
3181 2016-06-07  Paul Eggert  <eggert@cs.ucla.edu>
3183         Fix crash in syntax.c after GC
3185         Problem reported by Vincent Belaïche (Bug#23704).
3186         * src/syntax.c (skip_chars): Recompute pointers into the
3187         buffer after every call to update_syntax_table_forward,
3188         as it can GC.
3190 2016-06-06  Dmitry Gutov  <dgutov@yandex.ru>
3192         Improve squiggly heredoc support in non-SMIE Ruby mode
3194         * lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
3195         squiggly heredocs here, too (port from upstream).
3197 2016-06-06  Stephen Berman  <stephen.berman@gmx.net>
3199         Fix doc string quoting
3201         * lisp/files.el (shell-quote-wildcard-pattern):
3202         * lisp/progmodes/vhdl-mode.el (vhdl-mode):
3203         * lisp/subr.el (replace-regexp-in-string):
3204         * lisp/view.el (view-mode):
3205         * src/nsfns.m (syms_of_nsfns):
3206         * src/syntax.c (Fbackward_prefix_chars):
3207         Fix quoting problems in doc strings (Bug#23696).
3209 2016-06-05  Martin Rudalics  <rudalics@gmx.at>
3211         Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
3213         * lisp/mouse.el (mouse-drag-line): With scroll bars on the left
3214         adjust trailing edge of window on the left when dragging the
3215         vertical divider of the mode line.  (Bug#23690)
3217 2016-06-04  Eli Zaretskii  <eliz@gnu.org>
3219         * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
3221         (Bug#23641)
3223 2016-05-31  Glenn Morris  <rgm@gnu.org>
3225         * test/automated/viper-tests.el (viper-test-undo-kmacro):
3226         Delete temp-file at end.
3228         * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
3230         * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
3232         * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
3233         Fix typo.  (Bug#23654)
3235 2016-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         * lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)
3239 2016-05-30  Bill Wohler  <wohler@newt.com>
3241         Correct cl-flet usage (Bug#22317)
3243         * lisp/mh-e/mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
3244         macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
3245         * lisp/mh-e/mh-thread.el (mh-thread-set-tables):
3246         * lisp/mh-e/mh-show.el (mh-gnus-article-highlight-citation):
3247         * lisp/mh-e/mh-mime.el (mh-display-with-external-viewer):
3248         (mh-mime-display, mh-press-button, mh-push-button):
3249         (mh-display-emphasis): Call mh-flet instead of mh-cl-flet.
3251 2016-05-30  Bill Wohler  <wohler@newt.com>
3253         Release MH-E manual version 8.6
3255         * doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
3256         Update for release 8.6.
3258 2016-05-30  Mike Kupfer  <m.kupfer@acm.org>
3260         Update MH-E's documentation about HTML renderers
3262         * doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
3263         version (we are no longer trying to support multiple Emacs
3264         releases). Sort the table of HTML renderers by name (the previous
3265         ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
3266         the table. Remove the entry for w3 (no longer available).  Update
3267         existing entries so that they are more consistent about what features
3268         are discussed, and to reflect recent testing (Debian 8). Small tweaks
3269         to existing text.
3271 2016-05-30  Dmitry Gutov  <dgutov@yandex.ru>
3273         Fx the we->the typo
3275         * doc/emacs/trouble.texi (Sending Patches):
3276         Fix the typo (bug#23657).
3278 2016-05-30  Paul Eggert  <eggert@cs.ucla.edu>
3280         Restore frames into the current display by default
3282         * lisp/desktop.el (desktop-restore-in-current-display):
3283         Default to t, not nil (Bug#23604).
3284         * etc/NEWS: Mention the change.
3286 2016-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3288         * lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).
3290         etc/TODO: Remove out-of-place issue
3292 2016-05-29  Eli Zaretskii  <eliz@gnu.org>
3294         Clarify doc string of 'file-name-sans-extension'
3296         * lisp/files.el (file-name-sans-extension, file-name-extension):
3297         Clarify in the doc strings what is the extension, and which
3298         leading period doesn't count.  (Bug#23643)
3300 2016-05-28  Eli Zaretskii  <eliz@gnu.org>
3302         Fix the MSDOS build
3304         * msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
3305         empty, and remove the lines which use them in recipes, as that
3306         causes weird error message from Make and breaks the MSDOS build.
3308 2016-05-28  Andreas Schwab  <schwab@linux-m68k.org>
3310         * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
3311         substitute-command-keys to undo help--docstring-quote. (Bug#23634)
3313 2016-05-27  Eli Zaretskii  <eliz@gnu.org>
3315         * src/dired.c (Ffile_name_all_completions): Doc fix.  (Bug#23631)
3317 2016-05-27  Eli Zaretskii  <eliz@gnu.org>
3319         Fix infloop in 'number-sequence'
3321         * lisp/subr.el (number-sequence): Avoid overflow leading to an
3322         infloop.  (Bug#23627)
3324         * test/automated/subr-tests.el (number-sequence-test): New test.
3326 2016-05-26  Glenn Morris  <rgm@gnu.org>
3328         * lisp/emacs-lisp/find-func.el (find-function-library):
3330         Update for symbol-function no longer erroring.  (Bug#23626)
3332 2016-05-26  Glenn Morris  <rgm@gnu.org>
3334         * lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
3335         (w32-get-valid-locale-ids): Improve declarations.
3337 2016-05-26  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3339         Correct old cell name unbinding when renaming cell.
3341         Bug is to unbind old cell names when renaming a cell with
3342         'makunbound'. when the old cell name is of A1 type, then
3343         'kill-local-variable' must be used instead, so that only the current
3344         spreadsheet is affected. When the old cell name is a renamed cell,
3345         then 'ses--unbind-cell-name' must be used in order to remove the old
3346         name from the name hashmap.
3348         * lisp/ses.el (ses-rename-cell): check consistency of cell symbol from
3349         text-property and from array object. Instead of 'makunbound', use
3350         either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
3351         whether the cell old name is a named cell or an A1 type cell
3353 2016-05-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3355         Document problem: slow screen refresh on missing font.
3357         See discussion of bug#22519 for more on this.
3359 2016-05-25  Glenn Morris  <rgm@gnu.org>
3361         * admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
3363 2016-05-25  Glenn Morris  <rgm@gnu.org>
3365         * build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
3367         This is relevant for M-x add-release-logs right after M-x authors.
3369 2016-05-25  Glenn Morris  <rgm@gnu.org>
3371         * admin/admin.el (add-release-logs): Generate ChangeLog if needed.
3373 2016-05-25  Paul Eggert  <eggert@cs.ucla.edu>
3375         * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
3377 2016-05-25  Glenn Morris  <rgm@gnu.org>
3379         * admin/authors.el (authors): First update the ChangeLog.
3381         * admin/make-tarball.txt: Related updates.
3383 2016-05-24  Dmitry Gutov  <dgutov@yandex.ru>
3385         Rename vc-stay-local back to vc-cvs-stay-local
3387         * lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
3388         vc-stay-local (bug#19548).  Improve the docstring.
3389         (vc-cvs-stay-local-p): Update accordingly.
3391 2016-05-24  Glenn Morris  <rgm@gnu.org>
3393         * doc/emacs/files.texi (Comparing Files):
3394         * doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.
3396         * doc/misc/eww.texi (Advanced): Fix xref.
3398 2016-05-24  Eli Zaretskii  <eliz@gnu.org>
3400         Fix cross-references between manuals
3402         * doc/misc/viper.texi (Viper Specials):
3403         * doc/misc/url.texi (Tramp):
3404         * doc/misc/sem-user.texi (Smart Jump):
3405         * doc/lispintro/emacs-lisp-intro.texi (Finding More):
3406         * doc/misc/efaq.texi (Replacing text across multiple files): Fix
3407         cross-references between manuals.  (Bug#23612)
3408         * doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
3409         longer relevant to Emacs Lisp programming.
3411 2016-05-24  Glenn Morris  <rgm@gnu.org>
3413         * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
3415         * admin/admin.el (add-release-logs): Also update etc/HISTORY.
3417 2016-05-24  Eli Zaretskii  <eliz@gnu.org>
3419         Avoid aborting due to errors in arguments of 'set-face-attribute'
3421         * src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
3422         FRAME argument before using it.  This avoids gratuitous aborts in
3423         Emacs built with --enable-checking when the luser was unlucky
3424         enough to get the argument list in wrong order.
3426 2016-05-23  Phillip Lord  <phillip.lord@russet.org.uk>
3428         Add automated test for viper-tests.el
3430 2016-05-23  Phillip Lord  <phillip.lord@russet.org.uk>
3432         Fix viper undo breakage from undo-boundary changes
3434         * lisp/simple.el (undo-auto-disable-boundaries): New variable
3435         * lisp/emulation/viper-init.el (viper-undo-in-complex-command,
3436           viper-undo-needs-adjustment): Rename
3437           variable to reflect new purpose,
3438           (viper-buffer-undo-list-mark): Remove
3439         * lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
3440           Add undo using `undo-boundary', disable default undo-boundary
3441           addition.
3442         * lisp/emulation/viper-cmd.el
3443           (viper-complete-complex-command-for-undo,viper-adjust-undo):
3444           Change function name, remove old undo list manipulation.
3445         * lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
3446           viper-change-state-to-vi,viper-change-state):
3447           Update for function name change.
3449         Addresses Bug #22295
3451 2016-05-22  Kaushal Modi  <kaushal.modi@gmail.com>
3453         Fix reference to obsolete fn ps-eval-switch
3455         lpr-eval-switch is functionally the same as ps-eval-switch,
3456         which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
3457         So use that instead (Bug#19717).
3458         * lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
3459         ps-eval-switch.
3461 2016-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3463         Do not trash symlinks to init file
3465         If the user’s init file is a symbolic link, do not break the link
3466         when initializing the package system.  Problem reported by Jackson
3467         Hamilton (Bug#23050).
3468         * lisp/emacs-lisp/package.el (package--ensure-init-file):
3469         Bind find-file-visit-truename when visiting the init file, and
3470         save and restore the buffer name the way cus-edit does in a
3471         similar situation (Bug#454).
3473 2016-05-22  Alan Mackenzie  <acm@muc.de>
3475         Don't print the "decomposition" line for control chars in what-cursor-position
3477         This is a temporary workaround for bug #23594, where the decomposition line
3478         for linefeed corrupted the display on a Linux virtual terminal.
3480         * lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
3481         character code properties printed for control characters.
3483 2016-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3485         Bring back xterm pasting with middle mouse
3487         Problem reported by Jan Synáček.
3488         Solution suggested by Stefan Monnier (Bug#23519).
3489         * lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
3490         (xterm--pasted-text): New decl.
3491         (isearch-xterm-paste): New function.
3492         * lisp/term/xterm.el (xterm--pasted-text): New function,
3493         taken from xterm-paste internals.
3494         (xterm-paste): Use it.
3496 2016-05-22  Eli Zaretskii  <eliz@gnu.org>
3498         Provide workaround for xftfont rendering problem
3500         * src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
3501         New variable.
3502         (xftfont_open): Use it to work around problems with rendering some
3503         fonts.  (Bug#23360)
3505 2016-05-21  Jun Hao  <jun_hao@aol.com>
3507         * lisp/desktop.el: Disable restore frameset if in non-graphic display.
3509         (Bug#17693)
3511 2016-05-21  Eli Zaretskii  <eliz@gnu.org>
3513         Mention GTK+ problems in etc/PROBLEMS
3515         * etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
3516         problems this could create and the workaround.  (Bug#23587)
3518 2016-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>
3520         * lisp/emacs-lisp/package.el (package-refresh-contents):
3522         Don't change the value of `package-check-signature'.
3523         (package-check-signature): Use `epg-find-configuration'
3524         instead of `executable-find'.
3526 2016-05-20  Daiki Ueno  <ueno@gnu.org>
3528         Revert "epg: Add a way to detect gpg1 executable for tests"
3530         This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
3532 2016-05-19  Eli Zaretskii  <eliz@gnu.org>
3534         Avoid errors with Czech and Slovak input methods
3536         * lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
3537         (slovak-prog-3): Remove the kp-* key bindings, they are not needed
3538         and cause errors in "C-u C-x =".
3539         * lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
3540         (czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
3541         (Bug#23559)
3543 2016-05-19  Daiki Ueno  <ueno@gnu.org>
3545         epg: Add a way to detect gpg1 executable for tests
3547         Fixes bug#23561.
3549         * test/automated/epg-tests.el
3550         (epg-tests-program-alist-for-passphrase-callback): New
3551         constant.
3552         (epg-tests-find-usable-gpg-configuration): New function,
3553         renamed from `epg-tests-gpg-usable'.  All callers changed.
3554         (epg-tests-gpg-usable): Remove.
3556         * lisp/epg-config.el (epg-config--program-alist): Factor out
3557         constructor element to...
3558         (epg-config--configuration-constructor-alist): ...here.
3559         (epg-find-configuration): Rename FORCE argument to NO-CACHE,
3560         and add PROGRAM-ALIST argument.
3562 2016-05-18  Artur Malabarba  <bruce.connor.am@gmail.com>
3564         * lisp/emacs-lisp/package.el: Fix free variable warnings.
3566         (package--with-response-buffer): Replace two usages of
3567         `macroexp-let2*' with `let'.
3569 2016-05-18  Artur Malabarba  <bruce.connor.am@gmail.com>
3571         * lisp/emacs-lisp/package.el (package--with-response-buffer):
3573         Fix some macro locals leaking into body.  (Bug#22440)
3575         * test/automated/package-test.el (package-test-signed):
3576         Manually check all possible values of `package-check-signature'.
3578 2016-05-18  Eli Zaretskii  <eliz@gnu.org>
3580         Improve documentation of 'server-name'
3582         * doc/emacs/misc.texi (Emacs Server): Fix example of setting
3583         'server-name'.  Mention how to do that with daemon sessions.
3584         (Bug#23576)
3586 2016-05-18  Paul Eggert  <eggert@cs.ucla.edu>
3588         Modernize ASLR advice in etc/PROBLEMS
3590         * etc/PROBLEMS (Segfault during 'make'): Modernize advice for
3591         seccomp, Docker, and NetBSD (Bug#23529).
3593 2016-05-17  Juri Linkov  <juri@linkov.net>
3595         * lisp/char-fold.el: Rename from character-fold.el.
3597         * lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
3598         * test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
3599         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
3601 2016-05-17  Nicolas Petton  <nicolas@petton.fr>
3603         Bump version to 25.0.94
3605         * README:
3606         * configure.ac:
3607         * msdos/sed2v2.inp: Bump Emacs version to 25.0.94.
3609 2016-05-17  Nicolas Petton  <nicolas@petton.fr>
3611         etc/AUTHORS: Update the AUTHORS file
3613 2016-05-16  Alan Third  <alan@idiocy.org>
3615         Fix bug#23462: Crash when iconifying frame on OS X.
3617         * src/nsterm.m (x_iconify_frame): Block input while miniaturize is
3618         running.
3620 2016-05-16  Paul Eggert  <eggert@cs.ucla.edu>
3622         Avoid shrinking windows with Gtk+ 3.20.3
3624         Problem reported by Matthias Clasen (Bug#23144).
3625         This was fixed in a different way in master.
3626         Do not merge to master.
3627         * src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
3628         Do not call xg_frame_resized in the MapNotify case.
3630 2016-05-16  Eli Zaretskii  <eliz@gnu.org>
3632         Fix bug in default setting of 'ps-paper-type'
3634         * lisp/international/mule-cmds.el (set-locale-environment): Don't
3635         inherit the value of locale from previous examination of different
3636         environment variables, which didn't look at LC_PAPER, and so using
3637         that value would effectively ignore the setting of LC_PAPER.
3638         (Bug#23544)
3640 2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>  (tiny change)
3642         Properly reject malformed or empty package sigs
3644         Problem report and fix by Lizzie Dixon (Bug#23513).
3645         * lisp/emacs-lisp/package.el (package--check-signature-content):
3646         Report an error if no good signatures OR if a fatal error.  Not AND.
3648 2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3650         Remove buggy non-native image scrolling
3652         This never worked, and could cause infinite recursion.
3653         Problem reported by Glenn Morris (Bug#22465).
3654         * lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
3655         All uses removed.
3657 2016-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3659         * doc/misc/texinfo.tex: Sync from gnulib.
3661 2016-05-12  Glenn Morris  <rgm@gnu.org>
3663         * lisp/emacs-lisp/find-func.el (find-feature-regexp)
3664         (find-alias-regexp): Fix :version.
3666 2016-05-11  Dmitry Gutov  <dgutov@yandex.ru>
3668         Do not mistake colon at the end of regexp for slash symbol
3670         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
3671         Check the parse state in the "Symbols with special characters"
3672         rule (bug#23515).
3674 2016-05-11  Dmitry Gutov  <dgutov@yandex.ru>
3676         Make package-install-from-buffer not move point
3678         * lisp/emacs-lisp/package.el (package-install-from-buffer):
3679         Use save-excursion here (bug#22616).
3681 2016-05-11  Dmitry Gutov  <dgutov@yandex.ru>
3683         Redo the fix for bug#21839
3685         * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
3686         (help--make-usage-docstring): Escape newlines when printing.
3688         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
3689         Ditto (bug#21839).
3691 2016-05-10  Dmitry Gutov  <dgutov@yandex.ru>
3693         Don't treat JS spread as contination method call
3695         * lisp/progmodes/js.el (js--indent-operator-re):
3696         Allow only one dot (bug#23492).
3698         * test/indent/js.js (default): Add a corresponding example.
3700 2016-05-09  Dmitry Gutov  <dgutov@yandex.ru>
3702         Allow newlines inside cl function arglists
3704         * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
3705         ARGLIST (bug#21839).
3707 2016-05-09  Dmitry Gutov  <dgutov@yandex.ru>
3709         Publicize cl--generic-all-functions
3711         * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
3712         Rename from cl--generic-all-functions.  Update both callers.
3714         * lisp/cedet/semantic/db-el.el
3715         (semanticdb-find-tags-external-children-of-type-method):
3716         And use it here (bug#23042).
3718 2016-05-09  Alan Mackenzie  <acm@muc.de>
3720         Add some "safe-local-variable" declarations for compatibility with master.
3722         These enable C files from the master repository to be visited in Emacs 25
3723         without generating irritating questions about configuration variable safety.
3725         * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
3726         functions.
3727         (c-noise-macro-names, c-noise-macro-with-parens-names): give the
3728         safe-local-variable property c-string-list-p.
3729         (c-macro-names-with-semicolon): give the safe-local-variable property
3730         c-string-or-string-list-p.
3732 2016-05-09  Lars Ingebrigtsen  <larsi@gnus.org>
3734         Fix doc string in `insert'
3736         * src/editfns.c (Finsert_and_inherit): The before-insertion
3737         markers do not move.
3738         (Finsert): Ditto.
3740 2016-05-08  Paul Eggert  <eggert@cs.ucla.edu>
3742         * doc/misc/emacs-mime.texi (time-date): Document now-builtins better.
3744 2016-05-07  Dmitry Gutov  <dgutov@yandex.ru>
3746         Say 'All results processed' at the end
3748         * lisp/progmodes/xref.el (xref--query-replace-1):
3749         Say 'All results processed' at the end if the user hadn't
3750         cancelled the process (bug#23284).
3752 2016-05-07  Eli Zaretskii  <eliz@gnu.org>
3754         Document automatic adjustment of process' logical window dimensions
3756         * doc/lispref/processes.texi (Process Buffers): Document
3757         'set-process-window-size' and
3758         'window-adjust-process-window-size-function'.
3760         * etc/NEWS: Mention the new functionality and variable.
3762         * src/process.c (Fset_process_window_size): Improve the doc string.
3764 2016-05-06  Michael Albinus  <michael.albinus@gmx.de>
3766         tramp-sh.el: Work around a stat bug (backport from master)
3768         * lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
3769         stat versions which produce shell quoted output.  See also
3770         coreutils Bug#23422.
3772         (cherry picked from commit 6aad36ace9953b9672b13be68416d205532d5e59)
3774 2016-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3776         Doc fixes for fclist and grep
3778         A newline is needed between two fc-list calls.
3779         egrep and fgrep have been withdrawn from POSIX,
3780         so document grep -E and grep -F instead.
3782 2016-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3784         Minor doc fixes for quoting
3786         * doc/lispref/control.texi (Signaling Errors):
3787         * doc/lispref/display.texi (Displaying Messages):
3788         Don’t say that formats “generate”.  Try to word more clearly.
3789         * etc/NEWS: Coalesce near-duplicate entries.
3791 2016-05-05  Dmitry Gutov  <dgutov@yandex.ru>
3793         `nreverse' the marker pairs list
3795         * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
3796         the marker pairs list for each buffer before returning.
3798 2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>
3800         Use save-excursion in xref-location-marker more
3802         * lisp/progmodes/elisp-mode.el (xref-location-marker): Use
3803         save-excursion, in order not to alter the value of point if the
3804         buffer is currently open in the background (problem reported by
3805         Robert Weiner).
3807         * lisp/progmodes/etags.el (xref-location-marker): Same.
3809 2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>
3811         shell-quote-argument DIR when appropriate
3813         * lisp/progmodes/project.el (project-file-completion-table):
3814         `shell-quote-argument' DIR as well.
3816         * lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
3817         `shell-quote-argument' (bug#23453).  Thanks for Kaushal Modi for
3818         pointing out the problem.  Assert that DIR doesn't start with `~'.
3820 2016-05-04  Dmitry Gutov  <dgutov@yandex.ru>
3822         Rework xref-query-replace-in-results
3824         * lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
3825         all xrefs from the buffer first, then delegate most of the
3826         processing to the value returned by xref--buf-pairs-iterator.
3827         (xref--buf-pairs-iterator): New function.  Return an "iterator"
3828         which partitions returned markers into buffers, and only processes
3829         markers from one buffer at a time.  When an xref is out of date,
3830         skip it with a message instead of signaling error (bug#23284).
3831         (xref--outdated-p): Extract from xref--buf-pairs-iterator.  Trim
3832         CR from both strings before comparing.
3833         (xref--query-replace-1): Remove the variable current-buf, no need
3834         to track it anymore.  Simplify the filter-predicate and search
3835         functions accordingly.  Iterate over buffer-markers pairs returned
3836         by the iterator, and call `perform-replace' for each of them.  Use
3837         multi-query-replace-map (bug#23284).  Use `switch-to-buffer' every
3838         time after the first, in order not to jump between windows.
3840         * test/automated/xref-tests.el
3841         (xref--buf-pairs-iterator-groups-markers-by-buffers-1)
3842         (xref--buf-pairs-iterator-groups-markers-by-buffers-2)
3843         (xref--buf-pairs-iterator-cleans-up-markers): New tests.
3845 2016-05-04  Juri Linkov  <juri@linkov.net>
3847         * lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook
3849         to set minibuffer-local value of text-property-default-nonsticky.
3850         (Bug#23418, bug#23127)
3852 2016-05-04  Stephen Berman  <stephen.berman@gmx.net>
3854         Fix todo-mode bug involving archived items (bug#23447)
3856         * lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
3857         from Todo Categories mode to a category with only archived items
3858         and todo-skip-archived-categories is non-nil, make sure the
3859         archive file buffer is in Todo Archive mode to prevent
3860         todo-category-select from raising an error, and don't set
3861         todo-current-todo-file, since that makes todo-show display the
3862         archived category.  Remove a no-op call to kill-buffer, which is
3863         already called in todo-insert-category-line.
3865 2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>
3867         Handle "empty line" regexp in xref searches
3869         * lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
3870         match if re-search-forward doesn't move point (bug#23426).
3872         * test/automated/xref-tests.el
3873         (xref-collect-matches-finds-an-empty-line-regexp-match):
3874         Uncomment test.
3876 2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>
3878         Add tests for xref-collect-matches
3880         * test/automated/xref-tests.el: New file.  Add tests for
3881         xref-collect-matches.
3883 2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>
3885         Use grep-find-ignored-directories instead of vc-directory-exclusion-list
3887         * lisp/dired-aux.el (dired-do-find-regexp):
3888         Use grep-find-ignored-directories instead of
3889         vc-directory-exclusion-list.  The result should be functionally
3890         similar (the former uses the latter as the default value), but it
3891         should be more consistent and appropriate WRT user
3892         customizations.
3893         (dired-do-find-regexp-and-replace): Update the docstring.
3895         * lisp/dired.el: Update the corresponding autoloads.
3897         * doc/emacs/dired.texi (Operating on Files): Update the
3898         documentation accordingly.
3900 2016-05-03  Dmitry Gutov  <dgutov@yandex.ru>
3902         Clear buffer-undo-list when showing xrefs
3904         * lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
3905         buffer-undo-list and temporarily bind it to t while rendering the
3906         buffer contents.
3908 2016-05-03  Alan Mackenzie  <acm@muc.de>
3910         Note the quote translation in `message' in section "incompatible changes".
3912         * etc/NEWS: Note that `message' translates quotes, that the translation
3913         cannot be disabled, and that `format' can be used to get the old
3914         behavior back.
3916 2016-05-03  Paul Eggert  <eggert@cs.ucla.edu>
3918         * etc/NEWS: Mention (message "%s" (format ...)).
3920 2016-05-03  Lars Ingebrigtsen  <larsi@gnus.org>
3922         (Common Keywords): Correct what missing :group means
3924         * doc/lispref/customize.texi (Common Keywords): Correct what
3925         missing :group means.
3927 2016-05-03  Eli Zaretskii  <eliz@gnu.org>
3929         Improve documentation of Dired's 'A' and 'Q' commands
3931         * lisp/dired-aux.el (dired-do-find-regexp)
3932         (dired-do-find-regexp-and-replace): Mention
3933         'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
3934         also the fact that REGEXP should be palatable by Grep.  (Bug#23426)
3935         * lisp/dired.el: Update the corresponding autoload forms.
3937         * doc/emacs/dired.texi (Operating on Files): Mention
3938         'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
3939         (Bug#23429)
3941 2016-05-03  Paul Eggert  <eggert@cs.ucla.edu>
3943         Doc fixes for quoting
3945         * doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
3946         * doc/lispref/control.texi, doc/lispref/display.texi:
3947         * doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
3948         * src/callint.c, src/doprnt.c, src/editfns.c:
3949         Document quoting a bit more systematically.
3950         Problem reported by Alan Mackenzie (Bug#23425).
3952 2016-05-02  Lars Ingebrigtsen  <larsi@gnus.org>
3954         posnp doc clarification
3956         * lisp/subr.el (posnp): Mention that a posn object is returned
3957         from `event-start' (bug#18211).
3959 2016-05-02  Lars Ingebrigtsen  <larsi@gnus.org>
3961         Mention what a missing :group does
3963         * doc/lispref/customize.texi (Common Keywords): Document that
3964         a missing :group reuses the group from the preceding item (bug#21601).
3966 2016-05-02  Eli Zaretskii  <eliz@gnu.org>
3968         Fix documentation of dired-aux search/replace commands
3970         * lisp/dired-aux.el (dired-do-find-regexp)
3971         (dired-do-find-regexp-and-replace): Doc fixes.  (Bug#23429)
3972         * lisp/dired.el: Update the corresponding autoload forms.
3974 2016-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3976         Fix quoting problem in cc-engine debug message
3978         * lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
3979         Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
3980         likewise for ‘`’, and ‘%’.
3982 2016-05-02  Philipp Stephani  <phst@google.com>
3984         Add electric-quote-string unit test
3986         * test/automated/electric-tests.el (electric-quote-string): New test.
3988 2016-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3990         Don’t electrically quote ‘'’ in Python
3992         Problem reported by Philipp Stephani (Bug#23387).
3993         * lisp/electric.el (electric-quote-post-self-insert-function):
3994         Do not requote a string starter or ender.
3996 2016-05-02  Dmitry Gutov  <dgutov@yandex.ru>
3998         `nreverse' Grep hits before passing them to xref--convert-hits
4000         * lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
4001         before passing them to xref--convert-hits.  Fixes a regression
4002         from cc0b7132.
4004 2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4006         * doc/misc/texinfo.tex: Sync from gnulib.
4008 2016-05-01  Juri Linkov  <juri@linkov.net>
4010         * lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.
4012         (Bug#23410)
4014 2016-05-01  Michael Albinus  <michael.albinus@gmx.de>
4016         tramp.texi: Revert last change due to backward compatibility
4018         (cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)
4020 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4022         cua-prefix-override-inhibit-delay doc fix
4024         * lisp/emulation/cua-base.el
4025         (cua-prefix-override-inhibit-delay): Typo fix in doc string
4026         (bug#23401).
4028         (cherry picked from commit 2b4c099822811ede787fc6e575bfbb17b3cc0681)
4030 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4032         global-eldoc-mode doc fix
4034         * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
4035         specific about what "applicable" means (bug#23071).
4037         (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
4039 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4041         normal-top-level-add-subdirs-to-load-path doc fix
4043         * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
4044         Doc fix (bug#21962).
4046         (cherry picked from commit 28aaa6d20586e3330a23b017a65e56dd6461c003)
4048 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4050         isearch-search-fun-function doc tweak
4052         * lisp/isearch.el (isearch-search-fun-function): Mention what
4053         the STRING parameter is (bug#21552).
4055         (cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a)
4057 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4059         Fill some imenu--index-alist doc lines
4061         * lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
4063         (cherry picked from commit 4b7bb8f596550628eaa83b82c0f7eabe59a84964)
4065 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4067         Fmarker_position doc string clarification
4069         * src/marker.c (Fmarker_position): Clarify the doc string
4070         (bug#21231).
4072         (cherry picked from commit eeac7c57273cec3f9408b18392dd2bafe3be4450)
4074 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4076         Further define-obsolete-* doc fixups
4078         * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
4079         Fix up last change.
4080         (define-obsolete-variable-alias): Ditto.
4082         (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
4084 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4086         Describe WHEN in all the define-obsolete- macros
4088         * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
4089         Say more verbosely what WHEN is (bug#21225).
4090         (define-obsolete-function-alias): Describe the WHEN parameter.
4091         (define-obsolete-variable-alias): Ditto.
4093         (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
4095 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4097         Mention with-silent-modifications in the lispref manual
4099         * doc/lispref/text.texi (Changing Properties): Document
4100         with-silent-modifications (bug#21171).
4102         (cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
4104 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4106         with-silent-modifications doc clarification
4108         * lisp/subr.el (with-silent-modifications): Rearrange the doc
4109         string a bit so that the most pertinent information is at the
4110         top (bug#21171).
4112         (cherry picked from commit e0e70f030e69d9696a963a86f5f7caaff4df06eb)
4114 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4116         clear-visited-file-modtime doc string fix
4118         * lisp/files.el (clear-visited-file-modtime): Fix possibly
4119         confusing doc string wording (bug#21169).
4121         (cherry picked from commit 1aaeaf1450756a71c9254a2a5b174c72084ca67a)
4123 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4125         Document mode mode line variables
4127         * doc/lispref/modes.texi (Mode Line Variables): Document
4128         `mode-line-front-space, `mode-line-misc-info',
4129         `mode-line-end-spaces' (bug#21014).
4131         (cherry picked from commit bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)
4133 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4135         Add a cross ref to Optional Mode Line
4137         * doc/lispref/modes.texi (Mode Line Variables): Add a cross
4138         reference to the Emacs mode line node that explains things
4139         like `display-time-string' (bug#21002).
4141         (cherry picked from commit a3151a28789f413af73b14fbba557b2a587fca53)
4143 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4145         Add a doc string to display-time-string
4147         * lisp/time.el: Add a doc string to `display-time-string',
4148         because it's referred to in the manual, and is too mysterious
4149         otherwise (bug#21002).
4151         (cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)
4153 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4155         custom-buffer-style doc fix
4157         * lisp/cus-edit.el (custom-buffer-style): Document the `tree'
4158         value (bug#20724).
4160         (cherry picked from commit bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)
4162 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4164         Rearrange the doc of query-replace slightly
4166         * lisp/replace.el (query-replace): Move the mention of the
4167         interactive prefix arg earlier so that users can find it
4168         (bug#20654).
4170         (cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)
4172 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4174         apropos-print doc fix
4176         * lisp/apropos.el (apropos-print): Document the undocumented
4177         parameters (bug#20520).
4179         (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
4181 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4183         completion-table-with-predicate doc string fix
4185         * lisp/minibuffer.el (completion-table-with-predicate): t ->
4186         non-nil in the doc string (bug#20460).
4188         (cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)
4190 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4192         Fill the completion-table-with-predicate doc string
4194         * lisp/minibuffer.el (completion-table-with-predicate): Fill
4195         the doc string (bug#20460).
4197         (cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)
4199 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4201         replace-match-maybe-edit doc clarification
4203         * lisp/replace.el (replace-match-maybe-edit): Say what
4204         MATCH-DATA is (bug#20304).
4206         (cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
4208 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4210         add-timeout doc fix
4212         * lisp/emacs-lisp/timer.el (add-timeout): Mention the return
4213         value (bug#20181).
4215         (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
4217 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4219         Extremely minor doc fix in Choosing Window
4221         * doc/lispref/windows.texi (Choosing Window): There's only one
4222         action alist, I think (bug#20158).
4224         (cherry picked from commit 6c7e7f421d02d9290d6d1d85320737371160aef7)
4226 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4228         Transform mentions of `eval-after-load' to `with-eval-after-load'
4230         * doc/lispref/loading.texi (Hooks for Loading): Update text to
4231         not mention `eval-after-load' (bug#20038).
4233         (cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)
4235 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4237         cursor-type doc fix
4239         * src/buffer.c (syms_of_buffer): Mention that cursor-type's
4240         WIDHT/HEIGHT can't exceed the frame char size (bug#19215).
4242         (cherry picked from commit 77c5f4554ebb3b7c7d49bc881e45a550f6c93987)
4244 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4246         Add a link from Tool Bar to Images
4248         * doc/lispref/keymaps.texi (Tool Bar): Add a link to the
4249         Images node (bug#19722).
4251         (cherry picked from commit da5d0786163a91400eced4fddba4a92b652458d1)
4253 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4255         (default-mode-line-format): More explicit obsolete info
4257         * lisp/subr.el (default-mode-line-format): Be more explicit in
4258         how default values are now handled (bug#19424).
4260         (cherry picked from commit 9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)
4262 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4264         Fcompare_buffer_substrings doc string clarification
4266         * src/editfns.c (Fcompare_buffer_substrings): Extremely minor
4267         doc string clarification (bug#19255).
4269         (cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
4271 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4273         insert-file-contents-literally doc fix
4275         * lisp/files.el (insert-file-contents-literally): Say that the
4276         parameters are explained in the other function (bug#18317).
4278         (cherry picked from commit b6481b19bc9592492b1f70dfecb4de6256f537fe)
4280 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4282         Fix custom types for cursor-in-non-selected-windows
4284         * lisp/cus-start.el (standard): Use the same custom types for
4285         cursor-in-non-selected-windows as for cursor-type (bug#19214).
4287         (cherry picked from commit b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)
4289 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4291         Doc clarification to mwheel-scroll
4293         * lisp/mwheel.el (mwheel-scroll): Mention that the restriction
4294         does not apply to Windows (bug#19209).
4296         (cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
4298 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4300         Clarify the doc of eval-expression-print-format
4302         * lisp/simple.el (eval-expression-print-format): Doc
4303         clarification (bug#19114).
4305         (cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)
4307 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4309         Explictly explain that package-initialize loads the packages
4311         * lisp/emacs-lisp/package.el (package-initialize): Be explicit
4312         in saying that `package-initialize' obviates adjusting the
4313         path or requiring the packages, as this is a question that
4314         apparently comes up now and then (bug#18829).
4316         (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
4318 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4320         Have the doc strings of `load-path' and `require' mention each other
4322         * src/fns.c (Frequire): Mention `load-path' and fill the doc
4323         string (bug#18829).
4325         * src/lread.c (syms_of_lread): Mention that `require' uses
4326         `load-path'.
4328         (cherry picked from commit 3eca9a03816f95da0030665223c0b5262f223ba7)
4330 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4332         Doc fix for insert-pair-alist
4334         * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
4335         COMMAND-CHAR is (bug#18809).
4337         (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
4339 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4341         Move doc of backup-directory-alist to the Backup node
4343         * doc/emacs/files.texi (Backup): Move the documentation of
4344         `backup-directory-alist' here from the "Single or Numbered
4345         Backups" node, because it doesn't seem to have much to do with
4346         numbering (bug#18692).
4348         (cherry picked from commit e77b8d84b4161f2cf8720dec2bf44a3e50134398)
4350 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4352         Tiny doc clarification for create-fontset-from-fontset-spec
4354         * lisp/international/fontset.el (create-fontset-from-fontset-spec):
4355         Clarify what the optional part is (bug#18686).
4357         (cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
4359 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4361         Fill the doc string of font-lock-keywords
4363         * lisp/font-lock.el (font-lock-keywords): Fill the lines and
4364         reorganise some explanations (bug#21427).
4366         (cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
4368 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4370         Doc fix for font-lock-remove-keywords
4372         * lisp/font-lock.el (font-lock-remove-keywords): Add a link to
4373         `font-lock-add-keywords' to describe KEYWORDS (bug#18634).
4375         (cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)
4377 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4379         Clarify whitespace-style doc string
4381         * lisp/whitespace.el (whitespace-style): Doc clarification
4382         (bug#18296).
4384         (cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
4386 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4388         Doc fixed for next-error-buffer-p
4390         * lisp/simple.el (next-error-buffer-p): Clarify doc string
4391         (bug#18202).
4393         (cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
4395 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4397         Tiny doc fix
4399         * src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
4400         (and fill) (bug#18201).
4402         (cherry picked from commit 2ef0040e2363a669d9b93df935d31c98fa130132)
4404 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4406         Doc fix
4408         * src/keymap.c (Fdefine_prefix_command): Clarify doc string
4409         slightly (bug#18092).
4411         (cherry picked from commit 6b769c81d024f7eeb90b167e7df6f87d859614d4)
4413 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4415         delsel doc touch ups
4417         * lisp/delsel.el (delete-selection-helper): Use non-nil
4418         instead of t and clarify function return values (bug#18089).
4420         (cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
4422 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4424         Doc fixes for menu-bar.el
4426         * lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
4427         REGION parameter (bug#18028).
4428         (clipboard-kill-region): Ditto.
4430         (cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
4432 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4434         Doc fix
4436         * lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
4438         (cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
4440 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4442         Minor doc clarification
4444         * lisp/subr.el (y-or-n-p): Document the return value from "n"
4445         (bug#18024).
4447         (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
4449 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4451         Fill font-lock-mode doc string
4453         * lisp/font-core.el (font-lock-mode): Fill the text to make it
4454         narrower (bug#18008).
4456         (cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
4458 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4460         Wrap the auto-generated doc string
4462         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
4463         string to make it less likely that we get overlong lines
4464         (bug#17999).
4466         (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
4468 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4470         Clarify hi-lock-find-patterns
4472         * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
4473         (bug#17989).
4475         (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
4477 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4479         Add a doc string to `winner-mode'
4481         * lisp/winner.el (winner-mode): Add a doc string based on the
4482         comments in the file (bug#17716).
4484         (cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
4486 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4488         Doc fix for align-newline-and-indent
4490         * lisp/align.el (align-newline-and-indent): Mention that
4491         alignment is done by `align' (bug#17707).
4493         (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
4495 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4497         Doc fix for `kbd'
4499         * lisp/subr.el (kbd): Describe more fully the format of the
4500         parameter (bug#17039).
4502         (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
4504 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4506         Doc tweak
4508         * lisp/simple.el (use-empty-active-region): Doc tweak.
4509         There's only one region (bug#16513).
4511         (cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
4513 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4515         Link from (emacs)Exiting to (lisp)Killing Emacs
4517         * doc/emacs/entering.texi (Exiting): Link to the lispref
4518         manual for further customisations (bug#15445).
4520         (cherry picked from commit bc5f27aa099cdde02ca66e71501b89300685ab28)
4522 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4524         find-lisp doc touchups
4526         * lisp/find-lisp.el (find-lisp-format): Copy over the doc
4527         string (bug#15047).
4528         (find-lisp-find-files): Clarify doc.
4530         (cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
4532 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4534         Don't have the manual claim that it lists all CL incompatibilities
4536         * doc/misc/cl.texi (Common Lisp Compatibility): The list of
4537         incompatibilities isn't exhaustive, so don't say that it is
4538         (bug#15171).
4540         (cherry picked from commit fb685bc91a72508c97ce7e30f970d4157677f371)
4542 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4544         Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
4546         * doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
4547         "mouse-[0-9]".  These are case sensitive, and the keys are lower case
4548         (bug#14554).
4550         (cherry picked from commit e4c26271f2c2fe08f8490e25c63a436ab2a804ca)
4552 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4554         Doc string change to enable-recursive-minibuffers
4556         * src/minibuf.c (syms_of_minibuf): Mention
4557         minibuffer-depth-indicator-mode in the doc string to
4558         enable-recursive-minibuffers (bug#14147).
4560         (cherry picked from commit 23ba488a5e8290c4de91e0ff4161641efa364c0d)
4562 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4564         Clarify the `interactive' doc string slightly
4566         * src/callint.c (Finteractive): Clarify the doc string slightly
4567           (bug#14577).
4569         (cherry picked from commit cd993be60da2d12db0d390001373d486c1091c47)
4571 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4573         Clarify some doc strings
4575         * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4576         Clarify doc string (bug#8693).
4577         (syntax-propertize): Clarify doc string.
4579         (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
4581 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4583         Add some concept index entries for custom types
4585         * doc/lispref/customize.texi (Composite Types): Add concept
4586         index entries for restricted-sexp, radio and choice (bug#7385).
4588         (cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)
4590 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4592         Mention `lisp-indent-function' in the lispref manual
4594         * doc/lispref/macros.texi (Indenting Macros): Mention
4595         `lisp-indent-function' (bug#3393).
4597         (cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)
4599 2016-05-01  Lars Ingebrigtsen  <larsi@gnus.org>
4601         Clarify doc string of internal compilation function
4603         * lisp/progmodes/compile.el (compilation-get-file-structure):
4604         Clarify doc string (bug#3137).
4606         (cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
4608 2016-05-01  Paul Eggert  <eggert@cs.ucla.edu>
4610         Use ‘T *restrict’ proto, not ‘T[restrict]’
4612         * src/fns.c (sort_vector_copy): Use a different way to attempt to
4613         work around GCC 3.0-and-earlier incompatibility with C99, one that
4614         does not have problems with modern non-GCC compilers.
4616 2016-05-01  Eli Zaretskii  <eliz@gnu.org>
4618         Fix documentation of 'url-retrieve-synchronously'
4620         * doc/misc/url.texi (Retrieving URLs): Update argument list of
4621         'url-retrieve-synchronously'.  (Bug#23411)
4623 2016-05-01  Eli Zaretskii  <eliz@gnu.org>
4625         * lisp/url/url.el (url-retrieve-synchronously): Doc fix.  (Bug#23411)
4627 2016-04-30  Leo Liu  <sdl.web@gmail.com>
4629         Fix last change to isearch-update (bug#23406)
4631         * lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
4632           nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
4633           ...) form.
4635 2016-04-30  Leo Liu  <sdl.web@gmail.com>
4637         Autoload cursor-sensor-inhibit (bug#23406)
4639         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
4640         * lisp/isearch.el (isearch-update): Remove boundp check.
4642 2016-04-30  Phillip Lord  <phillip.lord@newcastle.ac.uk>
4644         org-map-entries: Fix org-agenda-prepare-buffers call
4646         * lisp/org/org.el (org-map-entries): Check that buffer-file-name is non-nil
4647           before passing to org-agenda-prepare-buffers.
4649         This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
4650         from upstream org-mode. Addresses bug #23365.
4652 2016-04-30  Eli Zaretskii  <eliz@gnu.org>
4654         Followup for last commit in the user manual
4656         * doc/emacs/basic.texi (Moving Point): Clarify that
4657         set-goal-column has buffer-local effect.  (Bug#23405)
4659 2016-04-30  Eli Zaretskii  <eliz@gnu.org>
4661         Improve doc string of 'set-goal-column'
4663         * lisp/simple.el (set-goal-column): Doc fix.  (Bug#23405)
4665 2016-04-30  Eli Zaretskii  <eliz@gnu.org>
4667         Fix the MSDOS build
4669         * config.bat:
4670         * msdos/sedlisp.inp:
4671         * msdos/sedlibmk.inp:
4672         * msdos/sedleim.inp:
4673         * msdos/sedadmin.inp:
4674         * msdos/sed6.inp:
4675         * msdos/sed3v2.inp:
4676         * msdos/sed2v2.inp:
4677         * msdos/sed1v2.inp: Adapt to Emacs 25.
4679         * src/process.c (remove_slash_colon): Move out of "#ifdef
4680         subprocesses" block, as it its called unconditionally.  Move
4681         ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
4682         reference variables only defined in that block.
4683         * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
4684         faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
4685         dos_keysns, dos_keyread, run_msdos_command, and
4686         syms_of_win16select, to avoid compiler warnings.
4687         * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
4688         'environ', depending on the DJGPP version.
4689         Remove declarations of externally-visible Lisp objects, like
4690         Qbackground_color and Qreverse.
4691         (run_msdos_command): First argument is not signed, not unsigned.
4692         Use SYS_ENVIRON.
4693         (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
4694         the latter doesn't work when 'time_t' is an unsigned data type.
4695         This caused idle timers to behave incorrectly: they only fired
4696         after a keyboard input event.
4697         * src/frame.c (adjust_frame_size) [MSDOS]: Account for
4698         FRAME_TOP_MARGIN that isn't counted in the frame's number of
4699         lines, but dos_set_window_size needs it to be added.
4700         * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
4701         * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
4702         that works around compilation errors with older GCC versions.
4703         * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
4704         Objects.
4705         * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
4706         no-op implementations for 'lock_file' and 'unlock_file'.
4707         (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
4708         ifdefs in all users of filelock.c functionality.
4709         * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
4710         * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
4711         warnings.
4712         * src/dosfns.h: Provide prototypes for dos_cleanup,
4713         syms_of_dosfns, and init_dosfns.
4714         * src/deps.mk (atimer.o): Depend on msdos.h.
4715         (emacs.o): Depend on dosfns.h.
4716         * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
4717         warnings.
4719         * lisp/window.el (window--adjust-process-windows): Skip the body
4720         if 'process-list' is not available.  This avoids failure to start
4721         up on MS-DOS.
4722         * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
4723         'start-process', as the latter is now available on all platforms.
4724         * lisp/textmodes/ispell.el (ispell-async-processp): Replace
4725         'start-process' with 'make-process' in a comment.
4726         * lisp/term/internal.el (IT-unicode-translations): Modify and add
4727         a few translations to display Info files with Unicode markup.  Fix
4728         an ancient off-by-one mismatch error with Unicode codepoints.
4729         * lisp/progmodes/compile.el (compilation-start): Test
4730         'make-process', not 'start-process', as the latter is now
4731         available on all platforms.
4732         * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
4733         Test 'make-process', not 'start-process', as the latter is now
4734         available on all platforms.
4735         * lisp/international/mule-cmds.el (set-coding-system-map): Test
4736         'make-process', not 'start-process', as the latter is now
4737         available on all platforms.
4738         * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
4739         fix.
4740         (eshell-execute-pipeline): Test 'make-process', not
4741         'start-process', as the latter is now available on all platforms.
4743 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4745         Remove \= from format string (bug#18190)
4747         * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
4748         string.
4750 2016-04-30  Eli Zaretskii  <eliz@gnu.org>
4752         Fix variable-pitch font on MS-Windows
4754         * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
4755         explicitly, to avoid Emacs picking up a bold-italic variant on
4756         some MS-Windows systems.  See this thread for details:
4757         http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
4759 2016-04-29  Alan Mackenzie  <acm@muc.de>
4761         Restore follow-scroll-up/down to scrolling by the combined size of all windows
4763         Also rename the current follow-scroll-up/down functions to
4764         follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
4765         height of the current window.
4767         This fixes bug #23347.
4769         * lisp/follow.el (follow-mode): Tweak the doc string.
4770         (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
4771         follow-scroll-up/down.
4772         (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
4773         follow-scroll-up/down.
4774         (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
4776 2016-04-29  Alan Mackenzie  <acm@muc.de>
4778         Revert unneeded change which harms syntactic parsing.  This fixes bug #23308.
4780         * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
4781         c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
4782         regardless of the value of `here'.
4784 2016-04-29  Alan Mackenzie  <acm@muc.de>
4786         Correct indentation of ids in a C++ enum after a protection keyword.
4788         Also correct the misfontification of the last enum identifier.
4790         * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
4791         c-last-identifier-range to nil to ensure that only types recognized by this
4792         macro are set for fontification as types.
4793         (c-backward-typed-enum-colon): Function renamed from
4794         c-backward-colon-prefixed-type.  On finding a colon in the backward search,
4795         check it is preceded by an identifier rather than a keyword.
4797 2016-04-27  Glenn Morris  <rgm@gnu.org>
4799         * lisp/window.el (window--process-window-list): No-op if no processes.
4801         This avoids an issue with save-selected-window (from walk-windows)
4802         failing if frame.el is not loaded, eg if the terminal is resized
4803         during startup of a -nw CANNOT_DUMP build.  (Bug#23369).
4805 2016-04-27  Paul Eggert  <eggert@penguin.cs.ucla.edu>
4807         Port dumping to NetBSD with PaX
4809         Problem reported by Thomas Klausner (Bug#23371).
4810         * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
4811         Set them to setfattr and/or paxctl commands appropriate for
4812         GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
4813         for paxctl only if setfattr is not found.
4814         * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
4815         New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
4816         All uses changed.
4818 2016-04-27  Dmitry Gutov  <dgutov@yandex.ru>
4820         Don't mistake `for' inside a function for a part of array comprehension
4822         * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
4823         depth in parens between the bracket and `for' (bug#23391).
4825         * test/indent/js.js: Add a corresponding example.
4827 2016-04-27  Anders Lindgren  <andlind@gmail.com>
4829         Fix bug#22891: wrong terminal width when a fringe width is zero.
4831         When either fringe width is zero, Emacs reserved one column for a
4832         continuation glyph. Terminal windows does not take this into
4833         account when the frame is resized.
4835         * lisp/window.el (window-adjust-process-window-size): Use
4836         `window-max-chars-per-line' instead of `window-body-width'.
4837         * lisp/term.el (term-window-width): Remove function. (It does the
4838         same as `window-max-chars-per-line' but without recent bug fixes.)
4839         (term-mode): Use `window-max-chars-per-line' instead of
4840         `term-window-width'.
4842         Backport
4844         (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
4846 2016-04-27  Leo Liu  <sdl.web@gmail.com>
4848         Improve last change to vc-git-mode-line-string
4850         * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
4851           the result.
4853 2016-04-27  Stephen Berman  <stephen.berman@gmx.net>
4855         Todo mode doc bug fix
4857         * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
4858         longer correct information in doc string.
4860 2016-04-27  Leo Liu  <sdl.web@gmail.com>
4862         Fix revision calculation in vc-git-mode-line-string
4864         * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
4865           vc-git-working-revision because vc-working-revision needs to decide
4866           the backend and may return nil.
4868 2016-04-26  Jorgen Schaefer  <contact@jorgenschaefer.de>
4870         Add Python 3.5 keyword "await"
4872         * lisp/progmodes/python.el (python-font-lock-keywords): Add await as
4873         keyword.
4875 2016-04-26  Lele Gaifax  <lele@metapensiero.it>
4877         Add new keywords of Python 3.5
4879         Python 3.5, released in mid September 2015, introduced a few new
4880         keywords to better support asynchronous code, "async" and "await"
4881         in particular. See https://www.python.org/dev/peps/pep-0492/ for
4882         details. (Bug#21783)
4883         * lisp/progmodes/python.el (python-rx-constituents): Add async
4884         def/for/with as block-start and async def as defun.
4885         * lisp/progmodes/python.el (python-font-lock-keywords): Add async
4886         def/for/with as keyword.
4887         * test/automated/python-tests.el (python-indent-after-async-block-1,
4888         python-indent-after-async-block-2, python-indent-after-async-block-3,
4889         python-nav-beginning-of-defun-3): New tests to test indentation and
4890         navigation for the async keyword.
4892 2016-04-26  Mark Oteiza  <mvoteiza@udel.edu>
4894         Partially revert previous change.
4896         This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
4897         * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
4898         This function is for rectangle-mark-mode, not string-rectangle.
4900 2016-04-25  Paul Eggert  <eggert@penguin.cs.ucla.edu>
4902         Say why text-quoting-style is not a user option
4904         * doc/lispref/help.texi (Keys in Documentation):
4905         * etc/NEWS: Document why text-quoting-style is not a
4906         customizable variable (Bug#23372).
4908 2016-04-25  Glenn Morris  <rgm@gnu.org>
4910         * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
4911         Future-proof against non-time-values.
4913 2016-04-25  Eli Zaretskii  <eliz@gnu.org>
4915         Don't mention ~/.emacs.bmk literally in doc strings
4917         * lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
4918         mention "~/.emacs.bmk" explicitly as the default bookmark file in
4919         the doc strings.  (Bug#23350)
4921 2016-04-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4923         * etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.
4925 2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>
4927         Port to Ubuntu 16.04 --enable-gcc-warnings
4929         * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
4931 2016-04-24  Paul Eggert  <eggert@cs.ucla.edu>
4933         * etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
4935 2016-04-24  Tino Calancha  <f92capac@gmail.com>
4937         Don't kill ~/ if it's the top level directory
4939         * lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
4940         the top level directory (bug#23017).
4942 2016-04-23  Tino Calancha  <f92capac@gmail.com>  (tiny change)
4944         describe-char: fix insert char documentation
4946         * lisp/descr-text.el (describe-char):
4947         Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
4949 2016-04-23  Dmitry Gutov  <dgutov@yandex.ru>
4951         (vc-git-mode-line-string): Don't use `replace-regexp-in-string'
4953         * lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
4954         instead of `replace-regexp-in-string', because REV can be nil
4955         (e.g. when FILE is a directory, bug#23344), and we actually know
4956         we only need the first 4 characters.
4958 2016-04-22  Nicolas Petton  <nicolas@petton.fr>
4960         Bump version to 25.0.93
4962         * README:
4963         * configure.ac:
4964         * msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
4966 2016-04-22  Nicolas Petton  <nicolas@petton.fr>
4968         * etc/AUTHORS: Update the AUTHORS file
4970         * admin/update_autogen: Use #!/usr/bin/env bash
4972         * admin/authors.el (authors-ignored-files): Additions.
4974 2016-04-22  Martin Rudalics  <rudalics@gmx.at>
4976         In x_set_window_size restore do_pending_window_change calls
4978         * src/xterm.c (x_set_window_size):
4979         * src/w32term.c (x_set_window_size): Restore
4980         do_pending_window_change calls after their stupid removal on
4981         2015-08-31.
4983 2016-04-21  Ilya Zakharevich  <ilya@math.berkeley.edu>
4985         Fix Alt-modified keys on some European MS-Windows keyboards
4987         * src/w32fns.c (deliver_wm_chars): If the reported character is
4988         ASCII, AND Meta modifier is a candidate, behave as if Meta is
4989         present, i.e. fall back to the legacy code.  (Bug#23251)
4991 2016-04-20  Eli Zaretskii  <eliz@gnu.org>
4993         Document 'help-go-forward'
4995         * doc/emacs/help.texi (Help Mode): Document and index
4996         'help-go-forward'.  (Bug#23323)
4998 2016-04-20  Eli Zaretskii  <eliz@gnu.org>
5000         Revert "Allow to customize names of executables used by grep.el"
5002         This reverts commit c93ae7a1e5a94541189a8f36984014344d561ffc.
5004 2016-04-20  Eli Zaretskii  <eliz@gnu.org>
5006         Revert "Don't use 'find-program'"
5008         This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0.
5010 2016-04-20  Eli Zaretskii  <eliz@gnu.org>
5012         Revert "Use 'grep-find-program' in check-declare.el"
5014         This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
5016 2016-04-20  Eli Zaretskii  <eliz@gnu.org>
5018         Clarify documentation of 'dired-mark-files-containing-regexp'
5020         * doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
5021         visited in buffers, 'dired-mark-files-containing-regexp' searches
5022         the buffer rather than the file on disk.  (Bug#22694)
5024         * lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
5025         for files visited in buffers, 'dired-mark-files-containing-regexp'
5026         searches the buffer rather than the file on disk.  (Bug#22694)
5028 2016-04-19  Eli Zaretskii  <eliz@gnu.org>
5030         Make tmm-menubar work in correct order again
5032         * lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
5033         beginning; instead, pass a reversed copy to 'tmm--completion-table'.
5034         (Bug#23309)
5035         (tmm-menubar): Fix an off-by-one error in determining the menu
5036         item when the function is called with a non-nil 'x-position'
5037         argument.
5039 2016-04-18  Dmitry Gutov  <dgutov@yandex.ru>
5041         Remove the Meta-CVS VC backend
5043         * lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).
5045         * lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
5046         reference.
5048         * doc/misc/efaq-w32.texi (Version control): Same.
5050 2016-04-18  Michael Albinus  <michael.albinus@gmx.de>
5052         Fix Bug#23276
5054         * lisp/autorevert.el (auto-revert-handler): Ignore errors
5055         coming from `revert-buffer'.  (Bug#23276)
5057 2016-04-17  Reto Zimmermann  <reto@gnu.org>
5059         Sync with upstream vhdl mode v3.38.1.
5061         * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5062         (vhdl-mode): No longer set comment-padding.
5063         (vhdl-begin-p): Handle missing space between keyword and parenthesis.
5064         (vhdl-beginning-of-statement-1): Fix indentation for "else generate".
5065         (vhdl-template-else, vhdl-template-elsif): Support generate statement.
5066         (vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
5068 2016-04-16  Paul Eggert  <eggert@cs.ucla.edu>
5070         Tweak configure.ac syntax in recent module patch
5072         * configure.ac: Use proper Autoconf parenthesization in
5073         recent HAVE_MODULES patch.  Although this doesn’t fix any bugs,
5074         the previous syntax was confusing.
5076 2016-04-16  Paul Eggert  <eggert@cs.ucla.edu>
5078         Port to GCC 5.3.1 20160406 (Red Hat 5.3.1-6)
5080         * src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
5081         when using the April 6 Fedora patch to GCC.
5083 2016-04-16  Mark Oteiza  <mvoteiza@udel.edu>
5085         Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)
5087         * lisp/progmodes/sh-script.el (sh-mode-hook): Add
5088         sh-electric-here-document-mode as an option and the default value.
5089         (sh-mode): Mention sh-mode-hook in docstring.
5090         (sh-mode): Remove sh-electric-here-document-mode invocation.
5092 2016-04-16  Glenn Morris  <rgm@gnu.org>
5094         * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.
5096 2016-04-16  Mark Oteiza  <mvoteiza@udel.edu>
5098         Make use of rectangle-preview custom variable.
5100         lisp/rect.el (rectangle--string-preview): Only create a preview if
5101         rectangle-preview is non-nil (Bug#23248).
5103 2016-04-16  Mark Oteiza  <mvoteiza@udel.edu>
5105         Make use of rectangle-preview face.
5107         * lisp/rect.el (rectangle--string-preview):
5108         (rectangle--highlight-for-redisplay): Replace 'region with
5109         'rectangle-preview (Bug#23248).
5111 2016-04-16  Eli Zaretskii  <eliz@gnu.org>
5113         Use 'grep-find-program' in check-declare.el
5115         * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
5116         'grep-find-program', not 'find-program'.
5118 2016-04-16  Eli Zaretskii  <eliz@gnu.org>
5120         Improve "C-h S" for cl-lib symbols
5122         * lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
5123         manuals.  (Bug#23289)
5125 2016-04-16  Eli Zaretskii  <eliz@gnu.org>
5127         Fix minor issues with removing left or right fringes
5129         * lisp/window.el (window-max-chars-per-line): Account for
5130         'left-fringe-width' and 'right-fringe-width' variables.
5132         * doc/lispref/windows.texi (Window Sizes): Document the effect on
5133         window text width when setting the width of one or both fringes to
5134         zero.
5135         * doc/emacs/display.texi (Fringes): Document the effect on window
5136         text width when setting the width of one or both fringes to zero.
5137         (Bug#22891)
5139 2016-04-16  Eli Zaretskii  <eliz@gnu.org>
5141         Speed up redisplay in ansi-term mode
5143         * lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
5144         (Bug#20611)
5146 2016-04-16  Philipp Stephani  <phst@google.com>
5148         Simplify 8-bit character handling by terminal for 'raw-text'
5150         * lisp/international/mule.el (set-keyboard-coding-system): Treat
5151         'raw-text' as another coding type that requires 8-bit characters.
5152         * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
5153         instead of 'latin-1'.
5155 2016-04-15  Glenn Morris  <rgm@gnu.org>
5157         * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux.  (Bug#22722)
5159 2016-04-15  Eli Zaretskii  <eliz@gnu.org>
5161         Fix w32 memory-management problem when extending buffer text
5163         * src/w32heap.c (mmap_realloc): Only attempt extending a region if
5164         the following region has the same allocation base.  Also, use the
5165         original allocation base and enlarged size to commit reserved
5166         memory, to ensure that the allocation base stays at its original
5167         value.  This fixes several hard-to-debug problems whereby part of
5168         buffer text was overwritten with binary nulls, because
5169         mmap_realloc copied only part of buffer text when extending it.
5170         See
5171         http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00325.html
5172         and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
5173         examples of the related problems.
5175 2016-04-14  Michael Albinus  <michael.albinus@gmx.de>
5177         Fix Bug#20637.  Do not merge to master
5179         * lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
5180         Use `vc-backend' instead of `vc-responsible-backend'.  (Bug#20637)
5182         * test/automated/vc-tests.el (vc-test--state)
5183         (vc-test--working-revision): Deactivate now failing checks.
5185 2016-04-14  Paul Eggert  <eggert@cs.ucla.edu>
5187         substitute-command-keys keeps quotes’ text props
5189         Problem reported by Clément Pit--Claudel (Bug#23254).
5190         * src/doc.c: Include intervals.h.
5191         (Fsubstitute_command_keys): If the only substitutions are for
5192         quotes, copy the source string’s text properties too, since no
5193         substring lengths have changed.
5195 2016-04-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5197         * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.
5199 2016-04-12  Dmitry Gutov  <dgutov@yandex.ru>
5201         Add semantic-symref-filepattern-alist entry for lisp-interaction-mode
5203         * lisp/cedet/semantic/symref/grep.el
5204         (semantic-symref-filepattern-alist):
5205         Add entry for lisp-interaction-mode
5206         (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)
5208 2016-04-12  Dmitry Gutov  <dgutov@yandex.ru>
5210         Perform xref searches without visiting unopened files
5212         * lisp/progmodes/xref.el (xref-collect-references): Instead of
5213         calling `semantic-symref-find-references-by-name', use
5214         `semantic-symref-instantiate' and `semantic-symref-perform-search'
5215         directly.  Ask for `line-and-text' results (bug#23223).
5216         (xref-collect-matches): Include the line text in the "hit"
5217         structure.
5218         (xref--convert-hits): New function, split off from
5219         `xref-collect-references' and `xref-collect-matches', to convert
5220         "hits" to xref instance list.  Create a temporary buffer here, to
5221         use it for post-processing all hit lines.
5222         (xref--collect-matches): Use a different approach for non-visited
5223         files.  Insert the line text into the temp buffer, apply the
5224         file's major mode the best we can without reading its whole
5225         contents, syntax-propertize, and search in the result.
5226         (xref--collect-matches-1): Extract, to handle the common logic
5227         between two cases.
5228         (xref--find-buffer-visiting): New function, a wrapper around
5229         `find-buffer-visiting' to amortize its cost.
5231         * lisp/cedet/semantic/symref/idutils.el
5232         (semantic-symref-idutils--line-re): New constant.
5233         (semantic-symref-parse-tool-output-one-line): Support result type
5234         `line-and-text'.
5236         * lisp/cedet/semantic/symref/grep.el
5237         (semantic-symref-grep--line-re)
5238         (semantic-symref-parse-tool-output-one-line): Same.
5240         * lisp/cedet/semantic/symref/cscope.el
5241         (semantic-symref-cscope--line-re)
5242         (semantic-symref-parse-tool-output-one-line): Same.
5244         * lisp/cedet/semantic/symref/global.el
5245         (semantic-symref-global--line-re)
5246         (semantic-symref-parse-tool-output-one-line): Same.
5248 2016-04-12  Phillip Lord  <phillip.lord@newcastle.ac.uk>
5250         Revert "Prevent bootstrap autoload backup files"
5252         This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
5254 2016-04-12  Paul Eggert  <eggert@cs.ucla.edu>
5256         Improve time zone documentation
5258         * doc/lispref/os.texi (Time Zone Rules):
5259         New section, mostly with material moved here from other sections.
5260         * doc/emacs/cmdargs.texi (General Variables):
5261         * doc/lispref/os.texi (Time Conversion, Time Parsing):
5262         Xref new section.
5263         * etc/NEWS, etc/PROBLEMS:
5264         * lisp/org/org.el (org-timestamp-format):
5265         * src/editfns.c (Fformat_time_string, Fdecode_time)
5266         (Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
5267         (Fset_time_zone_rule):
5268         When documenting time zone rule strings, mention the TZ
5269         environment variable in preference to mentioning the
5270         sort-of-internal function set-time-zone-rule.
5272 2016-04-12  Phillip Lord  <phillip.lord@russet.org.uk>
5274         Prevent bootstrap autoload backup files
5276          * lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Suppress
5277            backups in newly created file.
5279           (autoload-ensure-default-file): Function split into two.
5280           (autoload-ensure-file-writeable): New function from split.
5282           (Bug#23203)
5284 2016-04-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5286         Disable multicolor fonts on OS X since they are not supported on free systems
5288         * src/macfont.m (macfont_list): Don't use color bitmap fonts.
5290 2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>
5292         Capitalize “Universal Time” in documentation
5294         It’s a proper noun.
5295         * lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
5296         mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
5298 2016-04-11  Eli Zaretskii  <eliz@gnu.org>
5300         Don't use 'find-program'
5302         * lisp/progmodes/project.el (project-file-completion-table): Use
5303         'grep-find-program', rather than the obsolete 'find-program'.
5305 2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>
5307         Sync with gnulib
5309         This is for picky compilers whose stdint.h fails our C11 tests.
5310         Problem reported for clang by Philipp Stephani (Bug#23261).
5311         This incorporates:
5312         2016-04-11 stdint: port to strict C11 left shift
5313         * doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.
5315 2016-04-11  Leo Liu  <sdl.web@gmail.com>
5317         Fix last change on 2016-01-02
5319         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move
5320           `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend'
5321           which highlights `cl-errs-re' even in comments or strings.
5323 2016-04-11  Paul Eggert  <eggert@cs.ucla.edu>
5325         Port run-prolog EMACS to SWI-Prolog 7.2.3
5327         * lisp/progmodes/prolog.el (prolog-ensure-process):
5328         Work around incompatibility of SWI-Prolog 7.2.3 and earlier
5329         with the new way of dealing with the EMACS and INSIDE_EMACS
5330         environment variables.
5332 2016-04-10  Eli Zaretskii  <eliz@gnu.org>
5334         Avoid crashes due to unreasonably large or small text scaling
5336         * lisp/face-remap.el (text-scale-min-amount)
5337         (text-scale-max-amount): New functions.
5338         (text-scale-set, text-scale-increase): Use them to limit the text
5339         scaling to a reasonable range of values.  (Bug#23259)
5341 2016-04-10  Eli Zaretskii  <eliz@gnu.org>
5343         Improve documentation of 'with-eval-after-load'
5345         * lisp/subr.el (with-eval-after-load): Doc fix.  (Bug#23258)
5347 2016-04-10  Eli Zaretskii  <eliz@gnu.org>
5349         Improve handling of non-ASCII characters in Git log messages
5351         * lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
5352         (vc-git-log-output-coding-system): New defcustom.
5353         (vc-git-print-log, vc-git-command, vc-git--call): Use
5354         'vc-git-log-output-coding-system' for reading stuff from Git.
5355         Don't override values of 'coding-system-for-read/write' if they
5356         are bound by caller -- this allows the user to force an encoding
5357         via "C-x RET c".
5358         (vc-git-checkin): On MS-Windows, pass the log message via a
5359         temporary file, to work around the limitations on passing
5360         non-ASCII characters via command-line arguments.  Force using the
5361         'locale-coding-system' for Git command-line arguments.  This fixes
5362         problems with non-ASCII commit log messages on MS-Windows.
5363         (Bug#23076)
5365         * etc/NEWS: Mention the new vc-git related defcustoms.
5367 2016-04-09  Philipp Stephani  <phst@google.com>
5369         Remove undefined behavior in OS X dumper.
5371         Found by Address Sanitizer.
5373         * src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
5374         avoid undefined behavior when reading arbitrary memory.
5376 2016-04-09  Joakim Verona  <joakim@verona.se>
5378         Fix clipping of xwidgets
5380         * src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box
5381         instead of calculating the clipping borders manually.  Suggested
5382         by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
5384 2016-04-09  Eli Zaretskii  <eliz@gnu.org>
5386         Improve Lisp-level documentation of tooltips
5388         * doc/lispref/display.texi (Tooltips): New section.  (Bug#23246)
5389         (Display): Update the chapter menu.
5390         * doc/lispref/text.texi (Special Properties): Make the "tooltip"
5391         index entry more concrete.  Change the cross-reference to point to
5392         "Tooltips" in the ELisp manual.
5393         * doc/lispref/elisp.texi (Top): Update the master menu.
5394         * doc/emacs/frames.texi (Tooltips): Include more customization
5395         variables.  Add a cross-reference to the ELisp manual.
5397 2016-04-08  Glenn Morris  <rgm@gnu.org>
5399         Faces names should not end in "-face".
5401         * lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face.
5402         * lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.
5404 2016-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5406         * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.
5408 2016-04-08  Paul Eggert  <eggert@cs.ucla.edu>
5410         Comint and compile no longer set EMACS
5412         This mostly restores the change that I reverted on March 23,
5413         fixing most of Bug#20202.  The only part of the change that is
5414         still reverted is the change to M-x term, where compatibility with
5415         current Bash constrains us from moving too quickly (Bug#20484).
5416         Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
5417         * etc/NEWS: Document this.
5418         * lisp/comint.el (comint-exec-1):
5419         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
5420         * lisp/progmodes/compile.el (compilation-start):
5421         Don’t set EMACS=t in the subsidiary process.
5423 2016-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)
5427 2016-04-08  Eli Zaretskii  <eliz@gnu.org>
5429         Allow to customize names of executables used by grep.el
5431         * lisp/progmodes/grep.el (grep-find-program): Renamed from
5432         'find-program', which was a variable.  All uses changed.
5433         (grep-xargs-program): Renamed from 'xargs-program', which was a
5434         variable.  All uses changed.
5435         (grep-program): Now a defcustom rather than a simple variable.
5436         (Bug#23219)
5438 2016-04-08  Alan Third  <alan@idiocy.org>
5440         Set locale encoding to UTF-8 when run from OS X GUI.
5442         * src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.
5444 2016-04-08  Eli Zaretskii  <eliz@gnu.org>
5446         Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt
5448         * lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors
5449         while 'ffap-guesser' runs.  (Bug#23218)
5451 2016-04-08  Marcin Borkowski  <mbork@mbork.pl>
5453         Avoid infinite loop in 'studlify-word'
5455         * lisp/play/studly.el (studlify-region): Call
5456         'forward-word-strictly' and 'backward-word-strictly' instead of
5457         'forward-word' and 'backward-word'.  (Bug#19940)
5459 2016-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5461         Don’t recommend obsolete EMACS env var
5463         * doc/misc/efaq.texi (Escape sequences in shell output):
5464         Remove long-obsolete (and now-confusing) notes about
5465         the EMACS environment variable in Emacs 21.1 and earlier.
5466         * doc/misc/efaq.texi (^M in the shell buffer):
5467         * etc/PROBLEMS:
5468         Remove obsolescent recommendation to consult the EMACS environment
5469         variable.
5471 2016-04-07  Glenn Morris  <rgm@gnu.org>
5473         * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.
5475         * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.
5477 2016-04-07  Leo Liu  <sdl.web@gmail.com>
5479         Fix "Beginning of buffer" error in forward-page
5481         * lisp/textmodes/page.el (forward-page): Check before move to prevent
5482           "Beginning of buffer" error.
5484 2016-04-06  Dmitry Gutov  <dgutov@yandex.ru>
5486         Add a `transient' project type
5488         * lisp/progmodes/project.el (project-roots): Implement for the
5489         `transient' project type (bug#23224).
5490         (project-current): Instead of signaling an error, return a
5491         transient project instance rooted in the chosen directory.
5493 2016-04-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5495         Revert "Backport HTTPS proxy fix"
5497         This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db.
5499         It's too late in the Emacs 25 release cycle to add things like this to
5500         Emacs 25.1.  It's border line new feature.
5502 2016-04-06  Tao Fang  <fangtao0901@gmail.com>
5504         Backport HTTPS proxy fix
5506         Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024
5508         Backport:
5510 2016-04-06  Paul Eggert  <eggert@cs.ucla.edu>
5512         Fix stability confusion in sort-tests
5514         Problem reported by Philipp Stephani (Bug#23205).
5515         * test/automated/sort-tests.el:
5516         (sort-tests--insert-words-sort-and-compare):
5517         Don’t assume that reversing a sorted list is the same
5518         as sorting with the reverse predicate.  This is not true
5519         for stable sorts when items compare equal.
5521 2016-04-05  Paul Eggert  <eggert@cs.ucla.edu>
5523         Avoid describe-key error with lambdas
5525         Problem reported by Sho Takemori (Bug#22716).
5526         * lisp/cedet/mode-local.el (describe-mode-local-overload)
5527         (xref-mode-local-overload): Use function-overload-p instead
5528         of assuming the argument is a symbol.
5530 2016-04-04  Artur Malabarba  <bruce.connor.am@gmail.com>
5532         * lisp/emacs-lisp/package.el (package-install-selected-packages):
5534         Skip unavailable packages.
5536 2016-04-04  Paul Eggert  <eggert@cs.ucla.edu>
5538         Sync with gnulib
5540         This incorporates:
5541         2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
5542         2016-04-01 stddef: support configuring with g++
5543         * doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
5544         Copy from gnulib.
5546 2016-04-03  Paul Eggert  <eggert@cs.ucla.edu>
5548         Fix doc for Universal Time
5550         * doc/lispref/os.texi (Time of Day, Time Conversion):
5551         Be more careful about distinguishing UTC (which is not valid for
5552         pre-1961 time stamps) and UT (which is).
5553         (Time Parsing): Remove stray obsolete paragraph about a
5554         UNIVERSAL argument for ‘format-time-string’.
5556 2016-04-03  Michael Albinus  <michael.albinus@gmx.de>
5558         Handle Bug#23186
5560         * lisp/net/tramp.el (tramp-encoding-command-switch)
5561         (tramp-encoding-command-interactive):
5562         * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
5563         `tramp-encoding-shell' could be nil.  (Bug#23186)
5565 2016-04-03  Paul Eggert  <eggert@cs.ucla.edu>
5567         More format-time-string change fixups
5569         * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
5570         * lisp/org/org.el (org-timestamp-format):
5571         Fix doc to match new format-time-string behavior.
5572         * lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
5573         Use (not (not X)) to treat non-nil values of utc arg as UTC.
5575 2016-04-02  Paul Eggert  <eggert@cs.ucla.edu>
5577         make-xwidget unused arg cleanup
5579         * doc/lispref/display.texi (Xwidgets): Remove stray refs.
5580         * src/xwidget.c (syms_of_xwidget): Qwebkit, not Qwebkit_osr.
5582 2016-04-02  Joakim Verona  <joakim@verona.se>
5584         Remove unused arguments from make-xwidget
5586         The arguments BEG and END were unused, and are now removed.
5588         * doc/emacs/display.texi (Xwidgets): Document the change
5589         * lisp/xwidget.el (make-xwidget, xwidget-insert)
5590         (xwidget-webkit-new-session): Reflect changed arguments
5591         * src/xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
5593 2016-04-02  Eli Zaretskii  <eliz@gnu.org>
5595         Document incompatible changes in 'format-time-string'
5597         * etc/NEWS: Mention the incompatible change in the interpretation
5598         of the 3rd argument to 'format-time-string'.  (Bug#21943)
5600 2016-04-02  Eli Zaretskii  <eliz@gnu.org>
5602         Improve documentation of byte-code objects
5604         * doc/lispref/compile.texi (Byte-Code Objects): Document the
5605         integer format of the argument descriptor.  (Bug#23061)
5607 2016-04-02  Eli Zaretskii  <eliz@gnu.org>
5609         Adapt calls to 'format-time-string' to changes in Emacs 25
5611         * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
5612         last argument to format-time-string.  (Bug#23128)
5613         * lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
5614         last argument to format-time-string, when the TZ argument is not a
5615         number, per the doc string.
5617 2016-04-02  Eli Zaretskii  <eliz@gnu.org>
5619         Improve vc-diff with Git backend
5621         * lisp/vc/vc-git.el (vc-git-command): Don't override
5622         coding-system-for-read/write if they are already bound.
5623         Suggested by joaotavora@gmail.com (João Távora).  (Bug#20892)
5624         (vc-git-print-log): Don't override coding-system-for-read if it's
5625         already bound.
5627 2016-04-01  Dmitry Gutov  <dgutov@yandex.ru>
5629         (js--continued-expression-p): Special-case unary plus and minus
5631         * lisp/progmodes/js.el (js--continued-expression-p): Make an
5632         effort to recognize unary plus and minus, in the contexts where
5633         they make sense (https://github.com/mooz/js2-mode/issues/322).
5635 2016-04-01  Alan Mackenzie  <acm@muc.de>
5637         Prevent C++ Mode wrongly fontifying some identifiers near templates as types
5639         This fixes debbugs #7917.
5641         * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): Accept 'maybe
5642         (from c-forward-type) as sufficient to record an id.  Record type id as well
5643         as ref ids.
5644         (c-forward-name): Bind c-last-identifier-range around the call to
5645         c-forward-<>-arglist to prevent it getting corrupted.  Don't automatically
5646         assume an identifier is a type when a template ">" is followed by a "(".
5647         (c-forward-type): Don't automatically assume an identifier is a type when a
5648         template ">" is followed by a "(".
5650         * lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): Don't fontify an
5651         identifier as a type when its associated ">" is followed by a "(".
5653 2016-04-01  Eli Zaretskii  <eliz@gnu.org>
5655         Avoid crashes due to insanely large columns in tabulated-list-format
5657         * src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
5658         (produce_image_glyph): Limit the pixel width of the produced glyph
5659         to SHRT_MAX.  (Bug#23178)
5660         (append_composite_glyph, append_glyph, append_glyphless_glyph):
5661         Add assertions to verify that the pixel width of the glyph will
5662         never overflow a 'short'.
5663         * src/term.c (append_composite_glyph): Add assertion to verify
5664         that the pixel width of the glyph will never overflow a 'short'.
5666 2016-03-31  Mark Oteiza  <mvoteiza@udel.edu>
5668         Teach M-x disassemble a default argument.
5670         Adopts default argument in the same way as `describe-function'.
5671         * lisp/emacs-lisp/disass.el (disassemble): Default to function at point,
5672         if any.
5674 2016-03-31  Eli Zaretskii  <eliz@gnu.org>
5676         Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows
5678         * lisp/vc/vc-annotate.el (vc-annotate): Force DOS EOL decoding on
5679         MS-Windows and MS-DOS, when processing the output of "svn annotate".
5681 2016-03-31  Michael Albinus  <michael.albinus@gmx.de>
5683         Fix OS X specific settings in tramp-tests
5685         * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5687         * lisp/net/tramp.el (tramp-get-local-locale): New defun.
5689         * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
5690         (tramp--test-utf8): Improve settings of coding systems.
5691         Do not use `tramp--test-darwin-p' anymore.  (Bug#22145)
5693 2016-03-30  Alan Mackenzie  <acm@muc.de>
5695         Finish fixing a cacheing bug in CC Mode (see 2016-03-09)
5697         * lisp/progmodes/cc-cmds.el: (c-beginning-of-defun, c-end-of-defun): Remove
5698         superfluous invocations of c-self-bind-state-cache.
5700         * lisp/progmodes/cc-defs.el: (c-self-bind-state-cache): Copy and terminate
5701         markers correctly.
5703         * lisp/progmodes/cc-engine.el (c-record-parse-state-state): Terminate stale
5704         markers.
5706 2016-03-30  Alan Mackenzie  <acm@muc.de>
5708         Merge branch 'emacs-25' of /home/acm/emacs/emacs.git/emacs-25 into emacs-25
5710 2016-03-29  Xue Fuqiao  <xfq.free@gmail.com>
5712         * doc/lispref/text.texi (Columns): Remove a nonexistent reference.
5714         The example was removed by Chong Yidong on Mar 5, 2012.
5716 2016-03-29  Paul Eggert  <eggert@cs.ucla.edu>
5718         * doc/man/emacsclient.1: Document +line:column option.
5720 2016-03-29  Eli Zaretskii  <eliz@gnu.org>
5722         Fix rare problems with echo-area display and multiple frames
5724         * src/xdisp.c (redisplay_window): Bind inhibit-redisplay non-nil
5725         around the call to x_consider_frame_title, to prevent
5726         resize_mini_window from undoing echo-area display.  (Bug#23124)
5728 2016-03-29  Alan Mackenzie  <acm@muc.de>
5730         In M-%, avoid making buffer-local binding of text-property-default-nonsticky
5732         This would happen when that variable already has a buffer local binding.  Such
5733         a binding would not be seen by read-from-minibuffer.  This fixes bug #23127.
5735         * lisp/replace.el (query-replace-read-from): Move the binding of
5736         text-property-default-nonsticky to inside of a new with-current-buffer buffer
5737         form with the minibuffer as argument.
5739 2016-03-27  Dmitry Gutov  <dgutov@yandex.ru>
5741         Remove prog-indentation-context
5743         * lisp/progmodes/prog-mode.el: (prog-indentation-context)
5744         (prog-first-column, prog-widen): Remove, as discussed in
5745         http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01425.html.
5747         * doc/lispref/text.texi (Mode-Specific Indent): Remove references
5748         to them.
5750         * etc/NEWS: Ditto.
5752         * lisp/progmodes/python.el: (prog-widen, prog-first-column):
5753         Remove the compatibility aliases and all uses.
5755         Do not merge to master.
5757 2016-03-27  Paul Eggert  <eggert@cs.ucla.edu>
5759         * src/font.c (QCuser_spec): Add missing colon to :user-spec.
5761 2016-03-27  Eli Zaretskii  <eliz@gnu.org>
5763         Don't start the 'midnight' timer twice
5765         * lisp/midnight.el (midnight-mode): Avoid starting the midnight
5766         timer twice when activating the mode the first time.  (Bug#23123)
5768 2016-03-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5770         * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
5772 2016-03-26  Stephen Berman  <stephen.berman@gmx.net>
5774         Fix todo-mode category movement
5776         * lisp/calendar/todo-mode.el (todo-move-category): Use moved
5777         category's existing categories sexp instead of invoking
5778         todo-update-categories-sexp in file moved to, in order to take
5779         archived items into account.  If the moved category has archived
5780         items, handle the source archive buffer properly.  Remove
5781         superfluous code.
5783 2016-03-26  Glenn Morris  <rgm@gnu.org>
5785         * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.
5787 2016-03-26  Eli Zaretskii  <eliz@gnu.org>
5789         Ignore non-nil. non-cons values of unread-command-events
5791         * src/keyboard.c (requeued_events_pending_p, read_char)
5792         (Finput_pending_p): Use CONSP instead of !NILP to see if there are
5793         unread command events to be processed.  (Bug#22976)
5795 2016-03-26  Eli Zaretskii  <eliz@gnu.org>
5797         Improve documentatuon of 'truncate-partial-width-windows'
5799         * src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
5800         Clarify in the doc string how the width of partial-width windows
5801         is computed for the purposes of truncation decision.  (Bug#4338)
5803         * doc/emacs/windows.texi (Split Window): Clarify how the width of
5804         windows is calculated for the purposes of truncation decision.
5805         * doc/emacs/display.texi (Line Truncation): Remove a redundant
5806         index entry.
5808 2016-03-25  Paul Eggert  <eggert@cs.ucla.edu>
5810         * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU style.
5812 2016-03-25  Eli Zaretskii  <eliz@gnu.org>
5814         Fix 'dired-goto-file' in Dired buffers produced by find-dired
5816         * lisp/dired.el (dired-goto-file): Try looking for the file as a
5817         relative name with leading sub-directories, before looking for the
5818         basename alone.  (Bug#23089)
5820 2016-03-25  Nicolas Petton  <nicolas@petton.fr>
5822         Fix map-put and map-delete for alists (Bug#23105)
5824         * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
5825         expression to a new symbol.
5826         * test/automated/map-tests.el: Add a regression test.
5828 2016-03-25  Eli Zaretskii  <eliz@gnu.org>
5830         Minor copyedits of documentation for temporary displays
5832         * doc/emacs/windows.texi (Temporary Displays): Improve indexing.
5833         Minor changes in wording.
5834         (Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
5835         index entries for 'display-buffer'.
5837         * etc/NEWS: Minor rewording of the entry about temporary displays.
5839 2016-03-25  Philipp Stephani  <phst@google.com>
5841         Add customization option for using UTF-8 coordinates in xt-mouse
5843         * lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
5844         (xterm-mouse--read-coordinate): New function to replace
5845         `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
5846         (xterm-mouse--read-number-from-terminal): Adapt to new name.
5847         (xterm-mouse-tracking-enable-sequence)
5848         (xterm-mouse-tracking-disable-sequence): Replace constants with
5849         functions, mark constants as obsolete.
5850         (xterm-mouse--tracking-sequence): New helper function.
5851         (turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
5852         enable UTF-8 only if customization option says so; store UTF-8
5853         flag in terminal parameter.  (Bug#23009)
5855         * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
5857 2016-03-25  Eli Zaretskii  <eliz@gnu.org>
5859         Minor doc string fixes in replace.el
5861         * lisp/replace.el (query-replace, query-replace-regexp)
5862         (query-replace-regexp-eval, map-query-replace-regexp)
5863         (replace-string, replace-regexp): Clarify in doc strings that
5864         these commands operate from point to the end of the buffer's
5865         accessible portion.  (Bug#23067)
5867 2016-03-25  Eli Zaretskii  <eliz@gnu.org>
5869         Fix scrolling upwards with 'xwidget-webkit-browse-url'
5871         * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
5872         of CHECK_NATNUM.  Suggested by Shayan Pirani <shayanpirani@gmail.com>.
5873         (Bug#22918)
5875 2016-03-25  K. Handa  <handa@gnu.org>
5877         Fix display of Indic scripts
5879         * src/ftfont.c (ftfont_shape_by_flt): For combining characters out
5880         of the range U+300...U+36F, use the "combining" FLT only with
5881         non-OTF fonts.
5883 2016-03-25  Eli Zaretskii  <eliz@gnu.org>
5885         Fix splash screen display at startup
5887         * src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
5888         window displayed by "emacs -q" has enough space to show the whole
5889         text even if it includes 2 lines talking about recovering crashes
5890         sessions.  (Bug#23074)
5892         * lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
5893         error when computing the window-height from frame-height.
5895         * etc/NEWS: Mention the change.
5897 2016-03-25  Martin Rudalics  <rudalics@gmx.at>
5899         Describe temporary displays in Emacs manual
5901         * doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
5902         * doc/emacs/windows.texi (Window Choice): Minor fixes.
5903         (Temporary Displays): New subsubsection describing display of
5904         temporary buffers and `temp-buffer-resize-mode'.
5906 2016-03-24  Paul Eggert  <eggert@cs.ucla.edu>
5908         Avoid stray As next to IDLW icons
5910         * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
5911         Use "" for empty labels, not "a", as the latter now displays stray
5912         "A"s (Bug#18997).
5914 2016-03-24  Paul Eggert  <eggert@cs.ucla.edu>
5916         Avoid GTK 3 crash with icons and masks
5918         Problem reported by Mosè Giordano (Bug#18997).
5919         * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
5920         (xg_get_pixbuf_from_pix_and_mask): Do not use
5921         xg_get_pixbuf_from_pixmap, as it is poorly documented.  Instead,
5922         invoke XGetPixel directly.  This is slow but speed is not
5923         important here.  Also, fail for unusual situations (not TrueColor,
5924         or images that are not 8 bits per sample) instead of displaying
5925         junk or crashing.
5927 2016-03-24  Juri Linkov  <juri@linkov.net>
5929         * lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
5931         instead of shrink-window-if-larger-than-buffer.  (Bug#23092)
5933 2016-03-24  Eli Zaretskii  <eliz@gnu.org>
5935         Define make_save_ptr_ptr unconditionally
5937         * src/alloc.c (make_save_ptr_ptr): Remove the !(defined
5938         USE_X_TOOLKIT || defined USE_GTK) conditional.  Reported by
5939         Philipp Stephani <phst@google.com>.  (Bug#23101)
5941 2016-03-24  Eli Zaretskii  <eliz@gnu.org>
5943         Preserve current buffer when popping up TTY menus
5945         * src/term.c (tty_menu_show): Be sure to save and restore the
5946         current buffer around TTY menu pop-ups.  (Bug#23101)
5948 2016-03-24  Eli Zaretskii  <eliz@gnu.org>
5950         Improve font selection by family on MS-Windows
5952         * src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
5953         in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
5954         This avoids rejecting many font families whose members are shown
5955         by 'font-family-list', in particular 'courier' requested by
5956         info.el.  Without this change, many values of ':family' attribute
5957         of a face have no effect on MS-Windows, because they are rejected
5958         due to bogus mismatch of the charset.
5960 2016-03-23  Paul Eggert  <eggert@penguin.cs.ucla.edu>
5962         Comint, term, and compile now set EMACS
5964         This fixes directory tracking in ansi-term, at the expense of
5965         breaking some usages of 'configure'.  Setting EMACS is meant to be
5966         a somewhat temporary measure, until Bash 4.4 comes out and is
5967         common.  (Bug#20484).
5968         * etc/NEWS: Document this.
5969         * lisp/comint.el (comint-exec-1):
5970         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
5971         * lisp/progmodes/compile.el (compilation-start):
5972         * lisp/term.el (term-exec-1):
5973         Go back to setting the EMACS environment variable, for backward
5974         compatibility to Bash 4.3 and earlier.
5976 2016-03-23  Paul Eggert  <eggert@penguin.cs.ucla.edu>
5978         Ignore more merges when generating ChangeLog
5980         * build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
5981         not merely those from master and emacs-NN.  The ChangeLog entries
5982         they generate are not that useful.
5984 2016-03-23  Paul Eggert  <eggert@cs.ucla.edu>
5986         Sync with gnulib
5988         This incorporates:
5989         2016-03-22 gitlog-to-changelog: suppress ignored chatter
5990         2016-03-21 sys_select: port to new Cygwin
5991         * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
5992         * lib/sys_select.in.h: Copy from gnulib.
5994 2016-03-23  Paul Eggert  <eggert@cs.ucla.edu>
5996         Resurrect GNUS-NEWS autogeneration
5998         * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
5999         GNUS-NEWS section to match current file locations and procedure.
6000         * etc/GNUS-NEWS: Regenerate by using new procedure.
6001         * lisp/Makefile.in (update-gnus-news): New rule, containing a
6002         procedure for building GNUS-NEWS.  The old procedure got lost
6003         somehow when Gnus was merged into Emacs.
6005 2016-03-22  Anders Lindgren  <andlind@gmail.com>
6007         Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).
6009         * src/nsterm.m (ns_screen_margins): New function.
6010         (ns_screen_margins_ignoring_hidden_dock): New function.
6011         (ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
6012         ([EmacsWindow zoom:]): Take all screen margins (except those
6013         originating from a hidden dock) into account.
6015 2016-03-22  Eli Zaretskii  <eliz@gnu.org>
6017         Fix bug in displaying header line with a box face
6019         * src/xdisp.c (get_next_display_element): Handle the case when a
6020         display string acquires the box face from an underlying string,
6021         not from the buffer.  (Bug#23091)
6023 2016-03-21  Kaushal Modi  <kaushal.modi@gmail.com>
6025         Fix an Isearch var to be a string (Bug#23038)
6027         * lisp/isearch.el (isearch--describe-regexp-mode): The `description' var
6028           needs to always be a string.  Add the missing default case for the
6029           cond form that ensures that.
6031         Before this bug fix, for the events when `regexp-function' and
6032         `search-default-mode' both were nil, `description' also stayed nil.  So
6033         when `space-before' was non-nil, the "non-string" `description'
6034         (with a value of nil) got passed as an argument to
6035         `replace-regexp-in-string' (where a string was expected).  That caused
6036         the error described in Bug#23038.
6038 2016-03-21  Leo Liu  <sdl.web@gmail.com>
6040         Fix (args-out-of-range 1) error in cursor-sensor--detect
6042         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
6043           hard-code (point-min) as 1 which fails in narrowed buffers.
6045 2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6047         Render empty <ul><li><ul> correctly
6049         * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
6050         correctly (bug#22964).
6051         (cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)
6053         Backport:
6055 2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6057         Ignore invalid base64 encoded embedded images
6059         * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
6060         encoded embedded images (bug#22928).
6061         (cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)
6063         Backport:
6065 2016-03-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6067         Fix <p> and <div> newlines with or without <li> in shr
6069         * lisp/net/shr.el (shr-ensure-newline): Respect that we're in
6070         a <li>, if we are, and don't insert newlines there.
6071         (shr-ensure-paragraph): When mixing newlines and paragraph
6072         ensurements, don't insert too many blank lines.
6073         (shr-tag-div): A <div> shouldn't introduce a paragraph, but a
6074         new line.
6075         (cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)
6077         Backport:
6079 2016-03-19  Eli Zaretskii  <eliz@gnu.org>
6081         Avoid errors in 'newline'
6083         * lisp/simple.el (newline): Don't barf if invoked with
6084         non-positive argument in the middle of a line.  (Bug#22490)
6086 2016-03-19  Michael Albinus  <michael.albinus@gmx.de>
6088         Fix Bug#23032
6090         * doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
6091         remote file names.  (Bug#23032)
6093 2016-03-19  Eli Zaretskii  <eliz@gnu.org>
6095         Adjudicate review comments in abbrevs.texi
6097         * doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
6098         * doc/emacs/abbrevs.texi (Dabbrev Customization): State the
6099         default values of variables.  Suggested by Steve Byrne
6100         <sbb@penguinis.org>.  (Bug#23016)
6102         * admin/release-process (Check manuals): Mark files reviewed by
6103         Steve Byrne.
6105 2016-03-18  Dmitry Gutov  <dgutov@yandex.ru>
6107         Fixup the "normal" matcher; highlight global var symbols, too
6109         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
6110         operator name symbols with the "normal" matcher (it actually
6111         needed updating).  Highlight global variable symbols, too.
6113 2016-03-18  Marcin Borkowski  <mbork@mbork.pl>
6115         Honor prefix arg in doc-view-next-line-or-next-page
6117         * lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
6118         prefix argument into consideration when continuous scrolling is
6119         not in effect (i.e., by default) (bug#19559).
6121 2016-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6123         Port to strict C99 offsetof
6125         * src/bidi.c (bidi_copy_it):
6126         * src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
6127         Use only a single identifier as the second argument of offsetof.
6128         Found by using clang -pedantic.
6130 2016-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6132         Port to GTK with strict C11 compiler
6134         * src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
6135         Cast from function type to void * where the C standard requires this.
6136         This works around a problem in the prototypes for
6137         g_signal_handler_find and g_signal_handlers_block_by_func, which
6138         use gpointer instead of GCallback.  Found by using gcc -pedantic.
6140 2016-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6142         Port to GTK with strict C99 compiler
6144         * src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
6145         in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
6146         * src/emacsgtkfixed.c (EmacsFixedPrivate):
6147         * src/emacsgtkfixed.h (EmacsFixedClass):
6148         Remove duplicate typedef, which strict C99 does not allow (Bug#23003).
6150 2016-03-17  Anders Lindgren  <andlind@gmail.com>
6152         Avoid screen artifacts with new OS X visible bell after scrolling
6154         * src/nsterm.m (EmacsBell): Save NSView when displaying the
6155         visible bell and set `needsDisplay' when removed.
6156         (hide_bell): Trace.
6157         (ns_copy_bits): Trace.
6159 2016-03-17  Michael Albinus  <michael.albinus@gmx.de>
6161         Suppress some Tramp tests for OSX, do not merge with master
6163         * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
6164         (tramp--test-utf8): Use it.  (Bug#22145)
6166 2016-03-17  Glenn Morris  <rgm@gnu.org>
6168         * lisp/progmodes/xref.el (xref-buffer-name, xref--window):
6169         Move definitions before use.
6171         * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
6173         * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
6175 2016-03-17  Glenn Morris  <rgm@gnu.org>
6177         Address compilation warnings due to 2016-01-03 mml refactoring.
6179         * lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
6180         (message-options-get): Autoload.
6181         (message-options-set): Declare.
6182         (mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
6183         Simplify default value.
6184         * lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
6185         * lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
6186         No longer a need for password-cache.
6188 2016-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6190         * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
6192         (bug#22960).
6194 2016-03-16  Glenn Morris  <rgm@gnu.org>
6196         * lisp/dired-x.el (dired-omit-here-always): Correct error message
6197         for 2016-01-25 change.
6199         * lisp/dired-x.el (dired-omit-here-always): Replace undefined function
6200         removed 2016-01-30.
6202         * lisp/xml.el (xml-parse-tag-1): Replace undefined function.
6204 2016-03-16  Eli Zaretskii  <eliz@gnu.org>
6206         Avoid segfaults due to frame image cache being absent
6208         * src/image.c (cache_image): If the frame doesn't have an image
6209         cache, create it.  (Bug#23028)
6211 2016-03-16  Eli Zaretskii  <eliz@gnu.org>
6213         Improve documentation of glyphless-character display
6215         * doc/emacs/display.texi (Text Display): Document and index the
6216         'glyphless-char' face.
6218 2016-03-16  Dmitry Gutov  <dgutov@yandex.ru>
6220         Support safe navigation operator in non-SMIE indentation code
6222         * lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
6223         Support safe navigation operator in non-SMIE indentation code.
6224         Cherry-picked from
6225         https://github.com/ruby/ruby/commit/68e16ddd7961b86e5013e62ae2954e88638de058.
6227 2016-03-16  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
6229         Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
6231         * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
6232         assume xsd:base64Binary values are UTF-8 strings.
6233         (soap-decode-xs-basic-type): Likewise.
6234         (soap-invoke): Document xsd:base64Binary handling.
6236 2016-03-15  Dmitry Gutov  <dgutov@yandex.ru>
6238         Fix Ruby's operator precedence
6240         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
6241         Rearrange the smie-precs->prec2 form.
6243 2016-03-15  Dmitry Gutov  <dgutov@yandex.ru>
6245         (ruby-interpolation-inside-another-interpolation): New failing test
6247         * test/automated/ruby-mode-tests.el
6248         (ruby-interpolation-inside-another-interpolation):
6249         New failing test.
6251 2016-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6253         Port to clang 3.7.0 on x86-64
6255         * configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
6256         not done conditionally.  This helps clang, which needs
6257         -Wunknown-warning-option later when configured with warnings.
6258         * src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
6259         smart enough to figure this out on its own if warnings are enabled.
6260         (lisp_time_struct): Redo for clarity, and to pacify clang.
6261         * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
6262         uninitialized locals.  This avoids undefined behavior and pacifies
6263         clang.
6265 2016-03-15  Glenn Morris  <rgm@gnu.org>
6267         * test/automated/package-test.el (package-test-signed): Tweak skip
6268         condition, for hydra.
6270 2016-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6272         Sync with gnulib
6274         This incorporates:
6275         2016-03-15 time_rz: port to clang -Wunused-const-variable
6276         2016-03-15 select: port more to Intel 2016.1.150 compiler
6277         * lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.
6279 2016-03-15  Eli Zaretskii  <eliz@gnu.org>
6281         Fix startup of "emacs -nw" on systems that CANNOT_DUMP
6283         * src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
6284         nil.
6286         * lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
6287         loading window.el.  (Bug#22975)
6289 2016-03-14  Dmitry Gutov  <dgutov@yandex.ru>
6291         Do not tokenize a comment before continuation as ';'
6293         * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6294         Account for a comment right after point.
6296 2016-03-14  Dmitry Gutov  <dgutov@yandex.ru>
6298         Don't misindent arguments of a method call inside continuation
6300         * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
6301         Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
6302         Simplify the traversal loop.
6304 2016-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area
6308         (read_key_sequence): Test it here, as before.
6309         (bug#22825).
6311 2016-03-14  Paul Eggert  <eggert@cs.ucla.edu>
6313         ASCII-only etc/NEWS etc.
6315         * etc/NEWS, nextstep/README: Revert the recently-added curved
6316         quotes, and stick to ASCII.  This typically involves replacing
6317         curved with straight quotes.  Since etc/NEWS is viewed so often by
6318         UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
6319         Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
6321 2016-03-14  Alan Mackenzie  <acm@muc.de>
6323         Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
6325         * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
6327         * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
6328         rather than just using the cache variable c-state-cache.
6329         (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
6330         to c-parse-state from other uses of the parse state cache.
6332         * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
6333         c-self-bind-state-cache around the processing, replacing flawed bindings of
6334         c-state-cache.
6336 2016-03-14  Alan Mackenzie  <acm@muc.de>
6338         Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
6340         * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
6342         * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
6343         rather than just using the cache variable c-state-cache.
6344         (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
6345         to c-parse-state from other uses of the parse state cache.
6347         * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
6348         c-self-bind-state-cache around the processing, replacing flawed bindings of
6349         c-state-cache.
6351 2016-03-14  Kaushal Modi  <kaushal.modi@gmail.com>
6353         Fix Isearch prompt when invoked with an argument
6355         * lisp/isearch.el (isearch--describe-regexp-mode): With
6356         `search-default-mode' set to nil, if user does C-u C-s, the minibuffer
6357         now displays "Regexp I-search: " again.  But if the user has set
6358         `search-default-mode' to t, and then does C-s, the minibuffer now
6359         displays "I-search: " because the default search mode is now regexp
6360         mode.  Comments have been added to explain the priority of conditions
6361         in the `cond' form.  (Bug#22991)
6363 2016-03-14  Cesar Quiroz  <cesar.quiroz@gmail.com>  (tiny change)
6365         Fix a typo in the Emacs manual
6367         * doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
6368         in a command name.
6370 2016-03-14  Paul Eggert  <eggert@cs.ucla.edu>
6372         Curved quotes in etc/NEWS etc.
6374         * etc/NEWS, nextstep/README: Prefer curved quotes in the
6375         recently-changed text documentation.  See:
6376         http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00860.html
6378 2016-03-14  Paul Eggert  <eggert@cs.ucla.edu>
6380         Fix some single quotes in documentation
6382         * doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
6383         when documenting quoting styles.
6384         * etc/NEWS, nextstep/README: In these plain text files, quote
6385         'like this' consistently, rather than also (sometimes) ‘like this’
6386         or (more often) `like this'.
6388 2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6390         Make lisp-completion-at-point's argument optional
6392         * lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
6393         the argument optional, like it was before the rename.
6395 2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6397         Tweak the left precedence of '=>'
6399         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
6400         precedence of '=>', to improve indentation and sexp navigation.
6402 2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6404         Indent '.' relative to the first sibling expression
6406         * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
6407         Indent '.' relative to the first sibling expression, instead of the
6408         parent token (bug#17213).
6410 2016-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6412         Make '.' associative, for easier sexp navigation
6414         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
6415         Make '.' associative, for easier sexp navigation.
6417 2016-03-13  Phillip Lord  <phillip.lord@russet.org.uk>
6419         Revert "Simplify "Visit New File" to "New File""
6421         This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.
6423 2016-03-12  Phillip Lord  <phillip.lord@russet.org.uk>
6425         Simplify "Visit New File" to "New File"
6427         * doc/emacs/files.texi, lisp/menu-bar.el (menu-bar-file-menu),
6428           lisp/startup.el(normal-mouse-start-screen,
6429           normal-no-mouse-startup-screen): Change label "Visit New File" to "New
6430           File".
6432 2016-03-12  Eli Zaretskii  <eliz@gnu.org>
6434         Update Unicode notes for importing a new Unicode version
6436         * admin/notes/unicode: Mention the need to update otf-script-alist
6437         in fontset.el when importing data files from a new Unicode
6438         version.
6440 2016-03-12  Eli Zaretskii  <eliz@gnu.org>
6442         Import new data files from Unicode 9.0.0beta
6444         * admin/unidata/UnicodeData.txt:
6445         * admin/unidata/Blocks.txt:
6446         * admin/unidata/BidiMirroring.txt:
6447         * admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
6448         * admin/unidata/unidata-gen.el (unidata-gen-files): Bind
6449         'coding-system-for-read' to 'utf-8, as various Unicode data files
6450         now actually use non-ASCII characters.
6451         (unidata-setup-list, unidata-get-name): Support the new Tangut
6452         Ideographs block.
6454         * lisp/international/characters.el (standard-case-table): Add new
6455         characters from Unicode 9.0.0.
6456         (standard-category-table): Add Arabic block u+08A0..u+08FF.  Add
6457         Cyrillic Extended-C block.
6458         (char-width-table): Update ranges per Unicode 9.0.0.
6459         * lisp/international/fontset.el (script-representative-chars): Add
6460         new scripts defined by Unicode 9.0.0.
6461         (otf-script-alist): Add new OTF script tags.
6462         * lisp/international/mule-cmds.el (ucs-names): Update ranges per
6463         Unicode 9.0.0 additions.
6465 2016-03-12  Eli Zaretskii  <eliz@gnu.org>
6467         Avoid errors in forms-mode when default major mode is text
6469         * lisp/forms.el (forms-mode): Bind
6470         change-major-mode-with-file-name to nil when calling
6471         set-visited-file-name.  (Bug#22982)
6473 2016-03-12  Eli Zaretskii  <eliz@gnu.org>
6475         Avoid crashes at startup on systems that CANNOT_DUMP
6477         * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
6478         boolean variable.
6479         (init_iterator, reseat_to_string)
6480         (Fcurrent_bidi_paragraph_direction)
6481         (Fbidi_find_overridden_directionality): Use
6482         redisplay--inhibit-bidi instead of purify-flag, to determine when
6483         it's safe to reorder bidirectional text.
6485         * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
6486         beginning of the file.  Reset to nil when charprop.el is
6487         successfully loaded, or when we are going to dump, whichever
6488         happens last.  (Bug#22975)
6490 2016-03-12  Eli Zaretskii  <eliz@gnu.org>
6492         Fix documentation of seq.el functions
6494         * doc/lispref/sequences.texi (Sequence Functions): Fix typos.  Add
6495         cross-references.  Fix formatting.  (Bug#22992)
6497 2016-03-11  Dmitry Gutov  <dgutov@yandex.ru>
6499         Support Ruby 2.3.0's safe navigation operator
6501         * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
6502         (ruby-smie--backward-token): Tokenize '&.' as '.'.
6503         (ruby-smie--implicit-semi-p): Check for possible '&' before '.'.
6505         * test/indent/ruby.rb: Add an example using safe navigation
6506         operator.  Fix a syntax error in existing example.
6508 2016-03-11  John Wiegley  <johnw@newartisans.com>
6510         Update Emacs manual section related to character folding
6512         * doc/emacs/search.texi: Character folding is not on by default.
6514 2016-03-11  Eli Zaretskii  <eliz@gnu.org>
6516         Update admin/notes/unicode
6518         * admin/notes/unicode: Update the list of files from the UCD we
6519         are using.  Mention the possible need to change 'ucs-names' when
6520         importing a new version of the Unicode Standard.
6522 2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>
6524         Add symref-filepattern entries for c?perl-mode
6526         * lisp/cedet/semantic/symref/grep.el
6527         (semantic-symref-filepattern-alist): Add entries for perl-mode and
6528         cperl-mode.
6530 2016-03-10  Ken Raeburn  <raeburn@raeburn.org>
6532         Don't use XRANDR 1.3 extensions if the server doesn't support them.
6534         * src/xterm.h (struct x_display_info): Add fields to save XRANDR
6535         version number.
6536         * src/xfns.c (x_get_monitor_attributes): Save the version numbers
6537         after querying the X server.
6538         (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
6539         XRRGetScreenResourcesCurrent if the server doesn't support at least
6540         RANDR version 1.3.  Conditionalize the code blocks on compiling
6541         against library version 1.3 or better, rather than feature tests for
6542         each function.
6543         * configure.ac: Stop testing for those two functions.
6545 2016-03-10  Paul Eggert  <eggert@cs.ucla.edu>
6547         Sync with gnulib
6549         This incorporates:
6550         2016-03-08 intprops: make .h file license match module
6551         2016-03-08 acl: fix missing return on Cygwin
6552         2016-03-05 extern-inline: port to PGI CC
6553         * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
6554         * m4/extern-inline.m4:
6555         Copy from gnulib.
6557 2016-03-10  Paul Eggert  <eggert@cs.ucla.edu>
6559         Rework C source files to avoid ^(
6561         Work around Bug#22884 by rewording comments and strings to avoid ‘(’
6562         at the start of a line unless it starts a function.  This change
6563         is a short-term hack; in the longer run we plan to fix cc-mode’s
6564         performance for C files that have ‘(’ at the start of a line in a
6565         comment or string.
6567 2016-03-10  Eli Zaretskii  <eliz@gnu.org>
6569         By default, etags produces unqualified Perl tag names
6571         * lib-src/etags.c (Perl_functions): Produce unqualified names,
6572         unless -Q was specified.
6573         (print_help): Update the description of -Q.
6575         * doc/man/etags.1: Update the documentation of -Q.
6577         * test/etags/ETAGS.good_1:
6578         * test/etags/ETAGS.good_2:
6579         * test/etags/ETAGS.good_3:
6580         * test/etags/ETAGS.good_4:
6581         * test/etags/ETAGS.good_5:
6582         * test/etags/CTAGS.good: Adapt the expected test results to the
6583         changed Perl functionality.
6585 2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>
6587         Indent methods with keyword names correctly
6589         * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6590         Rename to ruby-smie--before-method-name.  Now also check if we're
6591         after a 'def' keyword.  Update both callers.
6593 2016-03-10  Dmitry Gutov  <dgutov@yandex.ru>
6595         Propertize character literals and special global variables differently
6597         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
6598         character literals and global variables with special names with
6599         prefix and symbol syntax classes, for SMIE to tokenize them
6600         together automatically.
6601         (ruby-font-lock-keywords): Fix an old regression in highlighting
6602         character literals.
6604 2016-03-09  John Wiegley  <johnw@newartisans.com>
6606         Change how /etc/NEWS presents character folding
6608         * NEWS: Note that character folding is no longer the default.
6610 2016-03-09  John Wiegley  <johnw@newartisans.com>
6612         Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""
6614         This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
6616 2016-03-09  Andreas Schwab  <schwab@linux-m68k.org>
6618         Properly handle lambda as read function (bug 22961)
6620         * src/lread.c (readchar): Be more strict about checking for
6621         string in cons for read_vector.
6622         (unreadchar): Likewise.
6624 2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>
6626         Propertize operator symbol names with symbol syntax class
6628         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
6629         Do it here.
6630         (ruby-font-lock-keywords): Instead of handling them here.  Leave
6631         highlighting them to the "normal" matcher, because now we can.
6632         (ruby-smie--forward-token, ruby-smie--backward-token):
6633         Likewise, don't special-case operator symbols anymore.
6634         (ruby-smie--args-separator-p): Simplify the regexp, match operator
6635         names with \s_.
6636         (ruby-smie--implicit-semi-p): Handle the special cases of ? and =
6637         at EOL the same way: check if the character has been assigned the
6638         symbol syntax class by syntax-propertize.
6640 2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>
6642         Stop recognizing :#{} as symbol in ruby-mode
6644         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
6645         the weird part that recognized colon followed by interpolation
6646         construct without quotes (e.g. ':#{abc}') as symbol, which is just a
6647         syntax error in any modern version of Ruby.  Fix nearby bug reference.
6649 2016-03-09  Dmitry Gutov  <dgutov@yandex.ru>
6651         Allow using the left shift operator without spaces on both sides
6653         * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
6654         ruby-verify-heredoc, reverse the meaning of the return value, and
6655         short-circuit if preceded by a symbol not separated by whitespace.
6657         * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
6658         (ruby-no-heredoc-class-self): New tests.
6660 2016-03-08  Andreas Schwab  <schwab@linux-m68k.org>
6662         Properly handle unquoting in wdired (bug 22938)
6664         The recorded old names are not quoted, don't unquote them.
6666         * lisp/wdired.el (wdired-normalize-filename): Add argument
6667         unquotep, only unquote if non-nil.
6668         (wdired-get-filename): Don't unquote the old file name.
6669         (wdired-get-previous-link): Always unquote.
6671 2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>
6673         Allow splat operator before percent literal
6675         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
6676         Allow splat operator before percent literal.
6678 2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>
6680         Don't apply the return value of goto-char as syntax class
6682         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
6683         apply the return value of goto-char as syntax class.
6685 2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>
6687         Guard against nested percent literals
6689         * lisp/progmodes/ruby-mode.el
6690         (ruby-syntax-propertize-percent-literal):
6691         Don't check the syntax status.
6692         (ruby-syntax-propertize): Check it here.  And also guard against
6693         being in a larger percent literal.
6695         * test/automated/ruby-mode-tests.el
6696         (ruby-no-nested-percent-literals): New test.
6698 2016-03-06  Dmitry Gutov  <dgutov@yandex.ru>
6700         Recognize iuwu-mod after an escaped newline
6702         * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
6703         newline is escaped.
6704         (ruby-smie-rules): Indent iuwu-mod after an escaped newline
6705         correctly.
6707 2016-03-06  Andreas Schwab  <schwab@linux-m68k.org>
6709         Fix symbolic mode string conversion for s and t
6711         * lisp/files.el (file-modes-char-to-right): Fix values for ?s and
6712         ?t.
6713         (file-modes-symbolic-to-number): Default to a for ts permissions.
6715 2016-03-06  Eli Zaretskii  <eliz@gnu.org>
6717         Update 'ucs-names' database
6719         * lisp/international/mule-cmds.el (ucs-names): Update used and
6720         unused ranges from the latest UnicodeData.txt.
6722 2016-03-06  Eli Zaretskii  <eliz@gnu.org>
6724         Improve doc string of 'shell-command'
6726         * lisp/simple.el (shell-command): Mention that COMMAND is prompted
6727         for.  (Bug#22926)
6729 2016-03-06  Eli Zaretskii  <eliz@gnu.org>
6731         Make the code in movemail_strftime more general
6733         * lib-src/movemail.c (movemail_strftime): Transform the format
6734         string passed by the caller instead of using a separate format
6735         string.
6737 2016-03-06  Eli Zaretskii  <eliz@gnu.org>
6739         Speed up redisplay of binary files with long series of nulls
6741         * src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
6742         for a character needed for resolving the type of a series of BN
6743         and ET characters, as required by rule W5 of UAX#9, if the results
6744         of the resolution are known in advance, because we are at level
6745         zero, and the previous strong character was L.
6746         (bidi_resolve_neutral): Partially resurrect the optimization for a
6747         long series of control characters in an otherwise strictly L2R
6748         text.
6749         (bidi_level_of_next_char): Don't enter the loop that searches for
6750         a paragraph separator if the current character is already at base
6751         embedding level.  (Bug#22739)
6753 2016-03-05  Dmitry Gutov  <dgutov@yandex.ru>
6755         Remove the highlighting support for quoting 'like this' inside Lisp docstrings
6757         Remove the highlighting support for quoting 'like this' inside
6758         Lisp docstrings.  This part of
6759         c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
6760         unintentional, considering substitute-command-keys gives wrong
6761         output for such usage.
6762         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
6763         (lisp-cl-font-lock-keywords-2): Do not highlight text between two
6764         straight quotes as symbol.
6766 2016-03-05  Paul Eggert  <eggert@cs.ucla.edu>
6768         Restore leading space in movemail pop output
6770         * lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
6771         (strftime) [WINDOWSNT]: New macro.
6772         (mbx_delimit_begin): Go back to previous version of this code,
6773         now that there’s a special-purpose WINDOWSNT implementation
6774         that should do the right thing.  That way, the output continues
6775         to use leading space rather than leading zero for day of month.
6777 2016-03-05  Eli Zaretskii  <eliz@gnu.org>
6779         Fix bidi-paragraph-direction in Rmail view buffer
6781         * lisp/mail/rmail.el (rmail-show-message-1): Reset
6782         bidi-paragraph-direction to nil before formatting the message for
6783         display.
6785 2016-03-05  Dmitry Gutov  <dgutov@yandex.ru>
6787         Don't misindent computed property generator methods
6789         * lisp/progmodes/js.el (js--looking-at-operator-p):
6790         Don't misindent computed property generator methods
6791         (https://github.com/mooz/js2-mode/issues/317).
6793 2016-03-05  Eli Zaretskii  <eliz@gnu.org>
6795         Fix mbox files produced by movemail on MS-Windows
6797         * lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
6798         format specifiers, as at least the MS-Windows version of strftime
6799         doesn't support %e and %T.
6801 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
6803         doc string file descriptor exhaustion fix
6805         * src/doc.c (get_doc_string): Move newly-added check to a better
6806         location (Bug#22814).
6808 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
6810         Fix Bug#22814
6812         * src/doc.c (get_doc_string): Raise an error in case too many
6813         files are open.  (Bug#22814)
6815 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
6817         Fix insertion of edited servers in the dribble file
6819         * lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
6820         insert explicit newlines, because they're quoted (bug#22903).
6822         Backport:
6824         (cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)
6826 2016-03-04  Martin Rudalics  <rudalics@gmx.at>
6828         Fix previous fix of enlarge-/shrink-window
6830         * lisp/window.el (enlarge-window, shrink-window): Consistently
6831         signal user-error instead of error.  Resize minibuffer window by
6832         delta lines instead of pixels.  When a window cannot be resized,
6833         signal an error only when this function was invoked by a command
6834         in the enlarge-/shrink-window group (this restores the behavior
6835         before the fix of bug#22723 for the non-interactive case).
6837 2016-03-03  Artur Malabarba  <bruce.connor.am@gmail.com>
6839         * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
6841 2016-03-03  Mark Oteiza  <mvoteiza@udel.edu>
6843         Complete temperature units in calc-convert-temperature
6845         * lisp/calc/calc-units.el (calc-convert-temperature): Complete with
6846         temperature units in math-standard-units.
6848 2016-03-02  Dmitry Gutov  <dgutov@yandex.ru>
6850         Make sure to use case-sensitive search
6852         * lisp/progmodes/xref.el (xref-collect-references): Make sure to
6853         use case-sensitive search.
6855 2016-03-02  Ulf Jasper  <ulf.jasper@web.de>
6857         Prevent infinite loop on not-well-formed xml. (Bug#16344)
6859         * lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344)
6860         * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
6861           test cases for Bug#16344.
6863 2016-03-02  Alan Third  <alan@idiocy.org>
6865         Add the missing test case for the previous patch
6867         lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
6868         any processing.
6869         lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
6870         DABBREV--SUBSTITUTE-EXPANSION.
6871         test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
6873 2016-03-02  Alan Third  <alan@idiocy.org>
6875         Use the correct dabbrev expansion
6877         lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
6878         any processing.
6879         lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
6880         DABBREV--SUBSTITUTE-EXPANSION.
6881         test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
6883 2016-03-02  Nicolas Petton  <nicolas@petton.fr>
6885         Bump version to 25.0.92
6887         * README:
6888         * configure.ac:
6889         * msdos/sed2v2.inp: Bump version to 25.0.92.
6891 2016-03-02  Nicolas Petton  <nicolas@petton.fr>
6893         * etc/AUTHORS: Update the AUTHORS file
6895 2016-03-02  Nicolas Petton  <nicolas@petton.fr>
6897         authors.el updates
6899         * admin/authors.el (authors-ignored-files): Addition.
6901 2016-03-02  Michael Albinus  <michael.albinus@gmx.de>
6903         Fix Bug#22859
6905         * lisp/filenotify.el (file-notify-callback): Return a `deleted'
6906         event in case of kqueue and file1 is nil.  (Bug#22859)
6908 2016-03-01  Eli Zaretskii  <eliz@gnu.org>
6910         Fix reordering of bidi text in an isolate inside an override
6912         * src/bidi.c (bidi_resolve_explicit): Override the orig_type value
6913         of FSI with either LRI or RLI, as determined by the first strong
6914         directional character in the isolate.  This prevents failure to
6915         isolate when the FSI...PDI text is inside a directional override.
6916         (Bug#22786)
6918 2016-03-01  Alan Mackenzie  <acm@muc.de>
6920         Document c-guess-basic-syntax in the CC Mode manual.
6922         * doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
6923         pxrefs to Custom Line-Up and Other Indentation.
6924         (Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
6925         Syntactic Analysis.
6927 2016-03-01  Michael Albinus  <michael.albinus@gmx.de>
6929         Fix targets in test/automated/Makefile.in
6931         * test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
6932         empty target and target all.
6934 2016-03-01  Leo Liu  <sdl.web@gmail.com>
6936         Comment on last change to define-derived-mode
6938         * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
6940 2016-03-01  Lars Ingebrigtsen  <larsi@gnus.org>
6942         Allow binding `url-mime-accept-string'
6944         * lisp/url/url-http.el (url-http): Allow binding
6945         `url-mime-accept-string' (bug#22855).
6947         Backport:
6949         (cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)
6951 2016-03-01  Lars Ingebrigtsen  <larsi@gnus.org>
6953         Also allow setting the paragraph direction to nil
6955         * lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
6956         setting the paragraph direction to nil ("auto").
6958 2016-02-29  Anders Lindgren  <andlind@gmail.com>
6960         Made the new OS X visible bell more visible.
6962         * src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
6963           "caution" image five times, as the image in its original size
6964           was hard to see.
6966 2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>
6968         Use the correct background color when filling nested <divs>
6970         * lisp/net/shr.el (shr-face-background): Return the first
6971         background, because that's the one that's visible (bug#22680).
6973         Backport:
6975         (cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)
6977 2016-02-29  Lars Ingebrigtsen  <larsi@gnus.org>
6979         Make <div> in <li> not insert extra newlines
6981         * lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
6982         extra newlines (bug#19587).
6984         Backport:
6986         (cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)
6988 2016-02-29  Dmitry Gutov  <dgutov@yandex.ru>
6990         Uncomment the next-error-function integration in xref
6992         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
6993         Uncomment the next-error-function integration
6994         (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
6996 2016-02-29  Dmitry Gutov  <dgutov@yandex.ru>
6998         Remove the word "valid", to avoid ambiguity
7000         * doc/emacs/maintaining.texi (Identifier Search)
7001         (Looking Up Identifiers): Remove the word "valid" (bug#22692).
7003 2016-02-28  Michael Albinus  <michael.albinus@gmx.de>
7005         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
7007 2016-02-28  Michael Albinus  <michael.albinus@gmx.de>
7009         Set auto-revert-use-notify to nil in global-auto-revert-mode.  (Bug#22814)
7011         * etc/NEWS:
7012         * etc/PROBLEMS: Mention this.
7014         * lisp/autorevert.el (global-auto-revert-mode): Set
7015         `auto-revert-use-notify' to nil.  (Bug#22814)
7017 2016-02-28  Paul Eggert  <eggert@cs.ucla.edu>
7019         * etc/TODO: Minor quoting and grammar fixes.
7021 2016-02-28  Friedrich Beckmann  <friedrich.beckmann@gmx.de>  (tiny change)
7023         Fix ModelSim error parsing
7025         * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
7026         ModelSim error parsing (bug#5768).
7028 2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>
7030         Make parse-time-string-chars faster
7032         * lisp/calendar/parse-time.el (parse-time-string-chars): Clean
7033         up the code (backport:).
7035 2016-02-28  Lars Ingebrigtsen  <larsi@gnus.org>
7037         Add a eww command to toggle paragraph direction
7039         * lisp/net/eww.el (eww-toggle-paragraph-direction): New
7040         command and keystroke.
7042         * doc/misc/eww.texi (Advanced): Mention the `D' command.
7044 2016-02-27  Glenn Morris  <rgm@gnu.org>
7046         * nextstep/WISHLIST: Merge into etc/TODO and remove.
7048         * etc/TODO: Merge in items from nextstep/WISHLIST.
7049         * nextstep/README: Update for this change.
7051 2016-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7053         Fix char signedness issue in bidi code
7055         * src/dispextern.h (struct bidi_t): Change type of resolved_level
7056         and isolate_level to signed char.  (Bug#22830)
7058 2016-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7060         * lib-src/pop.c (socket_connection): Fix format string.
7062 2016-02-27  Eli Zaretskii  <eliz@gnu.org>
7064         Avoid inflooping in thing-at-point-looking-at
7066         * lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
7067         with regular expressions whose matching doesn't move point.
7068         (Bug#22756)
7069         Describe the argument DISTANCE in the doc string.
7071 2016-02-27  Leo Liu  <sdl.web@gmail.com>
7073         * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.
7075 2016-02-26  Michael Albinus  <michael.albinus@gmx.de>
7077         etc/PROBLEMS: Mention problems with using file descriptors
7079         * etc/PROBLEMS: Mention problems with using file descriptors
7080         of kqueue file notification library.
7082 2016-02-26  Kaushal Modi  <kaushal.modi@gmail.com>
7084         * lisp/apropos.el (apropos-variable): Doc fix.  (Bug#22813).
7086 2016-02-25  Eli Zaretskii  <eliz@gnu.org>
7088         Remove unneeded workaround in xftfont.c
7090         * src/xftfont.c (xftfont_open): Remove "dirty workaround" for
7091         XftTextExtents8 behavior, as it is no longer needed.  Suggested by
7092         Fangwen Yu <yynyygy@gmail.com>.  (Bug#22383)
7094 2016-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7096         * lisp/saveplace.el (save-place-local-mode): New minor mode
7098         (toggle-save-place): Define as obsolete alias.
7099         (save-place--setup-hooks): New function.
7100         (save-place-mode): Use it.
7102 2016-02-25  Eli Zaretskii  <eliz@gnu.org>
7104         Fix redisplay on a TTY after 'make-frame'
7106         * src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
7107         garbaged TTY frame if it is not the selected frame.  (Bug#22794)
7109 2016-02-25  Alan Mackenzie  <acm@muc.de>
7111         Make double-click-1 work with unbalanced parens in CC Mode.  Fixes bug#5560.
7113         * lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
7114         `syntax-after' to ensure syntax-table text properties are respected.
7116 2016-02-25  Magnus Henoch  <magnus.henoch@gmail.com>
7118         Input method polish-slash should not use keyboard translation
7120         * lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
7121         polish-slash should not use keyboard translation (bug#19081).
7123 2016-02-25  Chris Feng  <chris.w.feng@gmail.com>
7125         Fix an assertion
7127         * src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
7128         implies start == 0) separately.
7130 2016-02-24  Eli Zaretskii  <eliz@gnu.org>
7132         Fix 'toggle-save-place'
7134         * lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
7135         support save-place in the buffer.  Autoload the command.
7137 2016-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7139         * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)
7141         * src/keyboard.c (read_key_sequence): Don't inadvertently set
7142         immediate_echo when we don't want any echo-keystrokes.
7143         (echo_keystrokes_p): Move earlier.
7145 2016-02-24  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
7147         Minor fixes in calculator.el
7149         * lisp/calculator.el (calculator-mode-map): Bind `E' for
7150         `calculator-exp'.
7151         (calculator-last-input): Fix a bug with pressing F1.
7152         (Bug#20764)
7154 2016-02-24  Anders Lindgren  <andlind@gmail.com>
7156         Update HISTORY section in readme for the NextStep interface.
7158         * nextstep/README: Update HISTORY after suggestion
7159         from former maintainer Adrian Robert.
7161 2016-02-24  Eli Zaretskii  <eliz@gnu.org>
7163         Improve documentation of 'save-place-mode'
7165         * lisp/saveplace.el (toggle-save-place): Update the doc string wrt
7166         turning on 'save-place-mode' globally.
7168         * etc/NEWS: Mention the need to call 'save-place-mode' for turning
7169         on the mode in all buffers.
7171 2016-02-24  Chris Feng  <chris.w.feng@gmail.com>  (tiny change)
7173         Allocate glyph matrices for the initial frame
7175         * src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).
7177         * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.
7179 2016-02-24  Lars Ingebrigtsen  <larsi@gnus.org>
7181         Fix white space in last checkin
7183 2016-02-24  Dima Kogan  <gnuplot@dima.secretsauce.net>
7185         Make `insert-pair' always leave the cursor where documented
7187         * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
7188         insert-pair states that after insertion, the point ends up
7189         after the opening character. This was not true if the pair was
7190         inserted to surround a region (bug#16949).
7192 2016-02-24  Kaushal Modi  <kaushal.modi@gmail.com>
7194         etc/NEWS: Mention the new second parameter to `package-install'
7196         * etc/NEWS: Mention the new second parameter to
7197         `package-install' (bug#22784).
7199 2016-02-24  John F. Trudeau  <JFTrudeau@aetna.com>  (tiny change)
7201         Highlight assignments in Makefiles more correctly
7203         * lisp/progmodes/make-mode.el (makefile-macroassign-regex):
7204         Highlight assignments preceded by a TAB character correctly
7205         (bug#20787).
7208         Backport:
7210         (cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)
7212 2016-02-23  Eli Zaretskii  <eliz@gnu.org>
7214         Improve documentation of focus-related hooks
7216         * doc/lispref/commands.texi (Focus Events): Mention focus-related
7217         hooks.  (Bug#21728)
7219 2016-02-23  Eli Zaretskii  <eliz@gnu.org>
7221         Further improve doc string of 'disable-point-adjustment'
7223         * src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
7224         <global-disable-point-adjustment>: Clarify doc strings.  (Bug#22771)
7226 2016-02-23  Michael Albinus  <michael.albinus@gmx.de>
7228         Further adaptions in file-notify-tests.el for w32notify
7230         * test/automated/file-notify-tests.el
7231         (file-notify--test-read-event-timeout, file-notify--test-timeout):
7232         Decrease values.
7233         (file-notify-test03-autorevert)
7234         (file-notify-test04-file-validity)
7235         (file-notify-test05-dir-validity): Run tests also for w32notify.
7236         (file-notify-test08-watched-file-in-watched-dir):
7237         Adapt expected events for w32notify.
7239 2016-02-23  Jan Tatarik  <jan.tatarik@gmail.com>
7241         Don't bug out on localised dates in gnus-icalendar
7243         * lisp/gnus/gnus-icalendar.el
7244         (gnus-icalendar-event:org-timestamp): Don't bug out on
7245         localised dates.
7247 2016-02-23  Drew Adams  <drew.adams@oracle.com>
7249         (ls-lisp-insert-directory): Make -B work
7251         * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
7252         (bug#20776).
7254         Backport:
7256         (cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
7258 2016-02-23  Vaidheeswaran C  <vaidheeswaran.chinnaraju@gmail.com>
7260         Make buttons in header lines work
7262         * lisp/help-mode.el (help-button-action): `help-xref-button' in
7263         header line doesn't work (bug#21024).
7265         Backport:
7267         (cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)
7269 2016-02-23  Christopher Wellons  <wellons@nullprogram.com>
7271         Make setf for frame-height/width work again
7273         * lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
7274         frame-height/width work again (bug#21979).
7276 2016-02-23  Łukasz Stelmach  <stlman@poczta.fm>
7278         Encode header strings before printing
7280         * lisp/ps-print.el (ps-generate-header-line): Encode the
7281         header strings to avoid problems with non-ASCII headers
7282         (bug#22611).
7284         Backport:
7286         (cherry picked from commit 3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)
7288 2016-02-23  Nicolas Richard  <youngfrog@members.fsf.org>
7290         (cl-union): Do not ignore :test argument when lists are equal.
7292         * lisp/emacs-lisp/cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.
7294         * test/automated/cl-seq-tests.el: New file (bug#22729).
7296 2016-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
7298         Add `isearch' to `basic-faces'
7300         * doc/lispref/display.texi (Basic Faces): Mention the isearch
7301         and lazy-highlight faces.
7303         * lisp/replace.el (match): Add `isearch' to the `basic-faces'
7304         group, too (bug#22760).
7306 2016-02-23  Dmitry Gutov  <dgutov@yandex.ru>
7308         Make $, : and @ "prefix characters" in ruby-mode
7310         * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
7311         syntax classes of $, : and @ to "prefix character"
7312         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
7313         (ruby-syntax-propertize): Undo that specifically for colons
7314         followed by an opening paren or bracket.
7315         (ruby-font-lock-keyword-beg-re): Include colon character.
7316         (ruby-font-lock-keywords): Adjust the constants matcher for `:'
7317         not being a symbol constituent anymore.
7319 2016-02-23  Dmitry Gutov  <dgutov@yandex.ru>
7321         Make find-tag-default-bounds more strict
7323         * lisp/subr.el (find-tag-default-bounds): Delegate to
7324         bounds-of-thing-at-point (bug#22692).
7326 2016-02-22  Michael Albinus  <michael.albinus@gmx.de>
7328         Minor fixes in filenotify.el
7330         * lisp/filenotify.el (top): Require 'cl-lib.
7331         (file-notify--rm-descriptor)
7332         (file-notify--event-watched-file): Use cl-caadr.
7333         (file-notify-callback): Handle also `ignore' events from inotify.
7335 2016-02-22  Michael Albinus  <michael.albinus@gmx.de>
7337         Additional fixes for file notification
7339         * lisp/filenotify.el (top): Require 'cl when compiling.
7340         (file-notify--event-watched-file): New defun.
7341         (file-notify--rm-descriptor, file-notify-callback):
7342         Handle case of several monitors running in parallel.
7344         * test/automated/file-notify-tests.el
7345         (file-notify--test-event-test): Simplify test.
7346         (file-notify--test-with-events): Get rid of outer definition.
7347         Check also results of tests performed in callbacks.
7348         (file-notify-test02-events): No wrapping when calling
7349         `file-notify-rm-watch'.  No special checking for callback tests.
7350         (file-notify-test07-backup): Adapt expected events for gfilenotify.
7351         (file-notify-test08-watched-file-in-watched-dir): Improve.
7353 2016-02-22  Eli Zaretskii  <eliz@gnu.org>
7355         Fix documentation of 'global-disable-point-adjustment'
7357         * src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
7358         <global-disable-point-adjustment>: Doc fixes.  (Bug#22771)
7360 2016-02-22  Daiki Ueno  <ueno@gnu.org>
7362         Set file modes of pinentry socket for extra safety
7364         * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
7365         (pinentry-start): Change the file modes of the socket file to 0700.
7366         This is just for extra safety since the parent directory is already
7367         protected with `server-ensure-safe-dir'.
7369 2016-02-22  Daiki Ueno  <ueno@gnu.org>
7371         Clarify GnuPG version compatibility chapter
7373         * doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
7374         description a bit clearer.
7376 2016-02-22  Daiki Ueno  <ueno@gnu.org>
7378         Revert "Change the default socket location for pinentry"
7380         This reverts commit e34fbdee8aca84b98393b06b2450837d175999ca.
7381         It turned out that the address is fixed in Pinentry itself.
7383 2016-02-21  Dmitry Gutov  <dgutov@yandex.ru>
7385         Kill off xref--display-history
7387         Now that the core workflow keeps the xref window visible, there's
7388         less value in storing this history.  And it never was
7389         comprehensive enough to undo scrolling changes.
7390         * lisp/progmodes/xref.el (xref--display-history)
7391         (xref--save-to-history, xref-quit): Remove.
7392         (xref--show-pos-in-buf): Update accordingly.
7393         (xref--xref-buffer-mode-map): Remove xref-quit binding.
7395 2016-02-21  Dmitry Gutov  <dgutov@yandex.ru>
7397         Keep the xref buffer visible until the user quits it explicitly
7399         * lisp/progmodes/xref.el (xref--pop-to-location):
7400         Rename WINDOW argument to ACTION.
7401         (xref--with-dedicated-window): New macro.
7402         (xref--show-pos-in-buf): Rename from `xref--display-position'.
7403         Add and handle new argument, SELECTED.  Use the above macro.
7404         (xref--show-location): Add SELECTED argument.
7405         (xref-show-location-at-point): Make an effort to avoid the
7406         original window when showing the location.
7407         (xref-goto-xref): Don't quit the xref window (bug#20487 and
7408         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html).
7409         (xref--query-replace-1): Use xref--with-dedicated-window as well.
7410         (xref--next-error-function): Call xref--show-location instead of
7411         xref--pop-to-location.
7412         (xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
7413         Only pass that value to xref--pop-to-location.  Pass the current
7414         selected window to xref-show-xrefs-function as the `window'
7415         property.
7416         (xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
7417         to DISPLAY-ACTION as well.
7419 2016-02-21  Daiki Ueno  <ueno@gnu.org>
7421         Change the default socket location for pinentry
7423         * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
7424         (pinentry--socket-dir): Change the default from /tmp/emacsXXX to
7425         ~/.emacs.d/pinentry.
7426         (pinentry-start): Change the file modes of the socket file to 0700.
7427         This is just for extra safety since the parent directory is already
7428         protected with `server-ensure-safe-dir'.
7430 2016-02-21  Daiki Ueno  <ueno@gnu.org>
7432         Mention how to enable pinentry feature
7434         * etc/NEWS: Mention "gpgconf --reload gpg-agent".
7435         * lisp/net/pinentry.el: Likewise.
7437 2016-02-21  Paul Eggert  <eggert@cs.ucla.edu>
7439         Sync with gnulib
7441         This incorporates:
7442         2016-02-10 stdalign: port to older HP and IBM cc
7443         * doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.
7445 2016-02-21  David Engster  <deng@randomsample.de>
7447         Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
7449         * lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
7450           `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
7451           not an idle hook, so it's not appropriate to call it there. It will
7452           already be called in the `semantic-idle-work-core-handler', which
7453           runs when Emacs is actually idle.
7455 2016-02-21  David Engster  <deng@randomsample.de>
7457         Restore point when writing semantic table to disk
7459         * lisp/cedet/semantic/db-file.el (object-write): Wrap call to
7460           `semantic-fetch-tags' in `save-excursion', since it might move point
7461           in current buffer. (Bug #22287)
7463 2016-02-21  Daiki Ueno  <ueno@gnu.org>
7465         Mention pinentry.el in epa manual
7467         * doc/misc/epa.texi (GnuPG version compatibility): New chapter,
7468         describing the differences between three GnuPG branches, and how
7469         to enable pinentry.el.
7470         (Caching Passphrases): Add xref to the compatibility chapter.
7472 2016-02-21  Michael Albinus  <michael.albinus@gmx.de>
7474         Fix Bug#22736
7476         * lisp/filenotify.el (file-notify-callback): Use the proper
7477         descriptor when calling the callback.  (Bug#22736)
7479         * test/automated/file-notify-tests.el
7480         (file-notify--test-event-handler): Deactivate trace.
7481         (file-notify-test08-watched-file-in-watched-dir): Bind
7482         `file-notify--test-tmpfile' temporarily in `dir-callback'.
7484 2016-02-21  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)
7486         Grammar fix in doc string
7488         * lisp/custom.el (defgroup): Grammar fix in doc string.
7490 2016-02-20  Daiki Ueno  <ueno@gnu.org>
7492         Naming fix for consistency
7494         * lisp/epg-config.el (epg-find-configuration): Rename from
7495         `epg-configuration-find' to be consistent with other epg-* functions.
7496         Change all callers.
7498 2016-02-20  Daiki Ueno  <ueno@gnu.org>
7500         Prefer customized value for GnuPG executable
7502         * lisp/epg-config.el (epg-configuration-find): Don't check GPG
7503         configuration if it is already set with custom.  (Bug#22747)
7505 2016-02-20  Eli Zaretskii  <eliz@gnu.org>
7507         Fix memory reservation on MS-Windows
7509         * src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
7510         units.  This avoids leaving gaps in reserved memory regions that
7511         no one can use, since memory reservation must produce 64KB-aligned
7512         addresses.  (Bug#22526)
7514 2016-02-20  Anders Lindgren  <andlind@gmail.com>
7516         Update NextStep readme and add wish list.
7518         * nextstep/README: Rewritten from scratch. New sections on
7519         "History", "Overview of Cocoa and Objective-C", "Guidelines",
7520         "Tracing Support", and "GNUStep". Expanded the "See Also" section.
7521         * nextstep/WISHLIST: New file containing list of issues and ideas
7522         associated with the NS port of Emacs.
7524 2016-02-20  Michael Albinus  <michael.albinus@gmx.de>
7526         Report also result in `file-notify--test-event-handler'
7528 2016-02-20  Michael Albinus  <michael.albinus@gmx.de>
7530         Improve file-notify-test08-watched-file-in-watched-dir
7532         * test/automated/file-notify-tests.el (file-notify--test-desc2):
7533         New variable.
7534         (file-notify--test-cleanup): Use it.
7535         (file-notify--test-event-handler): Enable trace.
7536         (file-notify-test08-watched-file-in-watched-dir): Tag it as
7537         :expensive-test.  Rewrite callbacks to use
7538         `file-notify--test-event-handler'.  Read events in loop.  Check
7539         `file-notify--test-results'.
7540         (file-notify-test08-watched-file-in-watched-dir): Fix docstring.
7542 2016-02-20  Stephen Berman  <stephen.berman@gmx.net>
7544         Fix todo-mode item date editing bugs
7546         * lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
7547         range error by making sure the value of the numerical month date
7548         component cannot be nil.  Prevent wrong type error on trying to edit
7549         day number in February by making sure numerical instead of string
7550         value of the year component is passed to todo-read-date.
7551         (todo-read-date): When using the numerical month date component make
7552         sure to use `*' for an arbitrary month instead of its numerical value.
7554 2016-02-20  Eli Zaretskii  <eliz@gnu.org>
7556         Fix "[:upper:]" for non-ASCII characters
7558         * src/regex.c (re_match_2_internal): Support [:upper:] and
7559         [:lower:] for non-ASCII characters.  (Bug#18150)
7561 2016-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
7563         Allow customising the article mode cursor behavior
7565         * doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
7567         * lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
7568         (gnus-article-mode): Use it.
7570 2016-02-20  Ari Roponen  <ari.roponen@gmail.com>
7572         Use pop-to-buffer-same-window in woman.el
7574         * lisp/woman.el (woman-really-find-file): Work around going to
7575         the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
7576         (WoMan-find-buffer): Ditto.
7578 2016-02-20  Tassilo Horn  <tsdh@gnu.org>
7580         New filenotify test for bug#22736
7582         * test/automated/file-notify-tests.el
7583         (file-notify-test08-watched-file-in-watched-dir):
7584         (file-notify--test-desc1): New filenotify test for bug#22736
7586 2016-02-20  Marcin Borkowski  <mbork@mbork.pl>
7588         Report critical battery errors
7590         * lisp/battery.el (battery-pmset): Report critical battery
7591         errors (bug#18157).
7593 2016-02-19  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)
7595         Make eww message toggling message clearer
7597         * lisp/net/eww.el (eww-toggle-fonts): Make the message
7598         clearer.
7600 2016-02-19  Mark Oteiza  <mvoteiza@udel.edu>
7602         * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
7604 2016-02-18  Martin Rudalics  <rudalics@gmx.at>
7606         Fix bugs in window resizing code
7608         * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
7609         parenthesis.
7610         (shrink-window, enlarge-window): Fix bug#22723 where windows
7611         with preserved size would not get resized.  Also now signal an
7612         error when the window cannot be shrunk or enlarged as requested.
7614 2016-02-17  Eli Zaretskii  <eliz@gnu.org>
7616         Fix decoding DOS EOL in a unibyte buffer
7618         * src/coding.c (decode_eol): Loop over bytes, not characters.
7619         (Bug#5251)
7621 2016-02-17  Alan Mackenzie  <acm@muc.de>
7623         Correct c-parse-state cache manipulation error.
7625         * lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
7626         comparison bound.  Amend comments.
7628 2016-02-17  Daiki Ueno  <ueno@gnu.org>
7630         Take advantage of new GnuPG version check function
7632         * lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
7633         (package-refresh-contents): Use `epg-configuration-find' to check if EPG
7634         is usable.
7636 2016-02-17  Daiki Ueno  <ueno@gnu.org>
7638         Make GnuPG version check robuster
7640         We changed the default gpg program to "gpg2" from "gpg" in the commit
7641         f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1.  However, there are two
7642         maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
7643         series.  Check the actual version of "gpg2" at run time, and properly
7644         divert to "gpg" if necessary.
7645         * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
7646         (epg-config--program-alist): New variable.
7647         (epg--configurations): New variable.
7648         (epg-configuration-find): New function.
7649         (epg-config--make-gpg-configuration): New function.
7650         (epg-config--make-gpgsm-configuration): New function.
7651         (epg-configuration): Mark as obsolete.
7652         * lisp/epg.el (epg-context): Use `epg-configuration-find'.
7654 2016-02-17  Paul Eggert  <eggert@cs.ucla.edu>
7656         Fix x-load-color-file pointer signedness
7658         * src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
7659         For sscanf and int *, use %d, not %u.
7660         Problem found on Ubuntu 15.10 x32, which lacks X support.
7662 2016-02-17  Paul Eggert  <eggert@cs.ucla.edu>
7664         * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
7666 2016-02-16  Mark Oteiza  <mvoteiza@udel.edu>
7668         Follow convention for greek letter constants.
7670         * lisp/calc/calc-units.el (math-standard-units):
7671         Add "sigma" and alias σ to it.
7673 2016-02-16  Mark Oteiza  <mvoteiza@udel.edu>
7675         Add Stefan-Boltzmann constant to calc units table.
7677         * lisp/calc/calc-units.el (math-standard-units):
7678         Add Stefan-Boltzmann constant.
7680 2016-02-16  Mark Oteiza  <mvoteiza@udel.edu>
7682         * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
7684 2016-02-16  Glenn Morris  <rgm@gnu.org>
7686         Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw.  (Bug#22669)
7688         * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
7689         Prefill with relevant elements for term/xterm.
7691 2016-02-16  Tassilo Horn  <tsdh@gnu.org>
7693         Fix soffice UserInstallation-URL for Windows
7695         * lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
7696         UserInstallation-URL when calling soffice on Windows.
7698 2016-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
7700         Fix display of <pre> elements
7702         * lisp/net/eww.el (eww-display-html): Remove CRLF before
7703         parsing so that <pre> elements don't render with ^M at the end
7704         of the lines.
7706 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
7708         Minor fixes in global-auto-composition-mode
7710         * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7711         Produce prettier names of globalized minor modes.
7712         * lisp/composite.el (global-auto-composition-mode): Make it a
7713         globalized mode.  (Bug#22682)
7715 2016-02-15  Alan Mackenzie  <acm@muc.de>
7717         Allow arithmetic operators inside C++ template constructs.
7719         Fixes debbugs #22486.  This corrects the previous patch with this message
7720         which was empty.
7722         * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
7723         variable.
7724         (c-<>-notable-chars-re): New language variable.
7726         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
7727         c-<>-notable-chars-re in place of the former fixed string in searching for
7728         places to stop and examine.
7729         Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
7730         multichar operator in place of the former c->-op-without->-cont-regexp.
7731         Add code to skip forwards over a balanced parenthesized expression.
7733 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
7735         Avoid crashes in semi-malformed 'condition-case'
7737         * src/eval.c (internal_lisp_condition_case): Treat a handler
7738         '(nil)' as if it were '(nil nil)'.  (Bug#22675)
7740 2016-02-15  Alan Mackenzie  <acm@muc.de>
7742         Allow arithmetic operators inside C++ template constructs.
7744         Fixes debbugs #22486.
7746         * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
7747         variable.
7748         (c-<>-notable-chars-re): New language variable.
7750         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
7751         c-<>-notable-chars-re in place of the former fixed string in searching for
7752         places to stop and examine.
7753         Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
7754         multichar operator in place of the former c->-op-without->-cont-regexp.
7755         Add code to skip forwards over a balanced parenthesized expression.
7757 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
7759         Fix regression with 'recent-keys' and keyboard macros
7761         * src/keyboard.c (record_char): Don't record in 'recent_keys'
7762         events that come from executing keyboard macros.  (Bug#22674)
7764 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
7766         Fix wording in a doc-view.el comment
7768         * lisp/doc-view.el (doc-view--current-cache-dir): Don't use
7769         "illegal" for something that is not against the law.
7771 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
7773         CONTRIBUTE cleanups and updates
7775         * CONTRIBUTE: Mention URLs and info nodes more consistently,
7776         avoiding possibly-confusing punctuation adjacent to a URL, and
7777         giving full shell commands for 'info'.  Start with a brief but
7778         complete how-to, for people who want to get started right away.
7779         Then briefly discuss how to join the development process in the
7780         typical order.  Omit needless words.  Update some of the
7781         now-obsolete file names, info node names, and quoting styles.
7782         Better document emacs-NN branches and how they are merged.
7783         * admin/notes/git-workflow: Change emacs-24 to emacs-25,
7784         and trunk to master.  This file still needs work.
7786 2016-02-14  Paul Eggert  <eggert@cs.ucla.edu>
7788         Port USE_STACK_LISP_OBJECTS fix to Clang
7790         * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
7791         Recent versions of Clang claim to be GCC 4.2.1 but do not have
7792         the GCC bug.
7794 2016-02-14  Paul Eggert  <eggert@cs.ucla.edu>
7796         Port to x86 GCC 4.3.1 and earlier
7798         This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
7799         * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
7800         for GCC 4.3.1 and earlier.
7802 2016-02-14  Eli Zaretskii  <eliz@gnu.org>
7804         Fix point movement under 'scroll-conservatively'
7806         * src/xdisp.c (redisplay_window): Correct a typo in computing the
7807         effective number of text lines in a window.  (Bug#22637)
7809 2016-02-14  Thomas Plass  <thomas.plass@arcor.de>
7811         Replace colon in file name (not legal on Windows)
7813         * lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
7814         name (not legal on Windows). [tiny change]
7816 2016-02-14  Eli Zaretskii  <eliz@gnu.org>
7818         Fix a typo in edt.texi
7820         * doc/misc/edt.texi: Fix a typo in an email address.  Reported by
7821         "Herbert J. Skuhra" <herbert@mailbox.org>.
7823 2016-02-14  Eli Zaretskii  <eliz@gnu.org>
7825         Make 'mmap_realloc' on MS-Windows more reliable
7827         * src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
7828         committing fails, return NULL.  Don't call GetLastError twice for
7829         the same API error.
7830         (mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
7831         before calling VirtualQuery, to avoid using garbled values if the
7832         call fails.  If committing more pages from the same block fails,
7833         fall back on mmap_alloc + CopyMemory.  Enhance debugging printouts
7834         if the call to VirtualAlloc to commit more pages fails.
7835         (Bug#22526)
7837 2016-02-14  Oscar Fuentes  <ofv@wanadoo.es>
7839         Grep alias `all' shall not match parent directory
7841         * lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
7842           directory for `all'. Fixes bug#22577
7844 2016-02-13  Nicolas Petton  <nicolas@petton.fr>
7846         Bump version to 25.0.91
7848         * README:
7849         * configure.ac:
7850         * msdos/sed2v2.inp: Bump version to 25.0.91.
7852 2016-02-13  Nicolas Petton  <nicolas@petton.fr>
7854         * etc/AUTHORS: Update the AUTHORS file
7856 2016-02-13  Glenn Morris  <rgm@gnu.org>
7858         * lisp/dired-aux.el: Require cl-lib.  (Bug#22613)
7860 2016-02-13  Eli Zaretskii  <eliz@gnu.org>
7862         Index tilde characters in names of backup files
7864         * doc/emacs/files.texi (Backup Names): Improve indexing.
7865         (Bug#22625)
7867 2016-02-13  Eli Zaretskii  <eliz@gnu.org>
7869         Document deprecation of hi-lock-mode's 'C-x w' bindings
7871         * doc/emacs/display.texi (Highlight Interactively): Deprecate the
7872         "C-x w" bindings of hi-lock-mode.
7874         * etc/NEWS: Mark the deprecation entry as documented.
7876 2016-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         Announce that the `C-x w' bindings are deprecated
7880 2016-02-13  Paul Eggert  <eggert@cs.ucla.edu>
7882         Suppress GNUstep hardening
7884         Fedora 23 normally hardens GNUstep applications, which causes
7885         ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
7886         Fix this by eliding the hardening options (Bug#22518).
7887         * src/Makefile.in (LIBS_GNUSTEP): Omit options like
7888         ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
7889         (GNU_OBJC_CFLAGS): Omit options like
7890         ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
7892 2016-02-12  Eli Zaretskii  <eliz@gnu.org>
7894         Fix redisplay after a large insertion
7896         * src/xdisp.c (redisplay_internal): Don't accept the results of
7897         "optimization 3" if the cursor ends up in a partially visible
7898         glyph row.  (Bug22637)
7900 2016-02-12  Andreas Schwab  <schwab@linux-m68k.org>
7902         Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
7904         This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
7906                 * lisp/gnus/nnimap.el (nnimap-change-group): Revert last
7907                 change.  (Bug#22634)
7909 2016-02-11  Paul Eggert  <eggert@cs.ucla.edu>
7911         * lib-src/make-docfile.c: Include stdarg.h.
7913 2016-02-11  Alan Mackenzie  <acm@muc.de>
7915         Extend gpm-mouse-mode's doc string and doc to point out limitations.
7917         * lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
7918         inability to transfer text between Emacs and other programs which use GPM.
7920         * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
7921         between Emacs and other progrmas which use GPM.
7923 2016-02-11  Eli Zaretskii  <eliz@gnu.org>
7925         Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"
7927         * lisp/isearch.el: Turn char-folding back oon by default.
7929         This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.
7931 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
7933         Revert "Support integer image rotation and respect EXIF rotations"
7935         This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.
7937         This change does not work on Fedora.
7939 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
7941         Revert "Document EXIF image rotation"
7943         This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.
7945         This change does not work on Fedora, for instance.
7947 2016-02-11  Paul Eggert  <eggert@cs.ucla.edu>
7949         Document OS X LANG default
7951         * doc/emacs/cmdargs.texi (General Variables):
7952         Document OS X Language and Region system preference.
7953         Suggested by Alan Third.
7955 2016-02-11  Alan Third  <alan@idiocy.org>
7957         Set locale when run from OS X GUI
7959         * src/emacs.c (main): Call ns_init_locale.
7960         * src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
7961         * src/nsterm.h: Include ns_init_locale.
7963 2016-02-10  Paul Eggert  <eggert@cs.ucla.edu>
7965         make-docfile cleanup for I/O, etc.
7967         * lib-src/make-docfile.c (progname, generate_globals, num_globals)
7968         (num_globals_allocated, globals): Now static.
7969         (generate_globals, struct rcsoc_state, read_c_string_or_comment):
7970         (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
7971         Use bool for boolean.
7972         (verror): New function.
7973         (fatal, error): Use it.  API is now like printf.  All callers changed.
7974         (main): Remove err_count local that was always 0.
7975         (main, scan_c_stream, scan_lisp_file): Check for I/O error.
7976         (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
7977         Return void, not 0.
7978         (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
7979         (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
7980         (close_emacs_globals): Use ptrdiff_t for index, not int.
7981         (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
7982         opened, rather than diagnosing but exiting with status 0.
7983         (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
7984         portable now.
7986 2016-02-10  Paul Eggert  <eggert@cs.ucla.edu>
7988         Memory-management cleanup in make-docfile
7990         I compiled it with -fsanitize=address and fixed the leaks it detected.
7991         Also, I changed it to prefer signed to unsigned integer types,
7992         and to check for integer overflow.
7993         * lib-src/make-docfile.c:
7994         Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
7995         (memory_exhausted): New function.
7996         (xmalloc, xrealloc): Use it.
7997         (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
7998         (uncompiled, scan_lisp_file):
7999         Prefer signed integer types to unsigned.
8000         (xstrdup): Remove.  All uses removed.
8001         (num_globals, num_globals_allocated, write_globals, scan_c_stream):
8002         Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
8003         (add_global): Use const to pacify --enable-gcc-warnings.
8004         Make a copy here, rather than relying on strdup calls later.
8005         (add_global, write_globals, scan_c_stream):
8006         Avoid integer overflow when calculating sizes.
8007         (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
8008         (scan_c_stream): Check for add_global failure.
8010 2016-02-10  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
8012         Kevin Gallagher has new email address
8014         * lisp/emulation/edt.el:
8015         * lisp/emulation/edt-lk201.el:
8016         * lisp/emulation/edt-mapper.el:
8017         * lisp/emulation/edt-pc.el:
8018         * lisp/emulation/edt-vt100.el:
8019         * etc/edt-user.el:
8020         * doc/misc/edt.texi: Update Kevin Gallagher's email address.
8022 2016-02-10  Eli Zaretskii  <eliz@gnu.org>
8024         Improve doc strings of 'forward/backward-word-strictly'
8026         * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
8027         in the doc string.  Suggested by Glenn Morris <rgm@gnu.org>.
8028         * lisp/subr.el (forward-word-strictly, backward-word-strictly):
8029         Mention 'subword-mode' in the doc strings.
8031         * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
8032         in the doc string.  (Bug#22560)
8034 2016-02-10  Michael Albinus  <michael.albinus@gmx.de>
8036         Describe Makefile test targets in test/README
8038         * CONTRIBUTE: Move Makefile test targets to test/README.
8040         * Makefile.in:
8041         * test/README: Describe Makefile test targets.
8043 2016-02-10  Artur Malabarba  <bruce.connor.am@gmail.com>
8045         Backport: * lisp/isearch.el: Turn char-folding off by default
8047         (search-default-mode): Set default value to nil.
8049 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8051         Document EXIF image rotation
8053         * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
8055 2016-02-10  Dima Kogan  <dima@secretsauce.net>
8057         Support integer image rotation and respect EXIF rotations
8059         * src/image.c (imagemagick_load_image): Allow integer rotations in
8060         addition to floating point rotations (bug#22591).
8061         * src/image.c (imagemagick_load_image): Images that have an
8062         orientation given in EXIF and have no explicit :rotation tag are now
8063         pre-rotated.  All information such as width/height is reported for the
8064         rotated image.
8066 2016-02-10  Matthew Carter  <m@ahungry.com>
8068         Quote table names for postgres listings (sql-mode)
8070         * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
8071           unquoted table names to the completion list.
8073 2016-02-10  Juri Linkov  <juri@linkov.net>
8075         * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.
8077         Doc fix.
8078         (replace-search, replace-highlight): Make arg `backward' optional.
8079         (Bug#18388)
8081 2016-02-10  Juri Linkov  <juri@linkov.net>
8083         * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.
8085         (previous-line-or-history-element): Reset temporary-goal-column.
8086         Use end-of-visual-line instead of line-end-position.  (Bug#22544)
8088 2016-02-10  Paul Eggert  <eggert@cs.ucla.edu>
8090         Suppress ACL ops if configured with --disable-acl
8092         Without this patch, some ACL operations were suppressed, but not all.
8093         * src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
8094         (Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.
8096 2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>
8098         Mention web bugs
8100         * doc/misc/emacs-mime.texi (Display Customization):
8101         Mention web bugs in the mm-html-blocked-images section.
8103 2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>
8105         Make mm-html-blocked-images default to "" again
8107         * lisp/gnus/mm-decode.el (mm-html-blocked-images):
8108         Default to "" that blocks all external images.
8110         * doc/misc/emacs-mime.texi (Display Customization):
8111         Mention that mm-html-blocked-images defaults to "".
8113 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8115         Minor alignas cleanup
8117         * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
8118         over from the old way of doing things, before Bug#20862 was fixed.
8120 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8122         Add lmalloc commentary and tweak laligned
8124         * src/alloc.c (laligned): Help compiler in a tiny way by putting
8125         the more-commonly-failing disjunct first.
8127 2016-02-09  Eli Zaretskii  <eliz@gnu.org>
8129         Clarify documentation of key binding conventions
8131         * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
8132         "punctuation characters" are reserved after "C-c".  (Bug#22604)
8134 2016-02-09  Oscar Fuentes  <ofv@wanadoo.es>
8136         * etc/NEWS: mention the `vc-faces' customization group
8138 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8140         Sync with gnulib
8142         This incorporates:
8143         2016-02-09 stdalign: port to clang 3.7.0
8144         2016-02-06 misc: port better to gcc -fsanitize=address
8145         * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
8146         Copy from gnulib.
8148 2016-02-09  Michael Albinus  <michael.albinus@gmx.de>
8150         * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
8152 2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>
8154         Make mm-html-inhibit-images and mm-html-blocked-images default to nil
8156         * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
8157         (mm-html-blocked-images): Default to nil.
8159         * doc/misc/emacs-mime.texi (Display Customization): Mention that
8160         mm-html-inhibit-images and mm-html-blocked-images default to nil.
8162         * etc/NEWS (Gnus): Document mm-html-inhibit-images and
8163         mm-html-blocked-images.
8165 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8167         Increase success rate of fallback lmalloc
8169         * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
8170         larger and larger sizes, to increase the probability that
8171         the allocator will return a Lisp-aligned pointer.
8173 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8175         Make backgrounds extend to the end of the lines in shr
8177         * lisp/net/shr.el (shr-face-background): Faces can also be on
8178         the form `(:background "#fff)' (bug#22547).
8180 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8182         Make the `R' command get the correct relative <img>s
8184         * lisp/net/eww.el (eww-readable): Preserve the base URL so
8185         that image expansions are fetched from the right place (bug#22605).
8187         (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
8189         Backport:
8191 2016-02-09  Mike Kupfer  <m.kupfer@acm.org>
8193         Fix typos in emacs-mime.texi and gnus.texi
8195         * doc/misc/emacs-mime.texi (Display Customization):
8196         * doc/misc/gnus.texi (HTML): Fix typo.
8198 2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>
8200         * doc/misc/emacs-mime.texi (Display Customization):
8201         Doc fix for mm-html-inhibit-images.
8203 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8205         Fix message-cross-post-followup-to group names
8207         * lisp/gnus/message.el (message-cross-post-followup-to): Don't
8208         insert group names like "nntp+foo:zot", because those aren't valid.
8210 2016-02-09  David Edmondson  <dme@dme.org>
8212         Compare recipient and keys case-insensitively
8214         * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
8215         recipient address with that from a key, do so in a case insensitive
8216         manner (bug#22603).
8218 2016-02-08  Glenn Morris  <rgm@gnu.org>
8220         * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
8222 2016-02-08  Katsumi Yamaoka  <yamaoka@jpl.org>
8224         Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
8226         * doc/misc/emacs-mime.texi (Display Customization):
8227         Remove mm-inline-text-html-with-images; add documentations for
8228         mm-html-inhibit-images and mm-html-blocked-images.
8230         * lisp/gnus/gnus-art.el (gnus-article-show-images):
8231         No need to bind mm-inline-text-html-with-images.
8232         (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
8233         (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
8234         bind mm-html-inhibit-images and mm-html-blocked-images.
8235         (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
8236         (gnus-mm-display-part, gnus-mime-display-single)
8237         (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
8239         * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
8240         (mm-html-inhibit-images, mm-html-blocked-images): New user options.
8241         (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
8242         mm-html-inhibit-images and mm-html-blocked-images respectively
8243         instead of gnus-inhibit-images and gnus-blocked-images.
8245         * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
8246         instead of mm-inline-text-html-with-images.
8248 2016-02-08  Paul Eggert  <eggert@cs.ucla.edu>
8250         Port to FreeBSD 11-CURRENT i386
8252         Problem reported by Herbert J. Skuhra in:
8253         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
8254         Instead of trying
8255         * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
8256         (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
8257         (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
8258         (MALLOC_IS_GC_ALIGNED): New macro.
8259         * src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
8260         No longer needed now that alloc.c uses lmalloc and lrealloc.
8262 2016-02-08  Michael Albinus  <michael.albinus@gmx.de>
8264         Some fixes in file-notify-tests.el
8266         * test/automated/file-notify-tests.el
8267         (file-notify--test-with-events-check)
8268         (file-notify--test-with-events-explainer): New defuns.
8269         (file-notify--test-with-events): Use it.
8270         (file-notify-test07-backup): Fix docstring.  Some of the
8271         backends fire two `changed' events.  Backup by rename doesn't
8272         work for kqueue.
8274 2016-02-07  Michael Albinus  <michael.albinus@gmx.de>
8276         Fix Bug#22557
8278         * lisp/filenotify.el (file-notify-callback): Do not send a
8279         `stopped' event in case of backup by renaming.  (Bug#22557)
8281         * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
8282         all targets but check and check-maybe.
8284         * test/automated/file-notify-tests.el
8285         (file-notify--test-read-event-timeout): New defconst.
8286         (file-notify--deftest-remote, file-notify--wait-for-events)
8287         (file-notify-test02-events)
8288         (file-notify-test04-file-validity)
8289         (file-notify-test06-many-events): Use it.
8290         (file-notify--test-cleanup): Make it more robust.  Delete also
8291         backup file.
8292         (file-notify-test07-backup): New test.
8294 2016-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8296         Fix test for dladdr
8298         Problem reported by Andreas Schwab in:
8299         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
8300         * configure.ac (dladdr): Link with LIBMODULES when checking for
8301         this function.
8303 2016-02-07  Andreas Schwab  <schwab@linux-m68k.org>
8305         Fix gnus-group-get-new-news-this-group on group with closed server
8307         * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
8308         method and pass to nnimap-open-server.
8310 2016-02-07  Artur Malabarba  <bruce.connor.am@gmail.com>
8312         * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
8314         While tabs in code are mostly fine because the Emacs sources have a
8315         .dir-locals file specifying tab-width, the same is not true of tabs in
8316         code examples inside docstrings.  The docstring is printed on a *Help*
8317         buffer, which can be created on any directory and won't necessarily have
8318         the same tab-width set.
8320 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
8322         Don't inloop gnus-uu-mark-thread on the last thread
8324         * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
8325         final thread in the summary buffer (bug#16666).
8327 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8329         Display non-ASCII group names better in prompts
8331         * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
8332         group name, we have to do that before we remove the prefix.
8334 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8336         Default to gpg2 instead of gpg
8338         * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
8339         it exists.  This fixes many problems with using the GPG
8340         authentication agent.
8342 2016-02-06  David Edmondson  <dme@dme.org>
8344         src/process.c Correctly convert AF_INET6 addresses
8346         * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
8347         converted to a list of 16 bit quantities by
8348         conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
8349         same scheme rather than expecting a (longer) list of 8 bit
8350         quantities.
8352         Backport:
8354         (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
8356 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
8358         * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
8360 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
8362         * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
8364         (menu-bar-search-options-menu): New variable
8366 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
8368         * lisp/isearch.el (search-default-mode)
8370         (isearch-regexp-function): Improve docstrings.
8372 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
8374         * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
8376         (search-default-mode): New variable.
8377         (isearch-mode, isearch-define-mode-toggle)
8378         (isearch--describe-regexp-mode): Update accordingly.
8379         * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
8380         * etc/NEWS: Update accordingly.
8381         * doc/emacs/search.texi: Update accordingly.
8383 2016-02-06  Oscar Fuentes  <ofv@wanadoo.es>
8385         Use monitor's resolution for positioning tooltips
8387         * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
8388           the mouse pointer is to avoid placing the tooltip over the border of
8389           the monitor on multi-head displays. Fixes bug#22549.
8391 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
8393         Fix file-notify-test on MS-Windows
8395         * test/automated/file-notify-tests.el (file-notify--test-timeout):
8396         Reduce w32notify timeout to 10 sec.
8397         (file-notify-test06-many-events): Call read-event after each
8398         rename, to keep the w32notify backend happy in batch mode.
8399         (Bug#22534)
8401 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
8403         Fix issues found by auditing w32notify code
8405         * src/w32inevt.c (handle_file_notifications): Count the number of
8406         events to be returned.
8407         * src/w32notify.c (send_notifications): Don't copy to the file
8408         notification buffer more than it can hold.  (Bug#22534)
8410 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
8412         Extend etags Ruby support for accessors
8414         * lib-src/etags.c (Ruby_functions): Support accessors defined with
8415         parentheses.  (Bug#22563)
8417         * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
8418         defined with parentheses.
8419         * test/etags/ETAGS.good_1:
8420         * test/etags/ETAGS.good_2:
8421         * test/etags/ETAGS.good_3:
8422         * test/etags/ETAGS.good_4:
8423         * test/etags/ETAGS.good_5:
8424         * test/etags/ETAGS.good_6:
8425         * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
8427 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8429         Update publicsuffix.txt.
8431         * etc/publicsuffix.txt: Updated from
8432         https://publicsuffix.org/list/public_suffix_list.dat.
8434 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8436         Ensure that Gnus dribble handling allows removing entries
8438         * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
8439         entry is on a single line.
8441 2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)
8443         Be consistent when using encoded strings in nnimap data
8445         * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
8446         (nnimap-request-list): Use it.
8447         (nnimap-request-newgroups): Ditto.
8449 2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)
8451         Display the decoded Gnus group name
8453         * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
8454         decoded group name in the message.
8456 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8458         Use completion-ignore-case instead of defining command
8460         * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
8461         that we get case-insensitive completion.
8462         (erc-completion-at-point): Remove.
8464 2016-02-05  Eli Zaretskii  <eliz@gnu.org>
8466         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8468 2016-02-05  Michael Albinus  <michael.albinus@gmx.de>
8470         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
8472         Reduce the number of iterations to 250 in case of w32notify.
8474 2016-02-05  Eli Zaretskii  <eliz@gnu.org>
8476         Fix problems caused by new implementation of sub-word mode
8478         * lisp/subr.el (forward-word-strictly, backward-word-strictly):
8479         New functions.
8480         (word-move-empty-char-table): New variable.
8482         * etc/NEWS: Mention 'forward-word-strictly' and
8483         'backward-word-strictly'.
8485         * doc/lispref/positions.texi (Word Motion): Document
8486         'find-word-boundary-function-table', 'forward-word-strictly', and
8487         'backward-word-strictly'.  (Bug#22560)
8489         * src/syntax.c (syms_of_syntax)
8490         <find-word-boundary-function-table>: Doc fix.
8492         * lisp/wdired.el (wdired-xcase-word):
8493         * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
8494         (texinfo-copy-section-title, texinfo-start-menu-description)
8495         (texinfo-copy-menu-title, texinfo-specific-section-type)
8496         (texinfo-insert-node-lines, texinfo-copy-next-section-title):
8497         * lisp/textmodes/texinfo.el (texinfo-clone-environment)
8498         (texinfo-insert-@end):
8499         * lisp/textmodes/texinfmt.el (texinfo-format-scan)
8500         (texinfo-anchor, texinfo-multitable-widths)
8501         (texinfo-multitable-item):
8502         * lisp/textmodes/tex-mode.el (latex-env-before-change):
8503         * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
8504         * lisp/skeleton.el (skeleton-insert):
8505         * lisp/simple.el (count-words):
8506         * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
8507         (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
8508         (vhdl-update-sensitivity-list, vhdl-template-block)
8509         (vhdl-template-break, vhdl-template-case, vhdl-template-default)
8510         (vhdl-template-default-indent, vhdl-template-for-loop)
8511         (vhdl-template-if-then-use, vhdl-template-bare-loop)
8512         (vhdl-template-nature, vhdl-template-procedural)
8513         (vhdl-template-process, vhdl-template-selected-signal-asst)
8514         (vhdl-template-type, vhdl-template-variable)
8515         (vhdl-template-while-loop, vhdl-beginning-of-block)
8516         (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
8517         * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
8518         (verilog-forward-sexp, verilog-beg-of-statement)
8519         (verilog-set-auto-endcomments, verilog-backward-token)
8520         (verilog-do-indent):
8521         * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
8522         (vera-indent-block-closing):
8523         * lisp/progmodes/simula.el (simula-context)
8524         (simula-backward-up-level, simula-forward-down-level)
8525         (simula-previous-statement, simula-next-statement)
8526         (simula-skip-comment-backward, simula-calculate-indent)
8527         (simula-find-if, simula-electric-keyword):
8528         * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
8529         * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
8530         (ruby-smie--forward-token, ruby-smie--backward-token)
8531         (ruby-singleton-class-p, ruby-calculate-indent)
8532         (ruby-forward-sexp, ruby-backward-sexp):
8533         * lisp/progmodes/ps-mode.el (ps-run-goto-error):
8534         * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
8535         (perl-syntax-propertize-special-constructs)
8536         (perl-backward-to-start-of-continued-exp):
8537         * lisp/progmodes/pascal.el (pascal-indent-declaration):
8538         * lisp/progmodes/octave.el (octave-function-file-p):
8539         * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
8540         * lisp/progmodes/js.el (js--forward-function-decl):
8541         * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
8542         (idlwave-beginning-of-block, idlwave-end-of-block)
8543         (idlwave-block-jump-out, idlwave-determine-class):
8544         * lisp/progmodes/icon.el (icon-is-continuation-line)
8545         (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
8546         * lisp/progmodes/hideif.el (hide-ifdef-define):
8547         * lisp/progmodes/f90.el (f90-change-keywords):
8548         * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
8549         (cperl-linefeed, cperl-electric-terminator)
8550         (cperl-find-pods-heres, cperl-fix-line-spacing)
8551         (cperl-invert-if-unless):
8552         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
8553         * lisp/progmodes/cc-align.el (c-lineup-java-inher):
8554         * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
8555         (ada-adjust-case-skeleton, ada-create-case-exception)
8556         (ada-create-case-exception-substring)
8557         (ada-case-read-exceptions-from-file, ada-after-keyword-p)
8558         (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
8559         (ada-get-indent-if, ada-get-indent-block-start)
8560         (ada-get-indent-loop, ada-get-indent-type)
8561         (ada-search-prev-end-stmt, ada-check-defun-name)
8562         (ada-goto-decl-start, ada-goto-matching-start)
8563         (ada-goto-matching-end, ada-looking-at-semi-or)
8564         (ada-looking-at-semi-private, ada-in-paramlist-p)
8565         (ada-search-ignore-complex-boolean, ada-move-to-start)
8566         (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
8567         * lisp/net/quickurl.el (quickurl-grab-url):
8568         * lisp/mail/sendmail.el (mail-do-fcc):
8569         * lisp/mail/rmail.el (rmail-resend):
8570         * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
8571         * lisp/mail/mail-extr.el (mail-extract-address-components):
8572         * lisp/json.el (json-read-keyword):
8573         * lisp/files.el (insert-directory):
8574         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
8575         * lisp/completion.el (symbol-under-point, symbol-before-point)
8576         (symbol-before-point-for-complete, next-cdabbrev)
8577         (add-completions-from-c-buffer):
8578         * lisp/cedet/semantic/texi.el (semantic-up-context)
8579         (semantic-beginning-of-context):
8580         * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
8581         use 'forward-word-strictly' and 'backward-word-strictly' instead
8582         of 'forward-word' and 'backward-word'.
8584 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8586         Fix doc string of tls-program
8588         * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
8590 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8592         Restore window conf in nsm
8594         * lisp/net/nsm.el (nsm-query-user): Restore the window configuration.
8596         Backport:
8598 2016-02-05  Mark Oteiza  <mvoteiza@udel.edu>
8600         * etc/NEWS: Document new mpc.el features
8602 2016-02-04  Leo Liu  <sdl.web@gmail.com>
8604         * lisp/custom.el (defface): Revert indentation change.  (Bug#22524)
8606 2016-02-04  Alan Mackenzie  <acm@muc.de>
8608         Correctly fontify C++ initializations which "look like" functions.
8610         Fixes bug#7579.
8612         lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
8613         parameter to enable handling of "anonymous" declarators in declarations.
8615         lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
8616         whether a "(" opens a parameter list of a function, or an initialization of a
8617         variable.
8619 2016-02-04  Ulf Jasper  <ulf.jasper@web.de>
8621         Improve newsticker-treeview-selection-face
8623         * lisp/net/newst-treeview.el (newsticker-treeview-selection-face): Improve
8624         readability for dark background.
8626 2016-02-04  Eli Zaretskii  <eliz@gnu.org>
8628         Minor fix in tagging Ruby accessors by etags
8630         * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
8631         names are not literal symbols.  (Bug#22241)
8633 2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>
8635         Spelling fixes
8637 2016-02-04  Dmitry Gutov  <dgutov@yandex.ru>
8639         Remove 'def X' from the example
8641         * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
8642         (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
8643         * test/etags/CTAGS.good:
8644         * test/etags/ETAGS.good_1:
8645         * test/etags/ETAGS.good_2:
8646         * test/etags/ETAGS.good_3:
8647         * test/etags/ETAGS.good_4:
8648         * test/etags/ETAGS.good_5:
8649         * test/etags/ETAGS.good_6: Adjust accordingly.
8651 2016-02-04  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)
8653         Allow sending empty hidden values in eww
8655         * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
8656         values (bug#22388).
8658         (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
8660         Backport:
8662 2016-02-04  David Edmondson  <dme@dme.org>
8664         Make erc work better when encountering unknown prefix chars
8666         * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
8667         instead of erroring out on unknown prefix chars (bug#22380).
8669 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8671         Make erc completion case-insensitive again
8673         * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
8674         case-insensitive again (bug#11360).
8676 2016-02-04  Carlos Pita  <carlosjosepita@gmail.com>  (tiny change)
8678         Make complection in erc use consistent casing
8680         * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
8681         case in the complection consistent (bug#18509).
8683 2016-02-04  Francis Litterio  <flitterio@gmail.com>
8685         Make /QUIT in erc more robust
8687         * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
8688         issuing /QUIT to disconnected servers (bug#22099).
8690 2016-02-04  Kevin Brubeck Unhammer  <unhammer@fsfe.org>  (tiny change)
8692         Make tracking faces in Emacs work more reliably
8694         * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
8695         faces to avoid later ambiguity (bug#22424).
8697 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8699         Make shr not bug out on images on non-graphical displays
8701         * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
8702         images on non-graphical displays (bug#22327).
8704 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8706         Fix bookmark display widths
8708         * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
8709         preparing it so that the widths are computed correctly (bug#22328).
8711 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8713         Fix typo in eww-make-unique-file-name
8715         * lisp/net/eww.el (eww-make-unique-file-name): Make this function
8716         actually work.
8718 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8720         Make it possible to TAB to input fields
8722         * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
8723         input fields (bug#22540).
8725 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8727         Insert complete alt texts when images are disabled
8729         * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
8730         the complete alt/title string (bug#22293).
8732 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8734         Allow eww text fields to grow
8736         * lisp/net/eww.el (eww-process-text-input): Allow text fields to
8737         grow when typing in stuff that's longer than the original width.
8739 2016-02-03  Dima Kogan  <dima@secretsauce.net>
8741         Make erc work when subword-mode is switched on
8743         * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
8744         (erc-bounds-of-word-at-point): New functions to do word-based
8745         things when subword-mode is switched on.
8747         * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
8748         (bug#17558).
8750 2016-02-03  Teemu Likonen  <tlikonen@iki.fi>
8752         Fix IMAP doc example
8754         * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
8756 2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8758         Quoting fixes in doc strings and diagnostics
8760         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
8761         * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
8762         (mml-smime-get-ldap-cert):
8763         Follow user style preference when quoting diagnostics.
8765 2016-02-03  Noam Postavsky  <npostavs@gmail.com>
8767         Fix warning message in hack-local-variables
8769         * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
8770         the original buffer name in the warning message.  (Bug#21681)
8772 2016-02-03  Eli Zaretskii  <eliz@gnu.org>
8774         Etags: yet another improvement in Ruby tags
8776         * lib-src/etags.c (Ruby_functions): Handle continuation lines in
8777         Ruby accessor definitions.  (Bug#22241)
8779         * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
8780         accessors and multiline definitions.
8781         * test/etags/ETAGS.good_1:
8782         * test/etags/ETAGS.good_2:
8783         * test/etags/ETAGS.good_3:
8784         * test/etags/ETAGS.good_4:
8785         * test/etags/ETAGS.good_5:
8786         * test/etags/ETAGS.good_6:
8787         * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8789 2016-02-03  Eli Zaretskii  <eliz@gnu.org>
8791         Fix x-popup-menu on TTYs without a mouse
8793         * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
8794         for the TTY case without a mouse.  (Bug#22538)
8796 2016-02-03  Nicolas Petton  <nicolas@petton.fr>
8798         * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
8800 2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>
8802         Use pop-to-buffer-same-window in eww
8804         * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
8805         switch-to-buffer (bug#22244).
8807 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8809         * autogen.sh: Revert all recent changes.
8811 2016-02-02  Glenn Morris  <rgm@gnu.org>
8813         * make-dist: Updates related to nt/.
8815         * make-dist: Add modules/.
8817         * make-dist: Update for super-special file that can't live in etc/.
8819 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8821         Fix failure to compile ns-win.el in parallel builds
8823         * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
8824         dependency on $(lispsource)/international/charprop.el.
8825         (Bug#22501)
8827 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8829         Fix names of tags generated for Ruby accessors
8831         * lib-src/etags.c (Ruby_functions): Don't include the leading
8832         colon ':' in tags for Ruby accessors and aliases.  (Bug#22241)
8834         * test/etags/ETAGS.good_1:
8835         * test/etags/ETAGS.good_2:
8836         * test/etags/ETAGS.good_3:
8837         * test/etags/ETAGS.good_4:
8838         * test/etags/ETAGS.good_5:
8839         * test/etags/ETAGS.good_6:
8840         * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8842 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8844         Fix file-name recognition in 'etags'
8846         * lib-src/etags.c (get_language_from_filename): If FILE includes a
8847         leading directory, compare only its basename to the known file
8848         names in lang_names[].
8850         * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
8851         renaming.
8852         * test/etags/ETAGS.good_1:
8853         * test/etags/ETAGS.good_2:
8854         * test/etags/ETAGS.good_3:
8855         * test/etags/ETAGS.good_4:
8856         * test/etags/ETAGS.good_5:
8857         * test/etags/ETAGS.good_6:
8858         * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
8859         to the results in Makefile due to the above etags.c fix.
8861 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8863         Change Ruby file names and extensions recognized by 'etags'
8865         * lib-src/etags.c <Ruby_filenames>: New variable, holds names
8866         of Ruby files.
8867         <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
8868         <lang_names>: Add Ruby_filenames to the Ruby entry.
8869         * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
8870         (Bug#22241)
8872 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8874         More improvements for Ruby support in 'etags'
8876         * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
8877         alias_method.  Identify constants even if the assignment is not
8878         followed by whitespace.  (Bug#22241)
8880         * test/etags/ruby-src/test1.ru: Add tests for constants,
8881         accessors, and alias_method.
8882         * test/etags/ETAGS.good_1:
8883         * test/etags/ETAGS.good_2:
8884         * test/etags/ETAGS.good_3:
8885         * test/etags/ETAGS.good_4:
8886         * test/etags/ETAGS.good_5:
8887         * test/etags/ETAGS.good_6:
8888         * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
8890 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8892         Add --git-config option to autogen.sh
8894         * autogen.sh: New options --git-config, --help.
8895         (git_config): New shell var.  Alter function to respect this var.
8897 2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>
8899         Fix editing undo changes in eww fields
8901         * eww.el (eww-tag-form): Don't overwrite initial form data in text
8902         fields.
8903         (eww-process-text-input): Make `M-t' at the end of text fields work
8904         better (bug#19085).
8906 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8908         Allow the user more control of popping up the eww window
8910         * eww.el (eww): Use pop-to-buffer-same-window (suggested by
8911         Michael Heerdegen) (bug#22244).
8913 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8915         Make eww-browse-url with new-window parameter work again
8917         * eww.el (eww-browse-url): Stay in the same buffer if we're
8918         already in a eww mode buffer so that eww-browse-url with a
8919         new-window parameter works (bug#22244).
8921 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8923         Clean up eww code slightly
8925         * eww.el (eww-browse-url): Clean up code slightly.
8927 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8929         Don't insert nil faces in shr
8931         * shr.el (shr-insert-table): Don't add nil faces, because that
8932         will show up in *Messages* as "Invalid face reference: nil [32
8933         times]".
8935 2016-02-01  Glenn Morris  <rgm@gnu.org>
8937         Improve the custom type of some user options.
8939         * lisp/autoinsert.el (auto-insert-alist):
8940         * lisp/replace.el (query-replace-from-to-separator):
8941         * lisp/gnus/gnus-art.el (gnus-hidden-properties):
8942         * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
8943         * lisp/gnus/gnus-picon.el (gnus-picon-properties):
8944         * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
8945         (prolog-mode-specificators, prolog-determinism-specificators)
8946         (prolog-directives, prolog-program-name, prolog-program-switches)
8947         (prolog-consult-string, prolog-compile-string, prolog-eof-string)
8948         (prolog-prompt-regexp): Improve custom type.
8950 2016-02-01  Glenn Morris  <rgm@gnu.org>
8952         Mark some risky calendar variables.
8954         * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
8955         Remove risky setting for deleted obsolete alias.
8956         (calendar-chinese-standard-time-zone-name)
8957         (calendar-chinese-daylight-saving-start)
8958         (calendar-chinese-daylight-saving-end):
8959         * lisp/calendar/calendar.el (calendar-iso-date-display-form)
8960         (calendar-european-date-display-form)
8961         (calendar-american-date-display-form, calendar-date-display-form):
8962         * lisp/calendar/diary-lib.el (diary-remind-message)
8963         (diary-header-line-format):
8964         * lisp/calendar/solar.el (calendar-time-display-form)
8965         (calendar-location-name): Mark as risky.
8967 2016-02-01  Simen Heggestøyl  <simenheg@gmail.com>
8969         Highlight two additional SCSS keywords
8971         * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
8972         identifiers on the form !foo.
8973         (scss-bang-ids): New defconst holding SCSS identifiers on the form
8974         !foo.
8975         (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
8976         `font-lock-builtin-face'.
8978         * test/indent/css-mode.css: Add bang rule test case.
8980         * test/indent/scss-mode.scss: Add test cases for the introduced bang
8981         rules.
8983 2016-02-01  Karl Fogel  <kfogel@red-bean.com>
8985         Recommend enabling integrity-checking in git
8987         * admin/notes/git-workflow:  Recommend setting transfer.fsckObjects.
8989         This is related to the autogen.sh changes made by Paul Eggert in
8990         commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
8991         my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
8992         to emacswiki.org/emacs/GitQuickStartForEmacsDevs.  See also the thread
8993         "Recommend these .gitconfig settings for git integrity." at
8994         https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
8996 2016-02-01  Martin Rudalics  <rudalics@gmx.at>
8998         Some corrections in Elisp manual
9000         * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
9001         argument POSITION.
9002         * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
9003         is an option.
9004         * doc/lispref/display.texi (Refresh Screen): Describe optional
9005         argument FRAME of `redraw-frame'.
9006         (Attribute Functions): Describe optional argument CHARACTER of
9007         `face-font'.
9008         (Defining Images): `image-load-path' is an option.
9009         (Beeping): `ring-bell-function' is an option.
9010         * doc/lispref/frames.texi (Size and Position): The PIXELWISE
9011         argument of `set-frame-size' is optional.
9012         (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
9013         is optional.
9014         * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
9015         `set-transient-map'.
9016         * doc/lispref/minibuf.texi (Text from Minibuffer):
9017         `read-regexp-defaults-function' is an option.
9018         (Minibuffer Contents): `delete-minibuffer-contents' is a command.
9019         * doc/lispref/modes.texi (Mode Line Variables):
9020         `mode-line-position' and `mode-line-modes' are variables, not
9021         options.
9022         * doc/lispref/strings.texi (Creating Strings): The START argument
9023         of `substring' is optional.
9024         * doc/lispref/text.texi (Buffer Contents): Describe optional
9025         argument NO-PROPERTIES of `thing-at-point'.
9026         (User-Level Deletion): Both arguments of
9027         `delete-trailing-whitespace' are optional.
9028         (Margins): Use @key{RET} instead of @kbd{RET}.
9029         * doc/lispref/windows.texi (Display Action Functions): Write
9030         non-@code{nil} instead of non-nil.
9031         (Choosing Window Options): The WINDOW arg of
9032         `split-window-sensibly' is optional.
9033         (Choosing Window Options): Write non-@code{nil} instead of
9034         non-nil.
9035         (Window Start and End): Both args of `window-group-end' are
9036         optional.
9038         * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
9039         to POSITION to keep consisteny with doc-string.
9041 2016-02-01  Paul Eggert  <eggert@cs.ucla.edu>
9043         Chatter when autogen.sh changes Git configuration
9045         * autogen.sh (git_config): New function.  Use it instead of ‘git config’.
9047 2016-02-01  Kyle Meyer  <kyle@kyleam.com>
9049         * lisp/org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
9051 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
9053         Omit unnecessary history from Lisp intro
9055         * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
9056         (Conclusion): Reword so as not to talk about earlier versions
9057         of Emacs in what should be an intro.
9059 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
9061         * etc/HISTORY: Add some more history, plus git tags.
9063 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
9065         Improve elisp “Security Considerations” doc
9067         * doc/lispref/os.texi (Security Considerations):
9068         Mention call-process and rename-file as opposed to shell commands.
9069         Add some more cross-references.
9071 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
9073         autogen.sh now arranges for git to check hashes
9075         Suggested by Karl Fogel in:
9076         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
9077         * autogen.sh: Do "git config transfer.fsckObjects true".
9079 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
9081         Fix (c & 040) typo in emergency escapes
9083         * src/keyboard.c (handle_interrupt): Fix recently-introduced
9084         typo (040 should have been ~040) that silently suppressed
9085         auto-saves after emergency escapes.  Redo comparison to avoid
9086         similar problems.
9088 2016-01-31  Eli Zaretskii  <eliz@gnu.org>
9090         Fix display of overlay strings with 'display' and 'box' property
9092         * src/xdisp.c (get_next_display_element): Take the box face from
9093         display stack level that comes from a buffer, not an overlay
9094         string.  (Bug#22499)
9096 2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>
9098         Fix imap-starttls-open
9100         * lisp/net/imap.el (imap-starttls-open): Log imap process
9101         output.  Call imap-parse-greeting.  (Bug#22500)
9103 2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>
9105         Fix return value of imap-starttls-open
9107         * lisp/net/imap.el (imap-starttls-open): Fix return value.
9109 2016-01-31  John Wiegley  <johnw@newartisans.com>
9111         Correct reference to DARWIN_OS preprocessor symbol
9113         * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
9114           not be defined.
9116 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9118         Spelling fix
9120         Spelling fixes
9122 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9124         Pacify GCC on C library without glibc API
9126         Without this change, with --enable-gcc-warnings GCC would complain
9127         “error: redundant redeclaration of ‘aligned_alloc’”.
9128         * configure.ac: Simplify aligned_alloc testing.
9129         * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
9130         since the simplified configure.ac no longer checks for that.
9131         Don’t declare if HAVE_ALIGNED_ALLOC.
9132         Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
9134 2016-01-30  Artur Malabarba  <bruce.connor.am@gmail.com>
9136         Backport: * lisp/files.el: Remove support for extra .dir-locals file
9138         (dir-locals-file-2, dir-locals--all-files): Remove.
9139         (dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
9140         (dir-locals-read-from-file, hack-dir-local-variables): Revert changes.
9142         * lisp/files-x.el (modify-dir-local-variable): Revert changes.
9144         * lisp/help-fns.el (describe-variable): Revert changes.
9146         * doc/emacs/custom.texi (Directory Variables): Revert changes.
9148         * etc/NEWS: Revert changes.
9150 2016-01-30  Glenn Morris  <rgm@gnu.org>
9152         * lisp/net/browse-url.el (browse-url-default-browser):
9153         Lower priority of non-free Chrome.
9155 2016-01-30  Glenn Morris  <rgm@gnu.org>
9157         Improve the custom type of some user options.
9159         * lisp/desktop.el (desktop-minor-mode-table):
9160         * lisp/man.el (Man-frame-parameters):
9161         * lisp/midnight.el (midnight-delay):
9162         * lisp/speedbar.el (speedbar-select-frame-method):
9163         * lisp/tooltip.el (tooltip-frame-parameters):
9164         * lisp/tree-widget.el (tree-widget-space-width):
9165         * lisp/type-break.el (type-break-keystroke-threshold):
9166         * lisp/woman.el (woman-imenu-generic-expression):
9167         * lisp/cedet/ede.el (ede-debug-program-function):
9168         * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
9169         * lisp/emulation/viper-keym.el (viper-toggle-key):
9170         * lisp/erc/erc-networks.el (erc-server-alist):
9171         * lisp/gnus/message.el (message-deletable-headers, message-signature):
9172         * lisp/mail/mailalias.el (mail-directory-stream):
9173         * lisp/play/tetris.el (tetris-x-colors):
9174         * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
9176 2016-01-30  Simen Heggestøyl  <simenheg@gmail.com>
9178         Highlight CSS variables with variable name face
9180         * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
9181         (css--font-lock-keywords): Highlight variables in
9182         `font-lock-variable-name-face'.
9184 2016-01-30  Glenn Morris  <rgm@gnu.org>
9186         * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
9188 2016-01-30  Glenn Morris  <rgm@gnu.org>
9190         Mark some user options that can get evalled as risky.
9192         * lisp/allout.el (allout-title):
9193         * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
9194         * lisp/gnus/message.el (message-mailer-swallows-blank-line):
9195         * lisp/progmodes/gud.el (gud-tooltip-display):
9196         * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
9197         Mark as risky.
9199 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9201         Disable DebPrint in sys_read on MS-Windows
9203         * src/w32.c (sys_read): Disable a debugging print that is normal
9204         when non-blocking reads are retried.
9206 2016-01-30  Martin Rudalics  <rudalics@gmx.at>
9208         ;Fix ChangeLog entry
9210 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9212         Fix typos in Introduction to Emacs Lisp manual
9214         * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
9215         (kill-new function, Digression into C)
9216         (Complete forward-sentence, Divide and Conquer, Find a File)
9217         (lengths-list-many-files, Columns of a graph, defcustom)
9218         (recursive-count-words): Fix typos.  Reported by Daniel Bastos
9219         <dbastos@toledo.com>.
9221 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9223         Bump version to 25.0.90
9225         * README:
9226         * configure.ac:
9227         * msdos/sed2v2.inp: Bump version to 25.0.90.
9229 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9231         * etc/AUTHORS: Update the AUTHORS file
9233 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9235         Bump version to 25.0.90
9237         * README:
9238         * configure.ac:
9239         * msdos/sed2v2.inp: Bump version to 25.0.90.
9241 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9243         * etc/AUTHORS: Update the AUTHORS file
9245 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9247         authors.el updates
9249         * admin/authors.el (authors-renamed-files-alist): Additions.
9251 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9253         Make it possible to run make change-history on emacs-25
9255         * Makefile.in: Check if the current branch is emacs-25 instead of
9256           master.
9258 2016-01-30  lu4nx  <lx@shellcodes.org>
9260         Support Go language in 'etags'
9262         * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
9263         <Go_help>: New help.
9264         <Go_suffixes>: New variable.
9265         (Go_functions): New function.
9266         <lang_names>: Add entry for Go.  (Bug#22370)
9268         * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
9269         * doc/man/etags.1: Mention Go support.
9271         * etc/NEWS: Mention Go support.
9273         * test/etags/go-src/test.go:
9274         * test/etags/go-src/test1.go: New test files.
9275         * test/etags/Makefile (GOSRC): New variable.
9276         (SRCS): Add $(GOSRC).
9277         * test/etags/ETAGS.good_1:
9278         * test/etags/ETAGS.good_2:
9279         * test/etags/ETAGS.good_3:
9280         * test/etags/ETAGS.good_4:
9281         * test/etags/ETAGS.good_5:
9282         * test/etags/ETAGS.good_6:
9283         * test/etags/CTAGS.good: Adapt to addition of Go tests.
9285 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9287         Improve Ruby support in 'etags'
9289         * lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
9290         singleton classes.  Remove class qualifiers from tags generated
9291         for method and constant names.  (Bug#22241)
9293         * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
9294         are tagged by etags in Ruby.
9296         * etc/NEWS: Mention that constants are tagged by etags in Ruby.
9298         * test/etags/ruby-src/test1.ru: Add more tests.
9299         * test/etags/ETAGS.good_1:
9300         * test/etags/ETAGS.good_2:
9301         * test/etags/ETAGS.good_3:
9302         * test/etags/ETAGS.good_4:
9303         * test/etags/ETAGS.good_5:
9304         * test/etags/ETAGS.good_6:
9305         * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
9306         tests.
9308 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9310         Adjust etags test results to changes in copyright years
9312         * test/etags/CTAGS.good:
9313         * test/etags/ETAGS.good_1:
9314         * test/etags/ETAGS.good_2:
9315         * test/etags/ETAGS.good_3:
9316         * test/etags/ETAGS.good_4:
9317         * test/etags/ETAGS.good_5:
9318         * test/etags/ETAGS.good_6: Adjust to shift in characters and
9319         in line numbers.
9321 2016-01-30  Andreas Schwab  <schwab@linux-m68k.org>
9323         Revert "Re-enable checks in member, memql, delete to complain about non-lists"
9325         This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
9327 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
9329         Make it possible to run make change-history on emacs-25
9331         * Makefile.in: Check if the current branch is emacs-25 instead of
9332           master.
9334 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
9336         Don't fiddle with DEFAULT
9338         * lisp/progmodes/project.el (project--completing-read-strict):
9339         Don't change DEFAULT, whether is has any matches in
9340         COLLECTION, or not.
9342 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9344         Document xwidget commands and functions
9346         * doc/lispref/display.texi (Xwidgets): New section, describes some
9347         of the xwidget primitives.
9348         * doc/lispref/display.texi (Display): Update the chapter menu.
9349         * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
9350         * doc/emacs/emacs.texi (Top): Update the master menu to include
9351         the xwidget node.
9353 2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
9355         Build fix for shr.el
9357         * shr.el (seq): Require.
9359 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
9361         Improve project-find-file yet again!
9363         * lisp/progmodes/project.el (project--completing-read-strict):
9364         New function.
9365         (project-find-file-in): Use it.
9366         (project-file-completion-table): Move the default
9367         implementation inside the cl-defgeneric form.
9368         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
9370 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
9372         Don't pass DIR to 'hg status'
9374         * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
9375         Don't pass DIR to 'hg status' (bug#22481).
9377 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
9379         Fix typo in previous commits
9381         * lisp/progmodes/project.el (project-find-file-in):
9382         * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
9383         commit.
9385 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
9387         Improve project-find-file
9389         * lisp/progmodes/project.el (project-file-completion-table): New.
9390         (project-find-file, project-or-external-find-file): Default to filename
9391         at point.
9392         (project-file-completion-table): New, split out from
9393         project--find-file-in.
9394         (project-find-file-in): Renamed from project--find-file-in, use
9395         project-file-completion-table.
9397         * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
9398         (xref--find-ignores-arguments): Add doc string.
9400 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
9402         Implement vc-mtn-find-ignore-file, fix some doc strings
9404         * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
9406         * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
9408         * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
9410         * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
9412 2016-01-29  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9414         Correct a whole bunch of bugs coming with renamed cell relocation.
9416         This is the same change as commit on master branch. See
9417         http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
9419         * lisp/ses.el (ses-localvars): rename variable
9420         `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
9421         and adjust the comment about it.
9422         (ses-plist-delq): new defun.
9423         (ses--ses-buffer-list): new defvar.
9424         (ses--unbind-cell-name): new defun.
9425         (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
9426         (ses-relocate-formula): Undo change of
9427         2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
9428         preventing relocation for named cell --- now doing this is delegated
9429         to function `ses-relocate-symbol'.
9430         (ses-relocate-range): In docstring, undo change of
9431         2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
9432         lower case as it is not a variable.
9433         (ses-relocate-all): Cell name relocation : 1) check that cell is a
9434         renamed cell by testing `ses-cell' property to :ses-named, rather than
9435         comparing name to corresponding standard name. Set rowcol of renamed
9436         cell into the hashmap --- `ses-cell' property must not be used for
9437         that as the same name can be used for different locations in different
9438         SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
9439         `local-variable-p' to check if cell name is already in use in this
9440         sheet or needs initialization.
9441         (ses-relocate-all): Cell value relocation : 1) like for name
9442         relocation use the `ses-cell' property rather than comparing actual
9443         name to corresponding standard name. 2) Correct bug introduced in
9444         2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
9445         made the other way round than the intention --- ie value relocation
9446         was disabled for standard cell, not for renamed cell as was the
9447         intention.
9448         (ses-relocate-all): Add loop for unbinding deleted renamed cells
9449         names.
9450         (ses-killbuffer-hook): new defun.
9451         (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
9452         kill buffer hook, plus pushing current buffer if new in list.
9453         (ses-delete-row, ses-delete-column): Collect deleted renamed cells
9454         into `ses--in-killing-named-cell-list'.
9455         (ses-rename-cell): Remove update of variable
9456         `ses--renamed-cell-symb-list', this variable is renamed to
9457         `ses--in-killing-named-cell-list', and its setting is done in
9458         functions `ses-delete-row' and , `ses-delete-column' now.
9459         (ses-rename-cell): Make cell new name a buffer local variable.
9460         (ses-rename-cell): Change correction of
9461         2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
9462         computation of the range over which `cursor-intangible' property was
9463         to be updated. This correction was ok for non spilling cells, but not
9464         for cells spilling over following blank cells. Simply use
9465         `next-single-property-change' rather than computing the end column
9466         from column widths.
9468 2016-01-29  Andreas Schwab  <schwab@linux-m68k.org>
9470         Re-enable checks in member, memql, delete to complain about non-lists
9472         * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
9474 2016-01-29  Martin Rudalics  <rudalics@gmx.at>
9476         Minor doc(-string) tweaks
9478         * lisp/window.el (window-in-direction): Fix doc-string typo.
9479         * doc/lispref/frames.texi (Frame Font): Mention canonical
9480         character width/height.
9481         * doc/lispref/windows.texi (Windows and Frames): Clarify
9482         handling of minibuffer window for `window-in-direction'.
9483         (Window Sizes): Minor tweaks in descriptions of
9484         `window-max-chars-per-line', `window-min-width' and
9485         `window-min-size'.
9486         (Deleting Windows): Minor tweak in `delete-window' description.
9487         (Selecting Windows): Clarify window use time description.
9488         (Cyclic Window Ordering): Minor tweak.
9489         (Switching Buffers): Clarify description of
9490         `switch-to-buffer-in-dedicated-window'.
9492 2016-01-29  Eli Zaretskii  <eliz@gnu.org>
9494         Minor improvements to 'pcase' documentation
9496         * doc/lispref/control.texi (Pattern matching case statement):
9497         Improve the documentation of 'pcase' per comments.  See two
9498         discussion threads on emacs-devel@gnu.org for the details:
9499         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
9500         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
9502 2016-01-29  Glenn Morris  <rgm@gnu.org>
9504         Don't use eval to quieten prolog.el compilation.
9506         * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
9507         (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
9509 2016-01-29  Glenn Morris  <rgm@gnu.org>
9511         Mark some risky prolog variables.
9513         * lisp/progmodes/prolog.el (prolog-system-version)
9514         (prolog-keywords, prolog-types, prolog-mode-specificators)
9515         (prolog-determinism-specificators, prolog-directives)
9516         (prolog-program-name, prolog-program-switches)
9517         (prolog-consult-string, prolog-compile-string)
9518         (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
9519         Mark anything processed by prolog-find-value-by-system as risky.
9521 2016-01-28  Glenn Morris  <rgm@gnu.org>
9523         * lisp/custom.el (defcustom): Doc fix.
9525         * doc/lispref/customize.texi (Variable Definitions):
9526         Defcustom should always have a type.
9528 2016-01-28  Glenn Morris  <rgm@gnu.org>
9530         * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
9531         Fix :type.
9533         * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
9535 2016-01-28  Michael Albinus  <michael.albinus@gmx.de>
9537         Fix Bug#22452
9539         * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
9540         * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9541         * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
9542         * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
9543         Mark it as connected.
9545         * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
9546         connection property "connected" is set.  (Bug#22452)
9548 2016-01-27  Glenn Morris  <rgm@gnu.org>
9550         * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
9552         * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
9553         if not compiled with xwidgets.
9555 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9557         C-u C-x = example doc fix
9559         * doc/emacs/mule.texi (International Chars):
9560         Adjust example to match current behavior of C-u C-x =.
9562 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9564         malloc.h hygiene
9566         This attempts to future-proof Emacs a bit against possible glibc
9567         changes, by having Emacs use <malloc.h> declarations rather than
9568         coding them up by hand.  Problem noted by Florian Weimer in:
9569         https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
9570         Implement this mainly by moving malloc.h-related functions from
9571         emacs.c (which does not include <malloc.h>) to alloc.c (which does).
9572         * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
9573         New function.
9574         The remaining changes to this file apply only if DOUG_LEA_MALLOC.
9575         (alloc_unexec_pre, alloc_unexec_post): New functions.
9576         (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
9577         (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
9578         (__malloc_initialize_hook): Use it.
9579         (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
9580         Move here from ...
9581         * src/emacs.c: ... here.
9582         (malloc_get_state, malloc_set_state): Remove extern decls.
9583         (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
9584         All uses changed to similarly-named new function.
9585         (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
9586         * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
9587         New decls.
9589 2016-01-26  Eli Zaretskii  <eliz@gnu.org>
9591         * doc/emacs/mark.texi (Using Region): Clarify wording.  (Bug#22467)
9593 2016-01-26  Paul Eggert  <eggert@cs.ucla.edu>
9595         Remove never-set var handle_user_signal_hook
9597         * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
9598         Remove never-set var.  All uses removed.
9600 2016-01-26  K. Handa  <handa@gnu.org>
9602         Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
9604         * src/ftfont.c (ftfont_shape_by_flt): Fix previous change.  Access the
9605         second glyph only when there are enough glyphs.
9607         (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
9609 2016-01-26  K. Handa  <handa@gnu.org>
9611         support rendering of wider range of combinging characters by ftfont backend
9613         * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
9614         supports rendering of combining characters, call
9615         font-shape-gstring.
9617         * src/font.c (Ffont_get): Handle `combining-capability' property.
9618         (syms_of_font): New symbol ":combining-capability'.
9620         * src/font.h (struct font_driver): New member combining_capability.
9622         * src/ftfont.c: Include "category.h".
9623         (ftfont_driver): Initialize combining_capability to
9624         ftfont_combining_capability.
9625         (ftfont_shape_by_flt): If OTF is null, try to find a suitable
9626         FLT in advance.
9627         (ftfont_combining_capability): New function.
9629         (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
9631 2016-01-26  Anders Lindgren  <andlind@gmail.com>
9633         Fixed NextStep fullscreen issue (bug#22468)
9635         When in fullscreen mode, `[screen visibleFrame]' sometimes
9636         includes, sometimes excludes the menu bar. This could cause
9637         a frame to be placed too low when in fullscreen mode.
9639         * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
9640         (constrain_frame_rect): New parameter, isFullscreen, when true don't
9641         query the height of the menu bar.
9642         (ns_constrain_all_frames): Pass `false' (isFullscreen) to
9643         `constrain_frame_rect'.
9644         ([EmacsView initFrameFromEmacs:]): Trace.
9645         ([EmacsView isFullscreen]): Trace.
9646         ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
9647         state to `constrain_frame_rect'.
9649 2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>
9651         * lisp/files.el: Use a fixed file name for the second dir-locals file
9653         (dir-locals-file): Revert to its original fixed value.
9654         (dir-locals-file-2): New const.
9655         (dir-locals--all-files): Don't use `file-name-all-completions'.
9656         Instead, just check for the 2 dir-locals files and return a list
9657         of the ones that exit (if any).
9659         * etc/NEWS: Document the change.
9661         * doc/emacs/custom.texi (Directory Variables): Document the change.
9663         * doc/lispref/variables.texi (Directory Local Variables): Update
9664         accordingly.
9666 2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>
9668         * lisp/files-x.el (modify-dir-local-variable): Small rewrite
9670         Change a variable name to be more meaningful, and reorder some of
9671         the code with no change in behaviour.
9673 2016-01-26  Artur Malabarba  <bruce.connor.am@gmail.com>
9675         * lisp/files.el (dir-locals-find-file): Refactor return values
9677         Returning a cache remains unchanged, but the case of returning a
9678         file (or pattern) is now changed to return the contaning
9679         directory.
9681         (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
9682         and make obsolete.
9683         (dir-locals-read-from-dir): Simplify accordingly.
9684         (hack-dir-local-variables): Simplify accordingly and rename a
9685         variable.
9687 2016-01-26  Glenn Morris  <rgm@gnu.org>
9689         * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
9690         Declare.
9692         * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
9694         * configure.ac (--with-cairo): Say it's experimental.
9696         * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
9697         Rename using American spelling.  Update all uses.
9699 2016-01-26  Glenn Morris  <rgm@gnu.org>
9701         Yet more xwidget doc fixes.
9703         * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
9704         (xwidget-insert, xwidget-webkit-browse-url)
9705         (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
9706         (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
9707         (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
9708         (xwidget-webkit-show-id-element)
9709         (xwidget-webkit-show-id-or-named-element)
9710         (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
9711         (xwidget-webkit-execute-script-rv)
9712         (xwidget-webkit-copy-selection-as-kill, xwidget-get)
9713         (xwidget-put):  Doc fixes.
9714         (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
9715         (xwidget-webkit-show-id-element)
9716         (xwidget-webkit-show-id-or-named-element): Prompt fixes.
9718 2016-01-25  Ted Zlatanov  <tzz@lifelogs.com>
9720         * lisp/gnus/gnus-art.el (gnus-blocked-images):
9721         Add explicit nil choice and tags.
9723 2016-01-25  Paul Eggert  <eggert@cs.ucla.edu>
9725         Spelling fixes
9727 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9729         (font-lock-ensure-function): Fix bug#22399
9731         * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
9732         font-lock-mode is not enabled (bug#22399).
9734 2016-01-25  Alan Mackenzie  <acm@muc.de>
9736         Expunge "allow" + infinitive from source and doc, part 2.
9738         Do the same for "permit", "enable", "prevent", and (where appropriate)
9739         "require".
9741         doc/misc/reftex.texi:
9742         doc/misc/url.texi:
9743         lib/get-permissions.c:
9744         lib/strftime.c:
9745         lisp/org/org-element.el:
9746         lisp/org/org-mobile.el:
9747         lisp/textmodes/reftex-vars.el:
9748         src/bidi.c:
9749         src/emacs.c:
9750         src/xdisp.c:
9751         test/etags/c-src/emacs/src/lisp.h:
9753         Expunge the likes of "This allows to do something" from the above files.
9755 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9757         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
9759         `special-mode' is already read-only.
9761 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9763         * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
9765 2016-01-25  Paul Eggert  <eggert@cs.ucla.edu>
9767         Port "$@" to OpenIndiana ksh93
9769         In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
9770         Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
9771         (derived from ksh 93t+ 2010-03-05).  ${1+"$@"} works around an ancient
9772         bug in long-dead shells, so remove the workaround.
9773         * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
9774         Use plain "$@" rather than ${1+"$@"}.
9776 2016-01-25  Paul Eggert  <eggert@cs.ucla.edu>
9778         * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
9780 2016-01-25  Paul Eggert  <eggert@cs.ucla.edu>
9782         Improve wording for SMB support
9784         * doc/misc/tramp.texi (External methods): Improve and modernize
9785         wording for discussion of smbclient.  There is no longer any
9786         need to mention the laundry list of old MS Windows implementations
9787         of SMB and CIFS, nor to mention CIFS.  Also, give a URL for Samba.
9789 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9791         Merge from gnulib
9793         This incorporates:
9794         2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
9795         2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
9796         2016-01-15 detect utimes() correctly on OS/2 kLIBC
9797         2016-01-15 openat_proc_name: port to OS/2 kLIBC
9798         2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
9799         2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
9800         2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
9801         2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
9802         2016-01-14 sig2str: list all signals on FreeBSD >= 7
9803         2016-01-13 acl-permissions: port to USE_ACL==0 platforms
9804         2016-01-12 mktime: rename macro to avoid glibc clash
9805         2016-01-12 Port "$@" to OpenIndiana ksh93
9806         2016-01-12 Port Universal Time settings to strict POSIX
9807         * build-aux/gitlog-to-changelog, build-aux/update-copyright:
9808         * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
9809         * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
9810         * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
9811         * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
9812         * m4/fcntl.m4, m4/utimes.m4:
9813         Copy from gnulib.
9814         * m4/gnulib-comp.m4: Regenerate.
9816 2016-01-24  Alan Mackenzie  <acm@muc.de>
9818         Expunge "allow" + infinitive without direct object from source and doc.
9820         Do the same for "permit", "enable", and "prevent".
9822         * doc/emacs/mule.texi:
9823         * doc/lispref/control.texi:
9824         * doc/lispref/display.texi:
9825         * doc/lispref/frames.texi:
9826         * doc/lispref/functions.texi:
9827         * doc/lispref/nonascii.texi:
9828         * doc/lispref/streams.texi:
9829         * doc/lispref/windows.texi:
9830         * doc/misc/dbus.texi:
9831         * doc/misc/eww.texi:
9832         * doc/misc/flymake.texi:
9833         * doc/misc/octave-mode.texi:
9834         * doc/misc/org.texi:
9835         * doc/misc/reftex.texi:
9836         * doc/misc/tramp.texi:
9837         * doc/misc/wisent.texi:
9838         * etc/NEWS:
9839         * lisp/autorevert.el:
9840         * lisp/cedet/mode-local.el:
9841         * lisp/cedet/semantic/senator.el:
9842         * lisp/cedet/semantic/wisent.el:
9843         * lisp/dos-fns.el:
9844         * lisp/frameset.el:
9845         * lisp/gnus/gnus-agent.el:
9846         * lisp/gnus/mm-util.el:
9847         * lisp/international/characters.el:
9848         * lisp/ldefs-boot.el:
9849         * lisp/mail/mailclient.el:
9850         * lisp/man.el:
9851         * lisp/mh-e/mh-search.el:
9852         * lisp/net/tramp-cmds.el:
9853         * lisp/net/tramp-gvfs.el:
9854         * lisp/org/org-crypt.el:
9855         * lisp/org/org-element.el:
9856         * lisp/org/org-feed.el:
9857         * lisp/org/org.el:
9858         * lisp/org/ox-ascii.el:
9859         * lisp/org/ox-icalendar.el:
9860         * lisp/org/ox-publish.el:
9861         * lisp/org/ox.el:
9862         * lisp/play/gamegrid.el:
9863         * lisp/play/gomoku.el:
9864         * lisp/progmodes/antlr-mode.el:
9865         * lisp/progmodes/python.el:
9866         * lisp/progmodes/vhdl-mode.el:
9867         * lisp/strokes.el:
9868         * lisp/textmodes/ispell.el:
9869         * lisp/tree-widget.el:
9870         * lisp/vc/pcvs.el:
9871         * lisp/window.el:
9872         * src/lisp.h:
9873         * src/w32.c:
9874         * src/w32heap.c:
9875         * src/w32term.c:
9876         * src/window.c:
9877         * src/xfaces.c:
9879         Replace solecisms like "This allow to do something" with a correct
9880         alternative, such as "This allow you to do something", "This allows
9881         something to be done" or "This allows the doing of something".
9883 2016-01-24  l3thal  <kwhite@gnu.org>
9885         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
9887 2016-01-24  Kelvin White  <kwhite@gnu.org>
9889         Add NEWS entry for asynchronous reconnect in ERC
9891 2016-01-24  l3thal  <kwhite@gnu.org>
9893         Add NEWS entry for asynchronous reconnect in ERC
9895 2016-01-24  Kelvin White  <kwhite@gnu.org>
9897         browse-url.el: Add 'google-chrome' to supported browsers.
9899 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9901         Port Tramp manual to latest Texinfo
9903         Otherwise, 'make pdf' did not work (Bug#22416).
9904         * doc/misc/tramp.texi (xxx, yyy): Remove macros.
9905         (trampfn): Specialize to the case where METHOD is nonempty.
9906         The 2nd argument is now user@host, not 2nd user and 3rd host args.
9907         All uses changed.
9908         (trampf): New macro.
9910 2016-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
9912         * eww.el (eww-render): Protect against empty content-types.
9914 2016-01-24  Nicolas Petton  <nicolas@petton.fr>
9916         authors.el updates
9918         * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
9919           Additions.
9921 2016-01-24  Dmitry Gutov  <dgutov@yandex.ru>
9923         Rename xref-query-replace to xref-query-replace-in-results
9925         * lisp/progmodes/xref.el(xref-query-replace):
9926         Rename to xref-query-replace-in-results.
9927         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
9929         * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
9930         * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
9931         * doc/emacs/dired.texi (Operating on Files):
9932         * doc/emacs/maintaining.texi (Xref Commands)
9933         (Identifier Search, Identifier Search): Update accordingly.
9935 2016-01-24  Dmitry Gutov  <dgutov@yandex.ru>
9937         Update cl-defgeneric and cl-defmethod docstrings
9939         * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
9940         (cl-defgeneric): Rename BODY to DEFAULT-BODY.
9941         (cl-defmethod): Mention that multiple dispatch arguments are
9942         allowed.  Document supported types.  (Bug#22336)
9944 2016-01-23  Dmitry Gutov  <dgutov@yandex.ru>
9946         Comment out next-error-function integration in xref
9948         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
9949         Comment out next-error-function integration
9950         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
9952 2016-01-23  John Wiegley  <johnw@newartisans.com>
9954         Correct a use of "which" in intro.texi
9956 2016-01-23  Alan Mackenzie  <acm@muc.de>
9958         Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.
9960         * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
9961         context of case labels (including "default") more rigorously.
9962         (c-guess-basic-syntax CASE 15): Consequential amendment.
9964         * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
9966 2016-01-23  Oscar Fuentes  <ofv@wanadoo.es>
9968         Don't operate on menu bar of nonexistent frame
9970         * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
9971         is valid before redisplaying its menu. Fixes bug#22438.
9973 2016-01-23  Anders Lindgren  <andlind@gmail.com>
9975         Unbreak the GNUstep build.
9977         * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
9978         predefined "caution" image. Add trace.
9979         (x_set_window_size): Remove unused variables `cols' and `rows'.
9980         (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
9981         GNUstep is used.
9982         ([EmacsView updateFrameSize:]): Remove unused variable `win'.
9983         ([EmacsWindow zoom:]): Remove unused variable `f'.
9985 2016-01-23  Eli Zaretskii  <eliz@gnu.org>
9986             John Wiegley  <johnw@gnu.org>
9987             Michael Heerdegen  <michael_heerdegen@web.de>
9989         Improve documentation of 'pcase'
9991         * doc/lispref/control.texi (Pattern matching case statement):
9992         Reorganize, expand, and improve wording.
9994         * etc/NEWS: Mention that 'pcase' changes are documented.
9996 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
9998         * etc/NEWS: Say that Cairo is experimental.
10000 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
10002         Report error for PNG under Cairo
10004         * src/image.c (lookup_rgb_color): Signal a file error instead
10005         of dumping core when mishandling an image.
10007 2016-01-23  Arash Esbati  <esbati@gmx.de>
10009         Delete a spurious backquote (tiny change)
10011         * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
10012         spurious backquote which raises an error with emacs 25.
10014 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
10016         Pacify --enable-gcc-warnings --with-cairo
10018         Problem reported by Alexander Kuleshov in:
10019         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
10020         * src/gtkutil.c (xg_get_page_setup):
10021         Use switch rather than if-then-else.
10022         * src/image.c (COLOR_TABLE_SUPPORT):
10023         Define directly rather than via #define and optional later #undef.
10024         (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
10025         Crash when the pixel is undefined, as there is a genuine bug
10026         here (Bug#22442).
10027         * src/image.c (tiff_load, gif_load, svg_load_image)
10028         (x_kill_gs_process) [USE_CAIRO]:
10029         * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
10030         Omit unused locals, or move them to where they’re needed.
10031         (x_clear_area1): Now ATTRIBUTE_UNUSED.
10033 2016-01-23  Eli Zaretskii  <eliz@gnu.org>
10035         Update documentation for Dired search and replace
10037         * doc/emacs/dired.texi (Operating on Files): Update descriptions
10038         of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
10039         'dired-do-find-regexp-and-replace'.
10041         * etc/NEWS: Mention xref-related changes in Dired.
10043 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
10045         Port recent xdisp.c fix to picky C compilers
10047         * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
10048         putting #if inside the arguments to a standard function, which
10049         the C standard says has undefined behavior.
10051 2016-01-22  Alan Mackenzie  <acm@muc.de>
10053         Prevent spurious recognition of K&R argument declarations.  Fixes bug #2203
10055         * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
10056         (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
10057         contained in the preceding arg list.
10059         * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
10060         `c-forward-declarator' in place of inline code.
10062 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
10064         Fix the build with --enable-checking=glyphs
10066         * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
10067         build without xwidget support.
10069 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
10071         Document cl-generic.el
10073         * doc/lispref/functions.texi (Generic Functions): New section.
10074         (Bug#22336)
10075         (Functions): Update the chapter menu.
10076         * doc/lispref/elisp.texi: Update the master menu.
10078 2016-01-22  Paul Eggert  <eggert@cs.ucla.edu>
10080         xwidgets style cleanup
10082         Adjust the newly-added Xwidgets code so that it uses a more-typical
10083         Emacs style.  This should not affect behavior, except that in
10084         a few places it adds runtime checks that Lisp arguments are of
10085         the proper type, and in one place it uses more-precise arithmetic.
10086         * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
10087         * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
10088         Include xwidget.h unconditionally.
10089         * src/buffer.c (Fkill_buffer):
10090         * src/dispnew.c (update_window):
10091         * src/emacs.c (main):
10092         * src/print.c (print_object):
10093         * src/window.c (Fdelete_window_internal):
10094         * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
10095         (get_next_element, set_iterator_to_next, next_element_from_xwidget)
10096         (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
10097         (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
10098         * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
10099         Call xwidget functions and macros without worrying about
10100         HAVE_XWIDGETS when the code is a no-op on non-xwidget
10101         platforms.
10102         * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
10103         (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
10104         (struct it.xwidget):
10105         * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
10106         Always define.
10107         * src/emacsgtkfixed.h: Omit unnecessary comment.
10108         * src/keyboard.c: Fix spacing.
10109         * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
10110         Define to be a no-op if not HAVE_XWIDGETS.
10111         * src/xwidget.c: Include xwidget.h first (after config.h)
10112         to make sure that it can stand by itself.
10113         (Fmake_xwidget, Fxwidget_webkit_execute_script):
10114         Fix typo in doc string.
10115         (Fmake_xwidget): Check type of args.
10116         (Fmake_xwidget, offscreen_damage_event)
10117         (webkit_document_load_finished_cb, webkit_download_cb)
10118         (webkit_new_window_policy_decision_requested_cb)
10119         (webkit_navigation_policy_decision_requested_cb)
10120         (xwidget_osr_draw_cb, xwidget_osr_event_forward)
10121         (xwidget_osr_event_set_embedder, xwidget_init_view):
10122         Omit unnecessary casts.
10123         * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
10124         (xwidget_show_view, xwidget_hide_view)
10125         (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
10126         (xwidget_touched):
10127         * src/xwidget.h (struct xwidget.kill_without_query)
10128         (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
10129         Use bool for boolean.
10130         * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
10131         Simplify by using list functions.
10132         (WEBKIT_FN_INIT): Omit unnecessary test for nil.
10133         (Fxwidget_resize): Check type of integer args
10134         before doing any work.  Check that they are nonnegative.
10135         (Fxwidget_set_adjustment): Check type of integer arg.
10136         Avoid redundant call to gtk_scrolled_window_get_vadjustment.
10137         Simplify.  Use double, not float.
10138         (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
10139         (valid_xwidget_spec_p): Simplify.
10140         (xwidget_spec_value): Omit unused arg FOUND.  All callers changed.
10141         * src/xwidget.h: Include lisp.h first, so that includers do
10142         not need to worry about doing that before including this file.
10143         Make this .h file safe to include even on non-HAVE_XWIDGETS
10144         configurations, to simplify the includers.
10145         (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
10146         (xwidget_end_redisplay, lookup_xwidget)
10147         (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
10148         Now a no-op if !HAVE_XWIDGETS, to simplify callers.
10149         (struct glyph_matrix, struct glyph_string, struct xwidget)
10150         (struct xwidget_view, struct window):
10151         New forward or incomplete decls, so that includers need not
10152         assume the corresponding .h files are already included, or that
10153         HAVE_XWIDGETS is defined.
10154         (struct xwidget_type, xwidget_from_id): Remove; unused.
10156 2016-01-22  Michael Albinus  <michael.albinus@gmx.de>
10158         Backport kqueue integration from master
10160         * configure.ac (--with-file-notification): Add kqueue.
10161         (top): Remove special test for "${HAVE_NS}" and
10162         ${with_file_notification}, this is handled inside gfilenotify
10163         tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
10164         instead of library specific variables.  Add error message for
10165         gfile on Nextstep.
10167         * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
10168         Fix some glitches in the example.
10170         * etc/NEWS: Mention kqueue.
10172         * lisp/filenotify.el (file-notify--library)
10173         (file-notify-descriptors, file-notify-callback)
10174         (file-notify-add-watch, file-notify-rm-watch)
10175         (file-notify-valid-p): Add kqueue support.
10176         (file-notify--rm-descriptor): Remove WHAT arg.
10178         * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
10180         * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
10182         * src/inotify.c (inotifyevent_to_event): Extract file name from
10183         watch_object if the event doesn't provide it.
10184         (Finotify_add_watch): Add file name to watch_object.
10186         * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
10188         * src/kqueue.c: New file.
10190         * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
10192         * test/automated/file-notify-tests.el
10193         (file-notify--test-expected-events): Remove.
10194         (file-notify--test-cleanup): Do not set that variable.
10195         (file-notify--test-timeout) Use different timeouts for
10196         different libraries.
10197         (file-notify--test-library): New defun.
10198         (file-notify--test-event-test): Make stronger checks.
10199         (file-notify--test-with-events): EVENTS can also be a list of
10200         lists.  Flush outstanding events before running the body.
10201         Make timeout heuristically depend on the number of events.
10202         (file-notify-test01-add-watch, file-notify-test02-events)
10203         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
10204         Rewrite in order to call file monitors but directory monitors.
10205         (file-notify-test02-events, file-notify-test04-file-validity): Do
10206         not skip cygwin tests.  Add additional test for file creation.
10207         Adapt expected result for different backends.
10208         (file-notify-test03-autorevert): Some of the tests don't work for
10209         w32notify.
10210         (file-notify-test06-many-events): New test.
10212 2016-01-22  John Wiegley  <johnw@newartisans.com>
10214         Further corrections to the pcase docstring
10216 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
10218         * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
10220 2016-01-22  Stephen Leake  <stephen_leake@stephe-leake.org>
10222         In xref-collect-references, force backends to respect the 'dir' arg
10224         * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
10225         to use `default-directory'.
10227 2016-01-22  John Wiegley  <johnw@newartisans.com>
10229         Minor correction to pcase docstring
10231 2016-01-22  John Wiegley  <johnw@newartisans.com>
10233         Write a new docstring for the pcase macro
10235         * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
10237 2016-01-21  Stephen Berman  <stephen.berman@gmx.net>
10239         Avoid byte-compiler warning in todo-mode (bug#21953)
10241         * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
10242         to looking-back to comply with advertised-calling-convention.
10244 2016-01-21  Stephen Berman  <stephen.berman@gmx.net>
10246         Fix desktop support in todo-mode and doc-view (bug#22377)
10248         * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
10249         * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
10251         * lisp/calendar/todo-mode.el (todo-modes-set-2):
10252         * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
10254 2016-01-21  Paul Eggert  <eggert@cs.ucla.edu>
10256         No need to configure gobject-introspection
10258         It wasn’t needed for the recently-installed xwidget_mvp code; see:
10259         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
10260         * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
10261         (HAVE_GIR):
10262         * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
10263         Remove.  All uses removed.
10264         * configure.ac (emacs_config_features): Don’t worry about GIR.
10266 2016-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10268         Don’t export C symbols not used elsewhere
10270         These were recently added, mostly as part of xwidget code.
10271         * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
10272         (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
10273         Now static functions here, not macros in emacsgtkfixed.h.
10274         * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
10275         Remove.  All uses replaced by definiens.
10276         (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
10277         Remove; these are now static functions in emacsgtkfixed.c.
10278         (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
10279         Remove; unused.
10280         (emacs_fixed_get_type): Remove decl; no longer extern.
10281         * src/xwidget.c (offscreen_damage_event)
10282         (webkit_mime_type_policy_typedecision_requested_cb)
10283         (webkit_new_window_policy_decision_requested_cb)
10284         (webkit_navigation_policy_decision_requested_cb)
10285         (xwidget_spec_value, xwidget_view_lookup)
10286         (xwidget_start_redisplay, xwidget_touch):
10287         Now static.
10288         * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
10289         Remove decls.
10291 2016-01-20  Dmitry Gutov  <dgutov@yandex.ru>
10293         Support squiggly heredocs in ruby-mode
10295         * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
10296         Support squiggly heredocs added in Ruby 2.3.
10298         * test/indent/ruby.rb: Add squiggly example.
10300 2016-01-20  Glenn Morris  <rgm@gnu.org>
10302         * configure.ac (emacs_config_features): Remove WEBKIT.
10304 2016-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10306         Port to platforms with gtk3 but not webkitgtk3
10308         I ran into this problem on my Fedora 23 installation;
10309         Emacs configured but did not build when --with-xwidgets was specified.
10310         * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
10311         (DOES_XWIDGETS_USE_GIR): New var.
10312         If --with-xwidgets is specified, report an error if not
10313         doable, to be consistent with the other --with options.
10314         Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
10315         not work at all without webkitgtk3.  Simplify use of
10316         EMACS_CHECK_MODULES.  Output message about gobject
10317         introspection only if xwidgets are used.
10318         * etc/NEWS: Users need webkitgtk3, not merely webkit.
10319         * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
10320         since this file is no longer compiled if webkitgtk3 is not available.
10322 2016-01-20  Eli Zaretskii  <eliz@gnu.org>
10324         Fix doc string of 'isearch-search-fun-function'
10326         * lisp/isearch.el (isearch-search-fun-function)
10327         (isearch-search-string): Doc fixes.  (Bug#22411)
10329 2016-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10331         * lisp/xwidget.el: Nitpicks
10333         * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
10334         Use with-current-buffer rather than save-excursion + set-buffer.
10336 2016-01-20  Glenn Morris  <rgm@gnu.org>
10338         Don't hard-code 1 as point-min.
10340         * lisp/image-mode.el (image-display-size):
10341         * lisp/xwidget.el (xwidget-webkit-last-session)
10342         (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
10344 2016-01-20  Glenn Morris  <rgm@gnu.org>
10346         * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
10348 2016-01-20  Glenn Morris  <rgm@gnu.org>
10350         Trivial doc copyedits.
10352         * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
10353         (Fxwidget_webkit_get_title, Fxwidget_resize)
10354         (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
10355         (Fxwidget_info, Fxwidget_view_lookup)
10356         (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
10358 2016-01-20  Glenn Morris  <rgm@gnu.org>
10360         Avoid advising image-display-size for xwidgets.
10362         * lisp/xwidget.el (xwidget-image-display-size): Remove.
10363         (image-display-size): Remove advice.
10364         * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
10365         (image-display-size): Incorporate xwidget code directly.
10367 2016-01-20  Glenn Morris  <rgm@gnu.org>
10369         Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
10371         * lisp/xwidget.el (window-configuration-change-hook)
10372         (kill-buffer-query-functions): Only modify these hooks if
10373         compiled with xwidget support.
10375 2016-01-20  Glenn Morris  <rgm@gnu.org>
10377         * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
10379 2016-01-19  Glenn Morris  <rgm@gnu.org>
10381         * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
10383         * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
10385         * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
10387 2016-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
10389         * lisp/gnus/nnir.el (nnir-request-update-mark):
10390         Default to the original mark.
10391         cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
10392         and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
10394 2016-01-19  Glenn Morris  <rgm@gnu.org>
10396         * lisp/xwidget.el (report-xwidget-bug): Remove.
10398         (top-level): No longer require reporter.
10400 2016-01-19  Joakim Verona  <joakim@verona.se>
10401             Grégoire Jadi  <daimrod@gmail.com>
10403         Support for the new Xwidget feature.
10405         * configure.ac:
10406         (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
10407         * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
10408         * src/xdisp.c:
10409         (handle_display_spec, handle_single_display_spec, push_it)
10410         (pop_it, set_iterator_to_next, dump_glyph)
10411         (calc_pixel_width_or_height, fill_xwidget_glyph_string)
10412         (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
10413         (produce_xwidget_glyph, x_produce_glyphs)
10414         (get_window_cursor_type):
10415         * src/window.c (Fdelete_window_internal):
10416         * src/termhooks.h (e):
10417         * src/print.c (print_object):
10418         * src/lisp.h (ptrdiff_t):
10419         * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
10420         (syms_of_keyboard):
10421         * src/emacs.c (main):
10422         * src/dispnew.c (update_window, scrolling_window):
10423         * src/dispextern.h (g, i):
10424         * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
10425         (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
10426         * src/keyboard.c (kbd_buffer_get_event):
10427         * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
10428         (emacs_fixed_class_init): Add case for an xwidget view.
10430         * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
10433         Various improvements to the Xwidget feature.
10434         * src/xwidget.c:
10435         * src/emacsgtkfixed.c:
10436         * lisp/xwidget.el:
10438 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10440         Improve documentation of 'alist-get'
10442         * doc/lispref/variables.texi (Setting Generalized Variables): Add
10443         'alist-get' to the list of functions that can appear in PLACE
10444         argument of 'setf'.
10446 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10448         Minor copyedits of doc/emacs/maintaining.texi
10450         * doc/emacs/maintaining.texi (List Identifiers): More accurate
10451         description of "C-M-i" wrt tags tables.
10452         (Tags Tables): Move the definition of "tag" to a footnote.
10454 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10456         Unbreak the Cygwin-w32 build
10458         * src/w32fns.c (globals_of_w32fns): Move the initialization of
10459         resetstkoflw into a part that isn't compiled on Cygwin.
10460         (Bug#22403)
10462 2016-01-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10464         * shr.el (shr-table-body): Allow tables to have text children.
10466 2016-01-19  Phillip Lord  <phillip.lord@russet.org.uk>
10468         Cope with multiple overlapping faces.
10470         * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
10471           left.
10472           (hfy-face-resolve-face): Handle font specification as well as font
10473           name. Documentation update. (Bug#21990)
10475 2016-01-19  Paul Eggert  <eggert@cs.ucla.edu>
10477         Fix spurious escapes in describe-input-method
10479         Problem reported by Vincent Belaïche (Bug#22309).
10480         * lisp/international/mule-cmds.el (describe-language-environment):
10481         * lisp/international/quail.el (quail-help):
10482         Apply substitute-command-keys to doc strings before displaying them.
10484 2016-01-19  Paul Eggert  <eggert@cs.ucla.edu>
10486         Minor improvements to (random t) documentation
10488         * doc/lispref/numbers.texi (Random Numbers):
10489         * src/fns.c (Frandom):
10490         Omit unnecessary details about randomness fallback.
10491         Say that it is a fallback.
10493 2016-01-19  Dmitry Gutov  <dgutov@yandex.ru>
10495         Rename methods in Ruby etags example file
10497         * test/etags/ruby-src/test.rb: Rename the example methods to
10498         correspond to the common terminology used in Ruby.
10499         * test/etags/CTAGS.good:
10500         * test/etags/ETAGS.good_1:
10501         * test/etags/ETAGS.good_2:
10502         * test/etags/ETAGS.good_3:
10503         * test/etags/ETAGS.good_4:
10504         * test/etags/ETAGS.good_5:
10505         * test/etags/ETAGS.good_6: Adjust accordingly.
10507 2016-01-19  Dmitry Gutov  <dgutov@yandex.ru>
10509         Propertize backtick in 'def `(abc)' as symbol constituent
10511         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
10512         Propertize backtick in 'def `(abc)' as symbol constituent.
10513         (ruby-syntax-propertize-function):
10514         Rename to ruby-syntax-propertize.
10516 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10518         Fix scrolling under scroll-preserve-screen-position on TTY
10520         * src/window.c (window_scroll_line_based): When setting point to
10521         preserve screen coordinates, don't let cursor enter either of the
10522         two scroll margins.  (Bug#22395)
10524 2016-01-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10526         Fix shr table rendering of nested tables
10528         * shr.el (shr-table-body): Don't include all tbodies in nested
10529         tables in the levels above.
10531 2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>
10533         * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
10535 2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>
10537         Add xref-based replacements for Dired search commands
10539         * lisp/dired-aux.el (dired-do-find-regexp)
10540         (dired-do-find-regexp-and-replace): New commands.
10541         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
10543         * lisp/dired.el (dired-mode-map): Change bindings for `A' and
10544         `Q' to the new commands.
10546         * lisp/progmodes/xref.el (xref-query-replace)
10547         (xref-collect-matches): Add progress reporters.
10548         (xref--find-ignores-arguments): Return nil for zero ignores.
10549         (xref--show-xrefs): Add an optional argument.
10550         (xref-collect-matches): Drop the assert.  'find' accepts a
10551         regular file in place of directory argument, too.
10553 2016-01-18  Alan Mackenzie  <acm@muc.de>
10555         * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
10557 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10559         Improve user documentation of Xref
10561         * doc/emacs/maintaining.texi (Xref, Find Identifiers)
10562         (Looking Up Identifiers, Identifier Search, List Identifiers):
10563         Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>.  See
10564         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
10565         for the details.
10567 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10569         Fix scrolling under scroll-preserve-screen-position and margins
10571         * src/window.c (window_scroll_pixel_based): When setting point to
10572         preserve screen coordinates, don't let cursor enter either of the
10573         two scroll margins.  Fix incorrect usage of
10574         WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
10575         instead of CURRENT_HEADER_LINE_HEIGHT.  (Bug#22395)
10577 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10579         Unbreak the MS-Windows build
10581         * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
10582         WINDOWSNT, to avoid link failure.  (Bug#22202)
10584 2016-01-18  Alan Mackenzie  <acm@muc.de>
10586         Desktop: protect users against inadvertant upgrading of desktop file.
10588         An upgraded (version 208) desktop file cannot be read in Emacs < 25.
10590         * etc/NEWS: Add an entry about upgrading a desktop file.
10592         * lisp/desktop.el (desktop-file-version): Amend doc string.
10593         (desktop-native-file-version, desktop-io-file-version): new variables.
10594         (desktop-clear): Set desktop-io-file-version to nil.
10595         (desktop-buffer-info): make the presence of the last item on the list
10596         conditional on (>= desktop-io-file-version 208).
10597         (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
10598         Amend the doc string.  Add code to determine the output file version.
10599         (desktop-create-buffer): Set desktop-io-file-version to the input file's
10600         version.
10602 2016-01-18  Paul Eggert  <eggert@cs.ucla.edu>
10604         Initialize GnuTLS before calling gnutls_rnd
10606         * src/gnutls.c (emacs_gnutls_global_init): Now extern.
10607         Don’t set gnutls_global_initialized if gnutls_global_init fails.
10608         * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
10609         if 2.12 or later, which has gnutls_rnd.
10610         (emacs_gnutls_global_init, gnutls_rnd): New fallback
10611         placeholder macros if before 2.12.
10612         (init_random): Initialize gnutls globals before trying to
10613         use gnutls_rnd.
10615 2016-01-18  Andreas Schwab  <schwab@linux-m68k.org>
10617         Don't use GnuTLS before it is initialized
10619                 * src/sysdep.c (init_random): Don't use gnutls_rnd.
10621 2016-01-17  Paul Eggert  <eggert@cs.ucla.edu>
10623         Port cleanup attribute to OpenBSD
10625         The OpenBSD C compiler issues false alarms about strcpy, strcat, and
10626         sprintf, and this messes up 'configure' when it tests for the cleanup
10627         attribute.  Work around the problem by using __has_attribute directly.
10628         Problem reported by Joakim Jalap (Bug#22385).
10629         * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
10630         * m4/ax_gcc_var_attribute.m4: Remove.
10631         * src/conf_post.h (__has_attribute): Provide a substitute, for
10632         non-GCC or older GCC compilers.  All uses changed to assume
10633         the substitute.  Check for the cleanup attribute.
10634         * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
10636 2016-01-17  Paul Eggert  <eggert@cs.ucla.edu>
10638         Prefer GnuTLS when acquiring random seed
10640         This attempts to improve on the fix for Bug#22202.
10641         * configure.ac (HAVE_DEV_URANDOM): Remove.
10642         Check /dev/urandom existence at run time, not at build time,
10643         since the device could exist in the former but not the latter.
10644         * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
10645         (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
10646         (random_seed): New typedef.
10647         (set_random_seed): New static function.
10648         (seed_random): Use them.
10649         (init_random): Use random_seed instead of uintmax_t, so as to
10650         not consume more entropy than needed.  Prefer gnutls_rnd if it
10651         works; this avoids a redundant open of /dev/urandom on
10652         GNU/Linux with modern GnuTLS.
10654 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10656         Improve documentation of dynamic modules
10658         * doc/lispref/loading.texi (How Programs Do Loading): Update the
10659         description of searching for files in 'load' when Emacs was built
10660         with support for dynamic modules.
10662 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10664         * INSTALL: Document --with-modules.
10666 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10668         Document 'function-put'
10670         * doc/lispref/symbols.texi (Symbol Plists): Document
10671         'function-put'.  Update documentation of 'function-get'.
10673 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10675         Document 'funcall-interactively'
10677         * doc/lispref/commands.texi (Interactive Call): Document
10678         'funcall-interactively'.
10679         * doc/lispref/functions.texi (Calling Functions): Mention
10680         'funcall-interactively' and provide a cross-reference.
10682 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10684         * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
10686         * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
10688 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10690         Document renaming of selection-related functions
10692         * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
10693         functions into the corresponding "gui-*" functions.  Make the
10694         description slightly less X-centric.
10696 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10698         * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
10700 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10702         Document 'define-inline'
10704         * doc/lispref/functions.texi (Defining Functions): Document
10705         'define-inline' and related macros.
10707         * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
10709 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10711         * lisp/files.el (dir-locals--all-files): Respect absolute file-names
10713         * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
10715 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10717         * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
10719         instead of manually writing a dir-locals file.
10721 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10723         * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
10725         (dir-locals-file)
10726         * lisp/files-x.el (modify-dir-local-variable)
10727         * lisp/dos-fns.el (dosified-file-name)
10728         * lisp/help-fns.el (describe-variable): Change accordingly.
10730 2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)
10732         Fix incompatbilities with MS-Windows 2000 and older
10734         * src/w32.c <multiByteToWideCharFlags>: New global variable.
10735         (filename_to_utf16, filename_from_ansi, check_windows_init_file):
10736         Use it instead of the literal MB_ERR_INVALID_CHARS.
10737         (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
10738         appropriate for the underlying OS version.  For details, see
10739         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10740         * src/w32.h: Declare multiByteToWideCharFlags.
10741         * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
10742         (add_tray_notification): Use multiByteToWideCharFlags instead of
10743         the literal MB_ERR_INVALID_CHARS.
10744         (_resetstkoflw_proc): New typedef.
10745         (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
10746         pointer, as this function is absent in msvcrt.dll shipped with W2K
10747         and older systems.
10749 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10751         Mention in PROBLEMS an issue with MS-Windows NT4
10753         * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
10754         on Windows NT4.  For the details, see
10755         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10757 2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)
10759         Ensure 8-byte aligned memory allocation on MS-Windows 9X
10761         * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
10762         special functions on Windows 9X.  Refuse to dump Emacs on Windows 9X.
10763         (malloc_after_dump_9x, realloc_after_dump_9x)
10764         (free_after_dump_9x): New functions.  (Bug#22379)  See also
10765         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
10766         for more details about the original problem.
10768         * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
10769         (free_after_dump_9x): Add prototypes.
10771 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10773         Fix tests for active region in hideif.el
10775         * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
10776         'use-region-p' to test whether to operate on region, instead of
10777         testing 'mark-active'.
10779 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10781         Fix interactive specs in some hideif.el commands
10783         * lisp/progmodes/hideif.el (hif-evaluate-macro)
10784         (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
10785         in commands that should only act on the region if it's active.
10787 2016-01-15  Phillip Lord  <phillip.lord@russet.org.uk>
10789         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
10791 2016-01-15  Phillip Lord  <phillip.lord@russet.org.uk>
10793         Enable test selector from command line
10795         * test/automated/Makefile.in: Change variable manipulation to avoid
10796           over-writing selector.
10798 2016-01-15  Alan Mackenzie  <acm@muc.de>
10800         Don't confuse "::" with ":" when trying to parse member initializers.
10802         * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
10803         more robustly for ":" token when searching backwards for it.
10805         * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
10806         variable.
10808 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10810         Ensure positive number of glyphs for margins of positive width
10812         * src/dispnew.c (margin_glyphs_to_reserve): Always return a
10813         positive value when a non-zero width of the marginal area was
10814         requested.  (Bug#22356)
10816 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10818         Fix crashes when mini-window has non-zero margins
10820         * src/window.c (resize_frame_windows): Use 'new_size' to set
10821         minibuffer window's 'total_cols' value, as 'size' might be in
10822         pixels.  (Bug#22356)
10824 2016-01-15  Alan Mackenzie  <acm@muc.de>
10826         In comment-dwim with style `extra-line', respect indent-tabs-mode.
10828         This fixes bug #22369.
10830         * lisp/newcomment.el (comment-make-bol-ws): New function.
10831         (comment-make-extra-lines): Use new function instead of a crude `make-string'.
10833 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10835         Make 'random' seeds cryptographically secure if possible
10837         * configure.ac: Check for "/dev/urandom".
10839         * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
10840         for the seed from "/dev/urandom".
10841         [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
10842         * src/fns.c (Frandom): Update the doc string to indicate that
10843         system entropy is used when available.
10844         * src/w32.c: Include wincrypt.h.
10845         (w32_init_crypt_random, w32_init_random): New functions, use the
10846         CryptGenRandom API.
10847         (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
10848         * src/w32.h (w32_init_random): Add prototype.
10850         * doc/lispref/numbers.texi (Random Numbers): Document more details
10851         about 't' as the argument to 'random'.
10853         * etc/NEWS: Mention that '(random t)' now uses a cryptographically
10854         strong seed if possible.
10856         (Bug#22202)
10858 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10860         Unhide the --no-line-directive option to 'etags'
10862         * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
10863         option.  (Bug#22306)
10865         * doc/man/etags.1: Document the --no-line-directive option.
10867 2016-01-15  Alan J Third  <alan@idiocy.org>  (tiny change)
10869         Fix picture-mode wrt double-width characters
10871         * lisp/textmodes/picture.el (picture-insert): Check the width of
10872         the character being replaced, not just that of the replacement.
10873         (Bug#1808)
10875 2016-01-15  Eric Abrahamsen  <eric@ericabrahamsen.net>
10877         Honor docstring of gnus-group-get-new-news
10879         * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
10880         but non-numeric, unconditionally consider all groups to need updating.
10882 2016-01-14  Simen Heggestøyl  <simenheg@gmail.com>
10884         Disallow parenthesis in non-pseudo CSS selectors
10886         * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
10887         parenthesis in selectors except for in the function notation that
10888         might appear right after a pseudo-class.
10889         * test/indent/scss-mode.scss: Add a test for it.
10891 2016-01-14  Katsumi Yamaoka  <yamaoka@jpl.org>
10893         * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
10895 2016-01-14  Michael Albinus  <michael.albinus@gmx.de>
10897         check-maybe shall run only default tests
10899         * test/automated/Makefile.in (check, check-expensive): Depend on
10900         mostlyclean.
10901         (check-maybe): Re-run only default tests.
10902         (check-doit): Use code of check-maybe.
10903         (mostlyclean): Move *.log files away.
10905 2016-01-14  Mark Oteiza  <mvoteiza@udel.edu>
10907         * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
10909 2016-01-14  Dmitry Gutov  <dgutov@yandex.ru>
10911         Un-obsolete tags-loop-continue
10913         * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
10914         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
10916 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10918         Document obsoletion of 'intangible' and 'point-entered/left'
10920         * doc/lispref/text.texi (Special Properties): Document the new
10921         properties 'cursor-intangible' and 'cursor-sensor-functions'.
10922         Document the obsolete status of 'intangible', 'pointer-left',
10923         and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
10924         * doc/lispref/display.texi (Overlay Properties): Document that
10925         'intangible' overlay property is obsolete.
10927         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
10929 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10931         Updater documentation of 'looking-back'
10933         * doc/lispref/searching.texi (Regexp Search): Update documentation
10934         of 'looking-back'.  Fix markup.
10936 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10938         Document 'pre-redisplay-functions'
10940         * doc/lispref/hooks.texi (Standard Hooks):
10941         * doc/lispref/display.texi (Forcing Redisplay): Document
10942         'pre-redisplay-functions'.
10944 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10946         Document the new deafault value of 'load-read-function'
10948         * doc/lispref/loading.texi (How Programs Do Loading): Document the
10949         change in the default value of 'load-read-function'.
10951 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10953         Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
10955         * doc/lispref/nonascii.texi (Text Representations): Document
10956         'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
10958 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
10960         Document the new prefix-command hooks
10962         * doc/lispref/hooks.texi (Standard Hooks): Document
10963         `prefix-command-echo-keystrokes-functions' and
10964         `prefix-command-preserve-state-hook'.
10966 2016-01-13  Paul Eggert  <eggert@cs.ucla.edu>
10968         Fix one more misuse of time-stamp-time-zone
10970         * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
10971         than the unportable "GMT" for time zone.
10973 2016-01-13  Paul Eggert  <eggert@cs.ucla.edu>
10975         Fix NNTP NEWGROUPS off-by-a-few-hours bug
10977         * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
10978         in Universal Time, since we’re telling the server “GMT”.
10980 2016-01-13  Paul Eggert  <eggert@cs.ucla.edu>
10982         Update publicsuffix.txt from upstream
10984         * etc/publicsuffix.txt: Update from
10985         https://publicsuffix.org/list/effective_tld_names.dat
10986         dated 2016-01-12 11:52:01 UTC.
10988 2016-01-13  Glenn Morris  <rgm@gnu.org>
10990         Fix some declarations.
10992         * lisp/descr-text.el (internal-char-font):
10993         * lisp/cedet/mode-local.el (xref-item-location):
10994         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
10995         (epg-sub-key-capability, epg-sub-key-validity):
10996         * lisp/international/mule-util.el (internal-char-font):
10997         Fix declarations.
10999 2016-01-13  Glenn Morris  <rgm@gnu.org>
11001         Fix some custom types.
11003         * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
11004         * lisp/gnus/gnus.el (gnus-valid-select-methods):
11005         * lisp/mail/rmail.el (rmail-get-coding-function):
11006         * lisp/net/newst-treeview.el (newsticker-groups-filename):
11007         * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
11008         * lisp/textmodes/tildify.el (tildify-space-predicates):
11009         * lisp/url/url-tramp.el (url-tramp-protocols):
11010         Fix custom types.
11012 2016-01-13  Glenn Morris  <rgm@gnu.org>
11014         Add some missing version tags.
11016         * lisp/electric.el (electric-quote-comment)
11017         (electric-quote-string, electric-quote-paragraph):
11018         * lisp/epg-config.el (epg-gpgconf-program):
11019         * lisp/rect.el (rectangle-preview):
11020         * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
11021         * lisp/emacs-lisp/package.el (package-selected-packages)
11022         (package-hidden-regexps):
11023         * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
11024         * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
11025         * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
11026         (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
11027         (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
11028         (mml-smime-sign-with-sender, mml2015-always-trust)
11029         (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
11030         * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
11031         (browse-url-conkeror-arguments):
11032         * lisp/net/newst-reader.el (newsticker-download-logos):
11033         * lisp/progmodes/gud.el (gud-guiler-command-name):
11034         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
11035         * lisp/progmodes/project.el (project-vc):
11036         * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
11037         (python-shell-remote-exec-path, python-shell-first-prompt-hook)
11038         (python-shell-completion-native-disabled-interpreters)
11039         (python-shell-completion-native-enable)
11040         (python-shell-completion-native-output-timeout)
11041         (python-shell-completion-native-try-output-timeout):
11042         * lisp/progmodes/xref.el (xref):
11043         * lisp/term/screen.el (xterm-screen-extra-capabilities):
11044         * lisp/term/xterm.el (xterm-max-cut-length):
11045         Add missing version tags.
11047 2016-01-13  Glenn Morris  <rgm@gnu.org>
11049         * test/automated/core-elisp-tests.el
11050         (core-elisp-tests-1-defvar-in-let): Add a custom type.
11052 2016-01-13  Glenn Morris  <rgm@gnu.org>
11054         * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
11056         Remove comments that do not apply since 2005-08-09.  (Bug#22349)
11058 2016-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11060         Merge from gnulib
11062         This mostly just changes "UTC" to "UTC0" for POSIX conformance.
11063         It also updates to the latest version of texinfo.tex.
11064         * build-aux/gitlog-to-changelog, build-aux/move-if-change:
11065         * build-aux/update-copyright, doc/misc/texinfo.tex:
11066         Update from gnulib.
11068 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11070         Update documentation of 'process-running-child-p'
11072         * doc/lispref/processes.texi (Input to Processes): Document the
11073         changes in return value of 'process-running-child-p'.
11075 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11077         Update documentation of 'deactivate-mark'.
11079         * doc/lispref/markers.texi (The Mark): Document that
11080         'deactivate-mark' is now buffer-local when set.
11082 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11084         Update documentation of 'completion-table-dynamic'
11086         * doc/lispref/minibuf.texi (Programmed Completion): Document the
11087         new optional argument to 'completion-table-dynamic'.
11089 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11091         Document changes in 'read-buffer' and 'read-buffer-function'
11093         * doc/lispref/minibuf.texi (High-Level Completion): Document the
11094         4th argument to 'read-buffer' and 'read-buffer-function'.
11096 2016-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11098         Fix time-stamp-time-zone bugs introduced in July
11100         This fixes a bug introduced when the July changes to
11101         format-time-string installed, as the changes were not
11102         correctly handled in this module (Bug#22302).
11103         Also, document time stamp time zones.
11104         * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
11105         (time-stamp--format): New private function.
11106         (time-stamp-string, time-stamp-string-preprocess)
11107         (time-stamp-do-number): Use it.
11108         * doc/emacs/files.texi (Time Stamps): Mention time zones.
11109         * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
11111 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11113         Make piping to subprocesses more robust on MS-Windows
11115         * src/w32.c (sys_write): Don't write to a pipe more stuff than its
11116         buffer can hold.  Don't return -1 if something has been written to
11117         the pipe.  Zero out 'errno' before calling '_write', to avoid
11118         returning a stale value.  (Bug#22344)
11119         * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
11120         * src/w32.c (pipe2): Use it to request a user-defined size for the
11121         pipe being created.
11123         * etc/NEWS: Mention 'w32-pipe-buffer-size'.
11125         * doc/emacs/msdos.texi (Windows Processes): Document
11126         'w32-pipe-buffer-size'.
11128 2016-01-11  Dmitry Gutov  <dgutov@yandex.ru>
11130         test/automated/vc-hg.el: Support out-of-tree build
11132         * test/automated/vc-hg.el
11133         (vc-hg-annotate-extract-revision-at-line-with-filename)
11134         (vc-hg-annotate-extract-revision-at-line-with-both):
11135         Don't refer to source-directory.
11136         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
11138 2016-01-11  Michael Albinus  <michael.albinus@gmx.de>
11140         Minor change in tramp-tests.el
11142         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
11143         Use `dired-uncache' instead of a Tramp internal function.
11145 2016-01-11  Peter Feigl  <peter.feigl@nexoid.at>
11147         * etc/HELLO: Add Armenian and Mongolian greetings.
11149         (Bug#22346)
11151 2016-01-11  Alan Mackenzie  <acm@muc.de>
11153         Java Mode: Fontify identifiers in the presence of annotations.
11155         * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
11156         Don't move point when the defun fails.
11157         (c-forward-decl-or-cast-1): Correct a usage of match data.
11159         * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
11160         (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
11161         removed variable.
11163         * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
11165 2016-01-11  Eli Zaretskii  <eliz@gnu.org>
11167         Avoid an infloop when we run out of memory
11169         * src/alloc.c (garbage_collect_1): Don't bother saving and
11170         restoring the echo-area message if we are GC'ing after running out
11171         of memory.  This avoids an infloop due to repeated attempts to
11172         allocate memory for the cons cell needed to save the message,
11173         which signals the memory-full error, which attempts to save the
11174         echo-area message, which signals memory-full again, etc.
11176 2016-01-11  Eli Zaretskii  <eliz@gnu.org>
11178         Avoid unnecessary failures of auto-saving after fatal error
11180         * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
11181         the benefit of FAT volumes if we are called as part of shutting
11182         down due to a fatal error, which probably means we are trying to
11183         auto-save the session.
11184         * src/lread.c (check_obarray): Don't bother making the obarray
11185         valid if we are shutting down due to a fatal error.  This avoids
11186         interfering with auto-saving the crashed session.
11188 2016-01-11  Paul Eggert  <eggert@cs.ucla.edu>
11190         Simplify HAVE_MODULES use in mark_maybe_pointer
11192         * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
11193         so that later code can use 'if' rather than '#ifdef'.
11194         (mark_maybe_pointer): Simplify based on HAVE_MODULES now
11195         always working.
11197 2016-01-11  Paul Eggert  <eggert@cs.ucla.edu>
11199         Revert attempt to use 'noexcept' in typedef
11201         This use of 'noexcept' runs afoul of the C++11 standard.
11202         Problem reported by Philipp Stephani in:
11203         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
11204         * src/emacs-module.c (emacs_finalizer_function):
11205         Move this typedef here ...
11206         * src/emacs-module.h: ... from here, and use only the C
11207         version of the typedef.  The typedef is now private since it
11208         is never used in the .h file now and anyway it seemed to be
11209         causing more confusion than it cured.
11210         (make_user_ptr, get_user_finalizer, set_user_finalizer):
11211         Open-code the type instead.
11213 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11215         Update documentation of 'indirect-function'
11217         * doc/lispref/eval.texi (Function Indirection): Update the
11218         documentation of 'indirect-function'.
11220 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11222         Update documentation for obsoleting 'syntax-begin-function'
11224         * doc/lispref/syntax.texi (Position Parse): Undocument
11225         'syntax-begin-function' that is now obsolete.
11227 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11229         Document new features if Eshell
11231         * doc/misc/eshell.texi (Input/Output): Document the new
11232         '#<bufname>' syntax.
11233         (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
11234         Disable "Key Index" generation, as there are no @kindex entries in
11235         this manual.
11237 2016-01-10  Michael Albinus  <michael.albinus@gmx.de>
11239         Handle too long commands in Tramp
11241         * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
11242         (tramp-do-file-attributes-with-ls): Send sequence of commands, in
11243         order to not exceed shell command line limit.
11245         * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
11246         (tramp--test-utf8): Include Arabic file name, again.
11248 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11250         * .gitattributes: *.cur and *.pif are binary files too.
11252 2016-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11254         * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
11256 2016-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11258         * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
11260         * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
11261         within $(...).
11262         * test/indent/shell.sh: Add corresponding test.
11264 2016-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11266         * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
11268         (mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
11269         cast to Lisp_Object.
11271 2016-01-10  Dmitry Gutov  <dgutov@yandex.ru>
11273         Use short date for 'hg annotate', and output the author
11275         * lisp/vc/vc-hg.el (vc-hg-annotate-command):
11276         Change '-d' to '-dq'.  (Bug#21805)
11277         (vc-hg-annotate-switches): Default to "-u" "--follow".
11278         (vc-hg-annotate-re): Update to recognize the short date format
11279         and the optional username.
11280         (vc-hg-annotate-time)
11281         (vc-hg-annotate-extract-revision-at-line): Update accordingly.
11283         * test/automated/vc-hg.el: New file.
11285 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11287         Spelling fix
11289 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11291         Document user-level functions in project.el
11293         * lisp/progmodes/project.el (project-find-file)
11294         (project-or-external-find-file): Add doc strings.
11296 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11298         Document the user-level features of the Xref package
11300         * doc/emacs/maintaining.texi (Maintaining): Add a list of
11301         described features.
11302         (Xref): New section, made out of thoroughly rewritten "Tags"
11303         section.
11304         (Find Identifiers, Looking Up Identifiers, Xref Commands)
11305         (Identifier Search, List Identifiers): New subsections,
11306         incorporating the old tags commands and the new xref commands.
11307         (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
11308         Section and subsections demoted to a lower level.
11309         * doc/emacs/search.texi (Search):
11310         * doc/emacs/windows.texi (Pop Up Window):
11311         * doc/emacs/frames.texi (Creating Frames):
11312         * doc/emacs/programs.texi (Imenu, Symbol Completion):
11313         * doc/emacs/building.texi (Grep Searching):
11314         * doc/emacs/dired.texi (Operating on Files):
11315         * doc/emacs/glossary.texi (Glossary): All references to tags changed.
11317 2016-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11319         * doc/lispref/loading.texi: Add `define-type' entry for load-history
11321         * doc/lispref/loading.texi (Where Defined): Remove incorrect
11322         cl-defmethod description, and add missing define-type entry.
11324 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11326         Improve doc strings and prompts in xref.el
11328         * lisp/progmodes/xref.el (xref-backend-functions)
11329         (xref-find-definitions): Doc fixes.
11330         (xref-query-replace): Doc fix.  Improve prompts for arguments.
11332 2016-01-09  Alan Mackenzie  <acm@muc.de>
11334         Allow the use of `font-lock-extend-region-multiline' in CC Mode.
11336         * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
11337         `font-lock-extend-regions-wholelines' from
11338         `font-lock-extend-region-functions' rather than setting the latter to
11339         nil.
11341 2016-01-09  Michael Albinus  <michael.albinus@gmx.de>
11343         Fix coding system for Tramp on OS X.
11345         * lisp/net/tramp-compat.el: Require ucs-normalize.
11347         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11348         Set coding system to `utf-8-hfs' for Mac OS X.
11350         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
11351         Flush directory properties when needed.
11352         (tramp--test-utf8): Include Chinese file name, again.
11354 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11356         Update 'load-history' docs
11358         * doc/lispref/loading.texi (Where Defined): Update the list of
11359         forms in 'load-history' by adding the forms created for the
11360         'cl-generic' generics.  (Bug#21422)
11362 2016-01-09  Paul Eggert  <eggert@cs.ucla.edu>
11364         Fix (error ...) error
11366         Problem reported by Glenn Morris in:
11367         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
11368         * lisp/vc/add-log.el (change-log-goto-source): Fix typos
11369         introduced in my Aug 28 change, where I got confused by the
11370         two meanings of (error ...).
11372 2016-01-08  Alan Mackenzie  <acm@muc.de>
11374         Correctly analyze brace arguments in templated C++ function declarations.
11376         * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
11377         POS and LIMIT parameters, like the other c-go-list-* functions have.
11379         * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
11380         for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
11381         followed by template specifiers.
11383 2016-01-08  Glenn Morris  <rgm@gnu.org>
11385         * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
11387         * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
11389 2016-01-08  Mark Oteiza  <mvoteiza@udel.edu>
11391         * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
11393 2016-01-08  Alan Mackenzie  <acm@muc.de>
11395         Respect fontification region calculated by major mode.  Fixes bug #22316.
11397         * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
11398         fontification region has been calculated by a function on
11399         font-lock-extend-after-change-region-function use this region rather than
11400         changing the end position to somewhere else.
11402 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
11404         Improve documentation of Delete Selection mode
11406         * lisp/delsel.el (delete-selection-mode)
11407         (delete-selection-helper): Update and expand the doc strings.
11408         (Bug#22296)
11410         * doc/emacs/mark.texi (Using Region): Document the behavior of
11411         delete commands in Delete Selection mode.  (Bug#22296)
11413         * doc/lispref/markers.texi (The Mark): Document how to add the
11414         support for Delete Selection mode to Lisp programs. (Bug#22296)
11416 2016-01-08  Dmitry Gutov  <dgutov@yandex.ru>
11418         Fix two project-find-file issues
11420         * lisp/progmodes/project.el (project--value-in-dir):
11421         Temporarily set enable-local-variables to :all.
11422         (project-find-file, project-or-external-find-file):
11423         All autoloads.
11424         (project--find-file-in): Require xref.
11426 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
11428         Clarify doc string of 'dired-current-directory'
11430         * lisp/dired.el (dired-current-directory): Doc fix: clarify that
11431         the return value might not end in a slash when called with the
11432         optional argument non-nil.  (Bug#6273)
11434 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
11436         Use the face of preceding text for displaying the ellipsis
11438         * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
11439         text in it->saved_face_id for displaying the ellipsis, and ignore
11440         the face, if any, of the invisible text.  (Bug#22320)
11442 2016-01-08  Michael Albinus  <michael.albinus@gmx.de>
11444         Suppress Chinese file name test for OSX in tramp-tests.el
11446         * test/automated/tramp-tests.el (tramp--test-utf8):
11447         Remove instrumentation.  Suppress Chinese file name test for OSX.
11449 2016-01-08  Glenn Morris  <rgm@gnu.org>
11451         * admin/admin.el (set-version): Also handle the NEWS file.
11453 2016-01-08  Dmitry Gutov  <dgutov@yandex.ru>
11455         apropos-library: Skip obvious duplicates; don't error on generics
11457         * lisp/apropos.el (apropos-library): Skip "was an autoload"
11458         entries, to avoid obvious duplicates.  For each cl-defmethod
11459         entry, take just its function symbol (bug#21422).
11461 2016-01-07  Dmitry Gutov  <dgutov@yandex.ru>
11463         Add project-find-file and project-or-external-find-file
11465         * lisp/minibuffer.el (completion-category-defaults):
11466         Add `project-file' category.
11468         * lisp/progmodes/project.el (project-find-file)
11469         (project-or-external-find-file): New commands.
11470         (project--find-file-in): New private function.
11472         * lisp/progmodes/xref.el (xref-collect-matches): Use
11473         `expand-file-name' on DIR, to expand the tildes.
11474         (xref--find-ignores-arguments): Extract from
11475         `xref--rgrep-command'.
11477 2016-01-07  Leo Liu  <sdl.web@gmail.com>
11479         Add defvar-local to lisp-imenu-generic-expression
11481         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
11482           defvar-local.
11484 2016-01-07  Leo Liu  <sdl.web@gmail.com>
11486         Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
11488         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
11489           Don't declare (indent 1).
11491 2016-01-07  Glenn Morris  <rgm@gnu.org>
11493         * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
11495 2016-01-07  Glenn Morris  <rgm@gnu.org>
11497         * lisp/emacs-lisp/autoload.el (autoload-find-destination):
11499         Avoid specifying the length of a time object (it has not been "2"
11500         for some time).
11502 2016-01-06  Andreas Schwab  <schwab@linux-m68k.org>
11504         Properly encode/decode base64Binary data in SOAP
11506                 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
11507                 base64Binary value as utf-8.
11508                 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
11510 2016-01-06  Eli Zaretskii  <eliz@gnu.org>
11512         Obey coding-system-for-write when writing stdout/stderr in batch
11514         * src/print.c (printchar_to_stream):
11515         * src/xdisp.c (message_to_stderr): If coding-system-for-write has
11516         a non-nil value, use it to encode output in preference to
11517         locale-coding-system.  See the discussions in
11518         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
11519         for the details.
11521         * doc/lispref/os.texi (Terminal Output): Document how to send
11522         non-ASCII text via 'send-string-to-terminal'.
11523         (Batch Mode): Document how text written to standard streams is
11524         encoded.  Fix inaccuracy regarding which output streams are used
11525         by output functions in batch mode.
11527 2016-01-06  Xue Fuqiao  <xfq.free@gmail.com>
11529         * doc/misc/efaq.texi (Packages that do not come with Emacs):
11530         Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
11531         <chenggao@royau.me> in
11532         https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
11534 2016-01-06  Maksim Golubev  <maksim.golubev72@gmail.com>  (tiny change)
11536         * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
11538         Fix backslash.  (Bug#22224)
11540 2016-01-06  Federico Beffa  <beffa@ieee.org>  (tiny change)
11542         * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
11544         Make it actually work.  (Bug#22265)
11546 2016-01-05  Alan Mackenzie  <acm@muc.de>
11548         Remove function wrongly on AWK Mode value of context fontification hook.
11550         * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
11551         swap order of entries so that awk's entry isn't superseded by the default.
11553         * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
11554         to handle nil value of c-before-context-fontification-functions.
11556 2016-01-05  Paul Eggert  <eggert@cs.ucla.edu>
11558         * src/buffer.c: Stick with ASCII in doc string.
11560 2016-01-05  Paul Eggert  <eggert@cs.ucla.edu>
11562         Reword transient-mark-mode doc string
11564         * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
11565         The value 'lambda (literally) can be interpreted as (quote lambda),
11566         which is not intended here; we want just the lambda symbol.
11568 2016-01-05  Eli Zaretskii  <eliz@gnu.org>
11570         Update doc string of 'selective-display'
11572         * src/buffer.c (syms_of_buffer) <selective-display>: Say that
11573         using it with the value of 't' is obsolete.  (Bug#1092)
11575 2016-01-05  Alan Mackenzie  <acm@muc.de>
11577         Make C++ buffers writeable when writing their initial text properties.
11579         This is a correction to yesterday's CC Mode patch.
11581         * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
11582         c-save-buffer-state around the function rather than a mere `let'.
11584 2016-01-05  Michael Albinus  <michael.albinus@gmx.de>
11586         Additional changes for "make check-expensive"
11588         * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
11589         Explain make target `check-expensive'.
11591         * etc/NEWS: Mention new make target `check-expensive'.
11593         * test/automated/Makefile.in (check-doit): New target.
11594         (check, check-expensive): Use it.
11596 2016-01-04  Alan Mackenzie  <acm@muc.de>
11598         Apply text properties for <, > in new after-change function (C++ Java Modes).
11600         These are category/syntax-table properties to give < and > paren syntax.
11601         Also apply certain `c-type' text properties to the insides of <..> constructs
11602         to ensure that identifiers contained by them get fontified.  This patch fixes
11603         bug #681.
11605         * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
11606         after-change action.
11608         * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
11609         change region to include <s and >s which might not be already marked as
11610         parens, rather than just when paren text properties are removed.
11611         (c-restore-<>-properties): New after-change function, which applies text
11612         properties marking < and > with paren syntax.
11614         * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
11615         properties are applied to the interiors of <...> constructs, to ensure
11616         fontification of identifiers there.
11618         * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
11619         c-restore-<>-properties to this list for C++ and Java.
11621         * lisp/progmodes/cc-mode.el (c-common-init): When invoking
11622         c-before-font-lock-functions, exclude c-restore-<>-properties from the
11623         functions invoked.
11624         (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
11625         to allow modification by before-change functions.
11626         (c-after-change): Amend c-new-END here, rather than initializing it and
11627         c-new-BEG.
11629 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
11631         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
11633 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
11635         Introduce check-expensive tests.
11637         * Makefile.in (check-expensive):
11638         * test/automated/Makefile.in (check-expensive): New target.
11640         * test/automated/auto-revert-tests.el
11641         (auto-revert-test01-auto-revert-several-files):
11642         * test/automated/file-notify-tests.el (file-notify--deftest-remote):
11643         * test/automated/tramp-tests.el (tramp-test26-process-file)
11644         (tramp-test27-start-file-process, tramp-test28-shell-command)
11645         (tramp-test29-vc-registered)
11646         (tramp-test31-special-characters-with-stat)
11647         (tramp-test31-special-characters-with-perl)
11648         (tramp-test31-special-characters-with-ls)
11649         (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
11650         (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
11651         (tramp-test35-unload): Tag the tests as :expensive-test.
11653 2016-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11655         shr-tag-video bug fix
11657         * shr.el (shr-tag-video): Protect against the `poster' being
11658         empty.
11660 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
11662         Minor fixes in tramp-tests.el
11664         * test/automated/tramp-tests.el (tramp-test26-process-file):
11665         Move point properly.
11666         (tramp-test29-vc-registered): Work with relative file names.
11668 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
11670         Ensure redisplay when 'truncate-lines' is set
11672         * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
11673         (Bug#22303)
11675 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
11677         Fix a doc string of 'transient-mark-mode'
11679         * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
11680         "lambda" in doc string from becoming a link to lambda expressions.
11682 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
11684         MS-Windows followup to latest gnulib update
11686         * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
11688 2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>
11690         Spelling fix
11692 2016-01-04  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
11694         Do secure signed Bcc handling
11696         * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
11697         (bug#18718).
11699 2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>
11701         Avoid stdio in SIGINT handler
11703         * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
11704         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
11705         * lib/ignore-value.h: New file, from gnulib.
11706         * src/keyboard.c: Include it.
11707         (write_stdout, read_stdin): New functions.
11708         (handle_interrupt): Use them instead of printf and getchar,
11709         and avoid fflush when handling signals.
11711 2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>
11713         * doc/misc/texinfo.tex: Revert unwanted copyright change.
11715 2016-01-03  Artur Malabarba  <bruce.connor.am@gmail.com>
11717         * lisp/align.el (align): Simplify a lambda
11719         * lisp/align.el (align): Fix arg order in call to `align-region'
11721 2016-01-03  Eli Zaretskii  <eliz@gnu.org>
11723         Fix compilation next-error in buffers with selective-display
11725         * lisp/progmodes/compile.el (compilation-beginning-of-line): New
11726         function.
11727         (compilation-internal-error-properties)
11728         (compilation-next-error-function, compilation-set-window): Use
11729         it.  (Bug#1092)
11731 2016-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11733         * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
11735 2016-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11737         Add SHA1 warnings for high network security settings
11739         * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
11740         about SHA1 certificates, which are now believed to be open to
11741         spoofing.
11743 2016-01-03  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
11745         Refactor mml-smime.el, mml1991.el, mml2015.el
11747         (Maybe this is the last merge from Gnus git to Emacs git)
11749         Cf. discussion on ding mailing list, messages in
11750         <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
11751         Common code from the three files mml-smime.el, mml1991.el, and
11752         mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
11753         to gnus-util.el.
11755         The code is supported by test cases with necessary test keys.
11757         Documentation in message.texi is updated.
11759         * doc/misc/message.texi (Security, Using S/MIME):
11760         Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
11761         (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
11762         (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
11764         * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
11765         New functions.
11767         * lisp/gnus/mml-sec.el: Require gnus-util and epg.
11768         (epa--select-keys): Autoload.
11769         (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
11770         (mml-secure-openpgp-signers): New user option;
11771         make mml1991-signers and mml2015-signers obsolete aliases to it.
11772         (mml-secure-smime-signers): New user option;
11773         make mml-smime-signers an obsolete alias to it.
11774         (mml-secure-openpgp-encrypt-to-self): New user option;
11775         make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
11776         aliases to it.
11777         (mml-secure-smime-encrypt-to-self): New user option;
11778         make mml-smime-encrypt-to-self an obsolete alias to it.
11779         (mml-secure-openpgp-sign-with-sender): New user option;
11780         make mml2015-sign-with-sender an obsolete alias to it.
11781         (mml-secure-smime-sign-with-sender): New user option;
11782         make mml-smime-sign-with-sender an obsolete alias to it.
11783         (mml-secure-openpgp-always-trust): New user option;
11784         make mml2015-always-trust an obsolete alias to it.
11785         (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
11786         New user options.
11787         (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
11788         (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
11789         (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
11790         (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
11791         (mml-secure-passphrase-callback, mml-secure-check-user-id)
11792         (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
11793         (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
11794         (mml-secure-fingerprint, mml-secure-filter-keys)
11795         (mml-secure-normalize-cust-name, mml-secure-select-keys)
11796         (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
11797         (mml-secure-self-recipients, mml-secure-recipients)
11798         (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
11800         * lisp/gnus/mml-smime.el: Require epg;
11801         refactor declaration and autoloading of epg functions.
11802         (mml-smime-use): Doc fix.
11803         (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
11804         Obsolete.
11805         (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
11806         Use format instead of gnus-format-message.
11807         (mml-smime-epg-secret-key-id-list): Remove variable.
11808         (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
11809         (mml-smime-epg-find-usable-secret-key): Remove functions.
11810         (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
11812         * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
11813         (mml1991-passphrase-cache-expiry): Obsolete.
11814         (mml1991-epg-secret-key-id-list): Remove variable.
11815         (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
11816         (mml1991-epg-find-usable-secret-key): Remove functions.
11817         (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
11819         * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
11820         (mml2015-passphrase-cache-expiry): Obsolete.
11821         (mml2015-epg-secret-key-id-list): Remove variable.
11822         (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
11823         (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
11824         (mml2015-epg-find-usable-secret-key): Remove functions.
11825         (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
11826         (mml2015-epg-encrypt): Refactor.
11828 2016-01-02  Glenn Morris  <rgm@gnu.org>
11830         * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
11832         Explicitly ignore case.  (Bug#22262)
11834 2016-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11836         (semantic-symref-derive-find-filepatterns): Return a list
11838         * lisp/cedet/semantic/symref/grep.el
11839         (semantic-symref-derive-find-filepatterns): Return a list.
11840         (semantic-symref-perform-search): Quote the result here once and for all.
11842 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
11844         Fix xref-find-references on MS-Windows
11846         * lisp/cedet/semantic/symref/grep.el
11847         (semantic-symref-derive-find-filepatterns): Use
11848         'shell-quote-argument' instead of manually quoting in a way that
11849         only works with Posix shells.  (Bug#22289)
11851 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
11853         Document new features of tildify-mode
11855         * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
11856         (tildify-mode): Spelling fixes in doc strings.
11858         * etc/NEWS: Reformat the tildify-mode entry.
11860 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
11862         Document new features of Whitespace mode
11864         * doc/emacs/display.texi (Useless Whitespace): Document
11865         'whitespace-toggle-options' and the new 'big-indent' style.
11866         Document 'whitespace-big-indent-regexp'.  Document the Global
11867         Whitespace mode.
11869 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
11871         Improve documentation of new Hide-IfDef features
11873         * etc/NEWS: Expand and reword Hide-IfDef section.
11875 2016-01-02  Leo Liu  <sdl.web@gmail.com>
11877         Fix regression in font-locking cl-assert and cl-check-type
11879         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
11880           el-errs-re.
11882 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
11884         Spelling and grammar fixes
11886 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
11888         Fix copyright years by hand
11890         These are dates that admin/update-copyright did not update, or
11891         updated incorrectly.
11893 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
11895         Update copyright year to 2016
11897         Run admin/update-copyright.
11899 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
11901         Merge from gnulib
11903         This mostly just updates copyright dates of gnulib files.
11904         It also updates to the latest version of texinfo.tex.
11906 2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>
11908         lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
11910 2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>
11912         Port chart.el methods to cl-generic.
11914         cl-call-next-method cannot be used inside EIEIO's defmethod.
11915         * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
11916         * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
11917         (chart-draw-title, chart-size-in-dir, chart-draw-axis):
11918         (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
11919         (chart-translate-namezone, chart-draw-data, chart-add-sequence):
11920         (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
11922 2015-12-31  Brian Burns  <bburns.km@gmail.com>
11924         Add nt/INSTALL.W64 build instructions
11926         * nt/INSTALL.W64: New file.
11927         * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
11929 2015-12-31  Joakim Jalap  <joakim.jalap@fastmail.com>
11931         Add new input method 'programmer-dvorak'
11933         * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
11934         input method.
11936         * etc/NEWS: Mention it.
11938 2015-12-31  Eli Zaretskii  <eliz@gnu.org>
11940         Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
11942         * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
11943         original M-TAB binding in a buffer-local variable.
11944         (flyspell-auto-correct-word): Invoke the original binding of M-TAB
11945         if that is recorded, when point is in a place where flyspell
11946         should not be active (e.g., because the user turned on
11947         'flyspell-prog-mode').  (Bug#18533)
11949 2015-12-31  Eli Zaretskii  <eliz@gnu.org>
11951         Fix EWW rendering of long RTL lines
11953         * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
11954         of the selected window before filling its lines.  (Bug#22250)
11956 2015-12-31  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11958         fix  bug#21054
11960         * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
11962 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11964         Clean up cairo printing code
11966         * src/gtkutil.c (xg_get_page_setup): Use listn.
11967         * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix.  Use
11968         decode_window_system_frame and FRAME_VISIBLE_P.
11969         (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
11970         of Fdisplay.
11971         * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
11972         instead of Fdisplay.  Temporarily unblock_input around QUIT.
11974 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11976         Move variables to inner loop, preparing for Mac port merge
11978         * src/keyboard.c (command_loop_1): Move variables `cmd',
11979         `keybuf', and `i' to inner loop.
11981 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11983         Add handle_user_signal_hook
11985         * src/keyboard.h (handle_user_signal_hook): New declaration.
11986         * src/keyboard.c (handle_user_signal_hook): New variable.
11987         (handle_user_signal): Call it.
11989 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11991         Avoid writing to purespace
11993         * src/alloc.c (Fmake_string): Don't write to empty string contents.
11994         (allocate_vector): Don't write to empty vector size.
11995         * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
11996         Don't call unnecessary XSETCAR or XSETCDR.
11997         * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
11998         write to empty string size_byte.
12000 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12002         Remove unused variable
12004         * lisp/international/mule-cmds.el: Remove unused variable
12005         `mac-system-coding-system'.
12007 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12009         * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
12011 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12013         Use posix_openpt instead of openpty on Darwin
12015         * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
12016         (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
12017         Darwin-specific definitions.  Use posix_openpt instead.
12019 2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>
12021         Document support for ':documentation' in Lisp mode
12023         * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
12024         (lisp-string-after-doc-keyword-p)
12025         (lisp-font-lock-syntactic-face-function): Add doc strings.
12027 2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>
12029         Document new features of TeX mode
12031         * doc/emacs/text.texi (TeX Print): Document
12032         'tex-print-file-extension'.
12033         * doc/emacs/programs.texi (Misc for Programs): Document support
12034         for Prettify Symbols mode in TeX mode.
12036 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12038         Clarify docs of hscroll in RTL text
12040         * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
12041         meaning of a window's horizontal scroll amount for RTL paragraphs.
12043 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12045         Fix rendering of HTML pages that use character composition
12047         * src/indent.c (Fvertical_motion): Fix the case when point starts
12048         in the middle of a composition, as in shr-vertical-motion.
12049         (Bug#22250)
12051 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12053         Avoid some compiler warnings in w32.c
12055         * src/w32.c (codepage_for_filenames, crlf_to_lf)
12056         (ansi_encode_filename, socket_to_fd, sys_write)
12057         (check_windows_init_file): Avoid compiler warnings about
12058         differences in pointer signedness.
12060 2015-12-30  Dmitry Gutov  <dgutov@yandex.ru>
12062         Undo ill-advised change
12064         * lisp/progmodes/xref.el (xref-collect-matches): Undo
12065         ill-advised change.  The hits come in the order that `find'
12066         produces them in, which isn't alphabetical.
12068 2015-12-30  Dmitry Gutov  <dgutov@yandex.ru>
12070         Unbreak completion in python-mode buffers
12072         * lisp/progmodes/python.el (python-shell-completion-at-point):
12073         Unbreak in python-mode buffers.
12075 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12077         Fix typos in CC Mode manual
12079         * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
12080         typos.  (Bug#22267)
12082 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12084         Avoid assertion violations in compact_font_cache_entry
12086         * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
12087         avoid assertion violation in ASIZE.  (Bug#22263)
12089 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12091         Fix filling text with bidirectional characters in shr.el
12093         * lisp/net/shr.el (shr-insert-document): Bind
12094         bidi-display-reordering to nil while filling lines.  This is
12095         required for when a line includes characters whose bidi
12096         directionality is opposite to the base paragraph direction,
12097         because columns are counted in the logical order.  (Bug#22250)
12099 2015-12-29  Martin Rudalics  <rudalics@gmx.at>
12101         * src/xfns.c (x_create_tip_frame): Process alpha parameter.
12103 2015-12-29  Michael Albinus  <michael.albinus@gmx.de>
12105         Sync with Tramp 2.2.13
12107         * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
12109         * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
12110         Use `tramp-compat-funcall'.
12112         * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
12113         Make `split-string' call compatible with older Emacsen.
12115         * lisp/net/trampver.el: Change version to "2.2.13.25.1".
12117 2015-12-29  Lambda Coder  <sjLambda@gmail.com>
12119         * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
12121 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
12123         Mention that tls.el is secure by default, and will fail
12125 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
12127         Make tls.el use trustfiles by default
12129         * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
12130         (open-tls-stream): Insert the trustfile by looking at
12131         `gnutls-trustfiles'.
12133 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
12135         Refactor out gnutls-trustfiles
12137         * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
12139 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
12141         Remove --insecure from gnutls-cli invocation
12143         * tls.el (tls-program): Default to using secure TLS
12144         connections (bug#19284).
12146 2015-12-29  Paul Eggert  <eggert@cs.ucla.edu>
12148         Spelling fix
12150 2015-12-29  Paul Eggert  <eggert@cs.ucla.edu>
12152         Port report-emacs-bug to deterministic builds
12154         * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
12155         recent "built on" change to deterministic builds where
12156         emacs-build-system will be nil.  See:
12157         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
12159 2015-12-29  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
12161         Fix URL auth error message
12163         * lisp/url/url-http.el (url-http-handle-authentication): Make the error
12164         message more correct (bug#20069).
12166 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
12168         shr link traversal fixup
12170         * shr.el (shr-next-link): Don't bug out on adjacent links.
12172         Backport:
12174         (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
12176 2015-12-28  Tom Tromey  <tom@tromey.com>
12178         set :safe on css-indent-offset
12180         * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
12182 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
12184         * eww.el (eww-mode): Remove superfluous bidi reset.
12186 2015-12-28  James Stout  <james.wolf.stout@gmail.com>  (tiny change)
12188         Make chunked encoding trailer detection more compliant
12190         * lisp/url/url-http.el
12191         (url-http-chunked-encoding-after-change-function): Make
12192         trailer detection more compliant (bug#16345).
12194 2015-12-28  Martin Rudalics  <rudalics@gmx.at>
12196         Fix Bug#10873 in `report-emacs-bug'
12198         * lisp/mail/emacsbug.el (report-emacs-bug): If
12199         `report-emacs-bug-no-explanations' is nil, make sure we can show
12200         mail and warnings buffer on this frame (Bug#10873).
12202 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
12204         Always reset the bidi direction
12206         * eww.el (eww-display-html): Always reset the bidi direction
12207         to `left-to-right' (bug#22257).
12209 2015-12-28  Alan Mackenzie  <acm@muc.de>
12211         Allow line comments ending with escaped NL to be continued to the next line.
12213         Use this in C, C++, and Objective C Modes.  Fixes bug#22246
12215         * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
12216         (forw-comment, back-comment): On encountering an end of comment character,
12217         test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
12219         * doc/lispref/syntax.texi (Control Parsing): Describe
12220         `comment-end-can-be-escaped'.
12222         * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
12224         * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
12226 2015-12-28  Dmitry Gutov  <dgutov@yandex.ru>
12228         Rename project-library-roots to project-external-roots
12230         * lisp/progmodes/project.el (project-library-roots): Rename to
12231         project-external-roots.
12232         (project-library-roots-function): Rename to
12233         project-vc-external-roots-function.  Only use it in the VC
12234         backend, for now.  Update project-external-roots accordingly.
12235         (project-vc-library-roots): Remove.
12236         (project-or-libraries-find-regexp):
12237         Rename to project-or-external-find-regexp.
12239         * lisp/progmodes/elisp-mode.el (elisp-library-roots):
12240         Rename to elisp-load-path-roots.
12242         * lisp/progmodes/etags.el (etags-library-roots): Remove.  Use
12243         an anonymous function for the default value of
12244         project-vc-external-roots-function.
12246 2015-12-27  Deniz Dogan  <deniz@dogan.se>
12248         Clear erc user list upon disconnection
12250         * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
12251         lists upon disconnection.  This prevents invalid channel
12252         user lists when reconnecting (bug#10947).
12254 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12256         Don't bug out in erc after waking from sleep
12258         * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
12259         closed connection, this may already have been detected and
12260         `erc-server-last-received-time' has been set to nil (bug#13608).
12262 2015-12-27  David Edmondson  <dme@dme.org>
12264         Proxy error in erc with multiple clients
12266         * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
12267         generated when multiple IRC clients talk to a single IRC proxy
12268         (bug#19034).
12270         Backport:
12272         (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
12274 2015-12-27  Dima Kogan  <dima@secretsauce.net>
12276         Ensure that we don't have several timers in erc
12278         * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
12279         for existing timers in the alist before adding new ones.  If a
12280         timer already exists, it is cancelled and
12281         overwritten. (bug#19292).
12283 2015-12-27  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
12285         Fix mml-sec build warnings
12287         * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
12288         (bug#18718).
12290         Backport:
12292         (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
12294 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12296         Don't insert erc logs at the end
12298         * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
12299         at the start of the buffer, not at the end (bug#20496).
12301 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12303         (eww-setup-buffer): Restore left-to-right defaults
12305         * eww.el (eww-setup-buffer): Restore left-to-right defaults.
12307         Backport:
12309         (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
12311 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12313         Don't join erc channels doubly
12315         * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
12316         more than once (if you have several nicks) (bug#20695).
12318 2015-12-27  Eli Zaretskii  <eliz@gnu.org>
12320         Avoid leaving "ghost" of mouse pointer on MS-Windows
12322         * src/w32term.c (frame_set_mouse_pixel_position):
12323         * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
12324         disable "mouse trails" when moving the mouse pointer.  (Bug#22247)
12325         * src/w32term.c (frame_set_mouse_pixel_position): Include
12326         w32common.h.
12328 2015-12-27  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
12330         Fix auth source lookups from erc with port numbers
12332         * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
12333         numbers (bug#20541).
12335 2015-12-27  Fran Litterio  <flitterio@gmail.com>
12337         Run erc-kill-channel-hook always on exit
12339         * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
12340         when erc-kill-queries-on-quit is set (bug#21187).
12342 2015-12-27  Paul Eggert  <eggert@cs.ucla.edu>
12344         Spelling fix
12346         * test/automated/url-parse-tests.el:
12347         (url-generic-parse-url/same-document-reference):
12348         Rename from url-generic-parse-url/same-decument-reference.
12350 2015-12-27  Paul Eggert  <eggert@cs.ucla.edu>
12352         Reword initial *scratch* for brevity, appearance
12354         * lisp/startup.el (initial-scratch-message):
12355         Reword to avoid apostrophes, and to make it shorter.
12356         See the thread starting in:
12357         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
12359 2015-12-26  Leo Liu  <sdl.web@gmail.com>
12361         Add ert-deftest to lisp-mode.el
12363         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
12364           lisp-el-font-lock-keywords-1): Add ert-deftest.
12366 2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
12368         Mark imap changes as not needing doc changes
12370         * lisp/net/imap.el (imap-ssl-open): Remove
12372 2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
12374         Use built-in encryption in imap.el
12376         * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
12377         (imap-starttls-open): Use open-network-stream instead of starttls.el.
12378         (imap-tls-open): Use open-network-stream instead of tls.el.
12380 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12382         Don't try using /bin/sh in artist.el on MS-Windows
12384         * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
12385         New function.
12386         (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
12387         (Bug#20167)
12389 2015-12-26  Wolfgang Jenkner  <wjenkner@inode.at>
12391         Always define gmalloc etc. in src/gmalloc.c
12393         This is a work-around to prevent the compiler from using semantic
12394         knowledge about malloc for optimization purposes.  E.g., gcc 5.2
12395         with -O2 replaces most of calloc's definition by a call to calloc;
12396         see Bug#22085.
12397         * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
12398         (aligned_alloc, free): Do not undef.  Instead, define these as
12399         functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
12401 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12403         Fix documentation of browse-url browser-related functions
12405         * lisp/net/browse-url.el (browse-url)
12406         (browse-url-default-browser, browse-url-default-windows-browser)
12407         (browse-url-default-macosx-browser, browse-url-chromium)
12408         (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
12409         and NEW-WINDOW arguments in these functions.  (Bug#19421)
12411 2015-12-26  Paul Eggert  <eggert@cs.ucla.edu>
12413         Propagate Bug#14412 fix to backtrace_eval_unrewind
12415         * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
12416         becomes accurate again. This shouldn’t affect behavior.
12417         (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
12419 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12421         Don't produce non-ASCII characters in *scratch*
12423         * lisp/startup.el (initial-scratch-message): Quote apostrophes to
12424         avoid producing non-ASCII characters in the *scratch* buffer's
12425         commentary.
12427 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12429         Document changes in 'compare-windows'
12431         * lisp/vc/compare-w.el (compare-windows-removed)
12432         (compare-windows-added): Doc fix.
12434         * doc/emacs/files.texi (Comparing Files): Document the changes in
12435         window selection by 'compare-windows'.
12437 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12439         Document 'vc-annotate-background-mode'
12441         * doc/emacs/maintaining.texi (Old Revisions): Document
12442         'vc-annotate-background-mode'.
12444 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12446         Document 'vc-region-history'
12448         * doc/emacs/maintaining.texi (VC Change Log): Document
12449         'vc-region-history'.
12451 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12453         Improve documentation of 'vc-push'
12455         * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
12456         improve the documentation of 'vc-push'.
12458         * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
12460 2015-12-26  Alain Schneble  <a.s@realize.ch>
12462         Include the tests for the URL parsing fixes
12464 2015-12-26  Alain Schneble  <a.s@realize.ch>
12466         Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
12468         * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
12469         * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
12470         * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
12471         information in URL-struct.
12472         * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
12473         path and query into nil path and query, respectively.
12474         * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
12475         empty path into an absolute ("/") path.
12476         * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
12477         fragment-only URIs. Do not just return them unchanged.
12478         * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
12479         reference URI should not drop the last segment.
12481         Backport:
12483         (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
12485 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12487         Document 'url-user-agent'.
12489         * lisp/url/url-http.el (url-user-agent): Move from here...
12490         * lisp/url/url-vars.el (url-user-agent): ...to here.  This is to
12491         keep all the URL defcustoms in one place, and also have it defined
12492         whenever the URL library is loaded.
12494         * doc/misc/url.texi (Customization): Document 'url-user-agent'.
12496 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12498         Document protocols supported by URL library via Tramp
12500         * doc/misc/url.texi (Tramp): New node, describes the URL schemes
12501         supported via Tramp.
12502         (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
12503         Tramp.
12505 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12507         Document changes in Shell-script mode
12509         * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
12510         the 'sh-shell' file-local variable.
12511         (top level): Add an auto-load form to avoid byte-compiler warning
12512         about 'comint-send-string'.
12514 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12516         Fix documentation of 'ses-define-local-printer'
12518         * doc/misc/ses.texi (Printer functions): Fix whitespace between
12519         sentences and punctuation.  Add an index entry for
12520         'ses-define-local-printer'.
12522 2015-12-26  Shakthi Kannan  <shakthimaan@gmail.com>
12524         Document 'ert-summarize-tests-batch-and-exit'
12526         * doc/misc/ert.texi (Running Tests in Batch Mode): Document
12527         'ert-summarize-tests-batch-and-exit'.
12529 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
12531         Avoid assertion violation in unbind_to
12533         * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
12534         if we get here with an object that is not a symbol.  (Bug#14412)
12536 2015-12-25  Andreas Schwab  <schwab@linux-m68k.org>
12538         Don't treat /foo/bar:mumble as ange-ftp address
12540                 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
12541                 only in the first component.  (bug#5362)
12543 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12545         Follow <meta> redirects in eww
12547         Merge conflict, but I think I resolved it.
12549             Follow meta refresh tags in eww
12551             * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
12553         Backport:
12555 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12557         Allow http://user:pass@foo/ URLs again
12559         * lisp/url/url-auth.el (url-basic-auth): Allow explicit
12560         user/passwords in URLs (bug#19046).
12562         Backport:
12564         (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
12566 2015-12-25  Samer Masterson  <samer@samertm.com>
12568         Autoload url-insert-buffer-contents
12570         * lisp/url/url-handlers.el: Add autoload cookie so that
12571         `package-list-packages' doesn't bug out (bug#21927) (tiny change)
12573         Backport:
12575         (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
12577 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
12579         Make sure *scratch* etc. use forward slashes in its default-directory
12581         * lisp/startup.el (normal-top-level): On MS-Windows, convert
12582         backslashes to forward slashes while decoding default-directory
12583         of the initially-created buffers.
12585 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12587         More eww file name coding fixes
12589         * eww.el (eww-decode-url-file-name): Use the base coding
12590         system to check for encodability.
12592         Backport:
12594         (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
12596 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12598         Always save eww history
12600         * eww.el (eww-setup-buffer): Always save history, even when
12601         called from outside the eww buffer (bug#19638).
12603         Backport:
12605         (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
12607 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12609         Default web pages to right-to-left
12611         * eww.el (eww-mode): Most web pages are left-to-right, so make
12612         that the default (bug#19801).
12614         * shr.el (shr-tag-html): Respect "dir" attributes
12615         (left-to-right, right-to-left).
12617         Backport:
12619         (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
12621 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12623         Make toggling checkboxes work again
12625         * eww.el (eww-update-field): Make toggling checkboxes work
12626         again (bug#21881).
12628         Backport:
12630         (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
12632 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12634         Don't store cookies with empty names
12636         * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
12637         cookies with empty names (bug#21936).
12639         Backport:
12641         (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
12643 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12645         Stop rendering HTML before specdlr exhaustion
12647         Fixes: 22117
12649         * shr.el (shr-descend): Stop rendering before we run out of
12650         specpdl room (bug#22117).
12652         Backport:
12654         (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
12656 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12658         Use cl-reduce, not reduce.
12660         Backport:
12662         (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
12664 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12666         Allow several <tbody> tags in shr
12668         * shr.el (shr-table-body): New function to find the real body
12669         of a table.
12670         (shr-tag-table): Use it to render several <tbody> tags in a
12671         table (bug#22170).
12673         Backport:
12675         (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
12677 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12679         Make prettier unique file names in eww
12681         (eww-make-unique-file-name): Make unique file names by making
12682         files like foo(2).jpg instead of foo(1)(2).jpg.
12684         Backport:
12686         (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
12688 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12690         Decode hex-encoded URLs before using them as file names
12692         * eww.el (eww-decode-url-file-name): New function.
12693         (eww-download-callback): Use it to decode file names before
12694         saving them.
12696         Backport:
12698         (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
12700 2015-12-25  Ashish SHUKLA  <ashish.is@lostca.se>
12702         Add FreeBSD cert bundle
12704         * doc/misc/emacs-gnutls.texi (Help For Users): Document
12705         FreeBSD bundle.
12707         * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
12709         Backport:
12711         (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
12713 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12715         Ignore invalid SVG images
12717         * shr.el (shr-tag-svg): Ignore SVG images that have no width
12718         or height, because these can't be displayed by ImageMagick,
12719         anyway.
12721         Backport:
12723         (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
12725 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12727         shr table rendering fix
12729         * shr.el (shr-tag-table): Allow rendering body-less tables
12730         that have headers.
12732         Backport:
12734         (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
12736 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
12738         Restore info about the build host in bug reports
12740         * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
12741         which Emacs was built.  This is important information for
12742         investigating bug reports reported by users who don't build their
12743         Emacs.
12745 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
12747         Fix bootstrap broken by changes related to OS X file-name encoding
12749         * lisp/international/ucs-normalize.el (eval-when-compile): Make
12750         sure char-code-property-alist includes elements that allow access
12751         to 'decomposition' and 'canonical-combining-class' Unicode
12752         properties, as compiling ucs-normalize.el requires that.
12753         * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
12754         only of charprop.el was already loaded.
12756         * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
12757         New order-only dependency.
12759 2015-12-25  Leo Liu  <sdl.web@gmail.com>
12761         * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
12763 2015-12-25  Michael Albinus  <michael.albinus@gmx.de>
12765         Make tramp-test29-vc-registered more robust
12767         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
12768         Move `bzr' case down.  Skip test when `vc-create-repo' fails.
12769         Remove instrumentation.
12771 2015-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12773         * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
12775 2015-12-24  Katsumi Yamaoka  <yamaoka@jpl.org>
12777         Fix `gnus-union' so as to behave like `cl-union'
12779         * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
12780         Make gnus-union use `equal' to compare items in lists.
12782         * lisp/gnus/gnus-util.el (gnus-union):
12783         Make it behave like cl-union partially.
12785 2015-12-23  Paul Eggert  <eggert@cs.ucla.edu>
12787         Fix dired.c typo with ptrdiff_t vs Lisp_Object
12789         * src/dired.c (file_name_completion): Don't assume Lisp_Object is
12790         an integer type, fixing a problem introduced in the recent fix for
12791         Bug#22169.
12793 2015-12-23  Eli Zaretskii  <eliz@gnu.org>
12795         Document default process sentinel more prominently
12797         * doc/lispref/processes.texi (Asynchronous Processes): Mention the
12798         defaults for process filter and sentinel.  Provide cross-references.
12799         (Process Information): Provide cross-references to where filters
12800         and sentinels are described.
12801         (Filter Functions): Add an index entry for "default filter".
12802         (Sentinels): Add a few status messages not documented previously.
12803         Resolve the "killed" confusion.  Document and describe the default
12804         sentinel.  (Bug#22220)
12806 2015-12-23  Eli Zaretskii  <eliz@gnu.org>
12808         Fix file-name completion on OS X
12810         * src/dired.c (file_name_completion): Reject false matches due to
12811         file-name-coding-systems that decompose characters when encoding
12812         file names, by comparing decoded file names as well.  (Bug#22169)
12813         (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
12815         * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
12816         non-nil 'decomposed-characters' property.
12818 2015-12-23  Anders Lindgren  <andlind@gmail.com>
12820         File-name completion of non-ASCII characters on OS X (bug#22169)
12822         The coding system `utf-8-nfd', locally defined in ns-win.el,
12823         didn't provide a :pre-write-conversion method, causing file name
12824         completion of non-ASCII characters to fail.  Solved by using the
12825         `utf-8-hfs' coding system provided by `ucs-normalize'.
12827         * lisp/loadup.el: Load international/ucs-normalize (when building
12828         for ns).
12830         * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
12831         `utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
12832         as the file name coding system.
12834         * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
12836 2015-12-23  Tom Tromey  <tom@tromey.com>
12838         Fix bug #18588 by making bug-reference-bug-regexp more lenient
12840         * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
12841         "bug NNNN".  (Bug #18588)
12843 2015-12-23  Tom Tromey  <tom@tromey.com>
12845         add some cl-* aliases to lisp-mode imenu
12847         * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
12848         cl-defgeneric, and cl-defmethod.
12850 2015-12-22  Tom Tromey  <tom@tromey.com>
12852         Make a variable buffer-local
12854         * lisp/generic-x.el (generic-rul-mode-setup-function): Make
12855         font-lock-syntax-table buffer-local.  (Bug #21627)
12857 2015-12-22  Eli Zaretskii  <eliz@gnu.org>
12859         Fix decoding of text in URLs retrieved by EWW
12861         * lisp/net/eww.el (eww-render): Pass 'charset' to
12862         'eww-display-raw'.  Use the value of 'last-coding-system-used', if
12863         non-nil, to set 'buffer-file-coding-system' of the buffer where we
12864         show the URL.
12865         (eww-display-html, eww-display-raw): Decode the text correctly,
12866         using the charset found in the headers, and defaulting to UTF-8.
12867         If the user told us to use a specific encoding, override the
12868         charset from the headers.  (Bug#22222)
12870 2015-12-22  Alan Mackenzie  <acm@muc.de>
12872         Fix a coding error in c-forward-<>-arglist-recur.  Fixes bug#22156
12874         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
12875         variable `tmp'.
12876         After a failed search for a matching ">", restore point before continuing.
12878 2015-12-22  Michael Albinus  <michael.albinus@gmx.de>
12880         Instrument Tramp tests
12882         * test/automated/tramp-tests.el (tramp-test29-vc-registered)
12883         (tramp--test-utf8): Instrument tests.
12885 2015-12-22  Martin Rudalics  <rudalics@gmx.at>
12887         Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
12889         * lisp/simple.el (display-message-or-buffer): Call
12890         `display-buffer' with ACTION instead of NOT-THIS-WINDOW
12891         (Bug#22221).
12893 2015-12-22  Juri Linkov  <juri@linkov.net>
12895         * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
12897         (save-places-to-alist, save-place-dired-hook):
12898         Check for dired-subdir-alist.  (Bug#19851)
12900 2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>
12902         Add FIXME comment re stack overflow and modules
12904 2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>
12906         Revert some recent emacs-module commentary
12908         Most of the recently-added commentary was incorrect, due to the
12909         possibility of stack overflow.
12911 2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>
12913         Spelling fix: prefer "cooperate" to "co-operate"
12915 2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>
12917         Port undo fixes to -fno-common
12919         Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
12920         * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
12921         (buffer_before_last_command_or_undo):
12922         Declare in keyboard.h, and define in keyboard.c,
12923         instead of assuming the traditional Unix relaxed ref-def linkage.
12925 2015-12-20  Philipp Stephani  <phst@google.com>
12927         Improve commentary for emacs-module.c
12929         * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
12930         * src/emacs-module.c (module_non_local_exit_get): Document that we
12931         cannot use the current implementation.
12932         (module_is_not_nil, module_eq): Document assumptions about EQ and
12933         NILP.
12935 2015-12-20  Michael Albinus  <michael.albinus@gmx.de>
12937         Suppress test on Mac OS X
12939         * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
12940         (tramp--test-utf8): Use it.
12942 2015-12-20  Alan Mackenzie  <acm@muc.de>
12944         Merge branch 'scratch/follow' into emacs-25
12946         This allows Isearch, etc., to work well when Follow Mode is active.
12948 2015-12-19  Michael Albinus  <michael.albinus@gmx.de>
12950         * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
12952 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12954         Fix last commit
12956         * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
12957         with numeric argument.
12959 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12961         Document new features of Rmail
12963         * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
12964         Document new behavior of 'd' and 'C-d' with numeric argument.
12965         (Rmail Display): Document the rendering of HTML MIME parts.
12967 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12969         Improve documentation of new cl-lib functions
12971         * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
12972         Fix wording.
12974 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12976         Document the new feature of 'minibuffer-with-setup-hook'
12978         * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
12979         added to `minibuffer-setup-hook'.
12981 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12983         Document new features of Font Lock
12985         * doc/lispref/modes.texi (Other Font Lock Variables): Document
12986         'font-lock-flush-function' and 'font-lock-ensure-function'.
12987         (Font Lock Basics): Document the basic fontification functions
12988         referenced in "Other Font Lock Variables".
12990         * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
12992 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
12994         Document new features of Rectangle mode
12996         * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
12997         rectangle-mark-mode.
12999 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13001         Manual followup to last change
13003         * doc/lispref/display.texi (Displaying Messages): Sync with the
13004         doc string.  (Bug#22210)
13006 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13008         Clarify doc string of 'display-message-or-buffer'
13010         * lisp/simple.el (display-message-or-buffer): Doc fix.  Suggested
13011         by Sebastian Wiesner <swiesner@lunaryorn.com>.  (Bug#22210)
13013 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13015         * doc/emacs/emacs.texi (Top): Update top-level menus.
13017         * doc/lispref/elisp.texi (Top): Update top-level menus.
13019 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13021         Document how to avoid file-local variables that aren't
13023         * doc/emacs/custom.texi (Specifying File Variables): Describe how
13024         to prevent Emacs from interpreting unrelated text as file-local
13025         variables.  (Bug#22166)
13027 2015-12-19  Dave Thomas  <dave@pragprog.org>  (tiny change)
13029         Fix a typo in eterm-color's termcap entry
13031         * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
13032         entry.  (Bug#22184)
13034 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13036         Allow 'browse-url-emacs' visit non-existent URLs
13038         * lisp/url/url-handlers.el (url-insert-file-contents): Don't
13039         signal an error if VISIT is non-nil, to more faithfully emulate
13040         the behavior of 'insert-file-contents'.  (Bug#22160)
13042 2015-12-19  Paul Eggert  <eggert@cs.ucla.edu>
13044         Remove SunOS 4.x cruft
13046         Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
13047         * lib-src/pop.c [sun]: Remove no-longer-needed include.
13048         * lwlib/xlwmenu.c (SUNSO41): Remove.
13050 2015-12-19  Paul Eggert  <eggert@cs.ucla.edu>
13052         Merge from gnulib
13054         This mostly commentary fixes.
13055         * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
13056         * lib/gnulib.mk: Regenerate with new gnulib-tool.
13058 2015-12-18  Michael Albinus  <michael.albinus@gmx.de>
13060         Minor fixes in Tramp
13062         * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
13063         Reorder ls arguments.
13065         * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
13067 2015-12-18  Michael Albinus  <michael.albinus@gmx.de>
13069         Make tramp a built-in package
13071         * lisp/finder.el (finder-compile-keywords): Update
13072         `package--builtins' also when Version: keyword is available.
13074         * lisp/net/trampver.el: Add Version: keyword.
13075         (tramp-version): Change it to "2.2.13.25.1", in order to be
13076         compatible with `version-to-list'.
13078 2015-12-18  Lele Gaifax  <lele@metapensiero.it>
13080         * etc/tutorials/TUTORIAL.it: Update and fix typos.
13082 2015-12-18  Alan Mackenzie  <acm@muc.de>
13084         Rename `recenter-group' to `recenter-window-group'
13086         * doc/lispref/windows.texi (Textual Scrolling)
13087         * lisp/window.el (top level, recenter-group)
13088         * lisp/follow.el (follow-mode)
13089         * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
13090         `recenter-window-group' and `recenter-group-function' to
13091         `recenter-window-group-function'.
13093 2015-12-18  Eli Zaretskii  <eliz@gnu.org>
13095         Fix vertical-motion in tabulated-list mode
13097         * src/indent.c (Fvertical_motion): When moving from line beginning
13098         to point under line truncation, assume overshoot by one line only
13099         if point actually lies beyond the window's right margin.
13100         (Bug#22194)
13102 2015-12-18  Martin Rudalics  <rudalics@gmx.at>
13104         Don't have help functions call x-display-pixel-width/-height on ttys
13106         * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
13107         Don't call x-display-pixel-width/-height on ttys.
13109 2015-12-18  Dmitry Gutov  <dgutov@yandex.ru>
13111         Use 'hg id' in vc-hg-previous-revision
13113         * lisp/vc/vc-hg.el (vc-hg-previous-revision):
13114         Use 'hg id' to retrieve it (bug#22032).
13116 2015-12-17  Alan Mackenzie  <acm@muc.de>
13118         * lisp/follow.el (follow-sit-for): Remove (it's redundant).
13120 2015-12-17  Eli Zaretskii  <eliz@gnu.org>
13122         Fix a typo in the Emacs manual
13124         * doc/emacs/trouble.texi (Sending Patches): Fix a typo.  Reported
13125         by Lele Gaifax <lele@metapensiero.it>.  (Bug#22193)
13127 2015-12-17  Eli Zaretskii  <eliz@gnu.org>
13129         Fix parsing netrc entries with ports
13131         * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
13132         make a list out of 't'.  (Bug#22188)
13134         * test/automated/auth-source-tests.el
13135         (auth-source-test-netrc-parse-entry): New test.
13137 2015-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13139         Fix typo in Doug Lea malloc configure log
13141         * configure.ac (emacs_cv_var_doug_lea_malloc):
13142         Fix typo that confused the log output of 'configure'.
13144 2015-12-16  Nicolas Petton  <nicolas@petton.fr>
13146         * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
13148 2015-12-16  Alan Mackenzie  <acm@muc.de>
13150         * etc/NEWS: Move entry on pcase to correct section
13152         (Accidentally omitted from previous commit)
13154 2015-12-16  Alan Mackenzie  <acm@muc.de>
13156         Add documentation for changes to Show Paren mode.
13158         * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
13160         * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
13161         options, including the new show-paren-when-point-inside-paren and
13162         show-paren-when-point-in-periphery.
13164         * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
13165         Move an entry on pcase to the Lisp Changes section.
13167 2015-12-16  Eli Zaretskii  <eliz@gnu.org>
13169         Document Eldoc changes
13171         * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
13173 2015-12-16  Eli Zaretskii  <eliz@gnu.org>
13175         Fix invocation of Python and Guile interpreters from gdb-mi
13177         * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
13178         commands for interactive Python and Guile interpreters.
13179         (gdb-send): Recognize various ways of exiting from Python and
13180         Guile interpreters and returning to GDB.  For details, see
13181         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
13182         and http://stackoverflow.com/questions/31514741.
13184 2015-12-16  Paul Eggert  <eggert@cs.ucla.edu>
13186         Remove attempt to use C11 threads
13188         C11 threads are not needed for Emacs now, and their use is causing
13189         hassles on FreeBSD 10.x.  Problem reported by Ashish SHUKLA in:
13190         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
13191         * configure.ac: Do not check for C11 threads. Remove unnecessary
13192         fiddling with CPPFLAGS when configuring pthreads.
13193         * src/emacs-module.c (main_thread, check_main_thread)
13194         (module_init): Do not worry about C11 threads.
13196 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
13198         Set utf8 encoding with stty in Tramp
13200         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13201         Move up uname check.  Handle Mac OS X eol encoding.  Set utf8
13202         encoding with stty.
13204 2015-12-15  Alan Mackenzie  <acm@muc.de>
13206         Tidy up documentation associated with window groups.
13208         * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
13209         Groups".  Correct example function to `window-group-start'.
13210         (Window Start and End, Textual scrolling): Point to the new anchor.  State
13211         that (most of) the args in window group functions have the same meaning as for
13212         the corresponding window primitives.
13214         * doc/lispref/positions.texi (Screen Lines).  Same as above.
13216 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
13218         Complete last commit
13220         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13221         Move uname check up.  Handle Mac OS X eol encoding.
13223 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
13225         Handle Mac OS X eol encoding in Tramp
13227         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13228         Handle Mac OS X eol encoding.
13230 2015-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13232         Fix variable name typo in compute_tip_xy
13234         * src/w32fns.c (compute_tip_xy):
13235         * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
13236         when `right' is integer.
13238 2015-12-14  foudfou  <foudil.newbie+git@gmail.com>
13240         * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
13242 2015-12-14  Tassilo Horn  <tsdh@gnu.org>
13244         Revert "Fix rx matcher overflow without limiting"
13246         This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
13248 2015-12-14  Alan Mackenzie  <acm@muc.de>
13250         Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
13252         * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
13253         isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
13255 2015-12-14  Tassilo Horn  <tsdh@gnu.org>
13257         Fix rx matcher overflow without limiting
13259         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
13260         change to the regexp without imposing a limit on the length of the
13261         options.
13263 2015-12-14  Alan Mackenzie  <acm@muc.de>
13265         Enhance ispell-skip-region-alist by generating part of it at runtime.
13267         * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
13268         (ispell--make-filename-or-URL-re): New functions which generate a regexp.
13269         (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
13270         (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
13271         Include the result of ispell--make-filename-or-URL-re in regexps.
13273 2015-12-14  Glenn Morris  <rgm@gnu.org>
13275         * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
13277 2015-12-14  Alan Mackenzie  <acm@muc.de>
13279         Replace GROUP argument in six window primitives by new functions.
13281         * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
13282         * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
13283         from description of six window functions.  Add in description of new functions
13284         window-group-start, window-group-end, set-window-group-start,
13285         pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
13286         together with the six variables indirecting to the pertinent group
13287         functions.
13289         * src/window.c
13290         * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
13291         applies to these two files, which added the GROUP argument to six window
13292         primitives.
13294         * lisp/follow.el (follow-mode): Use updated variable names for the indirected
13295         functions.
13297         * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
13298         (isearch-back-into-window, isearch-lazy-highlight-new-loop)
13299         (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
13300         to window primitives (e.g. window-start) with a GROUP argument by calls to
13301         new functions (e.g. window-group-start).
13303         * lisp/ispell.el (ispell-command-loop): Replace call to
13304         pos-visible-in-window-p with pos-visible-in-window-group-p.
13306         * lisp/window.el (window-group-start, window-group-end)
13307         (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
13308         (selected-window-group, move-to-window-group-line): New functions.
13309         (window-group-start-function, window-group-end-function)
13310         (set-window-group-start-function, recenter-group-function)
13311         (pos-visible-in-window-group-p-function, selected-window-group-function)
13312         (move-to-window-group-line-function): New variables.
13314 2015-12-14  Vitorio Miguel  <vdrbandeiras@gmail.com>  (tiny change)
13316         * etc/tutorials/TUTORIAL.pt_BR: Fix a typo.  (Bug#22165)
13318 2015-12-13  Eli Zaretskii  <eliz@gnu.org>
13320         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
13322 2015-12-13  Tassilo Horn  <tsdh@gnu.org>
13324         Improve regex to not trigger stack overflow
13326         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
13327         order not to trigger a stack overflow in regex matcher with unbalanced
13328         brackets (bug#22146).
13330 2015-12-13  Eli Zaretskii  <eliz@gnu.org>
13332         Fix visiting files with raw-text
13334         * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
13335         when some stuff was actually read.  (Bug#22162)
13337 2015-12-13  Tassilo Horn  <tsdh@gnu.org>
13339         Fix regex matching keyval labels
13341         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
13342         matching keyval labels.
13344 2015-12-13  Michael Albinus  <michael.albinus@gmx.de>
13346         * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
13348         ... in case of Tramp.  (Bug#20821)
13350 2015-12-13  Paul Eggert  <eggert@cs.ucla.edu>
13352         Fix performance regression with gcc -O0
13354         This fixes the smaller performance hit that I noted in:
13355         https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
13356         * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
13357         * src/puresize.h (puresize_h_PURE_P)
13358         (puresize_h_CHECK_IMPURE):
13359         New macros, with the old contents of the functions.
13360         * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
13361         * src/puresize.h (PURE_P, CHECK_IMPURE):
13362         Use the new macros.  Also macros, if DEFINE_KEY_OPS_AS_MACROS.
13363         * src/conf_post.h (ATTRIBUTE_UNUSED):
13364         * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
13366 2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>
13368         * lisp/emacs-lisp/package.el (package-unpack): Security check
13370         Check that we received the package we were offered.
13372 2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>
13374         * lisp/emacs-lisp/package.el (package--compile): Don't activate
13376         `package-unpack' takes care of all activations now (other than
13377         `package-initialize).  `package--compile' now only compiles.
13379 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13381         Document the new bindings of <UP> and <DOWN> in the minibuffer
13383         * doc/emacs/mini.texi (Minibuffer History): Describe the new
13384         bindings of <UP> and <DOWN> in the minibuffer.
13386 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13388         Document new features of Ido
13390         * doc/misc/ido.texi (Misc): Document 'C-S-b'.
13392 2015-12-12  Martin Rudalics  <rudalics@gmx.at>
13394         Fix frame height calculations with added menu bar on Windows (Bug#22105)
13396         * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
13397         when simultaneously specifying multiple parameters for
13398         `modify-frame-parameters' that all may change the frame's size.
13399         * src/w32fns.c (x_set_menu_bar_lines): Don't set
13400         windows_or_buffers_changed here.
13401         (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
13402         with third argument false.
13403         * src/w32menu.c (set_frame_menubar): Set
13404         windows_or_buffers_changed here.
13405         * src/w32term.c (x_set_window_size): Determine third argument of
13406         AdjustWindowRect from whether the frame has a menu bar and not
13407         from whether it wants one.
13409 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13411         Document the change in interactive shell mode
13413         * doc/emacs/misc.texi (Interactive Shell): Document that the
13414         '*shell*' buffer by default displays in a new window.
13416 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13418         Document new features of package.el
13420         * doc/emacs/package.texi (Package Menu): Document the 'external'
13421         status and the new menu commands.
13422         (Package Installation): Document archive priorities.
13424         * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
13425         (package-menu-hide-low-priority): Doc fix.
13427 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13429         Update and document new features of xterm support
13431         * doc/emacs/frames.texi (Text-Only Mouse): Document that
13432         track-mouse is supported by newer xterm versions.
13434 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13436         Document new features of Prettify Mode
13438         * doc/emacs/programs.texi (Misc for Programs): Document
13439         'prettify-symbols-compose-predicate' and
13440         'prettify-symbols-unprettify-at-point'.
13442         * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
13443         (prettify-symbols-default-compose-p)
13444         (prettify-symbols-compose-predicate)
13445         (prettify-symbols--compose-symbol): Doc fixes.
13447 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13449         Document multi-mode indentation facilities
13451         * doc/lispref/text.texi (Mode-Specific Indent): Document
13452         'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
13454         * lisp/progmodes/prog-mode.el (prog-indentation-context)
13455         (prog-widen): Doc fixes.
13457 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13459         Document 'vc-refresh-state'
13461         * doc/emacs/maintaining.texi (Version Control): Document
13462         'vc-refresh-state'.
13464         * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
13466 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
13468         Fix echo for "C-u"
13470         * src/keyboard.c (command_loop_1): Undo last change.  It caused
13471         duplicate echo of C-u.  (Bug#22107)
13473 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13475         Avoid errors when creating files under SVN in new directory
13477         * lisp/vc/vc-svn.el (vc-svn-registered): Use
13478         file-accessible-directory-p, to avoid cd'ing to a non-existing
13479         directory, which signals an error on some systems.  (Bug#21984)
13480         (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
13481         Use declare-function to avoid byte-compiler warnings.
13483 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13485         Improve Lua support in etags
13487         * lib-src/etags.c (Lua_functions): Skip spaces before looking for
13488         "function".
13490         * etc/NEWS: Mention improved Lua support by 'etags'.
13492         * test/etags/lua-src/test.lua (test): Add tests for indented
13493         function definitions.
13494         * test/etags/ETAGS.good_1:
13495         * test/etags/ETAGS.good_2:
13496         * test/etags/ETAGS.good_3:
13497         * test/etags/ETAGS.good_4:
13498         * test/etags/ETAGS.good_5:
13499         * test/etags/ETAGS.good_6:
13500         * test/etags/CTAGS.good: Adapt to the modified Lua tests.
13502 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13504         Fix 'this-command-keys' wrt prefix argument
13506         * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
13507         was part of this-command-keys, but not of this-single-command-keys.
13508         (Bug#22107)
13510         * lisp/simple.el (internal-echo-keystrokes-prefix): Add
13511         commentary about the function's return value.
13513 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13515         * lisp/files.el (load-library): Doc fix.  (Bug#22140)
13517 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13519         Improve and document Ruby support in 'etags'
13521         * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
13522         (Ruby_functions): Support "module" and overloaded operators.
13523         (Ruby_help): Mention "module".
13525         * test/etags/ruby-src/test.rb:
13526         * test/etags/ruby-src/test1.ru: New files.
13527         * test/etags/Makefile (RBSRC): New tests.
13528         (SRCS): Add ${RBSRC}.
13529         * test/etags/ETAGS.good_1:
13530         * test/etags/ETAGS.good_2:
13531         * test/etags/ETAGS.good_3:
13532         * test/etags/ETAGS.good_4:
13533         * test/etags/ETAGS.good_5:
13534         * test/etags/ETAGS.good_6:
13535         * test/etags/CTAGS.good: Adapt to the new Ruby tests.
13537         * doc/man/etags.1: Mention Ruby support.
13538         * etc/NEWS: Mention Ruby support.
13540 2015-12-11  Xi Lu  <lx@shellcodes.org>
13542         Initial support for Ruby in 'etags'
13544         * lib-src/etags.c <Ruby_suffixes>: New variable.
13545         (lang_names): Add an entry for Ruby.
13546         (Ruby_functions): New function.  (Bug#22116)
13548 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13550         Clarify documentation of 'modify-frame-parameters'
13552         * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
13553         PARMs" mean for 'modify-frame-parameters'.
13555         * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
13556         PARMs" mean for this function.  (Bug#22104)
13558 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13560         Fix setting buffer unibyte when reading from a device
13562         * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
13563         to make a (possibly non-empty) buffer unibyte.  (Bug#22096)
13565 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
13567         Clarify documentation of 'values'
13569         * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
13570         updated by any evaluation commands in 'lisp-interaction-mode'.
13571         (Bug#22056)
13573 2015-12-11  Anders Lindgren  <andlind@gmail.com>
13575         Fixed subversion vc error when opening file in new directory (bug#21984).
13577         * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
13579 2015-12-09  Eli Zaretskii  <eliz@gnu.org>
13581         Yet another fix for when point ends up in invisible text
13583         * src/xdisp.c (redisplay_window): When someone forced
13584         window-start, and honoring that failed to show the cursor, try
13585         moving out of invisible text, before falling back to the middle of
13586         the window.  (Bug#22098)
13588 2015-12-09  Michael Albinus  <michael.albinus@gmx.de>
13590         Fix error in Tramp perl script for cygwin
13592         * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
13593         error if file doesn't exist.
13595 2015-12-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13597         Remove font workaround for limited outdated versions
13599         * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
13600         workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
13602 2015-12-09  Anders Lindgren  <andlind@gmail.com>
13604         Don't add "." to load path (bug#21104)
13606         When configured with --enable-locallisppath=no, which is the
13607         default for OS X, the load-path incorrectly was populated with ".".
13609         * src/lread.c (init_lread): Don't call `decode_env_path' when
13610         PATH_SITELOADSEARCH is empty.
13612 2015-12-08  Artur Malabarba  <bruce.connor.am@gmail.com>
13614         * lisp/emacs-lisp/package.el (package--with-response-buffer):
13616         Search for the blank-line in the right buffer.
13618 2015-12-08  Glenn Morris  <rgm@gnu.org>
13620         * test/automated/simple-test.el (undo-auto-boundary-timer): Update
13621         for recent change.
13623 2015-12-08  Glenn Morris  <rgm@gnu.org>
13625         Fix some display-warning usage.
13627         * lisp/files.el (hack-local-variables, hack-dir-local-variables):
13628         * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
13629         * lisp/calendar/holidays.el (calendar-holiday-list):
13630         * lisp/mail/rmailout.el (rmail-output-read-file-name):
13631         Fix display-warning usage.
13633 2015-12-08  Glenn Morris  <rgm@gnu.org>
13635         * lisp/calendar/cal-html.el: Require diary-lib.
13637         (cal-html-list-diary-entries): Handle no diary.  (Bug#21994)
13639 2015-12-08  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
13641         Add Obsolete-since header to eudcb-ph.el
13643         * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
13645 2015-12-07  Paul Eggert  <eggert@cs.ucla.edu>
13647         Spelling fixes
13649         * doc/misc/calc.texi (Predefined Units): Use the bland modern
13650         scientific style for spelling the units “ampere” and
13651         “angstrom” rather than the older style “Ampere” and
13652         “Ångstrom”.  The latter spelling was wrong anyway (it should
13653         have been “Ångström”).
13654         * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
13655         Fix misspelling of ‘atom’ in code.
13657 2015-12-07  Eli Zaretskii  <eliz@gnu.org>
13659         Improve documentation of kill commands
13661         * lisp/simple.el (region-extract-function, delete-backward-char)
13662         (delete-forward-char, kill-region, copy-region-as-kill)
13663         (kill-ring-save): Better document the optional argument REGION in
13664         the doc strings.  Mention in the doc strings that text put in the
13665         kill-ring can be filtered by 'filter-buffer-substring'.
13667         * doc/lispref/text.texi (Kill Functions): Mention that functions
13668         described in this subsection can filter text they put in the
13669         kill-ring.  Add a cross-reference to "Buffer Contents" and an
13670         index entry.  Document the optional argument 'region' and its
13671         effect.
13672         (Bug#21315)
13674 2015-12-07  Alan Mackenzie  <acm@muc.de>
13676         Further progress making Isearch, Ispell, Replace work with Follow Mode.
13678         * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
13679         no longer exists.  Add follow-post-command-hook to  three special purpose
13680         hooks at setup, and remove them at tear down.
13682         * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
13683         isearch-lazy-highlight-new-loop.
13684         (isearch-lazy-highlight-new-loop): Restore this function to what it previously
13685         was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
13686         it.
13687         (isearch-lazy-highlight-maybe-new-loop): function removed.
13689         * lisp/replace.el: (replace-update-post-hook): New hook variable.
13690         (perform-replace): Add second (nil) argument to looking-back.  Invoke
13691         replace-update-post-hook before calling replace-highlight.
13693         * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
13694         (ispell-command-loop): invoke ispell-update-post-hook.  Add GROUP argument to
13695         call of pos-visible-in-window-p.
13696         (ispell-display-buffer): Place *Choices* window at the top of the last window
13697         in a window group.
13699 2015-12-07  Alan Mackenzie  <acm@muc.de>
13701         Amend doc of `mapconcat': it can take sequences, not merely strings.
13703         * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
13704         to say that SEPARATOR and the results from FUNCTION may be any character
13705         sequences, not just strings.  Add an @xref to "Sequences Arrays Vectors".
13707 2015-12-07  Michael Albinus  <michael.albinus@gmx.de>
13709         Fix an utf8 problem for Tramp on BSD
13711         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13712         Make lax check for utf8.
13713         (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
13715 2015-12-07  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
13717         Make eudcb-ph.el obsolete
13719         * doc/misc/eudc.texi: Bump version to 1.40.0.
13720         Remove PH/QI sections and mentions.
13721         * lisp/obsolete/eudcb-ph.el: Make obsolete.
13722         * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
13723         (eudc-ph-bbdb-conversion-alist): Make obsolete.
13724         * etc/NEWS: Mention this.  (Bug#21191)
13726 2015-12-07  Paul Eggert  <eggert@cs.ucla.edu>
13728         Remove overenthusiastic eassert
13730         * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
13731         previous change.  It breaks on MS-Windows --with-wide-int.
13732         Problem reported by Eli Zaretskii in:
13733         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
13735 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
13737         Pacify gcc -Wparentheses
13739         * src/xdisp.c (row_containing_pos): Reparenthesize.
13741 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
13743         Port mod-test to 32-bit Emacs --without-wide-int
13745         * modules/mod-test/test.el (mod-test-sum-test):
13746         Bring back the 2**29 tests, but port them to 32-bit Emacs
13747         --without-wide-int.
13749 2015-12-06  Michael Albinus  <michael.albinus@gmx.de>
13751         Fix minor Tramp problems found on BSD
13753         * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
13754         trailing slash.  Quote apostrophes.
13755         (tramp-sh-handle-file-truename): Do not append trailing slash in
13756         the "ls" case.
13757         (tramp-get-ls-command-with-w-option): New defun.
13758         (tramp-do-file-attributes-with-ls)
13759         (tramp-do-directory-files-and-attributes-with-stat): Use it.
13761         * test/automated/tramp-tests.el
13762         (tramp-test31-special-characters-with-perl)
13763         (tramp-test31-special-characters-with-ls)
13764         (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
13765         Suppress also readlink.
13767 2015-12-06  Eli Zaretskii  <eliz@gnu.org>
13769         Fix cursor display when invisible text is at line beginning
13771         * src/xdisp.c (redisplay_window): When scrolling fails to show
13772         point, prefer using the desired matrix if possible for finding the
13773         fallback glyph row for displaying the cursor.  (Bug#22098)
13774         (row_containing_pos): Exit the loop as soon as we hit the first
13775         disabled glyph row.  Otherwise we risk accessing garbled data and
13776         departing to the no-no land.
13778 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
13780         Improve module interface when WIDE_EMACS_INT
13782         * src/emacs-module.c (plain_values): New constant.
13783         (module_nil): Now a constant.
13784         (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
13785         (syms_of_module): Use if, not #ifdef, so that both sides are
13786         checked at compile-time, and so that GCC doesn’t complain
13787         about an unused var in the typical case.  Also, depend on
13788         plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
13789         that WIDE_EMACS_INT implies !USE_LSB_TAG.
13790         (value_to_lisp_bits, lisp_to_value_bits): New functions.
13791         Sign-extend integers rather than zero-extending them, as small
13792         negative integers are more likely.
13793         (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
13794         functions.
13795         (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
13796         (mark_modules): Remove.  All uses removed.
13797         (lisp_to_value): Don’t assume Fcons returns a pointer aligned
13798         to GCALIGNMENT.
13799         (syms_of_module): Check that module_nil converts to Qnil.
13800         * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
13801         we prefer signed to unsigned when either will do.
13802         (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
13803         a bit better for emacs-module.c.
13805 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
13807         Port mod-test to x86-64 GNU/Linux running 32-bit
13809         * modules/mod-test/test.el (mod-test-sum-test):
13810         Don’t attempt to match descriptions to operating systems.
13811         It didn’t work on Fedora x86-64 running a 32-bit executable,
13812         and it’s not worth the trouble anyway.
13813         Port to 32-bit platforms by removing an assumption about
13814         fixnum widths.
13816 2015-12-06  Michael Albinus  <michael.albinus@gmx.de>
13818         Fix auto-revert-tests.el when filenotify isn't used
13820         * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
13821         Make it working also when filenotify isn't used.
13823 2015-12-06  Juri Linkov  <juri@linkov.net>
13825         * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
13827         Let-bind isearch-regexp-function to nil.  (Bug#22097)
13829 2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>
13831         * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
13833         (package--with-response-buffer): NOERROR and ERROR-FORM only
13834         handle connection errors.
13835         (bad-signature): New error type.
13836         (package--check-signature-content): Use it.
13837         (package--check-signature): Properly distinguish connection errors
13838         from bad-signature errors.  Do the check for
13839         `package-check-signature' `allow-unsigned' here instead of forcing
13840         the callbacks to do it.  Add a new argument, UNWIND.
13841         (package--download-one-archive, package-install-from-archive):
13842         Update usage of `package--check-signature'.
13844 2015-12-05  Ulf Jasper  <ulf.jasper@web.de>
13846         Fix Bug#22092.
13848         * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
13849           Clean up inconsistent line endings. (Bug#22092)
13850           (icalendar--clean-up-line-endings): New.
13851         * test/automated/icalendar-tests.el (icalendar-real-world): Add test
13852           for Bug#22092.
13854 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
13856         Document 'bookmark-set-no-overwrite'
13858         * doc/emacs/regs.texi (Bookmarks): Document the new command
13859         'bookmark-set-no-overwrite' and its keybinding.
13861 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
13863         Document new binding of 'mouse-buffer-menu'
13865         * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
13866         now also on C-F10.
13868 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
13870         Initial documentation of dynamic modules
13872         * doc/lispref/loading.texi (Dynamic Modules): New section with
13873         initial documentation for dynamic modules.
13874         * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
13875         detailed menu
13877         * etc/NEWS: Fix typos in dynamic modules' entry.
13879 2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>
13881         Remove copyright statements from trivial test files
13883 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
13885         Add "Preliminaries" section to etc/DEBUG
13887         * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
13888         Most of the content was suggested by Phillip Lord
13889         <phillip.lord@russet.org.uk>.  Remove the section about debugging
13890         with the Visual Studio, as building Emacs with the Microsoft
13891         compilers is no longer supported.  Minor fixes in some other
13892         sections.
13894 2015-12-05  Alex Dunn  <dunn.alex@gmail.com>  (tiny change)
13896         Improve parsing of version strings
13898         * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
13899         (version-to-list): More helpful error messages.
13900         (version-to-list): ".5" is valid (update docstring).  Make
13901         "22.8X3" invalid, as the doc string says.
13903         * test/automated/subr-tests.el (ert-test-version-parsing): New
13904         tests for version string processing.
13906 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
13908         Fix documentation of 'undo' changes
13910         * doc/lispref/text.texi (Undo): Minor wording changes.  Use US
13911         English conventions for spelling and whitespace between sentences.
13913         * etc/NEWS: Fix wording and spelling of undo-related entries.
13914         Mark them as documented.
13916 2015-12-05  Glenn Morris  <rgm@gnu.org>
13918         * lisp/net/net-utils.el: Small improvements.
13920         (net-utils--executable-find-sbin): New function.
13921         (ifconfig-program): Check sbin directories.
13922         Fallback to "ip".  (Bug#22091)
13923         (ifconfig-program-options): Check the actual program in use.
13924         (arp-program): Check sbin directories.
13926 2015-12-04  (tiny change) Arash Esbati  <esbati@gmx.de>  (tiny change)
13928         Fix wrong-type-argument integer-or-marker-p nil error
13930         * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
13931         Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
13933 2015-12-04  Alan Mackenzie  <acm@muc.de>
13935         Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
13937         Merge necessitated by a rebase operation.
13939 2015-12-04  Alan Mackenzie  <acm@muc.de>
13941         lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
13943 2015-12-04  Alan Mackenzie  <acm@muc.de>
13945         First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.
13947         doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
13948         Windows" and new @defun selected-window-group.
13949         (Window Start and End): Describe new &optional parameter GROUP and
13950         ...-group-function for window-start, window-end, set-window-start, and
13951         pos-visible-in-window-p.
13952         (Textual Scrolling) Describe the same for recenter.
13953         doc/lispref/positions.texi (Screen Lines): Describe the same for
13954         move-to-window-line.
13956         src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
13957         (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
13958         new optional parameter "group".  At the beginning of each, check whether the
13959         corresponding ...-group-function is set to a function, and if so execute this
13960         function in place of the normal processing.
13961         (syms_of_window): Define symbols for the six new variables below.
13962         (window-start-group-function, window-end-group-function)
13963         (set-window-start-group-function, recenter-group-function)
13964         (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
13965         New permanent local buffer local variables.
13966         src/keyboard.c (Fposn_at_point): Add extra parameter in call to
13967         Fpos_visible_in_window_p.
13969         lisp/window.el (selected-window-group-function): New permanent local buffer
13970         local variable.
13971         (selected-window-group): New function.
13973         lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
13974         enable, kill them at mode disable.  Add/remove follow-after-change to/from
13975         after-change-functions.
13976         (follow-start-end-invalid): New variable.
13977         (follow-redisplay): Manipulate follow-start-end-invalid.
13978         (follow-after-change, follow-window-start, follow-window-end)
13979         (follow-set-window-start, follow-pos-visible-in-window-p)
13980         (follow-move-to-window-line, follow-sit-for): New functions.
13982         lisp/isearch.el (isearch-call-message): New macro.
13983         (isearch-update, with-isearch-suspended, isearch-del-char)
13984         (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
13985         (with-isearch-suspended): Rearrange code such that isearch-call-message is
13986         invoked before point is moved.
13987         (isearch-message): Add comment about where point must be at function call.
13988         (isearch-search): Remove call to isearch-message.
13989         (isearch-lazy-highlight-window-group): New variable.
13990         (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
13991         the battery of tests to ...
13992         (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
13993         Note: (sit-for 0) is still called.
13994         (isearch-lazy-highlight-update): Check membership of
13995         isearch-lazy-highlight-window-group.  Don't set the `window' overlay
13996         property.
13997         (isearch-update, isearch-done, isearch-string-out-of-window)
13998         (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
13999         (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
14000         (isearch-lazy-highlight-update): Call the six amended primitives (see
14001         src/window.c above) with the new `group' argument set to t, to cooperate
14002         with Follow Mode.
14004 2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14006         * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
14008         * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
14009         (ert--explain-format-atom, ert--explain-equal-rec)
14010         (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
14011         (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
14013 2015-12-04  Artur Malabarba  <bruce.connor.am@gmail.com>
14015         * lisp/character-fold.el: Remove special case-folding support
14017         (character-fold-to-regexp): Remove special code for
14018         case-folding.  Char-fold search still respects the
14019         `case-fold-search' variable (i.e., f matches F).  This only
14020         removes the code that was added to ensure that f also matched
14021         all chars that F matched.  For instance, after this commit, f
14022         no longer matches 𝔽.
14024         This was necessary because the logic created a regexp with
14025         2^(length of the string) redundant paths.  So, when a very
14026         long string "almost" matched, Emacs took a very long time to
14027         figure out that it didn't.  This became particularly relevant
14028         because isearch's lazy-highlight does a search bounded by (1-
14029         match-end) (which, in most circumstances, is a search that
14030         almost matches).  A recipe for this can be found in bug#22090.
14032 2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14034         * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
14036         Fixes (bug#21701)
14038 2015-12-04  Daiki Ueno  <ueno@gnu.org>
14040         lisp/gnus/qp.el: Don't replace "from " at bol
14042         * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
14043         to nil when looking for "^From ".  Problem reported by Simon Josefsson.
14045 2015-12-03  Phillip Lord  <phillip.lord@russet.org.uk>
14047         Externalize some symbols in undo-auto
14049          * doc/lispref/text.texi: Update symbols.
14050          * lisp/simple.el (undo-auto--amalgamate,
14051            undo-auto--current-boundary-timer): Make symbols public.
14052          * src/cmds.c (Fself_insert_command,Fdelete_char): Call
14053            updated symbol.
14055 2015-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14057         * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
14059 2015-12-03  Michael Albinus  <michael.albinus@gmx.de>
14061         Some error message improvements in tramp-sh.el
14063         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
14064         Suppress error messages for "mesg" and "biff" calls.
14065         (tramp-get-remote-path): Ignore errors when expanding
14066         `tramp-own-remote-path'.  Raise a warning instead.
14068 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14070         Document 'nacl' value for 'system-type'
14072         * doc/lispref/os.texi (System Environment): Document the 'nacl'
14073         value of 'system-type'.
14075 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14077         Document 'window-max-chars-per-line'
14079         * doc/lispref/windows.texi (Window Sizes): Document
14080         'window-max-chars-per-line'.
14082 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14084         Fix some file headers for the purpose of `package--builtins'
14086         * lisp/emacs-lisp/cl-preloaded.el
14087         * lisp/emacs-lisp/eieio-compat.el
14088         * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
14090         * lisp/ielm.el: Fix summary line.
14092 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14094         * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
14096         Reload any previously loaded package files before compiling
14097         the package (also reload the same files after compiling).
14098         This ensures that we have the most recent definitions during
14099         compilation, and avoids generating bad elc files when a macro
14100         changes and it is used in a different file from the one it's
14101         defined in.
14103 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14105         * lisp/emacs-lisp/package.el: Refactor package activation code
14107         (package-activate): Move code that activates dependencies into
14108         package-activate-1.
14109         (package--load-files-for-activation): New function.
14110         (package-activate-1): Add code for (optionally) activating
14111         dependencies, and move file-loading code into
14112         `package--load-files-for-activation'.
14114 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14116         Document new font-related functionality
14118         * doc/lispref/display.texi (Low-Level Font): Document
14119         'default-font-width', 'default-font-height', 'window-font-width',
14120         and 'window-font-height'.
14122         * etc/NEWS: Move entries for 'default-font-width',
14123         'default-font-height', 'window-font-width', and 'window-font-height'
14124         to their place and mark them documented.
14126 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14128         Fix documentation and implementation of 'directory-name-p'
14130         * lisp/files.el (directory-name-p): Modify to recognize
14131         backslashes on MS-Windows and MS-DOS.  Adjust the doc string
14132         accordingly.  Use '=', not char-equal, for comparison, as
14133         letter-case cannot possibly be an issue here.
14135         * doc/lispref/files.texi (Directory Names): Move the documentation
14136         of directory-name-p here from "Relative File Names".  Update the
14137         description per the changes in implementation.
14139         * etc/NEWS: Move the entry for 'directory-name-p' to its proper
14140         place and mark it documented.
14142 2015-12-02  Eli Zaretskii  <eliz@gnu.org>
14144         Minor copyedit in Emacs manual
14146         * doc/emacs/search.texi (Lax Search): Make wording about character
14147         folding by default less definitive.  (Bug#22043)
14149 2015-12-02  Eli Zaretskii  <eliz@gnu.org>
14151         More emacs-module.c fixes for wide ints
14153         * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
14154         unsigned data types to manipulate pointers, to avoid sign
14155         extension coming after us with a vengeance.
14157         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14158         Emacs with wide ints that verify integer values near the critical
14159         value that requires us to switch to a cons cell.
14161 2015-12-02  Stephen Leake  <stephen_leake@stephe-leake.org>
14163         Fix bug#22069 in cl-generic.el
14165         * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
14166         not run thru `format'.
14168 2015-12-02  Dmitry Gutov  <dgutov@yandex.ru>
14170         APPEND etags--xref-backend to xref-backend-functions
14172         * lisp/progmodes/xref.el (xref-backend-functions):
14173         Use APPEND when adding the default element
14174         (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
14176 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14178         More accurate documentation of lax whitespace matching
14180         * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
14181         (word-search-backward, word-search-forward)
14182         (word-search-backward-lax, word-search-forward-lax): Mention in
14183         doc strings that toggling lax whitespace matching has no effect on
14184         these commands.
14186         * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
14187         lax whitespace matching has no effect on these commands.
14189 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14191         Fix emacs-module.c for wide ints
14193         * src/emacs-module.c (lisp_to_value): Compare the produced value
14194         with the original Lisp object, not with the one potentially
14195         converted into a Lisp_Cons.  Fixes assertion violations when
14196         working with integers larger than fit into a 32-bit value.
14198         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14199         large integers, to test --with-wide-int.
14201 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14203         Document 'directory-files-recursively'
14205         * lisp/files.el (directory-files-recursively): Doc fix.  Rename
14206         the argument MATCH to REGEXP, to be more explicit about its form.
14208         * doc/lispref/files.texi (Contents of Directories): Improve the
14209         documentation of 'directory-files-recursively'.  Add
14210         cross-references.
14212         * etc/NEWS: Move the entry for 'directory-files-recursively' to
14213         its place and mark it documented.
14215 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14217         Document 'inhibit-read-only' property
14219         * doc/lispref/text.texi (Special Properties): Describe the new
14220         'inhibit-read-only' text property.  Add cross-reference to where
14221         read-only buffers are described.
14222         * doc/lispref/buffers.texi (Read Only Buffers): Mention that
14223         'inhibit-read-only' property exempts text from being read-only.
14224         Add cross-reference to "Special Properties".
14226         * etc/NEWS: Move the entry about 'inhibit-read-only' property to
14227         its place and mark it documented.
14229 2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>
14231         * lisp/emacs-lisp/package.el: Update header comments
14233 2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>
14235         * lisp/character-fold.el: Add back multi-char matching
14237         (character-fold-to-regexp): Uncomment recently commented code
14238         and make the algorithm "dummer" by not checking every possible
14239         combination.  This will miss some possible matches, but it
14240         greatly reduces regexp size.
14242         * test/automated/character-fold-tests.el
14243         (character-fold--test-fold-to-regexp): Comment out test of
14244         functionality no longer supported.
14246 2015-12-01  Xue Fuqiao  <xfq.free@gmail.com>
14248         * doc/emacs/ack.texi (Acknowledgments): Update.
14250 2015-12-01  Michael Albinus  <michael.albinus@gmx.de>
14252         Check `file-remote-p' over absolute files names in files.el
14254         * lisp/files.el (directory-files-recursively)
14255         (get-free-disk-space): Check `file-remote-p' over absolute files names.
14257 2015-12-01  Andreas Schwab  <schwab@linux-m68k.org>
14259                 * src/lread.c (syms_of_lread): Doc fix.
14261 2015-12-01  Dmitry Gutov  <dgutov@yandex.ru>
14263         Don't mistake certain JS method calls for keywords
14265         * lisp/progmodes/js.el (js--ctrl-statement-indentation):
14266         Braceless keyword can't come after a period (bug#22063).
14268 2015-12-01  David Reitter  <david.reitter@gmail.com>
14270         Read frame_title_format from buffer-local variable for NS port
14272         * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
14273         icon-title-format variables from buffer in appropriate window.
14274         (Bug#22048)
14276 2015-12-01  Juri Linkov  <juri@linkov.net>
14278         * lisp/replace.el (occur-engine): Count matches in empty lines.
14280         (Bug#22062)
14282 2015-11-30  Aurélien Aptel  <aurelien.aptel@gmail.com>
14284         * src/emacs-module.h: Fix finalizer typedef for C++11
14286         C++11 standard doesn't allow exception-specification in typedef.
14287         The workaround is to declare a dummy function prototype and use
14288         decltype on it.
14290 2015-11-30  Eli Zaretskii  <eliz@gnu.org>
14292         Fix last change
14294         * src/emacs-module.c (lisp_to_value, value_to_lisp)
14295         [WIDE_EMACS_INT]: Avoid compiler warnings.
14297 2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         Rely on conservative stack scanning to find "emacs_value"s
14301         * src/emacs-module.c (struct emacs_value_tag)
14302         (struct emacs_value_frame, struct emacs_value_storage): Remove.
14303         (value_frame_size): Remove constant.
14304         (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
14305         (lisp_to_value): Remove first arg.
14306         (module_nil): New constant.
14307         Use it instead of NULL when returning an emacs_value.
14308         (module_make_function): Adjust to new calling convention of
14309         Qinternal_module_call.
14310         (DEFUN): Receive args in an array rather than a list.
14311         Use SAFE_ALLOCA rather than xnmalloc.  Skip the lisp_to_value loop when
14312         we don't have WIDE_EMACS_INT.  Adjust to new type of non_local_exit info.
14313         (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
14314         Adjust to new type of non_local_exit info.
14315         (ltv_mark) [WIDE_EMACS_INT]: New constant.
14316         (value_to_lisp, lisp_to_value): Rewrite.
14317         (initialize_frame, initialize_storage, finalize_storage): Remove functions.
14318         (allocate_emacs_value): Remove function.
14319         (mark_modules): Gut it.
14320         (initialize_environment): Don't initialize storage any more.
14321         Keep the actual env object on Vmodule_environments.
14322         (finalize_environment): Don't finalize storage any more.
14323         (syms_of_module): Initialize ltv_mark and module_nil.
14325         * src/emacs-module.h (emacs_value): Make it more clear that this type
14326         is really opaque, including the fact that NULL may not be valid.
14328         * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
14329         Don't assume that NULL is a valid emacs_value.
14331 2015-11-30  Eli Zaretskii  <eliz@gnu.org>
14333         Yet another doc improvement for search commands
14335         * doc/emacs/search.texi (Word Search, Symbol Search)
14336         (Regexp Search): Document commands that don't support lax
14337         whitespace matching or character folding.
14338         (Nonincremental Search): Mention the search commands that can be
14339         invoked from the menu bar.
14341         * lisp/isearch.el (isearch-define-mode-toggle-word)
14342         (isearch-define-mode-toggle-symbol)
14343         (isearch-define-mode-toggle-character-fold): Note in the doc
14344         string that turning these on exits the regexp mode.
14345         (isearch-forward-regexp, isearch-forward-word)
14346         (isearch-forward-symbol, isearch-backward-regexp)
14347         (word-search-backward, word-search-forward)
14348         (word-search-backward-lax, word-search-forward-lax): State in the
14349         doc string which commands don't support character folding and/or
14350         lax-whitespace matching.
14352 2015-11-30  Martin Rudalics  <rudalics@gmx.at>
14354         Run `window-size-change-functions' also when reading from minibuffer
14356         * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
14357         also when reading from minibuffer.
14359 2015-11-30  Ulf Jasper  <ulf.jasper@web.de>
14361         Fix scrambling of html-rendered item buffers
14363         * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
14364           scrambling of contents by wrapping call to html-renderer in
14365           save-selected-window.
14367 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
14369         Fix font typo in previous doc fix.
14371 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
14373         A bit more security doc, esp. file local vars
14375         * doc/emacs/emacs.texi (Top):
14376         * doc/emacs/misc.texi (Miscellaneous Commands):
14377         Refer to new Host Security section.
14378         (Host Security): New section.
14379         * doc/lispref/os.texi (Security Considerations):
14380         Mention file local variables.
14382 2015-11-30  Artur Malabarba  <bruce.connor.am@gmail.com>
14384         * lisp/character-fold.el: Comment out branching code
14386         (character-fold-to-regexp): Comment out code that uses multi-char
14387         table.  The branching caused by this induces absurdly long regexps,
14388         up to 10k chars for as little as 25 input characters.
14390 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
14392         Spelling and grammar fixes
14394 2015-11-30  Dmitry Gutov  <dgutov@yandex.ru>
14396         Make lisp-completion-at-point a wrapper instead of an alias
14398         * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
14399         Turn into an obsolete wrapper around elisp-completion-at-point
14400         (bug#20455).
14402 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
14404         * lisp/isearch.el (isearch-search-fun-default): Nicer error
14406         message when the search fails.
14408 2015-11-29  Dmitry Gutov  <dgutov@yandex.ru>
14410         Update menu-bar-goto-uses-etags-p for the current xref API
14412         * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
14413         xref-backend-functions, instead of now-nonexistent
14414         xref-find-function.
14416 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
14418         * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
14420 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
14422         * lisp/menu-bar.el: Use folding in searches
14424         (nonincremental-search-forward): Use `isearch-search-fun-default'
14425         to determine the search function.
14426         (nonincremental-search-backward)
14427         (nonincremental-repeat-search-forward)
14428         (nonincremental-repeat-search-backward): Use it.
14430 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
14432         * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
14434 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
14436         * lisp/character-fold.el (character-fold-to-regexp): Be careful
14438         not to return huge regexps.
14440 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
14442         Improve documentation of string-collate-* functions
14444         * doc/lispref/strings.texi (Text Comparison): Improve wording and
14445         indexing of 'string-collate-equalp' and 'string-collate-lessp'.
14447         * etc/NEWS: Move the entry of 'string-collate-equalp' and
14448         'string-collate-lessp' to "Lisp Changes" section and mark it as
14449         documented.
14451 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
14453         Document truncate-string-ellipsis
14455         * doc/lispref/display.texi (Size of Displayed Text): Document
14456         'truncate-string-ellipsis'.
14458         * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
14459         (truncate-string-to-width): Mention in the doc string that the
14460         default for ELLIPSIS comes from 'truncate-string-ellipsis'.
14462         * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
14463         Changes" section.
14465 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
14467         Fix confusion wrt character folding in the Emacs manual
14469         * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
14470         Document that invoking search-forward/backward and
14471         re-search-forward/backward supports only case folding, but not the
14472         rest of the lax-search features.  Reported by Mike Kupfer
14473         <m.kupfer@acm.org>.
14475 2015-11-29  Ken Brown  <kbrown@cornell.edu>
14477         Update mod-test-sum-test
14479         * modules/mod-test/test.el (mod-test-sum-test): Update to
14480         accommodate the lack of dladdr on Cygwin.
14482 2015-11-29  Alan Mackenzie  <acm@muc.de>
14484         Byte compiler: Catch missing argument to `funcall'.  Fixes bug#22051.
14486         * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
14487         to `funcall', (i) Output an error message; (ii) Generate code to signal a
14488         `wrong-number-of-arguments' error.
14490 2015-11-29  Martin Rudalics  <rudalics@gmx.at>
14492         * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
14494 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
14496         * lisp/character-fold.el (character-fold-to-regexp)
14498         Warn about using long strings.
14500         * test/automated/character-fold-tests.el
14501         (character-fold--test-lax-whitespace)
14502         (character-fold--test-consistency): Reduce string size for tests.
14504 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14506         Document renaming of x-select-enable-* variables
14508         * doc/emacs/killing.texi (Clipboard): Rename
14509         x-select-enable-clipboard to select-enable-clipboard and
14510         x-select-enable-primary to select-enable-primary.  Update index
14511         entries.
14513         * etc/NEWS: Mark entry as documented.
14515 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14517         Document the shorthand hints displayed by M-x
14519         * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
14520         suggest-key-bindings.  Document the shorthand hints for commands
14521         that have no key bindings.  Document that M-x completion ignores
14522         obsolete commands.
14524         * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
14525         documented.
14527 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14529         Update docs of character folding
14531         * doc/emacs/search.texi (Lax Search): Update the description of
14532         character folding for the latest changes.
14534 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
14536         * lisp/character-fold.el: Also play nice with case-folding
14538         (character-fold-to-regexp): Take `case-fold-search' into account.
14540 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
14542         * lisp/character-fold.el: Add support for multi-char matches
14544         (character-fold-table): Now has an extra-slot. This is a second
14545         char-table that holds multi-character matches.  See docstring for
14546         details.
14547         (character-fold-to-regexp): Can build branching regexps when a
14548         character's entry the extra slot of `character-fold-table' matches the
14549         characters that succeed it.
14551 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
14553         * lisp/character-fold.el: Code simplifications
14555         (character-fold-table): Reduce the scope of a variable.
14556         (character-fold-to-regexp): Change logic to work directly on the
14557         input string.  It's a little easier to understand, probably
14558         faster, and sets us up for implementing multi-char matches.
14560         * test/automated/character-fold-tests.el
14561         (character-fold--test-fold-to-regexp): New test.
14563 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14565         Document changes in "C-h l"
14567         * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
14569         * etc/NEWS: mark "C-h l" changes as documented.
14571 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14573         Finalize documentation of 'custom-prompt-customize-unsaved-options'
14575         * doc/emacs/custom.texi (Saving Customizations): Index the new
14576         function 'custom-prompt-customize-unsaved-options'.
14578         * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
14579         is useful.
14581 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14583         Document 'comment-line'
14585         * doc/emacs/programs.texi (Comment Commands): Document
14586         'comment-line'.
14588         * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
14590 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14592         Document new checkdoc features
14594         * doc/lispref/tips.texi (Tips, Library Headers): Document the
14595         keyword-checking features of checkdoc and the commands
14596         'checkdoc-file' and 'checkdoc-current-buffer'.
14598         * etc/NEWS: Move the checkdoc-related entries to their own
14599         section.
14601 2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>
14603         Simplify the prologue of emacs-module.c functions
14605         * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
14606         (module_make_global_ref)
14607         (module_free_global_ref, module_make_function, module_funcall)
14608         (module_intern, module_type_of, module_extract_integer)
14609         (module_make_integer, module_extract_float, module_make_float)
14610         (module_copy_string_contents, module_make_string)
14611         (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
14612         (module_get_user_finalizer, module_set_user_finalizer)
14613         (module_vec_set, module_vec_get, module_vec_size): Use new helper
14614         macro MODULE_FUNCTION_BEGIN.
14616 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14618         Don't reject module calls with no arguments
14620         * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
14622 2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>
14624         Make module-call be visible from Lisp
14626         * src/emacs-module.c (module_make_function): Use internal--module-call.
14627         (Finternal_module_call): Renamed from Fmodule_call.  Add safety
14628         checks.
14629         (syms_of_module): DEFSYM save-value-p and save-pointer-p.  Do
14630         defsubr internal--module-call.
14632 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14634         Add etags tests for the recent Lua-related bugfix
14636         * test/etags/lua-src/test.lua: New file, tests the issues raised
14637         by bug#21934.
14638         * test/etags/Makefile (LUASRC): Add test.lua.
14639         * test/etags/ETAGS.good_1:
14640         * test/etags/ETAGS.good_2:
14641         * test/etags/ETAGS.good_3:
14642         * test/etags/ETAGS.good_4:
14643         * test/etags/ETAGS.good_5:
14644         * test/etags/ETAGS.good_6:
14645         * test/etags/CTAGS.good: Adapt to the new Lua test.  Also, an old
14646         regression fix, resolved around 25 May 2015, required changes to
14647         the "good" ETAGS files.
14649 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14651         Fix Lua tags when a function name includes '.' or ':'
14653         * lib-src/etags.c (Lua_functions): Add a tag for the last element
14654         of a function name after a dot or a colon.  (Bug#21934)
14656 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
14658         Improve documentation of search and replace commands
14660         * doc/emacs/search.texi (Replacement and Lax Matches): Document
14661         which commands are affected by 'replace-character-fold'.
14662         (Lax Search): Add a cross reference to "Replacement and Lax
14663         Matches".  Improve wording.  Fix lost extra whitespace.
14664         (Search Customizations): Improve wording.  (Bug#22036)
14665         See also comments in
14666         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
14668         * lisp/replace.el (query-replace, query-replace-regexp)
14669         (query-replace-regexp-eval, replace-string, replace-regexp):
14670         Mention 'replace-character-fold' in the doc strings.
14672 2015-11-28  Paul Eggert  <eggert@cs.ucla.edu>
14674         Fix minor problems found by static checking
14676         * src/undo.c (prepare_record): Add proper prototype for C.
14678 2015-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * src/emacs-module.c (struct env_storage): Delete
14682         (struct emacs_runtime_private): Keep an emacs_env instead.
14683         (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
14684         (initialize_environment): Split the arg in two.  Adjust all callers.
14685         Only store the private part in Vmodule_environments.
14686         (finalize_environment): Change the arg to only be the private env.
14687         Adjust all callers.
14689 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14691         Improve documentation of 'replace-character-fold'
14693         * lisp/replace.el (replace-character-fold): Clarify which commands
14694         are affected by this variable.
14696 2015-11-27  Mark Oteiza  <mvoteiza@udel.edu>
14698         Backport: Add interactive seek command.
14700         * lisp/mpc.el (mpc-cmd-seekcur): New function.
14701         (mpc-seek-current): New command.
14702         (mpc-mode-menu): Add entry for mpc-seek-current
14703         (mpc-mode-map): Bind mpc-seek-current to "g"
14705 2015-11-27  Dmitry Gutov  <dgutov@yandex.ru>
14707         Autoload etags when using its xref backend
14709         * lisp/progmodes/xref.el (xref--etags-backend):
14710         Rename to etags--xref-backend.  Move to etags.el.  Autoload.
14711         (Bug#22026)
14713 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
14715         * lisp/character-fold.el: Allow complex chars to match their decomposition
14717         (character-fold-table): When a character's decomposition does not
14718         involve a formatting tag (i.e., if it has an "exact" description via
14719         other characters), then this character is allowed to match the
14720         decomposition.
14722 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
14724         * lisp/character-fold.el: More descriptive variable names
14726         (character-fold-table): Rename a lot of the lexical variables to
14727         make the code easier to read.
14729 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
14731         * lisp/isearch.el: Ensure we still support `isearch-new-word'
14733         (isearch-new-regexp-function): Define variable.
14734         (isearch-new-word): Define as an obsolete alias. (Bug#22018)
14736 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14738         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
14740 2015-11-27  Lee Bochicchio  <lboc.home@gmail.com>
14742         * test/automated/abbrev-tests.el: Define more tests
14744         (abbrev-table-name-test, kill-all-abbrevs-test)
14745         (clear-abbrev-table-test): New tests.
14747 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14749         Add module tests for wrong-type-argument
14751         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14752         wrong-type-argument.
14754 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14756         Improve handling of signals and 'throw' in modules
14758         * src/emacs-module.c: Add commentary explaining how to write
14759         functions in this file.
14760         (module_make_global_ref, module_free_global_ref)
14761         (module_non_local_exit_signal, module_non_local_exit_throw)
14762         (module_make_function, module_funcall, module_intern)
14763         (module_type_of, module_is_not_nil, module_eq)
14764         (module_extract_integer, module_make_integer)
14765         (module_extract_float, module_make_float)
14766         (module_copy_string_contents, module_make_string)
14767         (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
14768         (module_get_user_finalizer, module_set_user_finalizer)
14769         (module_vec_set, module_vec_get, module_vec_size)
14770         (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
14771         Do nothing and return with failure indication immediately, if some
14772         previous module call signaled an error or wants to throw.  See
14773         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
14774         for the relevant discussions.
14776 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14778         Add ':version' tag to 'checkdoc-package-keywords-flag'
14780         * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
14781         Add a ':version' tag.
14783 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14785         Improve documentation of 'eval-buffer' and 'eval-region'
14787         * src/lread.c (Feval_buffer, Feval_region): Doc fixes.  (Bug#22023)
14789         * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
14790         "accessible portion of buffer".
14792 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14794         Unbreak the Cygwin w32 build
14796         * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
14797         build as well.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14799 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
14801         Improve commentary in character-fold.el
14803         * lisp/character-fold.el (character-fold-to-regexp): Move detailed
14804         description from commit log message to comments.  (Bug#22019)
14806 2015-11-26  Alan Mackenzie  <acm@muc.de>
14808         Byte Compiler: generate code to adjust stack count after call to `signal'.
14810         Corrects change from earlier today.
14812         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
14813         `byte-compile--for-effect' as argument to `byte-compile-form'.
14815 2015-11-26  Eli Zaretskii  <eliz@gnu.org>
14817         Improve commentary of prepare_to_modify_buffer_1
14819         * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
14820         that this function runs Lisp.  Suggested by Richard Stallman
14821         <rms@gnu.org>.
14823 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
14825         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
14827 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
14829         Fix regression after merge.
14831          * src/undo.c (prepare_record): Remove call to run_undoable_change.
14833 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
14835         After delete, record point location in undo.
14837         Addresses Bug #21968.
14839                 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
14840                 better support intercalating calls.
14841                 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
14842                 point and current buffer before each command.
14843                 * src/undo.c (record_point): Now only record the point.
14844                 * src/undo.c (prepare_record): Functionality removed form
14845                 record_point.
14846                 * src/undo.c (record_delete): Check if point needs recording.
14847                 * src/undo.c (undo-boundary): Record value of point before each
14848                 boundary.
14849                 * test/automated/simple-test.el: New tests.
14851         Conflicts:
14852                 src/undo.c
14854 2015-11-26  Eli Zaretskii  <eliz@gnu.org>
14856         Fix compiler warnings in w32.c
14858         * src/w32.c (sys_socket): In case of error, use -1 as return
14859         value, not INVALID_SOCKET, which causes compiler warnings.
14860         (maybe_load_unicows_dll): Cast the return value of GetProcAddress
14861         to the appropriate function signature, to avoid compiler errors.
14862         Reported by Andy Moreton <andrewjmoreton@gmail.com>.  (Bug#21953)
14864 2015-11-26  Dmitry Gutov  <dgutov@yandex.ru>
14866         Check if the file exists on disk before producing the revert diff
14868         * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
14869         exists on disk (bug#20558).
14871 2015-11-26  Alan Mackenzie  <acm@muc.de>
14873         Byte compiler: on setq with an odd number of arguments, generate a `signal'
14875         * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
14876         it has an odd number of arguments, to allow bytecomp to handle the error.
14878         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
14879         odd number of arguments, generate a `signal' instead of the normal code.
14881 2015-11-26  Dmitry Gutov  <dgutov@yandex.ru>
14883         Use find-tag-default for xref-backend-identifier-at-point
14885         * lisp/progmodes/etags.el (find-tag-tag)
14886         (tags-completion-at-point-function): Extract common code as
14887         find-tag--default.
14888         (xref-backend-identifier-at-point): Define in terms of the new
14889         function.
14891 2015-11-26  Paul Eggert  <eggert@cs.ucla.edu>
14893         * src/undo.c (record_property_change): Remove now-unused local.
14895 2015-11-25  Phillip Lord  <phillip.lord@russet.org.uk>
14897         run_undoable_changes now called from insdel.
14899         The original calls from inside undo.c are not always at a safe position
14900         to call lisp, as they originate in varied positions within insdel.c.
14901         Calling them directly from prepare_to_modify_buffer_1 ensures that they
14902         are always run at the same point.
14904          * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
14905          and symbol used.
14906          * src/insdel.c (run_undoable_changes): Add function and symbol.
14908 2015-11-25  Eli Zaretskii  <eliz@gnu.org>
14910         Improve and update documentation of search commands
14912         * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
14913         all references changed.  Move the description of lax-whitespace
14914         here.  Add description of the new character folding features and
14915         additional customizable options.
14916         (Isearch Yank): Move before "Error in Search".
14917         (Basic Isearch): Improve wording.  Add index entries.  Add short
14918         description of how to abandon search, making this subsection a
14919         complete introduction to search basics.
14920         (Repeat Isearch): Add index entries.  Describe additional
14921         customizable options.  Describe mouse clicks.
14922         (Isearch Yank): Add index entries.  Describe mouse-2 click in echo
14923         area.  Describe more customizable options.
14924         (Error in Isearch): Add index entries.
14925         (Special Isearch): Move actual description of some isearch
14926         commands to other sections, leaving here just the summary of the
14927         commands.  Add command that toggles character folding.  Describe
14928         commands, like "C-h C-h", that were previously omitted for some
14929         reason.
14930         (Not Exiting Isearch): Describe search-exit-option.  Add index
14931         entries.
14932         (Word Search): Describe eww-search-word and eww-search-prefix.
14933         (Symbol Search): Add index entries.
14934         (Regexp Search): Describe regexp-search-ring-max.
14935         (Replacement and Lax Matches): Renamed from "Replacement and
14936         Case"; all references changed.  Describe lax-whitespace matching
14937         in replace commands and related options.  Describe character
14938         folding in replace commands and related options.
14939         (Query Replace): Describe query-replace-from-to-separator and the
14940         new history features.  Add index entries for highlighted text.
14941         Describe query-replace-skip-read-only.  Describe more keys
14942         accepted by query-replace.
14943         (Other Repeating Search): More index entries for Occur.  Describe
14944         list-matching-lines-default-context-lines.
14945         (Search Customizations): New section, documents customizable
14946         options that were not documented until now.
14947         * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
14948         "Character Folding".
14950         * etc/NEWS: Move search- and replace-related entries to a single
14951         parent section.
14953         * lisp/replace.el (query-replace-show-replacement): Doc fix.
14954         * lisp/isearch.el (search-nonincremental-instead)
14955         (isearch-hide-immediately): Doc fixes.
14957 2015-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
14959         Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
14961         * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove.  See:
14962         <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
14963         <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
14965 2015-11-25  Paul Eggert  <eggert@cs.ucla.edu>
14967         Fix module_format_fun_env when dynlib_addr fails
14969         * src/emacs-module.c (module_format_fun_env):
14970         exprintf doesn’t support %p, so use %x.  Reported by Eli Zaretskii in:
14971         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
14973 2015-11-25  Paul Eggert  <eggert@cs.ucla.edu>
14975         Disambiguate variable help a bit better
14977         * lisp/help-fns.el (describe-variable): Quote the
14978         variable’s value if it is a symbol other than t or nil.
14979         See: T.V Raman in:
14980         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
14982 2015-11-25  Dmitry Gutov  <dgutov@yandex.ru>
14984         Pass SVN commit message through log-edit-extract-headers
14986         * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
14987         log-edit-extract-headers (bug#18954).
14989 2015-11-24  Alan Mackenzie  <acm@muc.de>
14991         CC Mode: Eliminate compiler warning messages.
14993         * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
14994         `font-lock-syntactic-keywords' (which CC Mode doesn't use).
14995         * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
14996         (c-awk-set-syntax-table-properties): Clarify comments about
14997         `font-lock-syntactic-keywords'.
14999         * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
15000         of this before the real (interpreted) one, to satisfy the byte compiler.
15002 2015-11-24  Simen Heggestøyl  <simenheg@gmail.com>
15004         Extend the test suite for json.el
15006         * lisp/json.el (json-plist-p): Clarify docstring.
15008         * test/automated/json-tests.el (json-tests--with-temp-buffer): New
15009         macro.
15010         (test-json-join, test-json-alist-p)
15011         (test-json-plist-p, test-json-advance, test-json-peek)
15012         (test-json-pop, test-json-skip-whitespace)
15013         (test-json-read-keyword, test-json-encode-keyword)
15014         (test-json-read-number, test-json-encode-number)
15015         (test-json-read-escaped-char, test-json-read-string)
15016         (test-json-encode-string, test-json-encode-key)
15017         (test-json-new-object, test-json-add-to-object)
15018         (test-json-read-object, test-json-encode-list)
15019         (test-json-read-array, test-json-encode-array)
15020         (test-json-read, test-json-read-from-string)
15021         (test-json-encode): New tests.
15022         (json-read-simple-alist): Merged into `test-json-read-object'.
15023         (json-encode-string-with-special-chars): Merged into
15024         `test-json-encode-string'.
15025         (json-read-string-with-special-chars): Split into
15026         `test-json-encode-string' and `test-json-read-from-string'.
15028 2015-11-24  Anders Lindgren  <andlind@gmail.com>
15030         Fixed bug#18283: Enable applescript in NextStep.
15032         * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
15034 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15036         Allow completion on dynamic module files in load-library
15038         * lisp/files.el (load-library): Bind completion-ignored-extensions
15039         to nil, to allow completion on dynamic modules typed as file
15040         names.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15042 2015-11-24  Alan Mackenzie  <acm@muc.de>
15044         CC Mode: eliminate almost all byte compilation warnings
15046         * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
15047         (cc-require): Remove the crude hack that saved and restored
15048         byte-compile-noruntime-functions.
15049         (cc-conditional-require, cc-conditional-require-after-load): New macros.
15051         * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
15052         cc-fix.el using the new macros in cc-bytecomp.el.
15054         * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
15055         (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
15056         forms to remove the superflous quotes.
15058 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15060         Add one more mod-test test
15062         * modules/mod-test/test.el (mod-test-sum-test): Test the error
15063         signaled when the function is invoked with a wrong number of
15064         arguments.
15066 2015-11-24  Philipp Stephani  <phst@google.com>
15068         * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
15070 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15072         Implement dynlib_addr for MS-Windows
15074         * src/dynlib.c [WINDOWSNT]: Include w32common.h.
15075         <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
15076         (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
15077         (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
15078         if undefined.
15079         (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
15080         zero.
15081         (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
15082         the full file name of the module for a given address.
15084 2015-11-24  Alan Mackenzie  <acm@muc.de>
15086         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
15088 2015-11-24  Alan Mackenzie  <acm@muc.de>
15090         Squashed commit of the following:
15092         commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
15093         Author: Alan Mackenzie <acm@muc.de>
15094         Date:   Tue Nov 24 16:50:09 2015 +0000
15096             Byte compile: minor amendments.
15098             * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
15099             add a comment to explain the binding of variables around a subsidiary
15100             compilation.
15101             (byte-compile-new-defuns): Amend the doc string.
15103         commit c537bfed1dda1593d218956ff00c6105a3ff0316
15104         Author: Alan Mackenzie <acm@muc.de>
15105         Date:   Sat Nov 21 18:43:57 2015 +0000
15107             Byte compiler: fix spurious warnings "might not be defined at runtime".
15109             Also initialize byte-compile-noruntime-functions between runs.
15111             * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
15112             (byte-compile-initial-macro-environment): For eval-when-compile: bind
15113             byte-compile-unresolved-functions and byte-compile-new-defuns around
15114             byte-compile-top-level, to prevent spurious entries being made.
15115             (byte-compile-warn-about-unresolved-functions): Check whether function is
15116             in byte-compile-new-defuns before emitting a warning about it.
15117             (byte-compile-from-buffer): Initialize new variable and
15118             byte-compile-noruntime-functions to nil.
15119             (byte-compile-file-form-require): record all new functions defined by a
15120             `require' in byte-compile-new-defuns.
15121             (byte-compile-file-form-defmumble): record the new alias in
15122             byte-compile-new-defuns.
15124 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15126         Fix crash at startup related to GC of font entities
15128         * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
15129         (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
15130         (GC_XFONT_OBJECT): New macros, for use in garbage collector.
15131         * src/alloc.c (compact_font_cache_entry, compact_font_caches):
15132         Don't ifdef away font cache compaction on NT_GUI, as the problems
15133         which led to that seem to have been solved.
15134         (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
15135         GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
15136         cousins.  (Bug#21999)
15138 2015-11-24  Alan Mackenzie  <acm@muc.de>
15140         Byte compile: Output an error, not a warning, for odd number of args to setq
15142         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
15144 2015-11-24  Ken Raeburn  <raeburn@raeburn.org>
15146         Fix kbd_buffer iteration loop in readable_events
15148         * src/keyboard.c (readable_events): Wrap the event pointer back to the
15149         start of the kbd_buffer array inside the top of the loop instead of
15150         right before checking the loop condition, since kbd_fetch_ptr and
15151         kbd_store_ptr point past the end of the array to mean that element 0
15152         is next. (bug#21935)
15154 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15156         Improve text-quoting-style doc again
15158         * doc/lispref/help.texi (Keys in Documentation):
15159         Omit overkill discussion of ‘setq’.  Mention Emacs versions
15160         where ‘grave’ style was standard.
15162 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15164         Improve text-quoting-style doc
15166 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15168         Simplify module_make_function
15170         * src/emacs-module.c (module_make_function):
15171         Simplify by calling build_unibyte_string.
15173 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15175         Port better to FreeBSD’s dlfunc vs dlsym
15177         This avoids warnings when converting between void * and
15178         function pointers, which strict C11 does not allow.
15179         * configure.ac (dlfunc): Check for existence.
15180         * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
15181         (dynlib_func): New function.
15182         * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
15183         * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
15184         dynlib_sym, for function pointers.
15186 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15188         Simplify use of emacs_finalizer_function type
15190         * src/emacs-module.h (emacs_finalizer_function):
15191         Now EMACS_NOEXCEPT.  All users simplified to omit EMACS_NOEXCEPT.
15192         (struct emacs_env_25): Use emacs_finalizer_function where applicable.
15194 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15196         module_format_fun_env fixes
15198         * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
15199         * src/emacs-module.c (module_format_fun_env):
15200         Convert path and sym to UTF-8.
15201         Don’t use VLAs, as the C11 standard says they’re optional,
15202         and anyway they can cause core dumps with large allocations.
15203         Use exprintf rather than snprintf, as exprintf handles arbitrarily
15204         long strings.  Simplify the code a bit.
15206 2015-11-23  Dmitry Gutov  <dgutov@yandex.ru>
15208         Don't use package-user-dir in elisp-library-roots if it's not bound
15210         * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
15211         use package-user-dir if it's not bound (bug#19759).
15213 2015-11-23  Anders Lindgren  <andlind@gmail.com>
15215         New visible-bell for NextStep (OS X El Capitan compatible).
15217         Instead of inverting a rectangle in the middle of the frame, use
15218         the standard NextStep image "caution", represented using an
15219         warning sign with an exclamation mark.  (Bug#21662)
15221         Implemented based on a suggestion drafted by Mustafa Kocaturk.
15223         * src/nsterm.m (EmacsBell): New class for managing the caution
15224         image.  Support multiple active bells, the image is removed once
15225         all bells have timed out.
15226         (ns_timeout): Removed, no longer used.
15227         (ns_ring_bell): Reimplemented to use EmacsBell.
15229 2015-11-23  Johan Bockgård  <bojohan@gnu.org>
15231         * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
15233         (remove-function): Ditto. (Bug#20376)
15235 2015-11-23  Mark Oteiza  <mvoteiza@udel.edu>
15237         * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
15239 2015-11-23  Eli Zaretskii  <eliz@gnu.org>
15241         Improve how non-ASCII strings are accepted from modules
15243         * src/emacs-module.c (module_make_function, module_make_string):
15244         Build a unibyte Lisp string and then decode it by UTF-8, instead
15245         of building a multibyte string without decoding.  This is more
15246         tolerant to deviations from UTF-8.
15248 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15250         Port recent module changes to pickier compilers
15252         * src/emacs-module.c (module_make_function)
15253         (module_make_string): Add casts to fix pointer signedness issues.
15255 2015-11-23  Philipp Stephani  <phst@google.com>
15257         Fix how strings are accepted from modules
15259         * src/emacs-module.c (module_make_function, module_make_string): Use
15260         make_multibyte_string.
15261         (module_copy_string_contents): Encode before reading the byte
15262         size.  Return false if and only if an error occurred.
15264 2015-11-23  Eli Zaretskii  <eliz@gnu.org>
15266         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
15268 2015-11-23  Shakthi Kannan  <shakthimaan@gmail.com>
15270         Add the tamil-dvorak input method
15272         * lisp/leim/quail/tamil-dvorak.el: New file.  (Bug#21768)
15274         * etc/NEWS: Mention the new input method.
15276 2015-11-23  Martin Rudalics  <rudalics@gmx.at>
15278         Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
15280         * src/frame.c (adjust_frame_size): Don't set
15281         FRAME_WINDOW_SIZES_CHANGED here ...
15282         * src/window.c (resize_frame_windows): ... but here, as suggested
15283         by Stefan Monnier.  Also remove some dead code along the way.
15285 2015-11-23  Alan Mackenzie  <acm@muc.de>
15287         * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
15289 2015-11-23  Alan Mackenzie  <acm@muc.de>
15291         Signal an error when `setf' gets an odd number of arguments.
15293         * lisp/emacs-lisp/gv.el (setf): Amend.
15295 2015-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15297         * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
15299 2015-11-23  Alan Mackenzie  <acm@muc.de>
15301         * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
15303 2015-11-23  Alan Mackenzie  <acm@muc.de>
15305         Expunge occurrences of `setq' with an odd number of arguments.
15307         * lisp/apropos.el (apropos-documentation):
15308         * lisp/obsolete/complete.el (PC-include-file-all-completions):
15309         * lisp/progmodes/compile.el (compilation-goto-locus):
15310         * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
15311         Insert missing nil at end of `setq' forms.
15313         * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
15314         erroneous trailing variable name from a setq, thus allowing a compilation
15315         properly to track functions not defined at runtime.
15317 2015-11-23  John Wiegley  <johnw@newartisans.com>
15319         Add a note about a questionable use of bool in xdisp.c
15321 2015-11-23  Alan Mackenzie  <acm@muc.de>
15323         Issue a warning from the byte compiler on a malformed `setq' form.
15325         Partly fixes bug#20241.
15326         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
15327         `setq' form with an odd number of arguments is compiled.
15329 2015-11-23  Alan Mackenzie  <acm@muc.de>
15331         Don't let cconv_convert insert a nil argument into a `setq' form.
15333         Fixes bug#21983.
15334         * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
15335         argument into a `setq' when there're an odd number of args.  This enables the
15336         byte compiler to issue a message in this case.
15338 2015-11-23  Alan Mackenzie  <acm@muc.de>
15340         Signal an error when `setq' has an odd number of arguments.  Fixes bug#20241.
15342         * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
15343         (syms_of_eval): Add a DEFSYM for Qsetq.
15345 2015-11-23  Martin Rudalics  <rudalics@gmx.at>
15347         * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
15349         * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
15351 2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
15353         Add EUDC BBDB 3 entry in NEWS
15355         * NEWS: Mention EUDC BBDB backend support for BBDB 3.
15357 2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
15359         Improve EUDC to BBDB 3 export
15361         * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
15362         entry to single item.  Add company conversion.
15363         * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
15364         (bbdb-parse-phone): Declare function.
15365         (eudc-bbdbify-phone): Add BBDB 3 support.
15366         (Bug#21971)
15368 2015-11-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
15370         Add BBDB 3 support for EUDC export
15372         * lisp/net/eudc.el: Add bbdb-version defvar.
15373         (eudc--using-bbdb-3-or-newer-p): New function.
15374         * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
15375         bbdb-create-internal argument list changes introduced in BBDB 3.
15376         * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
15377         (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
15378         (Bug#21971)
15380 2015-11-22  Eli Zaretskii  <eliz@gnu.org>
15382         Allow loading modules by 'load-file'
15384         * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
15385         2nd arg, to avoid the "binding stack not balanced" error.
15386         (syms_of_lread) <module-file-suffix>: New Lisp variable.
15388         * lisp/files.el (module-file-suffix): Declare.
15389         (load-file): Remove 'module-file-suffix' from
15390         'completion-ignored-extensions', to allow completion on modules.
15392         * etc/NEWS: Mention 'module-file-suffix'.
15394 2015-11-22  Eli Zaretskii  <eliz@gnu.org>
15396         Fix unoptimized builds
15398         * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
15399         builds.
15401 2015-11-22  Dmitry Gutov  <dgutov@yandex.ru>
15403         Work around the asynchronous-empty-diff problem
15405         * lisp/vc/vc-rcs.el (vc-rcs-diff):
15406         * lisp/vc/vc-mtn.el (vc-mtn-diff):
15407         * lisp/vc/vc-hg.el (vc-hg-diff):
15408         * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
15409         do a synchronous process call (bug#21969).
15411 2015-11-22  Karl Fogel  <kfogel@red-bean.com>
15413         Finish excising electric indent from `open-line'
15415         * lisp/simple.el (open-line): Remove INTERACTIVE argument.
15417         * test/automated/simple-test.el (open-line-indent, open-line-hook):
15418           Adjust accordingly.
15420         This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
15421         (git commit c59353896) started.  It turns out that having INTERACTIVE
15422         cause `post-self-insert-hook' to run (via `newline') meant `open-line'
15423         still had the electric indent behavior, as `post-self-insert-hook'
15424         normally contains `electric-indent-post-self-insert-function' ever
15425         since `electric-indent-mode' has been on by default.  Tracing the code
15426         change in `open-line' is mildly twisty, because Artur Malabarba's
15427         earliest two commits of 24 Oct 2015 first removed the `interactive'
15428         form entirely (git commit 6939896e2) and then restored it with the new
15429         extra "p" already added (git commit bd4f04f86), such that there is no
15430         single-commit diff in which one sees the second "p" appear.  Thus this
15431         change is effectively a reversion of parts of each of those commits.
15433         This could close bug#21884, at least until further discussion.
15435 2015-11-22  Dmitry Gutov  <dgutov@yandex.ru>
15437         Adhere closer to the "implicit tag name" definition
15439         * lisp/progmodes/etags.el (etags-tags-completion-table):
15440         Adhere closer to the "implicit tag name" definition.  Simplify
15441         the regexp.  Search for the explicit tag name first, and when
15442         not found, search locally for the implicit one.  (Bug#21934)
15444 2015-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15446         Unrevert most of regexp reentrancy abort patch
15448         The problem was in:
15449           * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
15450         which is hence not unreverted.
15451         The rest is:
15452         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
15453         (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
15454         All callers in regex.c changed back to the _FAST versions.
15456         * test/automated/message-mode-tests.el: Tweak the test to rely on auto
15457         propertization in backward-sexp.
15459 2015-11-21  Paul Eggert  <eggert@cs.ucla.edu>
15461         Revert regexp reentrancy abort patch
15463         Although the patch does fix Bug#21688 and prevents a core dump,
15464         it also makes the message-mode-propertize test fail; see:
15465         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
15466         Perhaps someone else can come up with a better fix some day.
15467         * src/syntax.c (update_syntax_table_forward):
15468         Propertize even when truncated.
15469         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
15470         (UPDATE_SYNTAX_TABLE_FAST): Remove.
15471         All callers changed back to the non-_FAST versions.
15473 2015-11-21  Paul Eggert  <eggert@cs.ucla.edu>
15475         Add a few safety checks when ENABLE_CHECKING
15477         This was motivated by the recent addition of module code,
15478         which added some ENABLE_CHECKING-enabled checks that are
15479         useful elsewhere too.
15480         * src/alloc.c (compact_font_cache_entry):
15481         * src/fns.c (sweep_weak_table):
15482         * src/lread.c (oblookup):
15483         Use gc_asize rather than doing it by hand.
15484         * src/emacs-module.c (module_make_global_ref)
15485         (module_free_global_ref, module_vec_size):
15486         Omit assertions that lisp.h now checks.
15487         * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
15488         check that the result is nonnegative.  Use eassume, as this
15489         info can help a bit when optimizing production code.
15490         (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
15491         to be consistent with the USE_LSB_TAG case.
15492         (gc_asize): New function, when ASIZE is needed in the gc.
15493         (gc_aset): Use it.
15494         (HASH_TABLE_P): Move definition up, so that it can be used ...
15495         (XHASH_TABLE): ... here, to assert that the arg is a hash table.
15497 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
15499         Simplify recording of main thread's ID on MS-Windows
15501         * src/w32term.c (w32_initialize):
15502         * src/w32console.c (initialize_w32_display):
15503         * src/w32fns.c (globals_of_w32fns): Don't record the main thread
15504         ID independently for each type of session (GUI, TTY, batch).
15505         * src/w32term.c (w32_init_main_thread): New function, records the
15506         main thread's thread ID.
15507         * src/w32term.h: Add prototype for w32_init_main_thread.
15508         * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
15510         * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
15511         main_thread, for consistency with other threading libraries.  All
15512         users changed.  Include w32term.h.
15513         (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
15514         make sure the main thread is alive, as we hold a handle on it
15515         opened by w32_init_main_thread.
15516         (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
15517         w32_init_main_thread, instead of calling the requisite APIs once
15518         more.
15520 2015-11-21  Mark Oteiza  <mvoteiza@udel.edu>
15522         Backport: Fix issue where a new tempfile was created every refresh
15524         * lisp/mpc.el (mpc-format): Leave dir as relative path
15526 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
15528         Call 'window-size-change-functions' for mini-windows
15530         * src/window.c (grow_mini_window, shrink_mini_window): Set the
15531         frame's 'window_sizes_changed' flag.
15532         * src/xdisp.c (redisplay_internal): Call the hooks on
15533         'window-size-change-functions' if the call to 'echo_area_display'
15534         sets the frame's 'window_sizes_changed' flag.
15535         (syms_of_xdisp) <window-size-change-functions>:
15536         Update doc string to indicate the mini-window resizes trigger a
15537         call to the hooks, and don't promise that will happen "before
15538         redisplay".  (Bug#19576, Bug#21333)
15540         * doc/lispref/windows.texi (Window Hooks): Update the description
15541         of 'window-size-change-functions'.
15543 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
15545         Improve documentation of dynamic modules
15547         * src/fns.c (Frequire): Doc fix to include the dynamic module
15548         support.
15549         * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
15550         dynamic module support.
15551         (Fload): Treat the module suffix the same as '*.el' and '*.elc'
15552         wrt the MUST-SUFFIX argument.
15554         * etc/NEWS: Expand documentation of dynamically loaded modules.
15556 2015-11-21  Philipp Stephani  <phst@google.com>  (tiny change)
15558         Initial documentation for dynamic modules
15560         * etc/NEWS: Mention the new support for dynamically loaded modules.
15562 2015-11-21  Dmitry Gutov  <dgutov@yandex.ru>
15564         Add xref--etags-backend to xref-backing-functions using add-hook
15566         * lisp/progmodes/xref.el (xref-backend-functions): Move the
15567         default value into a separate `add-hook' call (bug#21964).
15569         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15570         Don't declare the xref-backend-functions variable.
15571         It doesn't make any difference.
15573 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15575         Fix double-decrement bug when freeing global refs
15577         * src/emacs-module.c (module_free_global_ref): Add a FIXME
15578         comment about error reporting.  Fix a recently-introduced typo
15579         that double-decremented the refcount.
15581 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15583         Declare emacs_module_init in the module API
15585         * src/emacs-module.h (emacs_module_init): New decl.
15586         Without it, GCC might complain about a module that defines
15587         emacs_module_init without using it.  This also checks the
15588         API better.
15590 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15592         Fix module test to use ptrdiff_t nargs too
15594         * modules/mod-test/mod-test.c (Fmod_test_return_t)
15595         (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
15596         (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
15597         (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
15598         (Fmod_test_userptr_get, Fmod_test_vector_fill)
15599         (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
15600         (finalizer): Remove; no longer used.
15602 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15604         Fix reindent-introduced typo in module code
15606         * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
15607         introduced while reindenting the code earlier, and add a
15608         comment explaining the unusual use of do-while here.
15610 2015-11-20  Anders Lindgren  <andlind@gmail.com>
15612         Fixed bug#19576: `write-file' saves wrong buffer.
15614         If a function on the hook `window-size-change-functions' doesn't
15615         restore the current buffer, functions that save and restore the
15616         current window configuration (like `y-or-no-p') could silently
15617         change the current buffer.  When `write-file' asked the user
15618         confirmation to overwrite a file, `y-or-no-p' changed the current
15619         buffer, and the wrong buffer was saved to the file.
15621         * lisp/follow.el (follow-windows-start-end): Call `select-frame'
15622         using the `norecord' parameter.
15623         (follow-window-size-change): Restore current buffer. Call
15624         `select-frame' using the `norecord' parameter. Cleanup.
15626 2015-11-20  John Wiegley  <johnw@newartisans.com>
15628         Correct a documentation error in frames.texi
15630 2015-11-20  Stephen Leake  <stephen_leake@stephe-leake.org>
15632         * lisp/cedet/mode-local.el: Delete obsolete comment
15634 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15636         Module function arg counts are ptrdiff_t, not int
15638         * src/emacs-module.c (struct module_fun_env)
15639         (module_make_function, module_funcall, Fmodule_call):
15640         * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
15641         Use ptrdiff_t, not int, for arg counts.
15642         * src/emacs-module.c (module_make_function): Don’t bother
15643         checking arity against MOST_POSITIVE_FIXNUM, as that’s
15644         unnecessary here.  Make the checking clearer by negating it.
15645         (module_make_function, Fmodule_call): No need to use xzalloc
15646         since the storage doesn’t need to be cleared.
15647         (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
15648         for it, and many implementations are buggy with large VLAs anyway.
15649         Use SAFE_ALLOCA_LISP instead.
15650         (module_vec_set): Don’t crash if i < 0.
15651         (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
15652         (module_vec_set, module_vec_get): Do fixnum checks only when
15653         i is out of array bounds, for efficiency in the usual case.
15654         (Fmodule_load): Simplify fixnum range check.
15655         (Fmodule_call): Simplify arity check.  Use xnmalloc to detect
15656         integer overflow in array allocation size.
15658 2015-11-20  Eli Zaretskii  <eliz@gnu.org>
15660         Minor improvements in module test
15662         * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
15663         about missing prototype of malloc.
15664         * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
15665         compiler warnings.
15667 2015-11-20  Eli Zaretskii  <eliz@gnu.org>
15669         Improve MS-Windows implementation in dynlib.c
15671         * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
15672         No need to include windows.h, as w32.h already does that.
15673         <dynlib_last_err>: New static variable.
15674         (dynlib_reset_last_error): New function.
15675         (dynlib_open): Convert forward slashes to backslashes.  Convert
15676         file names from UTF-8 to either UTF-16 or the current ANSI
15677         codepage, and call either LoadLibraryW or LoadLibraryA.  If the
15678         argument is NULL, return a handle to the main module, like
15679         'dlopen' does.  Record the error, if any, for use by dynlib_error.
15680         (dynlib_sym): Check the handle for validity. Record the error, if
15681         any, for use by dynlib_error.
15682         (dynlib_error): Call w32_strerror to produce the error string, and
15683         zero out the last error code, like dlerror does.
15684         (dynlib_close): Check the handle for validity.  Record the error,
15685         if any, for use by dynlib_error.  Don't call FreeLibrary with a
15686         handle for the main module.
15687         * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
15689 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15691         Include-file tweaks for modules
15693         * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
15694         * src/dynlib.h: Do not include config.h.
15695         It’s every .c file’s responsibility to include config.h first.
15696         * src/emacs-module.c: Include emacs-module.h immediately after
15697         config.h, to test that emacs-module.h doesn’t depend on
15698         include files other than config.h.
15700 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15702         Simplify push_handler and profile its malloc
15704         * src/lisp.h (PUSH_HANDLER): Remove.
15705         All callers changed to use push_handler directly.
15706         * src/eval.c (internal_condition_case)
15707         (internal_condition_case_1, internal_condition_case_2)
15708         (internal_condition_case_n):
15709         Use same pattern as for other invokers of push_handler.
15710         (push_handler, push_handler_nosignal): Use call-by-value
15711         instead of call-by-reference.  All uses changed.
15712         (push_handler): Simplify by rewriting in terms of
15713         push_handler_nosignal.
15714         (push_handler_nosignal): Profile any newly allocated memory.
15716 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15718         * src/emacs-module.h: Include stddef.h, not stdlib.h.
15720 2015-11-20  Juanma Barranquero  <lekktu@gmail.com>
15722         Discover repository version in linked worktrees (bug#21930)
15724         * lisp/version.el (emacs-repository--version-git-1): Do not assume
15725         HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
15726         (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
15727         is nil too.
15729 2015-11-20  Juri Linkov  <juri@linkov.net>
15731         * lisp/replace.el (occur-regexp-descr): New function.
15732         (occur-1, occur-engine): Use it.
15734         * lisp/isearch.el (isearch-occur): Propertize regexp with
15735         isearch-string and isearch-regexp-function-descr for
15736         occur-regexp-descr to display the correct description
15737         message in the header (bug#21176, bug#21180).
15739 2015-11-20  Karl Fogel  <kfogel@red-bean.com>
15741         Revert `open-line' electric-indent sensitivity
15743         * lisp/simple.el (open-line): Remove electric indent code.
15744           (electric-indent-just-newline): Don't declare.
15746         * test/automated/simple-test.el (open-line-indent): Adjust test.
15748         This partly reverts Artur Malabarba's change that added electric
15749         indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
15750         commit bd4f04f86), and adjusts a new test he added right afterwards
15751         (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
15752         However, the new INTERACTIVE argument to `open-line', which he also
15753         added in the first commit, is not reverted here.
15755         See the thread "Questioning the new behavior of `open-line'." on the
15756         Emacs Devel mailing list, and in particular this message:
15758           From: Artur Malabarba
15759           Subject: Re: Questioning the new behavior of `open-line'.
15760           To: Karl Fogel
15761           Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
15762           Date: Wed, 18 Nov 2015 21:03:58 +0000
15763           Message-ID: \
15764             <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
15766           https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
15768 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15770         Omit unnecessary clear in Fmodule_load
15772         * src/emacs-module.c (Fmodule_load):
15773         Simplify and avoid unnecessary initialization of priv member to 0.
15775         * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
15777 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
15779         Prefer signed integer types in module code
15781         Generally speaking, at the C level the Emacs source code prefers
15782         signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
15783         partly to avoid the usual signedness confusion when comparing values.
15784         Change the module API to follow this convention.
15785         Use ‘int’ for small values that can’t exceed INT_MAX.
15786         * modules/mod-test/mod-test.c (Fmod_test_globref_make)
15787         (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
15788         (Fmod_test_vector_eq):
15789         * src/emacs-module.c (struct emacs_value_frame)
15790         (module_make_global_ref, module_free_global_ref)
15791         (module_copy_string_contents, module_make_string)
15792         (module_vec_set, module_vec_get, module_vec_size):
15793         * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
15794         * src/lread.c (suffix_p):
15795         Prefer signed to unsigned integer types.
15797 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15799         Omit ‘const’ on locals
15801         Remove ‘const’ qualifier from locals that were newly added.
15802         We don’t normally bother declaring locals with ‘const’ even
15803         though they are not modified, for the same reason we don’t
15804         bother declaring them with ‘register’ even though their
15805         addresses are not taken; the advantage in compile-time
15806         checking isn’t worth the loss of readability.
15807         * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
15808         (Fmod_test_vector_fill, Fmod_test_vector_eq):
15809         * src/emacs-module.c (MODULE_SETJMP_1)
15810         (module_make_global_ref, module_free_global_ref)
15811         (module_non_local_exit_get, module_make_function)
15812         (module_extract_integer, module_extract_float)
15813         (module_get_user_ptr, module_set_user_ptr)
15814         (module_get_user_finalizer, module_set_user_finalizer)
15815         (module_vec_get, Fmodule_call)
15816         (module_non_local_exit_signal_1)
15817         (module_non_local_exit_throw_1, lisp_to_value)
15818         (finalize_storage, allocate_emacs_value, mark_modules)
15819         (module_handle_signal, module_handle_throw)
15820         (module_format_fun_env):
15821         * src/eval.c (push_handler, push_handler_nosignal)
15822         (init_handler):
15823         * src/lread.c (suffix_p):
15824         Omit unnecessary ‘const’.
15826 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15828         Prefer intmax_t to int64_t in module code
15830         * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
15831         * src/emacs-module.c (module_extract_integer)
15832         (module_make_integer):
15833         * src/emacs-module.h (struct emacs_env_25):
15834         Prefer intmax_t to int64_t.  This doesn’t change the generated
15835         code on any of the machines Emacs currently ports to, but it’s
15836         at least in theory more future-proof as C99 doesn’t guarantee
15837         that int64_t exists.
15839 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15841         Rename module.c to emacs-module.c, etc.
15843         * src/emacs-module.c: Rename from src/module.c.
15844         * src/emacs-module.h: Rename from src/module.h.
15845         All uses changed.
15847 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15849         Fix minor module problems found by static checking
15851         * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
15852         * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
15853         * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
15854         (Fmodule_call): Tell GCC that the default case is unreachable.
15856 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15858         Style fixes for indenting etc. in module code
15860         This is mostly indenting and spacing changes.  Also, remove
15861         some unnecessary static decls instead of bothering to reindent them.
15862         * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
15863         as most other Emacs files do for this sort of thing.
15865 2015-11-19  Eli Zaretskii  <eliz@gnu.org>
15867         Minor improvements in modules testing Makefile
15869         * modules/mod-test/Makefile (EMACS, SO): New variables.
15870         (CFLAGS): When SO = dll, don't use -fPIC.
15871         (check): New target, runs the test.
15873 2015-11-19  Eli Zaretskii  <eliz@gnu.org>
15875         * .gitignore: Add "*.dll".
15877 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15879         Migrate modules/.gitignore into .gitignore
15881         * .gitignore: Add former contents of modules/.gitignore.
15882         * modules/.gitignore: Remove.
15884 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15886         Add copyright notices to module code
15888         Put them in the usual format for GNU Emacs copyright notices.
15890 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
15892         Rename emacs_module.h to module.h
15894         * src/module.h: Rename from src/emacs_module.h.
15895         All uses changed.
15897 2015-11-19  Juanma Barranquero  <lekktu@gmail.com>
15899         * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
15901         * src/lread.c (Fload): Remove unused variable `size'
15903 2015-11-19  Alan Mackenzie  <acm@muc.de>
15905         src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
15907 2015-11-19  Dmitry Gutov  <dgutov@yandex.ru>
15909         Prioritize looking inside vc-parent-buffer over log-view-mode fallback
15911         * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
15912         vc-parent-buffer over log-view-mode fallback (bug#21955).
15914 2015-11-18  Alan Mackenzie  <acm@muc.de>
15916         lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
15918 2015-11-18  Ken Brown  <kbrown@cornell.edu>
15920         * configure.ac (LIBMODULES): Don’t define on Cygwin
15922 2015-11-18  Eli Zaretskii  <eliz@gnu.org>
15924         Fix MS-Windows build --with-modules
15926         * src/module.c: Reformat copyright commentary.
15927         (module_vec_get): Use explicit cast to size_t to avoid compiler
15928         warning in 32-bit builds.
15929         (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
15930         Compare thread IDs directly, as GetThreadId is not available
15931         before Windows Vista.
15932         (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
15933         without using APIs and constants not available on XP and older
15934         systems.  Obtain and store the thread ID as well.
15936 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
15937             Philipp Stephani  <phst@google.com>
15939         Add dynamic module test and helper script
15941         Add 'modhelp.py' script (python2) to automate module testing and
15942         module generation.
15944         To build and test all modules in the modules/ dir
15945           $ ./modhelp.py test
15947         To generate a module from template code (good starting point)
15948           $ ./modhelp init mynewtestmodule
15950         See the script -h option for more documentation.
15952         * modules/modhelp.py: New module helper script.
15953         * modules/mod-test/Makefile: New file. Makefile for the test module.
15954         * modules/mod-test/mod-test.c: New file. Test module source file.
15955         * modules/mod-test/test.el: New file. ert test suite for the test module.
15956         * modules/.gitignore: New file. Local .gitignore file.
15958 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
15960         Make 'Fload' look for modules
15962         'Fload' can now load dynamic modules. This also makes 'require' work.
15964         * src/lread.c:
15965           (suffix_p): New function.
15966           (Fload): Use 'suffix_p'.  Call 'Fmodule_load' when we try to load a file
15967           with a module suffix.
15968           (syms_of_lread): Append module suffix to 'Vload_suffixes'.
15970 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
15971             Philipp Stephani  <phst@google.com>
15973         Add dynamic module module support
15975         * configure.ac: Add '--with-modules' option.  Conditionally add
15976           dynlib.o and module.o to the list of objects.  Add any system
15977           specific flags to the linker flags to support dynamic libraries.
15978         * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
15979           attributes.
15980         * src/Makefile.in: Conditionally add module objects and linker flags.
15981         * src/alloc.c (garbage_collect_1): protect module local values from
15982           GC.
15983         * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
15984         * src/emacs-module.h: New header file included by modules.  Public
15985           module API.
15986         * src/emacs-module.c: New module implementation file.
15988 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
15990         Add new User Pointer (User_Ptr) type
15992         * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
15993         (XUSER_PTR): New User_Ptr accessor.
15994         * src/alloc.c (make_user_ptr): New function.
15995         (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
15996         * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
15997         (Fuser-ptrp): New user pointer type predicate function.
15998         (syms_of_data): New 'user-ptrp', 'user-ptr' symbol.  New 'user-ptrp'
15999         subr.
16000         * src/print.c (print_object): Add printer for User_Ptr type.
16002 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16003             Philipp Stephani  <phst@google.com>
16005         Add portable layer for dynamic loading
16007         * src/dynlib.h: New file.
16008         * src/dynlib.c: New file.
16010 2015-11-18  Philipp Stephani  <phst@google.com>
16012         Add catch-all & no-signal version of PUSH_HANDLER
16014         Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
16015         a new "catch-all" handler type.
16017         * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
16018           functions.
16019         * src/fns.c (hash_remove_from_table): Expose function public.
16020         * src/lisp.h: New handler type, define macro to push_handler call.
16022 2015-11-18  Ken Brown  <kbrown@cornell.edu>
16024         Silence byte-compiler warning
16026         * lisp/server.el (server-process-filter): Silence byte-compiler
16027         warning.
16029 2015-11-18  Paul Eggert  <eggert@cs.ucla.edu>
16031         Quote symbols in docstrings using `'
16033         Be more systematic about quoting symbols `like-this' rather than
16034         `like-this or 'like-this' in docstrings.  This follows up Artur
16035         Malabarba's email in:
16036         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
16038 2015-11-18  Peder O. Klingenberg  <peder@klingenberg.no>
16040         Fix savegames in dunnet
16042         * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
16043           of separate implementation.
16045 2015-11-18  Artur Malabarba  <bruce.connor.am@gmail.com>
16047         * lisp/emacs-lisp/package.el (package--with-response-buffer):
16049         Ensure we're at the start of the buffer before searching for
16050         the end of headers.
16052 2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>
16054         * admin/release-process: Improve wording.
16056 2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>
16058         Backport: * CONTRIBUTE: Remove information about feature freeze.
16060         (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
16062 2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>
16064         Backport: Document the release process
16066         * admin/notes/versioning: Add information about RC releases.
16067         * admin/release-process: Document the release process.
16068         * admin/authors.el (authors-ignored-files):
16069         * admin/README: Change FOR-RELEASE to release-process.
16070         * CONTRIBUTE:
16071         * admin/notes/bugtracker: Don't mention FOR-RELEASE.
16073         (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
16075 2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>
16077         Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
16079         (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
16081 2015-11-18  Xue Fuqiao  <xfq.free@gmail.com>
16083         Backport: Mention CONTRIBUTE in README
16085         Mention CONTRIBUTE in README, since it was moved from etc/ to root.
16086         * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
16087         * README: Mention CONTRIBUTE.
16089         (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
16091 2015-11-18  Paul Eggert  <eggert@cs.ucla.edu>
16093         Fix docstring quoting problems with ‘ '’
16095         Problem reported by Artur Malabarba in:
16096         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
16097         Most of these fixes are to documentation; many involve fixing
16098         longstanding quoting glitches that are independent of the
16099         recent substitute-command-keys changes.  The changes to code are:
16100         * lisp/cedet/mode-local.el (mode-local-augment-function-help)
16101         (describe-mode-local-overload):
16102         Substitute docstrings before displaying them.
16103         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
16104         Quote the generated docstring for later substitution.
16106 2015-11-17  Eli Zaretskii  <eliz@gnu.org>
16108         Improve configure --help text for wide ints
16110         * configure.ac (wide-int): Clarify user-level advantages and
16111         disadvantages.
16113 2015-11-17  Stephen Leake  <stephen_leake@stephe-leake.org>
16115         Improve doc string
16117         * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
16119 2015-11-17  Paul Eggert  <eggert@cs.ucla.edu>
16121         eval_sub followed dangling pointer when debugging
16123         Problem reported by Pip Cet (Bug#21245).
16124         This bug could occur in eval_sub if the C compiler reused
16125         storage associated with the ‘argvals’ local after ‘argvals’
16126         went out of scope, and if the Elisp debugger stopped on Elisp
16127         function exit and accessed ‘argvals’.  It could also occur if
16128         a variadic function was called with so many arguments (over
16129         2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
16130         SAFE_FREE freed the arguments, then the memory manager used
16131         the storage for other purposes, then the debugger accessed the
16132         arguments.
16133         * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
16134         function body.  Simplify local decls.
16135         When allocating args via SAFE_ALLOCA, call
16136         debugger before invoking SAFE_FREE, as the debugger needs
16137         access to the args.
16138         (eval_sub, apply_lambda): Rework to avoid need for
16139         set_backtrace_debug_on_exit hack.  This is cleaner,
16140         and should work better with buggy custom debuggers.
16142 2015-11-17  Daiki Ueno  <ueno@gnu.org>
16144         * lisp/image-mode.el: Support encrypted file
16146         (image-toggle-display-image): Read content from the buffer instead
16147         of the file, if the buffer holds a decrypted data.  (Bug#21870)
16149 2015-11-17  Paul Eggert  <eggert@cs.ucla.edu>
16151         ELF unexec: align section header
16153         This ports the recent unexelf.c changes to Fedora x86-64
16154         when configured with GCC’s -fsanitize=undefined option.
16155         * src/unexelf.c (unexec): Align new_data2_size to a multiple
16156         of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
16157         pointer aligned appropriately for its type.
16159 2015-11-17  Andreas Schwab  <schwab@linux-m68k.org>
16161         Do more checks on bytecode objects (Bug#21929)
16163         * src/eval.c (funcall_lambda): Check size of compiled function
16164         object.
16165         (Ffetch_bytecode): Likewise.
16167 2015-11-16  Johan Bockgård  <bojohan@gnu.org>
16169         pcase.el: Fix edebugging of backquoted cons patterns
16171         * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
16172         cons patterns. (Bug#21920)
16174 2015-11-16  Paul Eggert  <eggert@cs.ucla.edu>
16176         Improve fix for regex reentrancy abort
16178         Suggested by Stefan Monnier (Bug#21688).
16179         * src/syntax.c (update_syntax_table_forward):
16180         Remove recently-added PROPERTIZE arg, and assume it is true.
16181         All callers changed.
16182         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
16183         Invoke update_syntax_table directly.
16185 2015-11-16  Artur Malabarba  <bruce.connor.am@gmail.com>
16187         * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
16189         * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
16191         * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
16193 2015-11-16  Vasily Korytov  <vasily.korytov@yahoo.com>
16195         Recognize .rbw and .pyw files (bug#18753)
16197         * lisp/progmodes/python.el (auto-mode-alist):
16198         Recognize .pyw files.
16200         * lisp/progmodes/ruby-mode.el (auto-mode-alist):
16201         Recognize .rbw files.
16203 2015-11-16  Dmitry Gutov  <dgutov@yandex.ru>
16205         Fix ruby-mode auto-mode-alist entry
16207         * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
16208         around the extensions (bug#21257).
16210 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16212         Fix etags completion near eob
16214         * lisp/progmodes/etags.el (tags-completion-at-point-function):
16215         Use `goto-char', to avoid the end-of-buffer error (bug#20061).
16217 2015-11-15  Alan Mackenzie  <acm@muc.de>
16219         De-pessimize detection of C++ member initialization lists.
16221         list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
16222         (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
16223         is only called when a construct "looks right" rather than continually.
16224         (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
16226 2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>
16228         Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
16230         * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
16231         `url-insert-buffer-contents'.
16232         (url-insert-buffer-contents): New function
16234         (package--with-response-buffer): Use `url-insert-buffer-contents'.
16235         The previous code had some issues with decoding. Refactoring that
16236         function allows us to use the decoding from url-handlers while still
16237         treating both sync and async requests the same.
16239 2015-11-15  Stephen Leake  <stephen_leake@stephe-leake.org>
16241         Improve a few doc strings, comments
16243         * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
16244         * lisp/cedet/ede/locate.el (ede-locate-base):
16245         * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
16246         * src/fns.c (Fdelq): Improve doc string.
16248         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
16250 2015-11-15  Anders Lindgren  <andlind@gmail.com>
16252         Enhance NSTRACE (trace output for NextStep).
16254         Trace can be disabled for groups of functions. By default, event
16255         functions and functions that generate lots of output are disabled.
16257         Trace output of Objective-C functions now use the "[ClassName
16258         parameter:]" form.
16260         * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
16261         (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
16262         (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
16263         controlling in which function groups trace should be active.
16264         (NSTRACE_WHEN): Support for silencing a function, this also
16265         silencing all called functions.
16266         (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
16267         (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
16268         print the full screen state in NSTRACE functions.
16270         * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
16271         can be accessed from multiple threads.
16272         (nstrace_enabled_global): New variable, when FALSE, trace is
16273         silenced.
16274         (nstrace_restore_global_trace_state): New function, used to
16275         restore `nstrace_enabled_global' at end of block.
16276         ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
16277         ([EmacsWindow setFrame:display:animation:])
16278         ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
16279         and call corresponding super function.
16280         (Many functions): Add or enhance trace output.
16282         * src/nsimage.m (ns_image_from_file): Enhanced trace output.
16284         * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
16286         * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
16287         and call corresponding super function.
16289 2015-11-15  Anders Lindgren  <andlind@gmail.com>
16291         Fixed a toolbar related issue on OS X.
16293         Earlier, when toggling the tool-bar in a maximized frame, the
16294         frame size didn't match the number of text lines, leaving an
16295         unused area at the bottom of the frame.
16297         * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
16298         fullscreen modes when tool bar is disabled.
16300 2015-11-15  Anders Lindgren  <andlind@gmail.com>
16302         Fixed OS X 10.6.8 build issue (bug#21862).
16304         * src/nsterm.h (EmacsView): Add missing declarations.
16305         * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
16306         the standard method but without the notification parameter.
16307         Intended to be used for direct calls.
16308         ([EmacsView windowDidEnterFullScreen]): Call the non-notification
16309         version of `windowDidBecomeKey'. Made the notification method call
16310         the non-notification method instead of the vice versa.
16311         (NSWindowDidEnterFullScreenNotification): Deleted, no longer
16312         needed.
16314 2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>
16316         * lisp/faces.el (faces--attribute-at-point): Fix an issue
16318         Previous code would signal an error when the face at point was
16319         a manually built list of attributes such as '(:foregroud "white").
16321         * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
16323 2015-11-15  Paul Eggert  <eggert@cs.ucla.edu>
16325         Fix regex abort when it tries to reenter itself
16327         Problem reported by Ken Raeburn.
16328         Solution suggested by Stefan Monnier (Bug#21688).
16329         * src/regex.c (re_match_2_internal):
16330         Use new _FAST functions to avoid regex code reentering itself.
16331         * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
16332         All callers changed.
16333         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
16334         (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
16336 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16338         Improve Ruby 1.9-style keyword keys highlighting
16340         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
16341         Handle required keyword arguments (bug#21367).
16342         And highlight the colon together with the name.
16344 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16346         Unify the absolutely equal xref-backend-references implementations
16348         * lisp/progmodes/elisp-mode.el (xref-backend-references):
16349         Remove.
16351         * lisp/progmodes/etags.el (xref-backend-references):
16352         Remove.
16354         * lisp/progmodes/xref.el (xref-backend-references):
16355         Define the default implementation.
16357 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16359         Update project-find-regexp for the new xref API
16361         * lisp/progmodes/project.el (project--read-regexp):
16362         Update to use the new xref API methods.
16364         * lisp/progmodes/xref.el (xref-find-backend): Autoload.
16366 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16368         Fix replacing a match with a shorter string
16370         In effect, partially reverting fe973fc.
16372         * lisp/progmodes/xref.el (xref-query-replace): Store the end
16373         of each match as a marker again, instead of length.
16374         (xref--query-replace-1): Update accordingly.
16376 2015-11-14  Artur Malabarba  <bruce.connor.am@gmail.com>
16378         * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
16380         Signal user-errors instead.
16382 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
16384         Document 'describe-symbol'
16386         * doc/emacs/help.texi (Help Summary): Mention "C-h o".
16387         (Name Help): Document "C-h o" and describe-symbol.
16389         * lisp/help-fns.el (describe-symbol): Doc fix.
16391 2015-11-14  Paul Eggert  <eggert@cs.ucla.edu>
16393         Change test name to avoid spellcheck issue.
16395 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
16397         Avoid signaling an error in 'describe-symbol'
16399         * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
16400         exists as a function/variable/face/etc., but is undocumented.
16402         * test/automated/help-fns.el (help-fns-test-describe-symbol): New
16403         test.
16405 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
16407         * INSTALL (--with-cairo): Document this new configure option.
16409 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
16411         Document that GNU Make >= 3.81 is required to build Emacs
16413         * doc/lispref/internals.texi (Building Emacs): Document that GNU
16414         Make 3.81 or later is now required.
16416 2015-11-14  Artur Malabarba  <bruce.connor.am@gmail.com>
16418         Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
16420         (package--with-work-buffer-async): Reimplement as
16421         `package--with-response-buffer'.
16422         (package--with-work-buffer): Mark obsolete.
16423         (package--with-response-buffer): New macro. This is a more self
16424         contained and less contrived version of
16425         `package--with-work-buffer-async'.  It uses keyword arguments,
16426         doesn't have async on the name, doesn't fallback on
16427         `package--with-work-buffer', and has _much_ simpler error
16428         handling.  On master, this macro will soon be part of another
16429         library (either standalone or inside url.el), which is why this
16430         commit is not to be merged back.
16432         (package--check-signature, package--download-one-archive)
16433         (package-install-from-archive, describe-package-1): Use it.
16435         (package--download-and-read-archives): Let
16436         `package--download-one-archive' take care of calling
16437         `package--update-downloads-in-progress'.
16439 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
16441         * CONTRIBUTE (Branches): Improve wording for back-ported commits.
16443 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
16445         Merge branch 'master' into emacs-25
16447 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
16449         Use generic dispatch for xref backends
16451         * lisp/progmodes/xref.el (xref-backend-functions):
16452         New variable.
16453         (xref-find-function): Remove.
16454         (xref-find-backend)
16455         (xref--etags-backend): New functions.
16456         (xref-identifier-at-point-function)
16457         (xref-identifier-completion-table-function): Remove.
16458         (xref-backend-definitions, xref-backend-references)
16459         (xref-backend-apropos, xref-backend-identifier-at-point)
16460         (xref-backend-identifier-completion-table):
16461         New generic functions.
16463         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
16464         Add `elisp--xref-backend' to the beginning of
16465         `xref-backend-functions', locally.  Delete references to
16466         removed functions and vars.
16467         (elisp-xref-find): Remove.
16468         (elisp--xref-backend): New function.
16469         (elisp--xref-find-references, elisp--xref-find-apropos)
16470         (elisp--xref-identifier-completion-table):
16471         Turn into appropriately named generic methods.
16473         * lisp/progmodes/etags.el (etags-xref-find): Remove.
16474         (xref-backend-identifier-completion-table)
16475         (xref-backend-references, xref-backend-definitions)
16476         (xref-backend-apropos): New generic methods.
16478 2015-11-14  Juri Linkov  <juri@linkov.net>
16480         Support rectangular regions for more commands
16482         * lisp/simple.el (region-extract-function): Handle the arg
16483         value ‘bounds’.
16484         (region-insert-function): New function.
16485         (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
16486         If non-nil, operate on multiple chunks.
16487         (region-noncontiguous-p): New function.
16489         * lisp/rect.el: Add function rectangle--insert-region
16490         around region-insert-function.
16491         (extract-rectangle-bounds): New function.
16492         (rectangle--extract-region): Handle the arg value ‘bounds’.
16493         (rectangle--insert-region): New function.
16495         * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
16496         around region-insert-function.
16497         (cua--extract-rectangle-bounds): New function.
16498         (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
16500         * lisp/replace.el (query-replace, query-replace-regexp): Add arg
16501         ‘region-noncontiguous-p’.  Use ‘use-region-p’.
16502         (query-replace-regexp-eval, map-query-replace-regexp)
16503         (replace-string, replace-regexp): Use ‘use-region-p’.
16504         (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
16505         (perform-replace): Add arg ‘region-noncontiguous-p’.
16506         If non-nil, operate on multiple chunks.
16508         * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
16509         If non-nil, operate on multiple chunks.  (Bug#19829)
16511 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
16513         Handle multiple matches on the same line; add highlighting
16515         * lisp/progmodes/xref.el (xref-location-marker): Interpret the
16516         column value in characters.
16517         (xref--collect-matches): Rename from `xref--collect-match'.
16518         Search for all matches in the hit line.  Add `highlight' face to
16519         the matched region in the summary.  Update both callers.
16521 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
16523         Replace xref-match-bounds with xref-match-length
16525         Relying on xref-location-marker to point to the beginning of the match
16527         * lisp/progmodes/xref.el (xref-match-bounds): Remove.
16528         (xref-match-length): Add.
16529         (xref-make-match): Change the arguments.
16530         (xref--match-buffer-bounds): Remove.
16531         (xref-match-item): Store length, instead of end-column.
16532         (xref-pulse-momentarily)
16533         (xref--collect-match)
16534         (xref--query-replace-1): Update accordingly.
16535         (xref-query-replace): Ditto.  And check that the search results
16536         are up-to-date.
16538 2015-11-13  John Wiegley  <johnw@newartisans.com>
16540         Merge remote-tracking branch 'origin/master' into emacs-25
16542 2015-11-13  l3thal  <kwhite@gnu.org>
16544         Merge branch 'erc-async-reconnect' into emacs-25
16546         Reconnect asynchronously.
16548 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16550         Merge from gnulib
16552         This incorporates:
16553         2015-11-13 xalloc-oversized: improve performance with GCC 5
16554         * lib/xalloc-oversized.h: Copy from gnulib.
16556 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16558         Spruce up ftfont.c memory allocation
16560         * src/ftfont.c (setup_otf_gstring):
16561         Avoid O(N**2) behavior when reallocating.
16562         (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
16563         reallocating buffers; this simplifies the code.  Do not trust
16564         mflt_run to leave the output areas unchanged on failure, as
16565         this isn’t part of its interface spec.
16567 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16569         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
16571 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16573         Port recent XCB changes to 64-bit ‘long int’
16575         For historical reasons, libX11 represents 32-bit values like Atoms as
16576         ‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
16577         do that, so adapt the recent XCB code to behave properly on 64-bit
16578         platforms.  Also, fix what appears to be a bug in the interpretation
16579         of xcb_get_property_value_length, at least on my Fedora platform
16580         which is running libxcb-1.11-5.fc21.
16581         * src/xfns.c (x_real_pos_and_offsets):
16582         * src/xterm.c (get_current_wm_state):
16583         xcb_get_property_value_length returns a byte count, not a word count.
16584         For 32-bit quantities, xcb_get_property_value returns a vector
16585         of 32-bit words, not of (possibly 64-bit) long int.
16587         Backport.
16589 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16591         * src/undo.c (run_undoable_change): Now static.
16593         Backport.
16595 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16597         Remove support for ':timeout' from w32 tray notifications
16599         * src/w32fns.c (Fw32_notification_notify): Delete the code that
16600         supports ':timeout'.
16601         (syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
16602         with dbusbind.c when D-Bus is compiled in.
16604         * doc/lispref/os.texi (Desktop Notifications): Don't mention
16605         ':timeout'.
16607         Backport.
16609 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16611         * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
16613         (simple-test--transpositions): New macro.
16614         (simple-transpose-subr): New test.
16616         Backport.
16618 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16620         * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
16622         Backport.
16624 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16626         * src/undo.c: Small fixes for previous change
16628         (run_undoable_change): Mark void argument list.
16629         (record_property_change): Remove unused variable `boundary'.
16631         Backport.
16633 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16635         Add a few more variables to redisplay--variables
16637         * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
16638         and bidi-display-reordering to the list.
16640         Backport.
16642 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16644         * lisp/loadup.el: Enlarge the size of the hash table to 80000.
16646         Backport.
16648 2015-11-13  Eli Barzilay  <eli@barzilay.org>
16650         Fix point positioning after transposing with negative arg
16652         * lisp/simple.el (transpose-subr): When invoked with a negative
16653         argument, move point to after the transposed text, like we do
16654         when invoked with a positive argument.  (Bug#21885)
16656         Backport.
16658 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16660         Fix last change in shr.el
16662         * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
16663         have-fringes-p.  All callers changed.  Doc fix.  (Bug#21895)
16665         Backport.
16667 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16669         Fix last change
16671         * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
16672         Don't DEFSYM tray notification symbols if D-Bus is being used.
16674         Backport.
16676 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16678         Another fix for MinGW64 and Cygwin builds due to notifications
16680         * src/w32fns.c: Ifdef away tray notification code if D-Bus is
16681         being compiled into Emacs.
16682         (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
16683         Sw32_notification_notify and Sw32_notification_close if the code
16684         is not compiled.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16686         Backport.
16688 2015-11-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16690         Remove intern calls and XXX comments from Fx_export_frames
16692         * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
16693         Qsvg instead of intern calls.  Use "postscript" instead of "ps"
16694         for consistency with image types.  Remove XXX comments.
16695         (syms_of_xfns) <Qpdf>: DEFSYM it.
16697         Backport.
16699 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16701         Port recent XCB changes to 64-bit ‘long int’
16703         For historical reasons, libX11 represents 32-bit values like Atoms as
16704         ‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
16705         do that, so adapt the recent XCB code to behave properly on 64-bit
16706         platforms.  Also, fix what appears to be a bug in the interpretation
16707         of xcb_get_property_value_length, at least on my Fedora platform
16708         which is running libxcb-1.11-5.fc21.
16709         * src/xfns.c (x_real_pos_and_offsets):
16710         * src/xterm.c (get_current_wm_state):
16711         xcb_get_property_value_length returns a byte count, not a word count.
16712         For 32-bit quantities, xcb_get_property_value returns a vector
16713         of 32-bit words, not of (possibly 64-bit) long int.
16715 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
16717         * src/undo.c (run_undoable_change): Now static.
16719 2015-11-13  Michael Albinus  <michael.albinus@gmx.de>
16721         Adapt Tramp version, do not merge with master
16723         * doc/misc/trampver.texi (trampver):
16724         * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
16726 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16728         Remove support for ':timeout' from w32 tray notifications
16730         * src/w32fns.c (Fw32_notification_notify): Delete the code that
16731         supports ':timeout'.
16732         (syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
16733         with dbusbind.c when D-Bus is compiled in.
16735         * doc/lispref/os.texi (Desktop Notifications): Don't mention
16736         ':timeout'.
16738 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16740         * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
16741         (simple-test--transpositions): New macro.
16742         (simple-transpose-subr): New test.
16744 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16746         * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
16748 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
16750         * src/undo.c: Small fixes for previous change
16751         (run_undoable_change): Mark void argument list.
16752         (record_property_change): Remove unused variable `boundary'.
16754 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16756         Add a few more variables to redisplay--variables
16758         * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
16759         and bidi-display-reordering to the list.
16761 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16763         * lisp/loadup.el: Enlarge the size of the hash table to 80000.
16765 2015-11-13  Eli Barzilay  <eli@barzilay.org>
16767         Fix point positioning after transposing with negative arg
16769         * lisp/simple.el (transpose-subr): When invoked with a negative
16770         argument, move point to after the transposed text, like we do
16771         when invoked with a positive argument.  (Bug#21885)
16773 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16775         Fix last change in shr.el
16777         * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
16778         have-fringes-p.  All callers changed.  Doc fix.  (Bug#21895)
16780 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16782         Fix last change
16784         * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
16785         Don't DEFSYM tray notification symbols if D-Bus is being used.
16787 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
16789         Another fix for MinGW64 and Cygwin builds due to notifications
16791         * src/w32fns.c: Ifdef away tray notification code if D-Bus is
16792         being compiled into Emacs.
16793         (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
16794         Sw32_notification_notify and Sw32_notification_close if the code
16795         is not compiled.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16797 2015-11-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16799         Remove intern calls and XXX comments from Fx_export_frames
16801         * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
16802         Qsvg instead of intern calls.  Use "postscript" instead of "ps"
16803         for consistency with image types.  Remove XXX comments.
16804         (syms_of_xfns) <Qpdf>: DEFSYM it.
16806 2015-11-13  Eric Hanchrow  <eric.hanchrow@gmail.com>
16808         shr: don't invoke unbound function (Bug#21895)
16810         * lisp/net/shr.el (have-fringes-p): New function.
16811         (shr-insert-document, shr-fill-text): Use it.
16813 2015-11-12  Juanma Barranquero  <lekktu@gmail.com>
16815         * test/automated/keymap-tests.el: Fix test to make it repeatable
16817         (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
16818         entry to its initial value to make the test repeatable in interactive
16819         sessions (assuming it doesn't fail and crashes Emacs, of course).
16821 2015-11-13  Artur Malabarba  <bruce.connor.am@gmail.com>
16823         * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
16825 2015-11-12  Phillip Lord  <phillip.lord@russet.org.uk>
16827         : Tests for undo-auto functionality.
16829 2015-11-12  Phillip Lord  <phillip.lord@newcastle.ac.uk>
16831         The heuristic that Emacs uses to add an `undo-boundary' has been
16832         reworked, as it interacts poorly with functions on `post-command-hook'
16833         or `after-change-functions'.
16835         * lisp/simple.el: New section added.
16836         * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
16837         (self_insert_command): Calls simple.el to amalgamate.
16838         (delete_char): Calls simple.el to amalgamate.
16839         * src/keyboard.c (last_undo_boundary): Removed.
16840         * src/undo.c (run_undoable_change): New function.
16842 2015-11-12  Juri Linkov  <juri@linkov.net>
16844         Bind [?\S-\ ] to previous line command in Dired-like modes.
16846         * lisp/arc-mode.el (archive-mode-map):
16847         * lisp/dired.el (dired-mode-map):
16848         * lisp/proced.el (proced-mode-map):
16849         * lisp/vc/vc-dir.el (vc-dir-mode-map):
16850         Bind [?\S-\ ] to previous line command.
16851         (Bug#20790)
16853 2015-11-12  Eli Zaretskii  <eliz@gnu.org>
16855         Fix the MinGW64 and Cygwin-w32 builds
16857         * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
16858         (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
16859         use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
16860         which cause trouble with MinGW42 headers.  Ifdef away tray
16861         notifications code for Cygwin.  Reported by Andy Moreton
16862         <andrewjmoreton@gmail.com>.
16864 2015-11-12  Simen Heggestøyl  <simenheg@gmail.com>
16866         Enable sorting of JSON object keys when encoding
16868         * lisp/json.el (json-encoding-object-sort-predicate): New variable
16869         for specifying a sorting predicate for JSON objects during encoding.
16870         (json--plist-to-alist): New utility function.
16871         (json-encode-hash-table): Re-use `json-encode-alist' when object keys
16872         are to be sorted.
16873         (json-encode-alist): Sort output by
16874         `json-encoding-object-sort-predicate, when set.
16875         (json-encode-plist): Re-use `json-encode-alist' when object keys are
16876         to be sorted.
16877         (json-pretty-print-buffer-ordered): New command to pretty print the
16878         buffer with object keys sorted alphabetically.
16879         (json-pretty-print-ordered): New command to pretty print the region
16880         with object keys sorted alphabetically.
16882         * test/automated/json-tests.el (test-json-plist-to-alist)
16883         (test-json-encode-plist, test-json-encode-hash-table)
16884         (test-json-encode-alist-with-sort-predicate)
16885         (test-json-encode-plist-with-sort-predicate): New tests.
16887         * etc/NEWS: Add an entry for the new commands.
16889 2015-11-12  Juanma Barranquero  <lekktu@gmail.com>
16891         * test/automated/keymap-tests.el: New test file.
16893 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
16895         Speed up x_real_pos_and_offsets using XCB
16897         * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
16898         all X calls, and pipeline requests when possible, collecting results
16899         later.  Eliminate use of x_catch_errors (and thus XSync) in XCB case.
16901 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
16903         Enable use of XCB for checking window manager state
16905         * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
16906         of XGetWindowProperty plus error-catching, since we can explicitly
16907         check for errors in the XCB version.  This eliminates 3 XSync calls on
16908         top of the round-trip actually fetching the information.
16910 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
16912         Detect XCB and save a connection handle
16914         * configure.ac: If using X11, check for XCB libraries and header.
16915         * src/Makefile.in (XCB_LIBS): Define.
16916         (LIBX_EXTRA): Include it.
16918         * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
16919         (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
16920         * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
16922 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
16924         Reduce some data dependencies between X calls
16926         Gains nothing in the traditional-Xlib code, but more closely aligns
16927         with how the XCB version will work.
16929         * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
16930         send coordinates (0,0) to the X server and add in the real coordinates
16931         after getting the response.  Move XGetGeometry for outer window inside
16932         error-trapping block.  Use DPY variable more, since it's available.
16934 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
16936         Use color cache for creating bitmap
16938         * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
16939         Set attributes to use the caching color allocator.  Initialize and
16940         free the cache.
16942 2015-11-12  Eli Barzilay  <eli@barzilay.org>
16944         Add "^" to the interactive specs of `dired-next/previous-line'
16946         * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
16947         to bind these commands to the arrow keys, and that means that they work
16948         better with a "^" in the `interactive' declaration so selection works
16949         as expected.
16951 2015-11-12  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
16953         Sync with soap-client repository, version 3.0.2
16955         * lisp/net/soap-client.el: Bump version to 3.0.2.
16957         * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
16959         * lisp/net/soap-client.el: Add cl-lib to Package-Requires.  Require cl-lib.
16960         (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
16962         * lisp/net/soap-client.el: Support Emacs versions that do not have
16963         define-error.
16965         * lisp/net/soap-inspect.el: Remove version header.
16967         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
16968         format.
16970 2015-11-11  Alan Mackenzie  <acm@muc.de>
16972         CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
16974         * lisp/progmodes/cc-engine.el (c-backward-single-comment)
16975         (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
16976         (c-guess-basic-syntax):
16977         Remove bindings of open-paren-in-column-0-is-defun-start to nil.
16978         (c-get-fallback-scan-pos): "New" function (existed several years ago).
16979         (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
16980         c-get-fallback-scan-pos.
16981         (c-parse-state-1): Handle 'BOD strategy.
16983         * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
16984         (c-font-lock-fontify-region): Remove bindings of
16985         open-paren-in-column-0-is-defun-start to nil.
16987         * doc/misc/cc-mode.texi (Performance Issues)
16988         (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
16990 2015-11-11  Artur Malabarba  <bruce.connor.am@gmail.com>
16992         * lisp/obarray.el: Fix shadowed variables.
16993         (obarray-map, obarray-remove, obarray-put, obarray-get):
16994         Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
16996 2015-11-11  Eli Zaretskii  <eliz@gnu.org>
16998         Avoid error in submitting a form with EWW
17000         * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
17001         CHUNK to be nil.  (Bug#21881)
17003 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
17005         Rename seq-p and map-p to seqp and mapp
17007         * lisp/emacs-lisp/seq.el (seqp): New name.
17008         * lisp/emacs-lisp/map.el (mapp): New name.
17009         * doc/lispref/sequences.texi: Update the documentation for seqp.
17010         * test/automated/map-tests.el: Update the tests for mapp.
17012 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
17014         Rename obarray-p to obarrayp
17016         * lisp/obarray.el (obarrayp): New name.
17017         * test/automated/obarray-tests.el: Update the tests.
17019 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
17021         Rename obarray-foreach to obarray-map
17023         * lisp/obarray.el (obarray-map): New name.
17024         * test/automated/obarray-tests.el: Update the corresponding tests.
17026 2015-11-11  Przemysław Wojnowski  <esperanto@cumego.com>
17028         New file with obarray functions.
17030         * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
17031         * test/automated/obarray-tests.el: New file.
17033 2015-11-11  Eli Zaretskii  <eliz@gnu.org>
17035         Implement tray notifications for MS-Windows
17037         * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
17038         (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
17039         (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
17040         (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
17041         (EMACS_NOTIFICATION_MSG): New macros.
17042         (NI_Severity): New enumeration.
17043         (get_dll_version, utf8_mbslen_lim, add_tray_notification)
17044         (delete_tray_notification, Fw32_notification_notify)
17045         (Fw32_notification_close): New functions.
17046         (syms_of_w32fns): Defsubr functions exposed to Lisp.  DEFSYM
17047         keywords used by w32-notification-notify.
17049         * doc/lispref/os.texi (Desktop Notifications): Describe the native
17050         w32 tray notifications.
17052 2015-11-11  Alan Mackenzie  <acm@muc.de>
17054         First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.
17056         doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
17057         Windows" and new @defun selected-window-group.
17058         (Window Start and End): Describe new &optional parameter GROUP and
17059         ...-group-function for window-start, window-end, set-window-start, and
17060         pos-visible-in-window-p.
17061         (Textual Scrolling) Describe the same for recenter.
17062         doc/lispref/positions.texi (Screen Lines): Describe the same for
17063         move-to-window-line.
17065         src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
17066         (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
17067         new optional parameter "group".  At the beginning of each, check whether the
17068         corresponding ...-group-function is set to a function, and if so execute this
17069         function in place of the normal processing.
17070         (syms_of_window): Define symbols for the six new variables below.
17071         (window-start-group-function, window-end-group-function)
17072         (set-window-start-group-function, recenter-group-function)
17073         (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
17074         New permanent local buffer local variables.
17075         src/keyboard.c (Fposn_at_point): Add extra parameter in call to
17076         Fpos_visible_in_window_p.
17078         lisp/window.el (selected-window-group-function): New permanent local buffer
17079         local variable.
17080         (selected-window-group): New function.
17082         lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
17083         enable, kill them at mode disable.  Add/remove follow-after-change to/from
17084         after-change-functions.
17085         (follow-start-end-invalid): New variable.
17086         (follow-redisplay): Manipulate follow-start-end-invalid.
17087         (follow-after-change, follow-window-start, follow-window-end)
17088         (follow-set-window-start, follow-pos-visible-in-window-p)
17089         (follow-move-to-window-line, follow-sit-for): New functions.
17091         lisp/isearch.el (isearch-call-message): New macro.
17092         (isearch-update, with-isearch-suspended, isearch-del-char)
17093         (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
17094         (with-isearch-suspended): Rearrange code such that isearch-call-message is
17095         invoked before point is moved.
17096         (isearch-message): Add comment about where point must be at function call.
17097         (isearch-search): Remove call to isearch-message.
17098         (isearch-lazy-highlight-window-group): New variable.
17099         (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
17100         the battery of tests to ...
17101         (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
17102         Note: (sit-for 0) is still called.
17103         (isearch-lazy-highlight-update): Check membership of
17104         isearch-lazy-highlight-window-group.  Don't set the `window' overlay
17105         property.
17106         (isearch-update, isearch-done, isearch-string-out-of-window)
17107         (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
17108         (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
17109         (isearch-lazy-highlight-update): Call the six amended primitives (see
17110         src/window.c above) with the new `group' argument set to t, to cooperate
17111         with Follow Mode.
17113 2015-11-11  Michael Albinus  <michael.albinus@gmx.de>
17115         Optimize `file-equal-p' and `file-in-directory-p' in Tramp
17117         * lisp/net/tramp.el (tramp-handle-file-equal-p)
17118         (tramp-handle-file-in-directory-p): New defuns.  Suggested by
17119         Harvey Chapman <hchapman@3gfp.com>.
17121         * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17122         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17123         * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17124         * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
17126 2015-11-10  Karl Fogel  <kfogel@red-bean.com>
17128         * CONTRIBUTE: Encourage adding tests.
17130         Based on this post from John Wiegley:
17132           From: "John Wiegley" <johnw@newartisans.com>
17133           Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
17134           To: Juanma Barranquero <lekktu@gmail.com>
17135           Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
17136               emacs-devel <emacs-devel@gnu.org>
17137           Date: Wed, 28 Oct 2015 18:45:29 -0700
17138           Message-ID: <m2y4emqwg6.fsf@newartisans.com>
17140           https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
17142 2015-11-10  David Reitter  <david.reitter@gmail.com>
17144         Avoid creating notification objects when possible
17146         * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
17147         (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
17148         functions that do not require a notification object.  When needed,
17149         define NSWindowDidEnterFullScreenNotification to allow for compilation
17150         on OS X 10.6.8.
17152 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
17154         Move INTEGER_TO_CONS body out of .h file
17156         * src/data.c (INTBIG_TO_LISP): New macro, with most
17157         of the contents of the old INTEGER_TO_CONS.
17158         (intbig_to_lisp, uintbig_to_lisp): New functions.
17159         * src/lisp.h (INTEGER_TO_CONS):
17160         Simplify by using EXPR_SIGNED and the new functions.
17161         This shrinks code size a bit, and makes it easier to
17162         put a breakpoint on handling of large integers.
17164 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
17166         Merge from gnulib
17168         This incorporates:
17169         2015-11-10 intprops: new public macro EXPR_SIGNED
17170         2015-11-10 intprops: fix typo in clang port
17171         * lib/intprops.h: Copy from gnulib.
17173 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
17175         Spelling fixes
17177         * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
17178         Fix misspelling in output.
17180 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17182         * doc/lispref/variables.texi (Directory Local Variables):
17183         Document dir-locals wildcards.
17185         * lisp/files.el (dir-locals-file): Point to Info node.
17187         * doc/emacs/custom.texi (Directory Variables):
17188         Document dir-locals wildcards.
17190         * etc/NEWS: Document new functionality.
17192 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17194         * lisp/files.el: Don't allow customization of dir-locals sorting.
17195         In retrospect, this is not a good idea for the same reason that
17196         `dir-locals-file' is a defconst, because it is important that this
17197         behavior be "uniform across different environments and users".
17198         Sure, the user can still change the sorting with a hack, but we
17199         shouldn't encourage them to change it.
17200         (dir-locals--all-files): Return list in the order returned by
17201         `file-expand-wildcards'.
17202         (file-expand-wildcards): Document the sorting predicate used.
17203         (dir-locals-sort-predicate): Delete variable.
17205 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17207         * lisp/files.el (dir-locals-read-from-file): Better handle errors.
17209         * lisp/isearch.el (search-default-regexp-mode): Change default value.
17211 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17213         * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
17214         `locate-dominating-file' will now keep looking if the files it finds in
17215         a given directory are unreadable (or not files).
17217 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17219         * lisp/files.el (dir-locals-file): Allow wildcards.
17220         (dir-locals-find-file, dir-locals-collect-variables)
17221         (dir-locals-read-from-file): Update accordingly.
17222         (hack-dir-local-variables): Rename a local variable.
17224         * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
17226         * lisp/help-fns.el (describe-variable): Update accordingly.
17228         * .gitignore: Add .dir-locals?.el.
17230 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
17232         * lisp/emacs-lisp/map.el (map-merge-with): New function.
17234         * test/automated/map-tests.el (test-map-merge-with): New test.
17236 2015-11-10  Karl Fogel  <kfogel@red-bean.com>
17238         Fix some recently-perturbed bookmark autoloads
17240         * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
17241         (bookmark-set): Restore autoload.
17242         (bookmark-set-no-overwrite): Add autoload.
17244         Thanks to Juanma Barranquero for noticing the autoload problems
17245         introduced by my recent commit adding/changing the above functions
17246         (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
17248 2015-11-09  Noah Friedman  <friedman@splode.com>
17250         * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
17251         the start of buffer.  I don't recall if older versions of gdb were
17252         less strict but you cannot dump a 0-length range in gdb 7.9.1.
17254 2015-11-10  Dmitry Gutov  <dgutov@yandex.ru>
17256         * lisp/progmodes/project.el: Update Commentary.
17258         Merge branch 'project-next'
17260 2015-11-10  Dmitry Gutov  <dgutov@yandex.ru>
17262         Fold `project-ask-user' into `project-current'
17264         * lisp/progmodes/project.el (project-find-functions): Remove
17265         `project-ask-user'.
17266         (project-ask-user): Remove function and the corresponding
17267         `project-roots' implementation.
17268         (project-current): Add a new argument, MAYBE-PROMPT.  Prompt the
17269         user in case there's no project in the current directory.  Update
17270         all callers.
17272 2015-11-09  Karl Fogel  <kfogel@red-bean.com>
17274         When VC detects a conflict, specify which file
17276         * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
17277         * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
17278         * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
17279         * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
17280         * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
17281           to display a standard message that specifies the conflicted file.
17283         Before this change, the message VC used for indicating a conflicted
17284         file was just "There are unresolved conflicts in this file" without
17285         naming the file (and this language was duplicated in several places).
17286         After this change, it's "There are unresolved conflicts in file FOO"
17287         (and this language is now centralized in one function in vc.el).
17289         Justification: It's important for the message to name the conflicted
17290         file because the moment when VC realizes a file is conflicted does not
17291         always come interactively.  For example, some people automatically
17292         find a set of Org Mode files on startup, and may keep those .org files
17293         under version control.  If any of the files are conflicted, the user
17294         just sees some messages fly by, and might later check the "*Messages*"
17295         buffer to find out what files were conflicted.  I'm not saying this
17296         happened to me or anything; it's a purely hypothetical example.
17298 2015-11-09  Eli Zaretskii  <eliz@gnu.org>
17300         Fix assertion violation in define-key
17302         * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
17303         objects.  Reported by Drew Adams <drew.adams@oracle.com>
17304         and Juanma Barranquero <lekktu@gmail.com>.
17306 2015-11-09  Dima Kogan  <dima@secretsauce.net>
17308         Fix a memory leak in GC of font cache
17310         * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
17311         entities if some of the fonts it references are marked.  This
17312         plugs a memory leak.  (Bug#21556)
17314 2015-11-09  Paul Eggert  <eggert@cs.ucla.edu>
17316         Use INT_ADD_WRAPV etc. to check integer overflow
17318         * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
17319         * src/buffer.c (record_overlay_string, overlay_strings):
17320         * src/casefiddle.c (casify_object):
17321         * src/ccl.c (Fccl_execute_on_string):
17322         * src/character.c (char_width, c_string_width, lisp_string_width)
17323         (count_size_as_multibyte, string_escape_byte8):
17324         * src/coding.c (coding_alloc_by_realloc, produce_chars):
17325         * src/data.c (arith_driver):
17326         * src/dispnew.c (realloc_glyph_pool, init_display):
17327         * src/editfns.c (styled_format):
17328         * src/fns.c (Ffillarray):
17329         * src/ftfont.c (ftfont_shape_by_flt):
17330         * src/gnutls.c (gnutls_hex_string):
17331         * src/gtkutil.c (get_utf8_string):
17332         * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
17333         * src/keymap.c (Fkey_description):
17334         * src/lisp.h (SAFE_ALLOCA_LISP):
17335         * src/term.c (encode_terminal_code):
17336         * src/tparam.c (tparam1):
17337         * src/xselect.c (x_property_data_to_lisp):
17338         * src/xsmfns.c (smc_save_yourself_CB):
17339         * src/xterm.c (x_term_init):
17340         When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
17341         more-complicated code involving division and/or
17342         INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
17343         subtraction and/or INT_ADD_OVERFLOW.
17344         * src/casefiddle.c (casify_object): Simplify multibyte size check.
17345         * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
17346         * src/data.c (arith_driver): Also check for division overflow,
17347         as that’s now possible given that the accumulator can now contain
17348         any Emacs integer.
17349         * src/lisp.h (lisp_word_count): Remove; no longer used.
17351 2015-11-09  Dmitry Gutov  <dgutov@yandex.ru>
17353         Make sure that the ignore file exists
17355         * lisp/vc/vc.el (vc-default-ignore-completion-table):
17356         Make sure that the ignore file exists.
17358 2015-11-09  Michael Sperber  <mike@xemacs.org>
17360         * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
17361         `gnus-summary-delete-article` in a way that also works on XEmacs.
17363 2015-11-08  Simen Heggestøyl  <simenheg@gmail.com>
17365         Add support for retrieving paths to JSON elements
17367         Add support for retrieving the path to a JSON element. This can for
17368         instance be useful to retrieve paths in deeply nested JSON
17369         structures.
17371         * lisp/json.el (json-pre-element-read-function)
17372         (json-post-element-read-function): New variables to hold pre- and post
17373         read callback functions for `json-read-array' and `json-read-object'.
17374         (json--path): New variable used internally by `json-path-to-position'.
17375         (json--record-path, json--check-position): New functions used
17376         internally by `json-path-to-position'.
17377         (json-path-to-position): New function for retrieving the path to a
17378         JSON element at a given position.
17379         (json-read-object, json-read-array): Call
17380         `json-pre-element-read-function' and `json-post-element-read-function'
17381         when set.
17383         * test/automated/json-tests.el (test-json-path-to-position-with-objects)
17384         (test-json-path-to-position-with-arrays)
17385         (test-json-path-to-position-no-match): New tests for
17386         `json-path-to-position'.
17388 2015-11-08  Karl Fogel  <kfogel@red-bean.com>
17390         * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
17392         This really should been part of my previous commit
17393         (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
17395 2015-11-08  Karl Fogel  <kfogel@red-bean.com>
17397         Offer non-overwrite bookmark setter (Bug#15746)
17399         * lisp/bookmark.el (bookmark-set-internal): New helper function to do
17400         what `bookmark-set' used to do, but with more choices for overwrite
17401         vs push, and with minor changes to the interactive prompt format.
17402         (bookmark-set): Rewrite as wrapper around above.
17403         If overwriting, inform the user of that in the prompt.
17404         (bookmark-set-no-overwrite): New function, also done as wrapper.
17405         Bind to "M" in `ctl-x-r-map' autoloads.
17406         (bookmark-map): Similarly bind "M" here.
17408 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
17410         * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
17412 2015-11-08  Alan Modra  <amodra@gmail.com>
17414         ELF unexec: Don't insert a new section
17416         Reuse the .bss section instead, making it SHT_PROGBITS.  This way we
17417         don't need to mess with symbol st_shndx, or section sh_link and
17418         sh_info.
17420         This does lead to eu-elflint complaints about symbols defined in .bss
17421         with a needed version, because normally it is undefined symbols that
17422         have needed versions;  Defined symbols have version definitions.
17423         The exception is symbols defined by the linker in .dynbss for
17424         variables copied from a shared library in order to avoid text
17425         relocations, with copy relocs to copy their initial values from the
17426         shared library.  These symbols are both defined and have needed
17427         versions, and eu-elflink only expects to see them in SHT_NOBITS
17428         sections.  Of course there is no real problem with having such symbols
17429         in SHT_PROGBITS sections.  glibc ld.so handles them fine.
17431         * src/unexelf.c: Delete outdated comments.
17432         (PATCH_INDEX): Delete.
17433         (find_section): Delete.
17434         (unexec): Don't add a new section.  Instead reuse the last bss
17435         section, extending it to cover dumped data.  Make bss sections
17436         SHT_PROGBITS.  Remove all patching of sh_link, sh_info and
17437         st_shndx.  Rename bss sections.
17439 2015-11-08  Alan Modra  <amodra@gmail.com>
17441         ELF unexec: Drive from PT_LOAD header rather than sections
17443         This rewrites bss handling in the ELF unexec code.  Finding bss
17444         sections by name results in complicated code that
17445         - does not account for all names of possible bss sections,
17446         - assumes specific ordering of bss sections,
17447         - can wrongly choose a SHT_NOBITS section not in the bss segment,
17448         - incorrectly calculates bss size (no accounting for alignment gaps),
17449         - assumes .data and .bss are in the same segment.
17451         All of these problems and more are solved by finding the bss segment
17452         in PT_LOAD headers, ie. the address range included in p_memsz but not
17453         p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
17454         in that address range.
17456         * src/unexelf.c: Delete old ppc comment.
17457         (OLD_PROGRAM_H): Define.
17458         (round_up): Delete.
17459         (unexec): Don't search for bss style sections by name.  Instead,
17460         use the last PT_LOAD header address range covered by p_memsz
17461         but not p_filesz and match any SHT_NOBITS section in that
17462         address range.  Simplify initialization of section header vars.
17463         Don't assume that section headers are above bss segment.  Move
17464         copying of bss area out of section loop.  Align .data2 section
17465         to 1, since it now covers the entire bss area.  For SHT_NOBITS
17466         sections in the bss segment, leave sh_addr and sh_addralign
17467         unchanged, but correct sh_offset.  Clear memory corresponding
17468         to SHT_NOBITS .plt section.  Delete comment and hacks for
17469         sections partly overlapping bss range now that the full range
17470         is properly calculated.  Delete now dead .sbss code.
17471         (Bug#20614)
17473 2015-11-08  Alan Modra  <amodra@gmail.com>
17475         ELF unexec: R_*_NONE relocs
17477         These should be ignored on all targets.
17479         * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
17480         not just Alpha.  Comment on reloc size assumption.
17482 2015-11-08  Alan Modra  <amodra@gmail.com>
17484         ELF unexec: _OBJC_ symbols in bss sections
17486         This code assumed that there was only one bss section.  Rather than
17487         checking for a particular index, check the section type.  Also, handle
17488         the possibility that the section was SHT_NOBITS originally and is
17489         unchanged, in which case no clearing is needed (and sh_offset isn't
17490         necessarily valid, which can lead to a wild memset).
17492         * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
17493         bss sections.
17495 2015-11-08  Alan Modra  <amodra@gmail.com>
17497         ELF unexec: Symbol table patching
17499         No st_shndx value larger than SHN_LORESERVE should be changed.
17500         * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
17501         SHN_LORESERVE.  Error on SHN_XINDEX.
17503 2015-11-08  Alan Modra  <amodra@gmail.com>
17505         ELF unexec: Merge Alpha and MIPS COFF debug handling
17507         * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
17508         Don't find .mdebug section index, find the section in the loop.
17509         Allow for unlikely possibility that .mdebug is located at sh_offset
17510         before bss segment, by calculating move from difference in
17511         sh_offset rather than just assuming new_data2_size.  Simplify
17512         cbLineOffset handling.
17514 2015-11-08  Alan Modra  <amodra@gmail.com>
17516         ELF unexec: Tidy code
17518         Separate out some of the more mechanical changes so following patches
17519         are smaller.
17521         * src/unexelf.c (unexec): Rearrange initialization of program
17522         header vars.  Use pointer vars in loops rather than indexing
17523         section header array via macros.  Simplify _OBJC_ sym code
17524         and reloc handling code.
17526 2015-11-08  Alan Modra  <amodra@gmail.com>
17528         ELF unexec: Correct section header index
17530         First a small fix.  The code incorrectly uses "NEW_SECTION_H (n)" when
17531         it should have been using "NEW_SECTION_H (nn)" to find the name of the
17532         section currently being processed.  Of course, before the bss
17533         sections, n and nn have the same value, so this doesn't matter except
17534         in the case of .sbss.  For .sbss this probably meant .bss (most likely
17535         the next section) was copied from memory.  A later patch removes the
17536         bogus .sbss handling anyway.
17538         * src/unexelf.c (unexec): Use correct index to look up names.
17540 2015-11-08  Michael Albinus  <michael.albinus@gmx.de>
17542         Fix Bug#21841
17544         * lisp/filenotify.el (file-notify--rm-descriptor):
17545         Use `descriptor' instead of computing its value.
17546         (file-notify--descriptor): Additional argument FILE.  Adapt all callees.
17547         (file-notify-rm-watch): Use `descriptor' when calling file name handler.
17548         (Bug#21841)
17550 2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>
17552         Remove dirs in vc project roots from the the vc project library roots
17554         * lisp/progmodes/project.el (project-library-roots):
17555         Remove directories inside the project roots from the result.
17556         (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
17558 2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>
17560         Move and rename xref-find-regexp to the project package
17562         * lisp/progmodes/project.el (project-find-regexp)
17563         (project--read-regexp)
17564         (project--find-regexp-in): New functions.
17566         * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
17567         xref--show-xrefs.  Use in existing callers in place of that
17568         function.
17569         (xref--show-xrefs): Only do the "show" part.
17570         (xref-find-regexp): Rename, more or less, to
17571         project-or-libraries-find-regexp.
17573 2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>
17575         Abolish temporary buffer management for xref
17577         * lisp/progmodes/xref.el (xref--temporary-buffers)
17578         (xref--current)
17579         (xref--inhibit-mark-current)
17580         (xref--mark-selected): Remove.  Remove all references.
17581         (xref--show-xrefs): Do not construct the
17582         list of the temporary buffers, nor pass it along.
17584 2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>
17586         Rename "search path" to "library roots"
17588         * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
17589         of the elements from CL-LIST1.
17591         * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
17592         Update WRT to the above change.
17594         * lisp/progmodes/project.el (project-search-path-function): Rename
17595         to project-library-roots-function, update the documentation and
17596         references.
17597         (project-search-path): Likewise, to project-library-roots.
17598         (project-roots): Clarify documentation.
17599         (project-vc-search-path): Likewise, to project-vc-library-roots.
17600         (project-library-roots): In addition to the renames, thread the
17601         results through file-name-as-directory.
17602         (project-prune-directories): Accept a variable number of
17603         arguments.  Rename to project-combine-directories.
17604         (project-subtract-directories): New function.
17606         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
17607         Append project-roots and project-library-roots together.
17609         * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
17611 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
17613         Prefer xpalloc to doubling buffers by hand
17615         * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
17616         (read1): Use it for simplicity.
17617         * src/macros.c (store_kbd_macro_char):
17618         * src/minibuf.c (read_minibuf_noninteractive):
17619         * src/term.c (encode_terminal_code):
17620         * src/xrdb.c (magic_db):
17621         Prefer xpalloc to growing buffers by hand.
17622         This doesn’t fix any bugs, but simplifies the code a bit.
17624 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
17626         Merge from gnulib
17628         This incorporates:
17629         2015-11-05 timespec-sub: fix overflow bug; add tests
17630         2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
17631         2015-11-03 intprops: add parentheses
17632         * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
17633         Copy from gnulib.
17635 2015-11-07  David Reitter  <david.reitter@gmail.com>
17637         Provide NS notification objects where required to eliminate warnings
17639         * src/nsterm.m (windowDidResize:, toggleFullScreen:):
17640         Call notification functions with notification objects
17641         as per delegate APIs.
17643 2015-11-07  Noam Postavsky  <npostavs@users.sourceforge.net>
17645         Add test for bug #21824
17647         * test/automated/buffer-tests.el: New file.
17648         (overlay-modification-hooks-message-other-buf): New test.
17650 2015-11-07  Kelvin White  <kwhite@gnu.org>
17652         * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
17654 2015-11-07  David Reitter  <david.reitter@gmail.com>
17656         Ignore fullscreen exit notifications on NS when frame is dead
17658         * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
17659         (windowDidExitFullScreen:): Return if frame is dead.
17660         These functions may be called when a fullscreen frame
17661         is closed; they are called before, not after.
17663         May address Bug#21428.
17665 2015-11-07  Eli Zaretskii  <eliz@gnu.org>
17667         Speed up lookup in redisplay--variables
17669         * lisp/frame.el (redisplay--variables): Make it a hash-table.
17671         * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
17672         as a hash-table.  This speeds up this function by an order of
17673         magnitude: where previously a setq was slowed down by 100% by
17674         introducing the maybe_set_redisplay test, it is now only 5%
17675         slower.
17676         (syms_of_xdisp) <redisplay--variables>: Doc fix.
17678 2015-11-07  Artur Malabarba  <bruce.connor.am@gmail.com>
17680         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
17682         The defsubst was being created as:
17683             (cl-defsubst name (args) ("DOC") ...)
17685         * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
17686         Add test.
17688 2015-11-07  Mihai Olteanu  <mihai_olteanu@fastmail.fm>  (tiny change)
17690         Update doc string of hexl-mode
17692         * lisp/hexl.el (hexl-mode): Doc fix.  (Bug#21800)
17694 2015-11-07  Eli Zaretskii  <eliz@gnu.org>
17696         Fix error in copy-abbrev-table
17698         * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
17699         property of the abbrev-table.  (Bug#21828)
17701         * test/automated/abbrev-tests.el: New file.
17703 2015-11-07  Michael Albinus  <michael.albinus@gmx.de>
17705         Add test to auto-revert-tests.el for Bug#21841
17707         * test/automated/auto-revert-tests.el
17708         (auto-revert-test01-auto-revert-several-files): New test.
17709         (auto-revert-test02-auto-revert-tail-mode)
17710         (auto-revert-test03-auto-revert-mode-dired): Rename them.
17712 2015-11-07  Martin Rudalics  <rudalics@gmx.at>
17714         * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
17716 2015-11-07  Martin Rudalics  <rudalics@gmx.at>
17718         In x_consider_frame_title don't set title of tooltip frames
17720         * src/xdisp.c (x_consider_frame_title): Return immediately for
17721         tooltip frames to avoid displaying empty tooltips.
17723 2015-11-06  Anders Lindgren  <andlind@gmail.com>
17725         Fixed NextStep fullscreen problem (bug#21770).
17727         * src/nsterm.m (ns_constrain_all_frames): Don't constrain
17728         fullscreen frames.
17730 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
17732         Ensure redisplay after evaluation
17734         * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
17735         Revert last change.
17736         * lisp/frame.el (redisplay--variables): Populate the
17737         redisplay--variables list.
17738         * src/xdisp.c (maybe_set_redisplay): New function.
17739         (syms_of_xdisp) <redisplay--variables>: New variable.
17740         * src/window.h (maybe_set_redisplay): Declare prototype.
17741         * src/data.c (set_internal): Call maybe_set_redisplay.  (Bug#21835)
17743 2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>
17745         * test/automated/subr-tests.el (subr-test-when): Fix again.
17747 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
17749         Don't invoke overlay modification hooks in wrong buffer
17751         * src/buffer.c (report_overlay_modification): When called with
17752         AFTER non-zero, don't invoke overlay modification hooks if the
17753         buffer recorded in last_overlay_modification_hooks is different
17754         from the current buffer.  (Bug#21824)
17756 2015-11-06  Juanma Barranquero  <lekktu@gmail.com>
17758         * admin/notes/repo: Fix a few obsolete references to Bazaar.
17760 2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>
17762         * test/automated/subr-tests.el (subr-test-when): Fix test.
17764 2015-11-06  Martin Rudalics  <rudalics@gmx.at>
17766         Avoid division by zero crash observed by Yuan MEI
17768         See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
17770         * src/dispnew.c (required_matrix_height, required_matrix_width):
17771         Avoid division by zero.
17772         * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
17773         dpyinfo->smallest_char_width to 1.
17775 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
17777         Ensure redisplay after "C-x C-e"
17779         * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
17780         redisplay happens to account for any side effects of the evaluated
17781         sexp.  (Bug#21835)
17783 2015-11-06  Michael Albinus  <michael.albinus@gmx.de>
17785         Skip some file notification tests for cygwin
17787         * test/automated/file-notify-tests.el (file-notify--test-with-events):
17788         Remove argument TIMEOUT.  Adapt all callees.
17789         (file-notify-test02-events, file-notify-test04-file-validity):
17790         Skip for cygwin.  (Bug#21804)
17792 2015-11-05  Stephen Leake  <stephen_leake@stephe-leake.org>
17794         * lisp/progmodes/xref.el: Require semantic/symref during compilation.
17796 2015-11-05  Daiki Ueno  <ueno@gnu.org>
17798         Suppress redundant Pinentry startup messages
17800         * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
17801         * lisp/epg.el: Declare `pinentry-start'.
17802         (epg--start): Call `pinentry-start' with QUIET argument set.
17804 2015-11-05  Xue Fuqiao  <xfq.free@gmail.com>
17806         * doc/emacs/ack.texi (Acknowledgments): Updates.
17808 2015-11-05  Juanma Barranquero  <lekktu@gmail.com>
17810         * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
17811         (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
17813 2015-11-05  Tassilo Horn  <tsdh@gnu.org>
17815         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
17816         Add prettification support for \times.
17818 2015-11-05  Juanma Barranquero  <lekktu@gmail.com>
17820         * test/automated/process-tests.el: Skip tests when bash is unavailable.
17821         (process-test-sentinel-accept-process-output)
17822         (process-test-sentinel-sit-for): skip-unless bash executable found.
17824 2015-11-05  Eli Zaretskii  <eliz@gnu.org>
17826         Add test for bug #21831
17828         * test/automated/process-tests.el
17829         (start-process-should-not-modify-arguments): New test.  (Bug#21831)
17830         Suggested by Nicolas Richard <youngfrog@members.fsf.org>
17832 2015-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17834         * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
17836         (eieio--generic-static-object-generalizer): Fix typo.
17837         * test/automated/eieio-tests.el: Byte-compile it again.  It looks
17838         like the underlying cause of bug#17852 was fixed in the mean time.
17840 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
17842         Revert "* lisp/subr.el (when): Use `macroexp-progn'"
17844         This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
17845         It breaks bootstrapping (duh).
17847 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
17849         * lisp/files.el (report-errors): Obsolete.
17851         (normal-mode, hack-local-variables, dir-locals-find-file):
17852         Use `with-demoted-errors' instead.
17854 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
17856         * lisp/subr.el (when): Use `macroexp-progn'.
17858         * test/automated/subr-tests.el (subr-test-when): New test.
17860 2015-11-04  Juanma Barranquero  <lekktu@gmail.com>
17862         * lisp/progmodes/xref.el: Doc fixes.
17863         (xref-make-file-location, xref-make-buffer-location, xref-make)
17864         (xref-make-bogus-location, xref-make-match): Add cross-references.
17865         (xref--insert-xrefs): Fix typo in docstring.
17867 2015-11-04  Anders Lindgren  <andlind@gmail.com>
17869         Render fringe bitmaps correctly on NextStep (bug#21301)
17871         The fringe bitmaps were inverted, the background was not transparent,
17872         the image data was horizontally mirrored, and periodic fringe bitmaps
17873         were not supported.
17875         * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
17876         When both background and foreground colors are 0, set the background
17877         alpha channel to 0 (making the background transparent).  When
17878         copying the image data, do this from the most significant bit
17879         (leftmost) to the least (rightmost), to avoid mirroring.
17880         * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
17881         Add support for periodic images (e.g. the empty line indicator).
17883 2015-11-03  Michael Heerdegen  <michael_heerdegen@web.de>
17885         * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
17887 2015-11-03  Nicolas Petton  <nicolas@petton.fr>
17889         * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
17891         * admin/MAINTAINERS: Add thunk.el.
17893 2015-11-03  Jay Belanger  <jay.p.belanger@gmail.com>
17895         * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
17897 2015-11-03  Michael Albinus  <michael.albinus@gmx.de>
17899         Fix a stupid error in gfilenotify.c
17901         * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
17902         if we've got a `deleted' signal AND the file name is the watched one.
17904 2015-11-03  Stephen Leake  <stephen_leake@stephe-leake.org>
17906         Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
17908         * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
17909         Use case-insensitive string compare for file names.
17910         (emacs-test-dir): Add 'downcase' to cause case differences (at
17911         least on my system).
17913 2015-11-02  Juanma Barranquero  <lekktu@gmail.com>
17915         flymake-tests.el (warning-predicate-rx-gcc): Fix check
17917         * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
17918         Also check that "make" is available, not just "gcc".
17920 2015-11-02  Ken Brown  <kbrown@cornell.edu>
17922         Document behavior of collation on Cygwin
17924         * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
17925         expected failure on Cygwin.
17926         * doc/lispref/strings.texi (Text Comparison): Document that
17927         punctuation and whitespace are not ignored for sorting on Cygwin.
17929 2015-11-02  Dani Moncayo  <dmoncayo@gmail.com>
17931         * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
17933 2015-11-01  Glenn Morris  <rgm@gnu.org>
17935         * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
17936         (Bug#21794)
17937         * test/automated/f90.el (f90-test-bug21794): New test.
17939 2015-11-01  Juanma Barranquero  <lekktu@gmail.com>
17941         Fix incompatibility with TCC in test for bug#18745
17943         * test/automated/process-tests.el (process-test-quoted-batfile):
17944         Remove spaces unrelated to the bug being tested.
17946 2015-11-01  Michael Albinus  <michael.albinus@gmx.de>
17948         Improve completion in tramp-gvfs.el
17950         * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
17951         Rename from `tramp-zeroconf-parse-service-device-names'.
17952         (tramp-zeroconf-parse-webdav-device-names): Remove.  Code merged
17953         with `tramp-zeroconf-parse-device-names'.
17954         (tramp-gvfs-parse-device-names): New defun.
17955         (top): Use it when `tramp-zeroconf-parse-device-names' is not
17956         applicable.
17958         * lisp/net/tramp.el (tramp-set-completion-function): The argument
17959         could also be a zeroconf service type.
17961 2015-10-31  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
17963         * lisp/net/ntlm.el: Change version to 2.0.0.
17965 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
17967         Fix bug#21762
17968         * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
17969         `eql' instead of `=' to accommodate the case that (syntax-after (point))
17970         returns nil.
17971         * test/automated/python-tests.el (python-indent-inside-paren-7):
17972         New test.
17974 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
17976         * test/automated/python-tests.el: Avoid warnings.
17977         (python-tests-with-temp-buffer, python-tests-with-temp-file):
17978         Bind `python-indent-guess-indent-offset' to nil.
17980 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
17982         * src/alloc.c: Silence compiler warnings.
17983         (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
17985 2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
17987         * etc/NEWS: Fix js-jsx-mode entry punctuation.
17989 2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
17991         Add JSX indentation via js-jsx-mode  (Bug#21799)
17993         * lisp/progmodes/js.el: Add JSX indentation support.
17994         (js--jsx-end-tag-re)
17995         (js--jsx-after-tag-re): New variables.
17996         (js--jsx-find-before-tag)
17997         (js--jsx-indented-element-p)
17998         (js--as-sgml)
17999         (js--expression-in-sgml-indent-line)
18000         (js-jsx-indent-line)
18001         (js-jsx-mode): New functions.
18002         * test/indent/js-jsx.js: New file.
18003         * etc/NEWS: Add information about js-jsx-mode.
18005 2015-10-31  Michael Albinus  <michael.albinus@gmx.de>
18007         Minor fix in filenotify.el
18009         * lisp/filenotify.el (file-notify--event-file-name)
18010         (file-notify--event-file1-name): Normalize result with
18011         `directory-file-name'.
18013 2015-10-31  Eli Zaretskii  <eliz@gnu.org>
18015         Avoid errors in redisplay--pre-redisplay-functions
18017         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
18018         use 'bobp', instead compare window-point with 1.  (Bug#21730)
18020 2015-10-30  Paul Eggert  <eggert@cs.ucla.edu>
18022         Merge from gnulib
18024         This incorporates:
18025         2015-10-30 intprops: add WRAPV and const flavors for GCC 5
18026         2015-10-25 stdalign: port to Sun C 5.9
18027         * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
18028         Copy from gnulib.
18030 2015-10-30  Eli Zaretskii  <eliz@gnu.org>
18032         * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
18033         (w32_compare_strings): Adjust for the correction.
18035 2015-10-30  Michael Albinus  <michael.albinus@gmx.de>
18037         * test/automated/vc-tests.el (vc-test--state)
18038         (vc-test--working-revision, vc-test--checkout-model):
18039         Add result messages.
18041 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18043         * test/automated/faces-tests.el: Add another test
18045 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18047         * lisp/faces.el (faces--attribute-at-point): Fix bug
18048         introduced by previous commit.
18050 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18052         * test/automated/faces-tests.el: New file.
18054 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18056         * lisp/faces.el: Refactor common code and fix a bug.
18057         (faces--attribute-at-point): New function.  Fix a bug when the
18058         face at point is a list of faces and the desired attribute is not
18059         on the first one.
18060         (foreground-color-at-point, background-color-at-point): Use it.
18062 2015-10-30  Przemysław Wojnowski  <esperanto@cumego.com>
18064         * etc/tutorials/TUTORIAL.translators: Fix PL names.
18066 2015-10-30  Juanma Barranquero  <lekktu@gmail.com>
18068         * lisp/character-fold.el: Provide `character-fold'.
18070 2015-10-30  Tassilo Horn  <tsdh@gnu.org>
18072         * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
18073         for Gnus and ivy.
18075 2015-10-30  Michael Albinus  <michael.albinus@gmx.de>
18077         Some minor fixes for tramp-gvfs.el
18079         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
18080         An attribute returned by gvfs-info might be empty.  In case of
18081         undetermined uid or gid, return "UNKNOWN" or -1, respectively.
18082         (tramp-zeroconf-parse-service-device-names): New defun.
18083         Derived from `tramp-zeroconf-parse-workstation-device-names'.
18084         (top): Add completion functions for "afp" and "smb" methods.
18086 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18088         * test/automated/character-fold-tests.el: New file
18090 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18092         * test/automated/sort-tests.el: New file.
18093         Tests in this file are randomly generated and then tested with
18094         regular, reverse, and case-fold sorting.
18096 2015-10-30  Eli Zaretskii  <eliz@gnu.org>
18098         Describe known problems with pinning Emacs to taskbar
18100         * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
18101         on Windows 10.  For the details, see the discussion starting at
18102         http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
18104 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18106         * lisp/isearch.el: Avoid an error that blocks isearch.
18107         (isearch-update): Don't error if `isearch--current-buffer' has
18108         been killed.
18110         * test/automated/isearch-tests.el (isearch--test-update):
18111         New file.
18113 2015-10-30  Phil Sainty  <psainty@orcon.net.nz>
18115         Fix documentation of 'beginning/end-of-buffer'
18117         * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
18118         conditions under which the mark will be pushed at the previous
18119         position.  (Bug#21748)
18121 2015-10-30  Tassilo Horn  <tsdh@gnu.org>
18123         Add RefTeX feature idea: editing RefTeX TOC buffers
18125         More face defs for ivy, swiper, ace-window, eshell
18127 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18129         * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
18130         (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
18131         just VAR.
18132         (auth-source-backend-parse): Use make-instance.
18133         (auth-source-search): Remove unused key args.
18134         Remove unused vars `accessor-key' and `backend'.  Avoid `eval'.
18135         (auth-source-search-backends): Use slot names rather than their initarg.
18136         (auth-source-netrc-create):
18137         (auth-source-delete):
18138         (auth-source-secrets-create, auth-source-plstore-search)
18139         (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
18140         (auth-source-plstore-create, auth-source-netrc-search)
18141         (auth-source-netrc-parse): Remove unused key args.
18142         (auth-source-forget+): Simplify the arglist.
18143         (auth-source-macos-keychain-search-items)
18144         (auth-source-token-passphrase-callback-function): Mark unused args.
18145         (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
18146         (pp-escape-newlines): Declare.
18147         (auto-source--symbol-keyword): New function.
18148         (auth-source-plstore-create, auth-source-netrc-create)
18149         (auth-source-netrc-normalize): Use it.
18150         (auth-source-netrc-search): Don't pass :delete to
18151         auth-source-netrc-parse since it doesn't use it.
18152         (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
18153         symbol-value to index in keyword args.
18154         (auth-source-macos-keychain-result-append): Avoid setq.
18155         (auth-source-netrc-create): Remove unused vars `file' and `add'.
18156         (auth-source-user-or-password): Remove unused var `cname'.
18158 2015-10-29  Juri Linkov  <juri@linkov.net>
18160         * lisp/dired.el (dired-unmark-all-files-query): Declare.
18161         (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
18162         (Bug#21746)
18164 2015-10-29  Juri Linkov  <juri@linkov.net>
18166         * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
18167         to go to the beginning of text line instead of command line.
18168         http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
18170 2015-10-29  Eli Zaretskii  <eliz@gnu.org>
18172         Fix encoding of saving *Help* buffers
18174         * lisp/help-fns.el (describe-function-1): If we use curved quotes,
18175         set help buffer's buffer-file-coding-system to UTF-8.  (Bug#21780)
18177 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18179         * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
18180         (cl--generic-derived-specializers): New function.
18181         (cl--generic-derived-generalizer): New generalizer.
18182         (cl-generic-generalizers): New specializer (derived-mode MODE).
18183         (cl--generic-split-args): Apply the rewriter, if any.
18184         (cl-generic-define-context-rewriter): New macro.
18185         (major-mode): Use it to define a new context-rewriter, so we can write
18186         `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
18188         * lisp/frame.el (window-system): New context-rewriter so we can write
18189         `(window-system VAL)' instead of (window-system (eql VAL)).
18190         (cl--generic-split-args): Apply the rewriter, if any.
18191         (frame-creation-function): Use the new syntax.
18193         * lisp/term/x-win.el (window-system-initialization)
18194         (handle-args-function, frame-creation-function)
18195         (gui-backend-set-selection, gui-backend-selection-owner-p)
18196         (gui-backend-selection-exists-p, gui-backend-get-selection):
18197         * lisp/term/w32-win.el (window-system-initialization)
18198         (handle-args-function, frame-creation-function)
18199         (gui-backend-set-selection, gui-backend-get-selection)
18200         (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
18201         * lisp/term/pc-win.el (gui-backend-get-selection)
18202         (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
18203         (gui-backend-set-selection, window-system-initialization)
18204         (frame-creation-function, handle-args-function):
18205         * lisp/term/ns-win.el (window-system-initialization)
18206         (handle-args-function, frame-creation-function)
18207         (gui-backend-set-selection, gui-backend-selection-exists-p)
18208         (gui-backend-get-selection):
18209         * lisp/startup.el (handle-args-function):
18210         * lisp/term/xterm.el (gui-backend-get-selection)
18211         (gui-backend-set-selection): Use the new syntax.
18213 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18215         * test/indent/css-mode.css: Add tests for url(...) syntax.
18217 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18219         * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
18220         (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
18221         (smie-prec2->grammar): Use `declare'.
18223 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18225         * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
18226         (cl--generic-generalizer): Add `name' field.
18227         (cl-generic-make-generalizer): Add corresponding `name' argument.
18228         (cl-generic-define-generalizer): New macro.
18229         (cl--generic-head-generalizer, cl--generic-eql-generalizer)
18230         (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
18231         (cl--generic-t-generalizer): Use it.
18232         (cl-generic-ensure-function): Add `noerror' argument.
18233         (cl-generic-define): Use it so we don't follow aliases.
18234         (cl-generic-define-method): Preserve pre-existing ordering of methods.
18235         (cl--generic-arg-specializer): New function.
18236         (cl--generic-cache-miss): Use it.
18237         (cl-generic-generalizers): Only fset a temporary definition
18238         during bootstrap.
18239         (cl--generic-struct-tag, cl--generic-struct-specializers):
18240         Allow extra arguments.
18242         * lisp/emacs-lisp/eieio-compat.el
18243         (eieio--generic-static-symbol-generalizer)
18244         (eieio--generic-static-object-generalizer):
18245         Use cl-generic-define-generalizer.
18246         (eieio--generic-static-symbol-specializers): Allow extra arguments.
18248         * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
18249         (eieio--generic-subclass-generalizer):
18250         Use cl-generic-define-generalizer.
18251         (eieio--generic-subclass-specializers): Allow extra arguments.
18253 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18255         * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
18257 2015-10-29  Michael Albinus  <michael.albinus@gmx.de>
18259         Add "afp" method to Tramp
18261         * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
18263         * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
18264         (tramp-gvfs-handle-expand-file-name)
18265         (tramp-gvfs-handler-mounted-unmounted)
18266         (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
18267         (tramp-gvfs-maybe-open-connection): Support also "afp".
18268         (tramp-gvfs-handle-file-attributes): Handle the case of empty
18269         "owner::user" and "owner::group" entries.
18271 2015-10-29  Andy Moreton  <andrewjmoreton@gmail.com>
18273         Handle negative coordinates in ‘x_calc_absolute_position’
18275         * src/w32term.c (x_calc_absolute_position): Find display origin to
18276         allow for negative coordinates.
18278 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18280         (internal--syntax-propertize): Save match-data here (bug#21766)
18282         * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
18283         * lisp/simple.el (delete-trailing-whitespace): Undo last change.
18285 2015-10-28  Dmitry Gutov  <dgutov@yandex.ru>
18287         Don't require default-directory to end with a slash
18289         * doc/lispref/files.texi (Magic File Names): Document the change
18290         in unhandled-file-name-directory.
18292         * lisp/url/url-handlers.el
18293         (url-handler-unhandled-file-name-directory): Update accordingly.
18295         * src/buffer.c (default-directory): Update the docsting.
18297         * src/fileio.c (unhandled-file-name-directory): Default to calling
18298         `file-name-as-directory'
18299         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
18301 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18303         * lisp/isearch.el: Delete some outdated comments.
18305 2015-10-28  Vibhav Pant  <vibhavp@gmail.com>
18307         Fix eshell/clear not working if the output has a small line count
18309         * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
18310         number of newlines to be inserted. This fixes the issue where
18311         eshell/clear wouldn't work if the prompt was not at the bottom of the
18312         window, and the output wasn't too long.
18314 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18316         * lisp/files.el (write-file): Use vc-refresh-state.
18318         * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
18320         * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
18322 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18324         * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
18325         (macroexp-unprogn): Make sure we never return an empty list.
18326         (macroexp-if): Remove unused (and unsafe) optimization.
18327         Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
18328         occur occasionally.
18330 2015-10-28  Juanma Barranquero  <lekktu@gmail.com>
18332         Fix bug#21766 and add test
18333         * lisp/simple.el (delete-trailing-whitespace): Save match data when
18334         calling `skip-syntax-backward'.
18335         * test/automated/simple-test.el (simple-delete-trailing-whitespace):
18336         New test.
18338 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18340         * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
18342 2015-10-28  Paul Eggert  <eggert@cs.ucla.edu>
18344         * src/dispnew.c (init_display): Simplify overflow checking.
18346 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18348         * lisp/character-fold.el (character-fold-to-regexp): Fix case
18349         where string ends in space
18351 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18353         * lisp/emacs-lisp/seq.el (seq-mapn): New function.
18355         * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
18357 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18359         * lisp/character-fold.el: Make compatible with lax-whitespace.
18360         (character-fold-to-regexp): Rework internals to play nice with
18361         lax-whitespacing.
18363         When the user types a space, we want to match the table entry for
18364         ?\s, which is generally a regexp like "[ ...]".  However, the
18365         `search-spaces-regexp' variable doesn't "see" spaces inside these
18366         regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
18367         manually expose a space).
18369         Furthermore, the lax search engine acts on a bunch of spaces, not
18370         on individual spaces, so if the string contains sequential spaces
18371         like "  ", we need to keep them grouped together like this:
18372         "\\(  \\|[ ...][ ...]\\)".
18374 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18376         * lisp/isearch.el: Refactor momentary messages.
18377         (isearch--momentary-message): New function.
18378         (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
18379         (isearch-toggle-invisible): Use it.
18381 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18383         * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
18384         (isearch-define-mode-toggle): New macro.
18385         (isearch-toggle-invisible): Rename to
18386         `isearch-define-mode-toggle'.
18387         (isearch-toggle-case-fold, isearch-toggle-invisible)
18388         (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
18389         with `isearch-define-mode-toggle'.
18391 2015-10-28  Michael Albinus  <michael.albinus@gmx.de>
18393         Avoid using `add-to-list' on a let-local var in tramp-smb.el
18395         * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
18396         * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
18398 2015-10-28  Michael Albinus  <michael.albinus@gmx.de>
18400         * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
18401         Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
18402         does not exist in XEmacs 21.4.
18404 2015-10-28  Anders Lindgren  <andlind@gmail.com>
18406         Fixed OS X startup crash
18408         Input events started to arrive before ns_term_init() was finished.
18409         Solved by blocking input.  This also seems to correct the "You
18410         can't open the application "Emacs" because it may be damaged or
18411         incomplete" error issued when double-clicking on the Emacs
18412         application.
18414         * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
18415         * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
18417 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
18419         * src/process.c (Fget_buffer_process): Improve docstring.
18420         Document the fact that it doesn't return dead processes.
18422 2015-10-28  Anders Lindgren  <andlind@gmail.com>
18424         Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
18426         * src/nsterm.h (struct ns_output): New flag, in_animation.
18427         * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
18428         * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
18429         in_animation flag around call to "setVisible". Set new tool bar
18430         height before call to setVisible.
18431         * src/nsterm.m (x_set_window_size): Don't call [view setRow:
18432         andColumns:] as this fools the subsequent call to updateFrameSize
18433         from performing the real resize.
18434         (windowDidResize): Don't update anything when in_animation is
18435         non-zero.
18437         Trace output.
18439         * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
18440         (EmacsToolbar):
18441         * src/nsterm.m (x_set_window_size, updateFrameSize)
18442         ([EmacsView setRows: andColumns:])
18444 2015-10-28  Nicolas Petton  <nicolas@petton.fr>
18446         * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
18448 2015-10-28  Tassilo Horn  <tsdh@gnu.org>
18450         Prettify TeX macros not ending in a word char
18452         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
18453         Prettify macros which don't end in a word character.
18455 2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>
18457         Pipe Hg commit descriptions through 'tabindent'
18459         * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
18460         through 'tabindent'.
18461         (vc-hg-log-view-mode): Set tab-width to 2 locally.
18462         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
18464 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18466         * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
18467         (tramp-smb-handle-directory-files): Use `delete-dups'.
18469         * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
18471 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18473         * lisp/international/ccl.el: Use lexical-binding.
18474         (ccl-compile-if): Remove unused var `false-ic'.
18475         (ccl-compile-write-repeat): Remove unused var `i'.
18476         (ccl-compile-map-single): Remove unused var `id'.
18477         (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
18478         dynamic var `ccl-code'.
18480 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18482         * lisp/json.el (json-new-object): Optimize trivial `list' call.
18484 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18486         * lisp/help.el: Fix bug with incorrect arglist string.
18487         (help-add-fundoc-usage): Don't mistake a mis-formatted string
18488         for a list.
18490 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18492         * lisp/gnus/gnus-topic.el: Silence some warnings.
18493         (gnus-topic-prepare-topic): Remove unused var `topic'.
18494         (gnus-topic-remove-topic): Mark unused arg `hide'.
18495         (gnus-tmp-header): Declare.
18496         (gnus-topic-goto-missing-group): Remove unused var `entry'.
18497         (gnus-topic-unmark-topic): Mark unused arg `dummy'.
18498         (gnus-topic-copy-matching): Mark unused arg `copyp'.
18499         Move initialization of `topic' into its declaration.
18501 2015-10-27  Stephen Leake  <stephen_leake@stephe-leake.org>
18503         Minor CEDET fixes
18505         * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
18506         Handle warnings from gtags about invalid options.
18507         (cedet-gnu-global-create/update-database): Do incremental update
18508         properly.
18510         * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
18511         Get monotone root right.
18513 2015-10-27  Michael Albinus  <michael.albinus@gmx.de>
18515         Fall back to polling in autorevert when needed
18517         * lisp/autorevert.el (auto-revert-notify-handler): When a
18518         `stopped' event arrives from file notification, fall back to polling.
18520         * test/automated/file-notify-tests.el
18521         (file-notify-test03-autorevert): Extend test for polling when file
18522         notification ceases to work.
18524 2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>
18526         Show full commit messages in 'hg log' when appropriate
18528         * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
18529         (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
18530         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
18532 2015-10-27  Nicolas Petton  <nicolas@petton.fr>
18534         Use a plain SVG file for the icon
18536         * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
18537           format instead of the Inkscape SVG format.
18539 2015-10-27  Michael Albinus  <michael.albinus@gmx.de>
18541         Fix subtle bug in auto-revert-tests.el
18543         * test/automated/auto-revert-tests.el
18544         (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
18545         buffer where it belongs to.  (Bug#21668)
18547 2015-10-26  Nicolas Petton  <nicolas@petton.fr>
18549         * lisp/emacs-lisp/map.el: Better docstrings.
18551         * lisp/emacs-lisp/seq.el: Better docstrings.
18553         * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
18555 2015-10-26  Phillip Lord  <phillip.lord@russet.org.uk>
18557         * lisp/emacs-lisp/ert.el: Print results without newline escaping.
18559 2015-10-26  Stephen Leake  <stephen_leake@stephe-leake.org>
18561         Clarify that load-path contents should be directory file names
18563         * doc/lispref/files.texi (Directory Names): Define and use "directory
18564         file name".  Recommend `expand-file-name'.
18566         * src/lread.c (load-path): Fix doc string; elements are directory file
18567         names.
18569 2015-10-26  Eli Zaretskii  <eliz@gnu.org>
18571         Fix simple-test.el test
18573         * test/automated/simple-test.el (simple-test--dummy-buffer):
18574         Make sure indentation doesn't use TABs, otherwise the 6th test
18575         might fail.
18577 2015-10-26  Mark Oteiza  <mvoteiza@udel.edu>
18579         * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
18580         `substring' does not account for full width characters.
18582 2015-10-26  Michael Albinus  <michael.albinus@gmx.de>
18584         Further work on `stopped' events in filenotify.el
18586         * doc/lispref/os.texi (File Notifications): Rework examples.
18588         * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
18589         (file-notify--rm-descriptor, file-notify-callback): Improve check
18590         for sending `stopped' event.
18591         (file-notify-add-watch): Check for more events for `inotify'.
18593         * test/automated/file-notify-tests.el
18594         (file-notify--test-expected-events): New defvar.
18595         (file-notify--test-with-events): Use it.
18596         (file-notify--test-cleanup): Make it more robust when deleting
18597         directories.
18598         (file-notify--test-event-test): Check also for watched directories.
18599         (file-notify--test-event-handler): Suppress temporary .#files.
18600         (file-notify-test02-events, file-notify-test04-file-validity):
18601         Rework `stopped' events.
18602         (file-notify-test05-dir-validity): Wait for events when appropriate.
18604 2015-10-26  Artur Malabarba  <bruce.connor.am@gmail.com>
18606         * src/keyboard.c (post-command-hook): Shorten docstring.
18608 2015-10-26  Tassilo Horn  <tsdh@gnu.org>
18610         Fix infinite loop in sh-script's SMIE code
18612         * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
18613         loop (bug#21747).
18615 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18617         * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
18618         Character-fold search _still_ doesn't play well with
18619         lax-whitespace.  So disable it by default (again) for now.
18621 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18623         * lisp/isearch.el: No visual feedback for default search mode.
18624         During an isearch where character-folding is the default, we don't
18625         want to take up minibuffer space just to tell the user that
18626         "Char-fold " is on.  The same goes for other modes, if the user
18627         changes the default.  In contrast, if the user toggles OFF the
18628         default mode, they should see "Literal", to distinguish it from
18629         the default mode.
18630         (isearch--describe-regexp-mode): Return "" if describing the
18631         default mode, and return "literal " if describing a plain search
18632         and it is not default.
18634 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18636         * test/automated/simple-test.el: New file.
18637         Define tests for `newline' and `open-line'.
18639 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18641         * lisp/simple.el (open-line): Integrate with electric-indent-mode.
18642         Also run `post-self-insert-hook' when called interactively.
18644 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18646         * lisp/simple.el (open-line): Fix docstring.
18647         Also explain apparently redundant line.
18649 2015-10-25  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
18650             Alexandru Harsanyi  <AlexHarsanyi@gmail.com>
18652         Sync with soap-client repository, version 3.0.1
18654         * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
18655         Bump version to 3.0.1.
18657         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
18659 2015-10-25  Eli Zaretskii  <eliz@gnu.org>
18661         * lisp/progmodes/grep.el (grep): Doc fix.  (Bug#21754)
18663 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18665         * src/keyboard.c (post-command-hook): Extend the docstring.
18666         Mainly, explain how to use it without hanging Emacs, or giving the
18667         impression that it is hanging.  Also mention `pre-command-hook'.
18668         (pre-command-hook): Mention `post-command-hook'.
18670 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
18672         * lisp/custom.el (custom-declare-variable): Shorten code again.
18673         Without using pcase this time.  We can't use pcase because it is
18674         loaded after custom in loadup.el.  Also add a comment explaining
18675         this to future dummies like me.
18677 2015-10-25  Michael Albinus  <michael.albinus@gmx.de>
18679         * doc/lispref/os.texi (File Notifications): Document `stopped event'.
18681 2015-10-25  Michael Albinus  <michael.albinus@gmx.de>
18683         Introduce `stopped' event in file notification
18685         * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
18686         (file-notify-rm-watch): Use it.
18687         (file-notify-callback): Implement `stopped' event.
18688         (file-notify-add-watch): Mention `stopped' in the docstring.
18689         Check, that upper directory exists.
18691         * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
18692         Add two test cases.
18693         (file-notify-test02-events): Handle also `stopped' event.
18694         (file-notify-test04-file-validity): Add another test case.
18696 2015-10-25  Paul Eggert  <eggert@cs.ucla.edu>
18698         Revert commit that broke 'make bootstrap'
18700         * lisp/custom.el (custom-declare-variable): Revert commit
18701         79fac080d277fed07b3c192890ad59d36d9f83b6.  custom.el needs to work
18702         even when pcase has not been defined yet, when doing bootstrapping.
18704 2015-10-25  Paul Eggert  <eggert@cs.ucla.edu>
18706         Port recent inline functions fix to Standard C
18708         * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
18709         All uses rewritten to define the function directly rather than to
18710         use a macro to define the function.  This conforms to Standard C,
18711         which does not allow stray semicolons at the top level.  I hope it
18712         also avoids the problems with TAGS.  Those macros, though clever,
18713         were pretty confusing anyway, and it wasn’t clear they were worth
18714         the aggravation even without the TAGS problem.
18716 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18718         * lisp/isearch.el: Make character-fold search the default again.
18720 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18722         * lisp/character-fold.el: Many improvements.
18723         (character-fold-search-forward, character-fold-search-backward):
18724         New command.
18725         (character-fold-to-regexp): Remove lax-whitespace hack.
18726         (character-fold-search): Remove variable.  Only isearch and
18727         query-replace use char-folding, and they both have their own
18728         variables to configure that.
18730 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18732         * lisp/isearch.el: Generalize definition of regexp-function toggles.
18733         (isearch-specify-regexp-function): New macro for specifying
18734         possible values of `isearch-regexp-function'.
18735         (isearch-toggle-character-fold, isearch-toggle-symbol)
18736         (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
18738 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18740         * lisp/isearch.el (search-default-regexp-mode): New variable.
18741         (isearch-mode): Use it.
18743 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18745         * lisp/isearch.el (search-exit-option, search-slow-window-lines)
18746         (search-slow-speed, search-upper-case)
18747         (search-nonincremental-instead, search-whitespace-regexp)
18748         (search-invisible, isearch-hide-immediately)
18749         (isearch-resume-in-command-history, search-ring-max)
18750         (regexp-search-ring-max, search-ring-update, search-highlight)
18751         (isearch-fail): Delete :group entries.
18753 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
18755         * lisp/custom.el (custom-declare-variable): Shorten code a bit.
18757 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18759         addpm.c: Silence some warnings.
18761         * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
18762         to LPBYTE.
18763         (add_registry): Pass NULL to optional lpClass argument of
18764         RegCreateKeyEx, not an empty string.
18766 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18768         addpm.c: Do not add obsolete GTK libraries to the path.
18770         * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
18771         (add_registry): Remove variables `size' and `gtk_key'.
18772         Do not add the GTK DLL directory to the library search path; it is
18773         confusing behavior (in particular, the same Emacs version with and
18774         without invoking addpm will use a different path), and the GTK image
18775         libraries are obsolete anyway.
18777 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18779         addpm.c: Replace existing registry entries, but do not create new ones
18781         * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
18782         existing values from previous versions, but do not add new ones; the
18783         key could exist for other reasons unrelated to old Emacsen, like X-style
18784         resources, or to set some environment variables like HOME or LANG, and
18785         in that case we don't want to populate it with obsolete values.
18787 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18789         * nt/addpm.c (add_registry): Do not compute unused return value.
18791 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18793         addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
18795         * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
18796         RegOpenKeyEx, not REG_OPTION_NON_VOLATILE.  This doesn't change
18797         current behavior because REG_OPTION_NON_VOLATILE is defined to
18798         be 0L anyway, but that option is actually documented only for
18799         RegCreateKeyEx.
18801 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
18803         * src/w32notify.c (Fw32notify_add_watch): Fix version check.
18805 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
18807         Update frame title when redisplay scrolls selected window
18809         * src/xdisp.c (redisplay_window): Reconsider the frame's title
18810         when the mode-line of the frame's selected window needs to be
18811         updated.
18813 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
18815         Update frame title when scrolling the selected window
18817         * src/window.c (wset_update_mode_line): New function, sets either
18818         the window's update_mode_line flag or the global update_mode_lines
18819         variable.
18820         (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
18821         (window_scroll_line_based): Call it instead of only setting the
18822         window's update_mode_line flag.
18824 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
18826         An even better fix for bug#21739
18828         * src/window.c (set_window_buffer): If the window is the frame's
18829         selected window, set update_mode_lines, not the window's
18830         update_mode_line flag.
18831         * src/buffer.c (Fkill_buffer): Undo last change.
18832         (set_update_modelines_for_buf): Function deleted.
18834 2015-10-24  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
18835             Alexandru Harsanyi  <AlexHarsanyi@gmail.com>
18837         Sync with soap-client repository, version 3.0.0
18839         * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
18840         Bump version to 3.0.0.
18842         * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
18844         * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
18846         * lisp/net/soap-inspect.el: Shorten first line description.
18848         * lisp/net/soap-client.el: Make a small whitespace fix.
18850         * lisp/net/soap-inspect.el: Update copyright years.
18852         * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
18853         first use in soap-encode-xs-element.
18855         * lisp/net/soap-client.el (soap-type-is-array?): new defun
18856         (soap-encode-xs-element): handle array elements in this function
18857         (soap-encode-xs-complex-type): flag error if asked to encode an
18858         array type, this is handled in `soap-encode-xs-element'
18860         * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
18861         Do not print type for attribute group.
18863         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
18864         New function.
18865         (soap-inspect-xs-attribute-group): Likewise.
18867         * lisp/net/soap-inspect.el
18868         (soap-resolve-references-for-xs-attribute-group): Resolve
18869         references of attributes in an attribute group.
18871         * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
18872         type directly, not through soap-wsdl-get.
18874         * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
18875         nil if reference attribute is nil.
18877         * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
18878         Convert XML schema attributes to xsd:string.
18880         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
18881         New function.
18882         (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
18883         (soap-sample-value-for-xs-complex-type): Likewise.
18884         (soap-inspect-xs-attribute): New function.
18885         (soap-inspect-xs-simple-type): Print attributes.
18886         (soap-inspect-xs-complex-type): Likewise.
18888         * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
18889         Resolve references for attributes.
18890         (soap-resolve-references-for-xs-complex-type): Likewise.
18892         * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
18893         Rename from soap-xml-node-first-child.
18894         (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
18895         (soap-xs-parse-simple-type): Likewise.
18897         * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
18899         * lisp/net/soap-client.el (soap-invoke-internal): New function.
18900         (soap-invoke-async): Call soap-invoke-internal.
18901         (soap-invoke): Likewise.
18903         * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
18904         url-retrieve callback is killed.
18906         * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
18907         Rename function.
18908         (soap-parse-wsdl-phase-fetch-imports): Likewise.
18909         (soap-parse-wsdl-phase-parse-schema): Likewise.
18910         (soap-parse-wsdl-phase-fetch-schema): Likewise.
18911         (soap-parse-wsdl-phase-finish-parsing): Likewise.
18912         (soap-parse-wsdl): Update calls.
18914         * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
18916         * lisp/net/soap-client.el (soap-invoke-async): New function.
18917         (soap-invoke): Reimplement using soap-invoke-async.
18919         * lisp/net/soap-client.el (soap-parse-server-response):
18920         Improve docstring.
18921         (soap-invoke): Inline call to soap-parse-server-response.
18923         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18924         Prevent incorrect warning.
18926         * lisp/net/soap-client.el (soap-parse-server-response):
18927         Rename soap-process-url-response.  Destroy the mime part.
18928         (soap-invoke): Call soap-parse-server-response.
18930         * lisp/net/soap-client.el: Update copyright date.
18932         * lisp/net/soap-client.el: Fix checkdoc issues.
18934         * lisp/net/soap-client.el: Fix indentation and long lines.
18936         * lisp/net/soap-client.el (soap-time-format): Remove variable.
18937         (soap-encode-xs-basic-type): Simplify date-time format detection.
18938         (soap-decode-xs-basic-type): Remove soap-time-format support.
18940         * lisp/net/soap-client.el (soap-process-url-response): New function.
18941         (soap-fetch-xml-from-url): Call soap-process-url-response.
18942         (soap-parse-wsdl-phase-1): New function.
18943         (soap-parse-wsdl-phase-2): Likewise.
18944         (soap-parse-wsdl-phase-3): Likewise.
18945         (soap-parse-wsdl-phase-4): Likewise.
18946         (soap-parse-wsdl-phase-5): Likewise.
18947         (soap-parse-wsdl): Call phase functions.
18949         * lisp/net/soap-client.el (soap-decode-xs-basic-type):
18950         Remove one-argument and call.
18952         * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
18954         * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
18955         (soap-parse-schema): Add wsdl argument.  Look up XML schema
18956         imports from wsdl.
18957         (soap-load-wsdl): Do not set soap-xmlschema-imports.
18958         (soap-parse-wsdl): Get XML schema imports from wsdl.
18960         * lisp/net/soap-client.el (soap-current-file): Remove variable.
18961         (soap-wsdl): Add current-file slot.
18962         (soap-fetch-xml-from-url): Add wsdl argument.  Look up current
18963         file from wsdl.
18964         (soap-fetch-xml-from-file): Likewise.
18965         (soap-fetch-xml): Likewise.
18966         (soap-load-wsdl): Always create wsdl object first.
18967         (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
18969         * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
18970         (soap-xs-parse-element): Set is-group slot.
18971         (soap-resolve-references-for-xs-element): Skip is-group elements.
18972         (soap-xs-complex-type): Add is-group slot.
18973         (soap-xs-parse-complex-type): Set is-group slot.
18974         (soap-xs-parse-sequence): Parse xsd:group elements.
18975         (soap-resolve-references-for-xs-complex-type): Inline elements
18976         from referenced xsd:group nodes.
18977         (soap-parse-schema): Parse xsd:group nodes.
18979         * lisp/net/soap-client.el (soap-invoke):
18980         Don't set url-http-version to 1.0.
18982         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18983         Allow choice nodes to accept multiple values.
18985         * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
18986         for extra header values.
18988         * lisp/net/soap-client.el (soap-well-known-xmlns):
18989         Add wsa and wsaw tags.
18990         (soap-operation): Add input-action and output-action slots.
18991         (soap-parse-operation): Parse wsaw:Action nodes.
18992         (soap-encode-body): Encode service-url for WS-Addressing.
18993         (soap-create-envelope): Likewise.
18994         (soap-invoke): Update soap-create-envelope call to provide
18995         service-url argument.
18997         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18998         Support xsi:type override attribute.
18999         (soap-decode-array): Likewise.
19001         * lisp/net/soap-client.el (soap-parse-schema):
19002         Handle location attribute.
19004         * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
19005         matched validation regexp.
19007         * lisp/net/soap-client.el (soap-encode-xs-simple-type):
19008         Encode xsd:list nodes.
19009         (soap-decode-xs-simple-type): Decode xsd:list nodes.
19011         * lisp/net/soap-client.el (soap-get-candidate-elements):
19012         Fix reference handling.
19014         * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
19015         (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
19016         (soap-xs-add-list): New function.
19018         * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
19019         expected, interpret nil as "false".
19021         * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
19022         gYear, gMonthDay, gDay and gMonth.
19024         * lisp/net/soap-client.el (soap-time-format): New variable.
19025         (soap-encode-xs-basic-type): Handle dateTime, time, date,
19026         gYearMonth, gYear, gMonthDay, gDay and gMonth.
19027         (soap-decode-date-time): New function.
19028         (soap-decode-xs-basic-type): Use soap-decode-date-time.
19030         * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
19031         after encoding.
19032         (soap-decode-xs-basic-type): Validate value before decoding.
19034         * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
19035         (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
19037         * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
19038         instead of overwriting it.
19039         (soap-validate-xs-simple-type): Add union support.
19041         * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
19042         to Emacs regexp using xsdre-translate.
19043         (soap-validate-xs-simple-type): Validate value against pattern.
19045         * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
19046         inline simpleType nodes.
19047         (soap-decode-type): Handle union types.
19049         * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
19050         attributes.
19052         * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
19053         from soap-xs-attribute-group-consolidate, all callers updated
19054         (soap-get-xs-attributes): Rename from
19055         soap-xs-attributes-consolidate, all callers updated
19057         * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
19058         (soap-xs-attribute-group): New type.
19059         (soap-xs-parse-attribute-group): New function.
19060         (soap-resolve-references-for-xs-attribute-group): Likewise.
19061         (soap-xs-add-extension): Handle attribute groups.
19062         (soap-resolve-references-for-xs-simple-type): Likewise.
19063         (soap-xs-parse-complex-type): Likewise.
19064         (soap-xs-parse-extension-or-restriction): Likewise.
19065         (soap-resolve-references-for-xs-complex-type): Likewise.
19066         (soap-xs-attribute-group-consolidate): New function.
19067         (soap-xs-attributes-consolidate): Handle attribute groups.
19068         (soap-parse-schema): Likewise.
19070         * lisp/net/soap-client.el (soap-encode-xs-basic-type):
19071         Fix boolean encoding.
19073         * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
19074         element names in warnings.
19076         * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
19078         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
19079         Eliminate invalid warnings for choice types.
19081         * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
19082         Also encode base type attributes.
19084         * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
19085         warning.  Print e-name in warnings, or element if e-name is nil.
19087         * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
19088         (soap-xs-parse-element): Set substitution-group.
19089         (soap-resolve-references-for-xs-element): Populate alternatives slot.
19090         (soap-get-candidate-elements): New function.
19091         (soap-encode-xs-complex-type): Iterate through all candidate elements.
19092         Handle types with nil type indicator.  Fix warning logic.
19094         * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
19095         earlier in the file to prevent compiler warning.
19097         * lisp/net/soap-client.el (soap-node-optional): New function.
19098         (soap-node-multiple): Likewise.
19099         (soap-xs-parse-element): Call soap-node-optional and
19100         soap-node-multiple.
19101         (soap-xs-complex-type): Add optional? and multiple? slots.
19102         (soap-xml-get-children-fq): New function.
19103         (soap-xs-element-get-fq-name): Likewise.
19104         (soap-xs-complex-type-optional-p): Likewise.
19105         (soap-xs-complex-type-multiple-p): Likewise.
19106         (soap-xs-attributes-consolidate): Likewise.
19107         (soap-decode-xs-attributes): Likewise.
19108         (soap-decode-xs-complex-type): Decode types with nil type indicator.
19109         Support children that use local namespaces.  Decode attributes.
19110         Add type considerations to optional? and multiple? warnings.
19112         * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
19113         Store parsed attributes.
19114         (soap-encode-xs-complex-type-attributes): Encode custom attributes.
19116         * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
19117         Don't add the xsi:type attribute (Exchange refuses requests which have
19118         this attribute).
19120         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
19121         correct compiler warnings about unused function arguments and
19122         local variables.
19124         * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
19125         type indicator.
19126         (soap-parse-envelope): Handle response headers.
19127         (soap-parse-response): Likewise.  Only return non-nil decoded values.
19129         * lisp/net/soap-client.el (soap-validate-xs-simple-type):
19130         Return validated value.
19132         * lisp/net/soap-client.el (soap-xs-parse-element)
19133         (soap-xs-parse-simple-type)
19134         (soap-xs-parse-complex-type)
19135         (soap-parse-message)
19136         (soap-parse-operation): Add the current namespace to the element
19137         being created.
19138         (soap-resolve-references-for-xs-element)
19139         (soap-resolve-references-for-xs-simple-type)
19140         (soap-resolve-references-for-xs-complex-type)
19141         (soap-resolve-references-for-operation): Resolve the namespace to
19142         the namespace tag.
19143         (soap-make-wsdl): specify a namespace tag when creating the xsd
19144         and soapenc namespaces
19145         (soap-wsdl-resolve-references): don't update namespace tags in
19146         elements here
19147         (soap-parse-port-type): bind the urn: to soap-target-xmlns
19148         (soap-encode-body): don't add nil namespace tags to
19149         soap-encoded-namespaces
19151         * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
19152         for registering the soap-inspect method.  Make debbugs tests pass.
19153         * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
19154         type name, also skip string only nodes when decoding a structure.
19155         (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
19156         types too.
19157         (soap-encode-body): Grab the header value from the param table.
19159         * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
19160         New function.
19161         (soap-encode-xs-element): Don't encode nil value unless needed.
19163         * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
19164         (soap-parse-binding): Parse the message parts required in the body.
19165         (soap-encode-body): Encode only the parts that are declared to be
19166         part of the body.
19168         * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
19169         when writing out the tag.
19170         (soap-encode-body): Remove hack that inserts the xmlns in the
19171         element attributes list.
19173         * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
19174         (soap-xs-parse-attribute): Default slot is set from the XML
19175         "fixed" attribute.
19176         (soap-encode-xs-complex-type-attributes): Encode any attributes
19177         that have a default value.  Also, don't put the xsi:nil attribute
19178         when the complex type has no content anyway.
19180         * lisp/net/soap-client.el (soap-well-known-xmlns):
19181         Add the xml namespace.
19182         (soap-local-xmlns): Start with the xml namespace.
19183         (soap-xml-node-first-child): Skip xsd:annotation nodes too.
19184         (soap-make-xs-basic-types): More xsd types added.
19185         (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
19186         Handle "language", "time", "date", "nonNegativeInteger".
19187         (soap-resolve-references-for-xs-element): Don't signal an error if
19188         the element does not have a type.
19189         (soap-xs-parse-simple-type): Subtypes are handled with ecase,
19190         added stum for xsd:list.
19191         (soap-xs-add-union): Call soap-l2fq on all union members.
19192         (soap-xs-add-extension): Call soap-l2fq on the base member.
19193         (soap-resolve-references-for-xs-simple-type): Don't signal an
19194         error if the simple type has no base.
19195         (soap-resolve-references-for-xs-simple-type): Bugfix, call
19196         soap-wsdl-get on each type of the base.
19198         * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
19199         Referenced type can be eiher a simple type or a basic type.
19200         (soap-xs-add-restriction)
19201         (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
19202         (soap-make-xs-basic-types)
19203         (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
19204         Add support for more XMLSchema basic types.
19205         (soap-current-file, soap-xmlschema-imports): New defvars.
19206         (soap-parse-schema): Add locations from xsd:import tags to
19207         `soap-xmlschema-imports'.
19208         (soap-wsdl): Make destructor private.
19209         (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
19210         (soap-wsdl-add-alias): Check if we try to replace aliases.
19211         (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
19212         (soap-fetch-xml): New defuns.
19213         (soap-load-wsdl): Update to load the WSDL from either a file or
19214         an url.
19215         (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
19216         (soap-parse-wsdl): Process wsdl:import tags and imports from
19217         `soap-xmlschema-imports'.
19218         * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
19219         symbol-name.
19220         (soap-l2fq): Make the name part always a string.
19221         (soap-name-p): New defun, used for name tests.
19223         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
19224         Supply sample values for choice types with a special tag.
19225         * lisp/net/soap-client.el (soap-encode-xs-complex-type):
19226         Handle anonymous elements correctly.
19227         (soap-encode-value): Accept nodes that have no namespace tag.
19229         * lisp/net/soap-client.el (soap-invoke): Encode the string for
19230         `url-request-data' as UTF-8.  Fixes issue 16.
19232 2015-10-24  Nicolas Petton  <nicolas@petton.fr>
19234         Update the new icon
19236         Move the E slightly to the right in the circle.
19238         * etc/images/icons/hicolor/128x128/apps/emacs.png:
19239         * etc/images/icons/hicolor/16x16/apps/emacs.png:
19240         * etc/images/icons/hicolor/24x24/apps/emacs.png:
19241         * etc/images/icons/hicolor/32x32/apps/emacs.png:
19242         * etc/images/icons/hicolor/48x48/apps/emacs.png:
19243         * etc/images/icons/hicolor/scalable/apps/emacs.svg:
19244         * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
19245         * nt/icons/emacs.ico: New icom update.
19247 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
19249         Avoid missing inline functions from lisp.h in TAGS
19251         * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
19252         need to end each invocation with a semi-colon.
19253         Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
19254         and LISP_MACRO_DEFUN_VOID.  This is to avoid missing in TAGS
19255         inline functions defined immediately after each invocation, and
19256         also avoid tagging every invocation of these macros.
19258 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
19260         A better fix for bug#21739
19262         * src/buffer.c (set_update_modelines_for_buf): New function.
19263         (Fkill_buffer): Use it to set the global variable
19264         update_mode_lines if the killed buffer was displayed in some
19265         window.  Don't set windows_or_buffers_changed.  This is a better
19266         fix for bug#21739 than the previous fix, since it will cause only
19267         redisplay of mode lines, not of entire windows, but will still
19268         catch attention of x_consider_frame_title in xdisp.c, which
19269         redraws the frame title.
19271 2015-10-24  Tassilo Horn  <tsdh@gnu.org>
19273         * lisp/dired-aux.el (dired-compress-files-alist): Add support for
19274         tar.bz2 and tar.xz archives.
19276 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
19278         Fix infloop in redisplay introduced by a recent change
19280         * src/xdisp.c (redisplay_internal): Avoid inflooping when
19281         redisplaying the selected window sets the selected frame's
19282         redisplay flag.  (Bug#21745)
19284 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
19286         * lisp/emacs-lisp/thunk.el: Better documentation.
19288 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
19290         Replace the old icon for Windows and Mac OSX
19292         * nt/icons/emacs.ico:
19293         * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
19294         Use the new icons.
19296 2015-10-23  Stephen Leake  <stephen_leake@stephe-leake.org>
19298         * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
19299         `load-path' should contain only directory names.
19301 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
19303         New library thunk.el
19305         thunk.el is extracted from stream.el in ELPA, with additional tests.
19307         * lisp/emacs-lisp/thunk.el: New file.
19308         * test/automated/thunk-tests.el: New file.
19309         * etc/NEWS: Add information about thunk.el
19311 2015-10-23  Michael Albinus  <michael.albinus@gmx.de>
19313         Fix bug#21669
19315         * lisp/filenotify.el (file-notify-rm-watch): Improve check for
19316         calling low-level functions.
19318         * test/automated/file-notify-tests.el (file-notify--test-timeout):
19319         Decrase to 6 seconds for remote directories.
19320         (file-notify-test02-events): Expect different number of
19321         `attribute-changed' events for the local and remote cases.  Apply
19322         short delays between the operations, in order to receive all
19323         events in the remote case.  Combine `attribute-change' tests.
19324         (Bug#21669)
19326 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
19328         Decode the HTML source when displaying it in EWW
19330         * lisp/net/eww.el (eww-view-source): Decode the HTML source
19331         according to its headers.
19333 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
19335         New default icon
19337         * etc/images/icons/hicolor/128x128/apps/emacs23.png:
19338         * etc/images/icons/hicolor/16x16/apps/emacs23.png:
19339         * etc/images/icons/hicolor/24x24/apps/emacs23.png:
19340         * etc/images/icons/hicolor/32x32/apps/emacs23.png:
19341         * etc/images/icons/hicolor/48x48/apps/emacs23.png:
19342         * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
19343         * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
19344         Move the old logo files to emacs23.*.
19345         * etc/images/icons/hicolor/128x128/apps/emacs.png:
19346         * etc/images/icons/hicolor/16x16/apps/emacs.png:
19347         * etc/images/icons/hicolor/24x24/apps/emacs.png:
19348         * etc/images/icons/hicolor/32x32/apps/emacs.png:
19349         * etc/images/icons/hicolor/48x48/apps/emacs.png:
19350         * etc/images/icons/hicolor/scalable/apps/emacs.svg:
19351         * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
19352         New files.
19353         * etc/images/icons/README: Update the copyright information.
19355 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
19357         Fix redisplay of frame title when current buffer is killed
19359         * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
19360         non-zero value, to redisplay more than just the affected windows.
19361         (Bug#21739)
19363 2015-10-23  Anders Lindgren  <andlind@gmail.com>
19365         NextStep maximization and NSTRACE rewrite
19367         Full-height, full-width, and maximized windows now cover the
19368         entire screen (except the menu bar), including the part where the
19369         system dock is placed.  The system zoom animation is no longer
19370         used.
19372         Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
19373         original size.
19375         * src/nsterm.m (ns_menu_bar_height): New function, return height of
19376         the menu bar, or 0 when it's hidden.
19377         (constrain_frame_rect): New function for constraining a frame.
19378         (ns_constrain_all_frames): Set frame size explicitly rather than
19379         relying on the system doing it for us by writing back the current
19380         frame size.
19381         (windowWillUseStandardFrame): Register non-maximized width or
19382         height as new user size.  When entering full width or height,
19383         the other size component is taken from the user size.
19384         (fullscreenState): New method for accessing the fullscreen state.
19385         (constrainFrameRect): Restrict frame to be placed under the menu bar,
19386         if present.  The old version, sometimes, restricted the height of a
19387         frame to the screen, this version never does this.
19388         (zoom): Perform zoom by setting the frame to the full size of the
19389         screen (minus the menu bar).  The default system function, with the
19390         zoom animation, is no longer used, as the final frame size doesn't
19391         cover the entire screen.
19393         Rework how to constrain resizing to the character grid.  The old
19394         system used "resizeIncrements" in NSWindows.  However, once a frame
19395         was resized so that it was not aligned to the text grid, it
19396         remained unaligned even after a resize.  In addition, it conflicted
19397         when resizing a fullheight window.
19399         * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
19400         unless when pixelwise frame resizing is enabled.
19401         (updateFrameSize, initFrameFromEmacs)
19402         (toggleFullScreen, handleFS): Don't set resizeIncrements.
19404         Redesign the NS trace system.  The call structure is represented
19405         using indentations and vertical lines.  The NSTRACE macro accepts
19406         printf-style arguments.  New macros for printing various
19407         information.
19409         * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
19410         (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
19411         block (typically a function), accept printf-style arguments.
19412         (NSTRACE_MSG): Macro for extra information, accepts
19413         printf-style arguments.
19414         (NSTRACE_what): Macros for printing various types.
19415         (NSTRACE_FMT_what): Macro with printf format string snippets.
19416         (NSTRACE_ARG_what): Macros for passing printf-style arguments,
19417         corresponds to NSTRACE_FMT_what.
19418         (NSTRACE_RETURN): Macro to print return value, accept
19419         printf-style arguments.
19420         (NSTRACE_RETURN_what): Macros to print return value for
19421         various types.
19423         * src/nsterm.m: Remove old NSTRACE macro
19424         * src/nsterm.m (nstrace_num): Trace counter.
19425         (nstrace_depth): Current call depth.
19426         (nstrace_leave): NSTRACE support function, called when the
19427         local variable "nstrace_enabled" goes out of scope using the
19428         "cleanup" extension.
19429         (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
19430         (constrain_frame_rect, ns_constrain_all_frames)
19431         (ns_update_auto_hide_menu_bar, ns_update_begin)
19432         (ns_update_window_begin, update_window_end, ns_update_end)
19433         (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
19434         (ns_frame_rehighlight, x_make_frame_visible)
19435         (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
19436         (x_destroy_window, x_set_offset, x_set_window_size)
19437         (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
19438         (ns_defined_color, frame_set_mouse_pixel_position)
19439         (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
19440         (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
19441         (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
19442         (ns_after_update_window_line, ns_shift_glyphs_for_insert)
19443         (dumpcursor, ns_draw_vertical_window_border)
19444         (ns_draw_window_divider, ns_draw_relief)
19445         (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
19446         (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
19447         (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
19448         (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
19449         (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
19450         (ns_create_terminal, ns_term_init, sendEvent)
19451         (applicationDidFinishLaunching, applicationDidBecomeActive)
19452         (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
19453         (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
19454         (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
19455         (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
19456         (mouse_autoselect_window, in_window, mouseDragged)
19457         (rightMouseDragged, otherMouseDragged, windowShouldClose)
19458         (updateFrameSize, windowWillResize, windowDidResize)
19459         (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
19460         (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
19461         (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
19462         (windowDidEnterFullScreen, windowWillExitFullScreen)
19463         (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
19464         (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
19465         (draggingEntered, performDragOperation, validRequestorForSendType)
19466         (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
19467         (EmacsScroller_initFrame, EmacsScroller_setFrame)
19468         (EmacsScroller_dealloc, condemn, reprieve, judge)
19469         (resetCursorRects, setPosition, EmacsScroller_mouseDown)
19470         (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
19472         * src/nsfns.m: Remove old NSTRACE macro
19473         * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
19474         (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
19475         (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
19477         * src/nsimage.m: Remove old NSTRACE macro
19478         * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
19479         (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
19481         * src/nsmenu.m: Remove old NSTRACE macro
19482         * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
19483         Use new trace system.
19485 2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
19487         No need to use eval-and-compile
19489         * lisp/gnus/auth-source.el: Do require epg (when compiling) before
19490         autoload epg functions.
19492 2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
19494         Fix auth-source-epa-make-gpg-token compilation (bug#21724)
19496         * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
19497         epg-context-set-passphrase-callback, epg-decrypt-string, and
19498         epg-encrypt-string; require epg when compiling for the setf-method
19499         for epg-context-armor. (bug#21724)
19501 2015-10-22  Eli Zaretskii  <eliz@gnu.org>
19503         Include file cleanup for w32 files in src directory
19505         * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
19506         fontset.h, blockinput.h.
19507         * src/w32uniscribe.c: Don't include dispextern.h, character.h,
19508         charset.h, fontset.h.
19509         * src/w32term.c: Don't include systty.h, systime.h, charset.h,
19510         character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
19511         process.h, atimer.h, keymap.h, w32heap.h.  Include bitmap/gray.xbm
19512         in an ifdef-ed away block.
19513         Include fcntl.h for CYGWIN.
19514         (set_frame_param): Remove unused function.
19515         * src/w32select.c: Don't include charset.h and composite.h.
19516         (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
19517         due to pointer signedness mismatches.
19518         * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
19519         due to pointer signedness mismatches.
19520         * src/w32proc.c: Include unistd.h.  Don't include systime.h,
19521         process.h, dispextern.h.
19522         (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
19523         (Fw32_application_type): Avoid compiler warnings due to pointer
19524         signedness mismatches.
19525         * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
19526         character.h, charset.h, dispextern.h.
19527         (simple_dialog_show, add_menu_item): Avoid compiler warnings due
19528         to pointer signedness mismatches.
19529         * src/w32inevt.c: Don't include dispextern.h, window.h,
19530         termhooks.h, w32heap.h.
19531         * src/w32font.c: Don't include dispextern.h, character.h,
19532         charset.h, fontset.h, font.h.
19533         (intern_font_name, add_font_entity_to_list)
19534         (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
19535         (list_all_matching_fonts): Avoid compiler warnings due to pointer
19536         signedness mismatches.
19537         * src/w32fns.c: Don't include character.h, intervals.h,
19538         dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
19539         termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
19540         (w32_color_map_lookup, add_system_logical_colors_to_map)
19541         (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
19542         (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
19543         (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
19544         (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
19545         compiler warnings, mainly due to pointer signedness mismatches.
19546         (unwind_create_frame_1): Remove unused function.
19547         * src/w32console.c: Don't include character.h, disptab.h, frame.h,
19548         window.h, termhooks.h, dispextern.h.
19549         (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
19550         signedness mismatch.
19551         * src/w32.c: Include c-strcase.h and systty.h.  Don't include
19552         w32heap.h.
19554 2015-10-22  Tassilo Horn  <tsdh@gnu.org>
19556         Improve doc-view wrt. auto-revert-mode
19558         * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
19559         is corrupted (bug#21729).
19560         (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
19562 2015-10-22  Oleh Krehel  <ohwoeowho@gmail.com>
19564         Describe dired-do-compress-to in the manual
19566         * etc/NEWS: Update.
19568         * lisp/dired-aux.el: Fix typo.
19570         * doc/emacs/dired.texi: Add entry.
19572 2015-10-22  Jürgen Hötzel  <juergen@archlinux.org>
19574         Further fix for proper locale handling in tramp-gvfs.el
19576         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
19577         Just suppress LC_MESSAGES locale category settings.
19579 2015-10-21  Paul Eggert  <eggert@cs.ucla.edu>
19581         New lispref section “Security Considerations”
19583         This attempts to document some of the issues recently discussed
19584         on emacs-devel, and to indicate other such issues.  The section
19585         could be a lot longer.
19586         * doc/lispref/os.texi (Security Considerations):
19587         New node.
19588         * doc/lispref/elisp.texi (Top):
19589         * doc/lispref/processes.texi (Shell Arguments):
19590         * lisp/subr.el (shell-quote-argument):
19591         * src/callproc.c (syms_of_callproc):
19592         Reference it.
19594 2015-10-21  Paul Eggert  <eggert@cs.ucla.edu>
19596         Merge from gnulib
19598         This incorporates:
19599         2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
19600         2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
19601         * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
19602         Copy from gnulib.
19604 2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
19606         * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
19607         (mailcap-viewer-passes-test): Do it instead.  Thanks to Stefan Monnier.
19609 2015-10-21  Ken Brown  <kbrown@cornell.edu>
19611         Further include-file cleanup
19613         * src/sheap.c: Include stdlib.h.
19614         * src/unexcw.c: Include string.h.
19616 2015-10-21  Eli Zaretskii  <eliz@gnu.org>
19618         Fix logic in 'server-kill-emacs-query-function'
19620         * lisp/server.el (server-kill-emacs-query-function): Correct the
19621         logic that controls whether the user is asked for confirmation.
19622         (Bug#21723)
19624 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
19626         * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
19627         (isearch--lax-regexp-function-p): New function.
19629 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
19631         * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
19632         (isearch-search-fun-default): Let-bind `search-spaces-regexp'
19633         around `isearch-regexp-function'.
19635 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
19637         * lisp/isearch.el: Rename word search to regexp-function search.
19638         `isearch-word' went well beyond its original purpose, and the name
19639         no longer makes sense.  It is now called
19640         `isearch-regexp-function', and its value should always be a function
19641         that converts a string to a regexp (though setting it to t is still
19642         supported for now).
19643         (isearch-word): Make obsolete.
19644         (isearch-regexp-function): New variable.
19645         (isearch-mode, isearch-done, isearch--state, isearch--set-state)
19646         (with-isearch-suspended, isearch-toggle-regexp)
19647         (isearch-toggle-word, isearch-toggle-symbol)
19648         (isearch-toggle-character-fold, isearch-query-replace)
19649         (isearch-occur, isearch-highlight-regexp)
19650         (isearch-search-and-update, isearch-message-prefix)
19651         (isearch-search-fun-default, isearch-search)
19652         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19653         Use it.
19654         (isearch-lazy-highlight-regexp-function): New var.
19655         (isearch-lazy-highlight-word): Make obsolete.
19656         (isearch--describe-regexp-mode): New function.
19657         (isearch--describe-word-mode): Make obsolete.
19659         * lisp/info.el (Info-isearch-search):
19660         * lisp/replace.el (replace-search, replace-highlight):
19661         * lisp/obsolete/longlines.el (longlines-search-function):
19662         * lisp/hexl.el (hexl-isearch-search-function):
19663         * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
19664         Use the new var.
19666 2015-10-21  Oleh Krehel  <ohwoeowho@gmail.com>
19668         Add dired-do-compress-to command bound to "c"
19670         * lisp/dired-aux.el (dired-shell-command): Use the caller's
19671           `default-directory', return the result of `process-file'.
19672         (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
19673         used by default.
19674         (dired-compress-files-alist): New defvar.
19675         (dired-do-compress-to): New command.
19677         * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
19678         (dired-do-compress-to): Add an autoload entry.
19680         * etc/NEWS: Add two entries.
19682 2015-10-21  Tassilo Horn  <tsdh@gnu.org>
19684         Make RefTeX work with LaTeX subfiles package
19686         * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
19687         document class argument as master file for referencing purposes.
19689 2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
19691         * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
19693 2015-10-20  Paul Eggert  <eggert@cs.ucla.edu>
19695         Include-file cleanup for src directory
19697         Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
19698         In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
19699         but does not include it directly.  As a general rule, a source
19700         file should include foo.h if it needs the interfaces that foo.h
19701         defines.
19702         * src/alloc.c: Don’t include process.h.  Include dispextern.h,
19703         systime.h.
19704         * src/atimer.c: Don’t include blockinput.h.
19705         * src/buffer.c: Include coding.h, systime.h.  Don’t include
19706         keyboard.h, coding.h.
19707         * src/callint.c: Don’t include commands.h, keymap.h.
19708         * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
19709         systty.h, termhooks.h.
19710         * src/casetab.c: Don’t include character.h.
19711         * src/category.c: Don’t include charset.h, keymap.h.
19712         * src/ccl.h: Don’t include character.h.
19713         * src/character.c: Don’t include charset.h.
19714         * src/charset.c: Don’t include disptab.h.
19715         * src/chartab.c: Don’t include ccl.h.
19716         * src/cm.c: Don’t include frame.h, termhooks.h.
19717         * src/cmds.c: Don’t include window.h, dispextern.h.
19718         * src/coding.c: Don’t include window.h, frame.h.
19719         * src/composite.c: Include composite.h.  Don’t include window.h,
19720         font.h.
19721         * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
19722         * src/dbusbind.c: Don’t include frame.h.
19723         * src/decompress.c: Don’t include character.h.
19724         * src/dired.c: Don’t include character.h, commands.h, charset.h.
19725         * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
19726         process.h, timespec.h.  Include systime.h.
19727         * src/doc.c: Include coding.h.  Don’t include keyboard.h.
19728         * src/editfns.c: Include composite.h.  Don’t include frame.h.
19729         * src/emacs.c: Include fcntl.h, coding.h.  Don’t include
19730         commands.h, systty.h..
19731         * src/fileio.c: Don’t include intervals.h, dispextern.h.
19732         Include composite.h.
19733         * src/filelock.c: Don’t include character.h, systime.h.
19734         * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
19735         keymap.h, frame.h, blockinput.h, xterm.h.  Include composite.h.
19736         * src/font.c: Include termhooks.h.
19737         * src/font.h: Don’t include ccl.h, frame.h.  Add forward decls of
19738         struct composition_it, struct face, struct glyph_string.
19739         * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
19740         intervals.h, window.h, termhooks.h.
19741         * src/frame.c: Don’t include character.h, commands.h, font.h.
19742         * src/frame.h: Don’t include dispextern.h.
19743         * src/fringe.c: Don’t include character.h.
19744         * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
19745         character.h, charset.h, fontset.h.
19746         * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
19747         fontset.h.
19748         * src/ftxfont.c: Don’t include dispextern.h, character.h,
19749         charset.h, fontset.h.
19750         * src/gfilenotify.c: Don’t include frame.h, process.h.
19751         * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
19752         Don’t include syssignal.h, buffer.h, charset.h, font.h.
19753         * src/gtkutil.h: Don’t include frame.h.
19754         * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
19755         Don’t include character.h.
19756         * src/indent.c: Don’t include keyboard.h, termchar.h.
19757         * src/inotify.c: Don’t include character.h, frame.h.
19758         * src/insdel.c: Include composite.h.  Don’t include blockinput.h.
19759         * src/intervals.c: Don’t include character.h, keyboard.h.
19760         * src/intervals.h: Don’t include dispextern.h, composite.h.
19761         * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
19762         Include coding.h.
19763         * src/keyboard.h: Don’t incldue systime.h.
19764         * src/keymap.c: Don’t include charset.h, frame.h.
19765         * src/lread.c: Include dispextern.h and systime.h.
19766         Don’t include frame.h.  Include systime.h.
19767         * src/macros.c: Don’t include commands.h, character.h, buffer.h.
19768         * src/menu.c: Include character.h, coding.h.  Don’t include
19769         dispextern.h.
19770         * src/menu.h: Don’t include systime.h.
19771         * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
19772         intervals.h, termhooks.h.
19773         * src/print.c: Include coding.h.  Don’t include keyboard.h,
19774         window.h, dispextern.h, termchar.h, termhooks.h, font.h.
19775         Add forward decl of struct terminal.
19776         * src/process.c: Don’t include termhooks.h, commands.h,
19777         dispextern.h, composite.h.
19778         * src/region-cache.c: Don’t include character.h.
19779         * src/scroll.c: Don’t include keyboard.h, window.h.
19780         * src/search.c: Don’t include category.h, commands.h.
19781         * src/sound.c: Don’t include dispextern.h.
19782         * src/syntax.c: Don’t include command.h, keymap.h.
19783         * src/sysdep.c: Don’t include window.h, dispextern.h.
19784         * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
19785         * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
19786         * src/terminal.c: Include character.h.
19787         Don’t include charset.h, coding.h.
19788         * src/textprop.c: Don’t include character.h.
19789         * src/undo.c: Don’t include character.h, commands.h, window.h.
19790         * src/unexsol.c: Don’t include character.h, charset.h.
19791         * src/widget.c: Include widget.h.  Don’t include keyboard.h,
19792         window.h, dispextern.h, blockinput.h, character.h, font.h.
19793         * src/widgetprv.h: Don’t include widget.h.
19794         * src/window.c: Don’t include character.h, menu.h, intervals.h.
19795         * src/xdisp.c: Include composite.h, systime.h.  Don’t include
19796         macros.h, process.h.
19797         * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
19798         intervals.h.
19799         * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
19800         epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
19801         * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
19802         * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
19803         * src/xgselect.c: Don’t include timespec.h, frame.h.
19804         Include systime.h.
19805         * src/xgselect.h: Don’t include time.h.
19806         Use a forward decl to struct timespec instead.
19807         * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
19808         dispextern.h.  Include systime.h.
19809         * src/xml.c: Don’t include character.h.
19810         * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
19811         * src/xselect.c: Don’t include dispextern.h, character.h,
19812         buffer.h, process.h.
19813         * src/xsmfns.c: Don’t include systime.h, sysselect.h.
19814         * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
19815         intervals.h process.h, keymap.h, xgselect.h.  Include composite.h.
19817 2015-10-20  Paul Eggert  <eggert@cs.ucla.edu>
19819         (/ N) now returns the reciprocal of N
19821         This is more compatible with Common Lisp and XEmacs (Bug#21690).  See:
19822         http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
19823         * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
19824         (color-xyz-to-srgb, color-xyz-to-lab):
19825         * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
19826         * lisp/net/shr-color.el (shr-color-hue-to-rgb)
19827         (shr-color-hsl-to-rgb-fractions):
19828         Exploit the change to simplify the code a bit.
19829         * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
19830         Don’t complain about single-argument calls to ‘/’.
19831         * src/data.c (arith_driver, float_arith_driver):
19832         Implement the change.
19834 2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>
19836         Call vc-dir-refresh after stash operations
19838         * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
19839         (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
19841         * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
19842         since it can be abbreviated (as returned by vc-find-root).
19844 2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>
19846         * lisp/vc/vc-svn.el:
19847         * lisp/vc/vc-mtn.el:
19848         * lisp/vc/vc-hg.el:
19849         * lisp/vc/vc-cvs.el:
19850         * lisp/vc/vc-git.el:
19851         * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
19852         Its usages have been replaced with vc-run-delayed.
19854 2015-10-20  Dima Kogan  <dima@secretsauce.net>
19856         Fix memory leak in fontset handling
19858         * src/font.c (copy_font_spec): Make a deep copy of the input
19859         argument FONT.  (Bug#21651)
19861 2015-10-20  Michael Sperber  <mike@xemacs.org>
19863         * lisp/gnus/mailcap.el (mailcap-mime-data):
19864         Conditonalize `doc-view-mode', which does not exist on XEmacs.
19866 2015-10-20  Oleh Krehel  <ohwoeowho@gmail.com>
19868         Update the way directories are compressed
19870         * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
19871         for *.tar.gz decompression to use a pipe.
19872         Add an entry for the default directory compression (to *.tar.g).
19873         (dired-compress-file): Update.
19875         See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
19877 2015-10-20  Michael Sperber  <mike@xemacs.org>
19879         Unbreak `group' option for `mail-sources'
19881         * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
19882         * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
19883         (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
19885 2015-10-19  Nicolas Petton  <nicolas@petton.fr>
19887         New function seq-position
19889         * lisp/emacs-lisp/seq.el (seq-position): New function.
19890         * test/automated/seq-tests.el: New tests for seq-position.
19891         * doc/lispref/sequences.texi: Add documentation for `seq-position'.
19893 2015-10-19  Ken Brown  <kbrown@cornell.edu>
19895         Enable --with-wide-int build on 32-bit Cygwin
19897         * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
19898         and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
19900 2015-10-19  Glenn Morris  <rgm@gnu.org>
19902         * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
19904 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
19906         Resurrect image loading under auto-image-file-mode
19908         * src/image.c (x_find_image_fd): Handle the case of -2 returned by
19909         'openp' specially.  This special case was lost in the changes on
19910         2015-08-18.  (Bug#21685)
19912 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
19914         Fix return value of 'set-file-extended-attributes'
19916         * lisp/files.el (set-file-extended-attributes): Return non-nil
19917         when setting either ACLs or SELinux context succeeds.  Document
19918         the return value.  (Bug#21699)
19920         * doc/lispref/files.texi (Changing Files): Document the return
19921         value of set-file-extended-attributes.
19923 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
19925         Improve documentation of functions that change files
19927         * doc/lispref/files.texi (Changing Files): Document that these
19928         functions signal an error on failure.
19930 2015-10-18  Eli Zaretskii  <eliz@gnu.org>
19932         Fix doc string of 'shell-quote-argument'
19934         * lisp/subr.el (shell-quote-argument): Doc fix.  (Bug#21702)
19936 2015-10-18  Michael Albinus  <michael.albinus@gmx.de>
19938         Some minor Tramp changes
19940         * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
19942         * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
19943         Expand `tramp-auto-save-directory'.
19945 2015-10-18  Michael Albinus  <michael.albinus@gmx.de>
19947         Minor edits in Tramp
19949         * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
19950         Declare it.
19952         * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
19953         Remove declaration.
19955 2015-10-17  Mark Oteiza  <mvoteiza@udel.edu>
19957         * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
19959 2015-10-17  Eli Zaretskii  <eliz@gnu.org>
19961         Avoid crashes when redisplayng a window changes faces or fonts
19963         * src/xdisp.c (redisplay_internal): If redisplaying the selected
19964         window or one of the frames turns on the frame's 'redisplay' flag,
19965         redisplay again.  (Bug#21428)
19967         * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
19969 2015-10-17  Michael Albinus  <michael.albinus@gmx.de>
19971         Solve timimg issues in file-notify-tests.el
19973         * test/automated/file-notify-tests.el (file-notify-test02-events):
19974         Rectify `attribute-change' tests.  There are timing issues with
19975         gfilenotify.  (Bug#21669)
19977 2015-10-16  Paul Eggert  <eggert@cs.ucla.edu>
19979         Fix quoting of data within htmlfontify doc
19981         * doc/misc/htmlfontify.texi (Data Structures, Customization):
19982         Fix quoting of data structures.  A Lisp quote is needed only
19983         when data appears within Lisp code.
19985 2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>
19987         * lisp/emacs-lisp/package.el: Reload archive-contents if
19988         priorities change.
19989         (package--old-archive-priorities): New variable.
19990         (package-read-all-archive-contents, package-menu--refresh): Use it
19991         to decide when the `package-archive-contents' needs to be read
19992         again.
19994 2015-10-16  Paul Eggert  <eggert@cs.ucla.edu>
19996         Make src headers idempotent and standalone
19998         Redo src/*.h so that each include file is idempotent (that is, can
19999         be included multiple times with the latter inclusions having no
20000         effect) and standalone (that is, can be included by itself,
20001         with no include file other than config.h needed as a prerequisite).
20002         This is standard practice in GNU programs nowadays.
20003         * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
20004         * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
20005         * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
20006         * src/regex.h [emacs]:
20007         * src/syntax.h, src/systty.h, src/termhooks.h:
20008         Include lisp.h, for Lisp_Object.
20009         * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
20010         * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
20011         * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
20012         * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
20013         * src/termopts.h, src/tparam.h, src/unexec.h:
20014         Protect against multiple inclusion.
20015         * src/buffer.h: Include character.h, for STRING_CHAR.
20016         * src/emacsgtkfixed.h (struct frame):
20017         * src/fontset.h (struct face):
20018         * src/region-cache.h (struct buffer):
20019         * src/termhooks.h (struct glyph):
20020         * src/xsettings.h (struct x_display_info):
20021         Add possibly-forward decl.
20022         * src/syntax.h: Include buffer.h, for BVAR.
20023         * src/sysselect.h: Include lisp.h, for eassume.
20024         * src/termchar.h: Include <stdio.h>, for FILE.
20025         * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
20026         * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
20028 2015-10-16  Jürgen Hötzel  <juergen@archlinux.org>
20030         Handle symlink targets containing spaces in tramp-gvfs.el
20032         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
20033         Handle symlink targets containing spaces.
20035 2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>
20037         * lisp/custom.el (custom-theme-load-path): Demote to defvar.
20039         `custom-theme-load-path' was a defcustom, but it shouldn't be for the
20040         same reason that `load-path' shouldn't.  Setting it via the customize
20041         interface is a trap for the user.
20043         Installed themes commonly add themselves to this variable, which means
20044         its value is not fit for being saved (it will permanently remember dirs
20045         that don't exist anymore).
20047         This is aggravated by the fact that Emacs always applies the `user'
20048         theme on top of any theme that's loaded, since this will apply the old
20049         variable value and remove any new directories that had been recently
20050         added by themes themselves.
20052         Not to mention, we already have `custom-theme-directory', which is safe
20053         to customize.
20055 2015-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20057         * lisp/mpc.el: Rename the new toggling commands.
20058         (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
20059         (mpc-toggle-shuffle): Add "-toggle" in the name.
20061 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
20063         Improve the doc string of 'completion-boundaries'
20065         * lisp/minibuffer.el (completion-boundaries): Rename the argument
20066         TABLE to COLLECTION, for consistency with other high-level
20067         completion functions.  Document how COLLECTION is called if it
20068         is a function.  (Bug#21644)
20070 2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>
20072         * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
20074 2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>
20076         Make dired-do-compress work for *.zip files
20078         * lisp/dired-aux.el (dired-check-process): Transform the top-level
20079           comment into a docstring.
20080         (dired-shell-command): New command.  This mirrors
20081         `dired-check-process', but is more user-friendly for passing
20082         arguments.
20083         (dired-compress-file-suffixes): Allow to specify the command switches
20084         along with input (%i) and output (%o) inside the PROGRAM part.
20085         Add an entry for *.zip files, and update the entry for *.tar.gz files
20086         to the new style.  Update the docstring.
20087         (dired-compress-file): When PROGRAM matches %i or %o, use the new
20088         logic.
20089         (dired-update-file-line): Avoid an error when at end of buffer.
20091         Fixes bug#21637.
20093 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
20095         Minor improvement in documentation of internals
20097         * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
20099 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
20101         Improve documentation of COLLECTION in completion functions
20103         * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
20104         cross-reference to "Programmed Completion".
20106         * src/minibuf.c (Fcompleting_read): Improve the doc string.
20107         (Bug#21644)
20109 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
20111         Add more release info to etc/HISTORY
20113         * etc/HISTORY: Add more release information about 19.x and 20.x
20114         versions.
20116 2015-10-15  Paul Eggert  <eggert@cs.ucla.edu>
20118         New file etc/HISTORY
20120         * admin/FOR-RELEASE: Procedure for etc/HISTORY.
20121         * etc/HISTORY: New file.
20122         * etc/NEWS: Mention it.
20124 2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>
20126         js-mode: Don't misindent generator methods
20128         * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
20129         generator methods from multiplication operator
20130         (https://github.com/mooz/js2-mode/issues/275).
20132 2015-10-15  Paul Eggert  <eggert@cs.ucla.edu>
20134         Fix animation timeout delay calculation
20136         * lisp/image.el (image-animate-timeout):
20137         Don’t assume speed is floating-point.
20139 2015-10-15  Mark Oteiza  <mvoteiza@udel.edu>
20141         Add commands for controlling MPD modes
20143         * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
20144         (mpc-cmd-single): New functions.
20145         (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
20146         (mpc-mode-menu): Add new commands as menu items.
20148 2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>
20150         Refer to `(elisp)Basic Completion' in completing-read docstring
20152         * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
20153         Completion' in the docstring (bug#21644).
20155 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
20157         * lisp/mpc.el (mpc-format): Always push form to pred
20159 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
20161         Spelling fixes
20163         * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
20164         * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
20165         Fix misspelling of nonexistent file name.
20167 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
20169         * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
20171 2015-10-14  Michael Albinus  <michael.albinus@gmx.de>
20173         Some editing fixes in Tramp
20175         * lisp/net/tramp-gvfs.el:
20176         * doc/misc/tramp.texi: "customer option" -> "custom option".
20178         * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
20180 2015-10-14  Jürgen Hötzel  <juergen@archlinux.org>
20182         Use proper localization in tramp-gvfs.el
20184         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
20185         Suppress localized settings in order to proper parse gfvs output.
20187 2015-10-14  Warren Lynn  <wrn.lynn@gmail.com>  (tiny change)
20189         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20190         Quote argument in proper order.  (Bug#21562)
20192 2015-10-14  Nicolas Petton  <nicolas@petton.fr>
20194         Fix typos in docstrings
20196         * lisp/emacs-lisp/map.el:
20197         * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
20198           macros.
20200 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
20202         * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
20204 2015-10-14  Oleh Krehel  <ohwoeowho@gmail.com>
20206         Make dired-jump work with tar-subfile-mode
20208         * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
20209           emitting an error, switch to `tar-superior-buffer'.
20211 2015-10-14  Juanma Barranquero  <lekktu@gmail.com>
20213         * .gitignore: Add build-aux/ar-lib.
20215 2015-10-14  Nicolas Petton  <nicolas@petton.fr>
20217         Better docstrings in seq.el and map.el
20219         * lisp/emacs-lisp/map.el:
20220         * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
20222 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
20224         Merge from gnulib
20226         This incorporates:
20227         2015-10-13 binary-io, u64, unistd: port to strict C
20228         2015-09-26 c-ctype: do not worry about EBCDIC + char signed
20229         2015-09-25 c-ctype: port better to z/OS EBCDIC
20230         2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
20231         * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
20232         * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
20233         Copy from gnulib.
20235 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
20237         Take XPNTR private
20239         * src/alloc.c (PURE_POINTER_P): Remove.
20240         All uses replaced with PURE_P.
20241         (XPNTR_OR_SYMBOL_OFFSET): New function.
20242         (XPNTR): Move here from lisp.h.
20243         Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
20244         (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
20245         Remove unnecessary cast.
20246         (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
20247         to avoid an unnecessary runtime test for symbols.
20248         * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
20249         Only alloc.c needs XPNTR now.
20251 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
20253         Add MPC play/pause command
20255         * lisp/mpc.el (mpc-toggle-play): New command.
20256         (mpc-mode-map): Bind it to "s".
20257         (mpc-mode-menu): Add corresponding menu item.
20259 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
20261         Add bindings and menu items for prev and next tracks
20263         * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
20264         "<" to mpc-prev.
20265         (mpc-mode-menu): Add corresponding menu items
20267 2015-10-13  Ken Raeburn  <raeburn@raeburn.org>
20269         Reduce face-related consing during frame creation.
20271         * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
20272         attribute list once.
20273         (face-spec-reset-face): Use it instead of building the list.
20275 2015-10-13  Ken Raeburn  <raeburn@permabit.com>
20277         Do process ConfigureNotify events indicating size changes.
20279         * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
20280         events don't have the same size, process each one.
20282 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
20284         Derive mpc-mode from special-mode
20286         lisp/mpc.el (mpc-mode-map): Make from sparse keymap.  Unbind g.
20287         (mpc-mode): Derive from special mode.
20288         (mpc-songs-mode-map): Don't set parent keymap.
20290 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
20292         Fix error messages for when covers are not found.
20294         The last change to mpc-format let the binding to file call
20295         mpc-file-local-copy with nil argument.  Instead, employ if-let here
20296         so nil bindings don't result in needless computation and errors.
20297         * lisp/mpc.el: Require 'subr-x at compile time.
20298         * lisp/mpc.el (mpc-format): Use if-let.
20300 2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
20302         Make dired-do-compress work for *.tar.gz files
20304         * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
20305           "tar -zxvf" to *.tar.gz; update docstring.
20307         (dired-compress-file): Allow to specify switches after the command in
20308         `dired-compress-file-suffixes'.
20310 2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
20312         Make dired-do-compress work for directories
20314         * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
20315           instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
20316         Also convert the top comment into a docstring.
20318 2015-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20320         * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
20322         ... since it might come straight from the memoizing table.
20324 2015-10-13  Juanma Barranquero  <lekktu@gmail.com>
20326         * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
20328 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
20330         Use special-mode in eww list modes
20332         * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
20333         (eww-buffers-mode): Derive from special-mode and remove redundant
20334         setting of buffer-read-only.
20335         (eww-mode-map): Remove redundant keymap parent setting.
20336         (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
20337         Remove redundant keymap suppressions and mappings.
20339 2015-10-13  Martin Rudalics  <rudalics@gmx.at>
20341         Allow setting frame pixel sizes from frame parameters (Bug#21415)
20343         Also fix some misfeatures in frame (re-)sizing code, add more
20344         debugging information and remove some dead code.
20346         * lisp/frame.el (frame-notice-user-settings, make-frame): Change
20347         parameter names when setting `frame-size-history'.
20348         (frame--size-history): New function.
20350         * src/frame.c (frame_inhibit_resize): If frame has not been made
20351         yet, return t if inhibit_horizontal_resize or
20352         inhibit_vertical_resize bit have been set.
20353         (adjust_frame_size): Simplify.
20354         (make_frame): Initialize inhibit_horizontal_resize,
20355         inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
20356         (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
20357         inhibit_vertical_resize slots.
20358         (x_set_frame_parameters): Handle `text-pixels' specification for
20359         width and height parameters.  Don't consider new_height or
20360         new_width changes.  Call adjust_frame_size instead of
20361         Fset_frame_size.
20362         (x_figure_window_size): Two new arguments x_width and y_width
20363         returning frame's figures width and height.  Calculate tool bar
20364         height before frame sizes so SET_FRAME_HEIGHT can pick it up.
20365         Handle `text-pixels' specification for width and height
20366         parameters.
20367         (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
20368         (Qx_set_window_size_1, Qx_set_window_size_2)
20369         (Qx_set_window_size_3, Qx_set_menu_bar_lines)
20370         (Qupdate_frame_menubar, Qfree_frame_menubar_1)
20371         (Qfree_frame_menubar_2): New symbols.
20372         * src/frame.h (structure frame): New booleans
20373         tool_bar_redisplayed, tool_bar_resized,
20374         inhibit_horizontal_resize, inhibit_vertical_resize.
20375         (x_figure_window_size): Update external declaration.
20376         * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
20377         calling gtk_window_resize.
20378         (update_frame_tool_bar): Make inhibiting of frame resizing more
20379         discriminative.  Set tool_bar_resized bit.
20380         * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
20381         resizing more discriminative.  Call adjust_frame_size instead of
20382         x_set_window_size.
20383         (Fx_create_frame): Handle x_width and x_height if
20384         set by x_figure_window_size.
20385         * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
20386         subtract 3 from tool bar height.
20387         (x_set_window_size): Add frame_size_history_add call.
20388         (x_new_font): Call adjust_frame_size instead of
20389         x_set_window_size.
20390         * src/w32fns.c (x_change_tool_bar_height): Reset
20391         tool_bar_redisplayed and tool_bar_resized bits when adding tool
20392         bar.  Make inhibiting of frame resizing more discriminative.
20393         (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
20394         (Fx_create_frame): Handle x_width and x_height if set by
20395         x_figure_window_size.  Set size hints before adjusting frame size.
20396         (x_create_tip_frame): Adjust x_figure_window_size call.
20397         * src/w32term.c (x_set_window_size): Add frame_size_history_add
20398         call.
20399         * src/widget.c (set_frame_size): Remove dead code.  Add
20400         frame_size_history_add call.  When frame_resize_pixelwise is t
20401         use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
20402         pixel_width and pixel_height.
20403         (update_various_frame_slots): Remove dead code.
20404         (EmacsFrameResize): Add more information in
20405         frame_size_history_add call.
20406         (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
20407         is not set.
20408         * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
20409         * src/xfns.c (x_set_menu_bar_lines): Change argument name.
20410         (x_change_tool_bar_height): Reset tool_bar_redisplayed and
20411         tool_bar_resized bits when adding tool bar.  Make inhibiting of
20412         frame resizing more discriminative.
20413         (Fx_create_frame): Handle x_width and x_height if set by
20414         x_figure_window_size.  Set size hints before adjusting frame size.
20415         (x_create_tip_frame): Adjust x_figure_window_size call.
20416         * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
20417         (set_frame_menubar): On Lucid never add core-border-width to
20418         avoid that adding XtNinternalBorderWidth adds it again.
20419         (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
20420         * src/xterm.c (x_new_font): In non-toolkit case handle size
20421         change of menu bar.
20422         (x_set_window_size_1): Fix calls to frame_size_history_add.
20423         (x_wm_set_size_hint): Remove dead code.  Set
20424         size_hints.min_width and size_hints.min_height to base_width and
20425         base_height.
20427 2015-10-13  Michael Albinus  <michael.albinus@gmx.de>
20429         * test/automated/file-notify-tests.el (file-notify--test-timeout):
20430         Add docstring.  Increase to 10 seconds for remote
20431         directories.  (Bug#21669)
20433 2015-10-12  Paul Eggert  <eggert@cs.ucla.edu>
20435         Unmacroize ebrowse.c and etags.c a bit
20437         * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
20438         (streq, filename_eq, set_flag, has_flag): Now inline functions.
20439         (set_flag): First arg is now an address, not an lvalue.
20440         All callers changed.
20441         (filename_eq, set_flag, has_flag):
20442         Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
20443         All callers changed.
20444         * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
20445         Now inline functions.  Remove asserts that are unnecessary these
20446         days (and in some cases were too-generous anyway).
20448 2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>
20450         Use highlight for current items
20452         * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
20453         Apply highlight face instead of region face.
20455 2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>
20457         Search for more cover image names in MPC
20459         * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
20460         case insensitively
20462 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
20464         Remove or comment out unused variables
20466         * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
20467         nontext_cursor, mode_cursor, hand_cursor and count.
20468         (x_change_tool_bar_height): Remove variable old_text_height.
20469         (deliver_wm_chars): Remove variable strip_Alt.
20470         (Fw32_shell_execute): Remove variable document_a.
20471         (Fw32_frame_geometry): Remove variable fullboth.
20472         * src/w32term.c (w32_setup_relief_color): Comment out variable
20473         w32_display_info.
20474         (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
20475         (w32_read_socket): Comment out variables rows, columns.
20476         * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
20478 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
20480         * src/w32proc.c (sys_select): Fix bitwise test.
20482 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
20484         Minor typo corrections in doc strings
20486         * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
20487         Doc fixes.
20489 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
20491         * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
20493 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
20495         Attempt to avoid crashes in plist-member
20497         * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
20498         and a call to XCDR.  (Bug#21655)
20500 2015-10-12  Mike FABIAN  <mfabian@redhat.com>
20502         * lisp/select.el (gui-get-primary-selection): In
20503         gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
20505 2015-10-12  Tassilo Horn  <tsdh@gnu.org>
20507         Support RTF in doc-view
20509         * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
20511 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
20513         * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
20515 2015-10-11  Nicolas Petton  <nicolas@petton.fr>
20517         Replace the usage of an obsolete function in auth-source.el
20519         * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
20520         Replace an usage of `epg-context-set-armor' with `setf'.
20522 2015-10-11  Nicolas Petton  <nicolas@petton.fr>
20524         * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
20526 2015-10-11  Jay Belanger  <jay.p.belanger@gmail.com>
20528         Have calc-yank recognize numbers in different bases.
20530         * lisp/calc/calc-yank.el (math-number-regexp): New function.
20531         (calc-yank): Use `math-number-regexp' to recognize numbers.
20533 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
20535         Handle an opaque-move X11 window manager operation more efficiently
20537         * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
20538         followed by more ConfigureNotify events for the same window, process
20539         only the last one.
20541 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
20543         Fix cursor setting for tip frame; re-enable cursor generation
20545         * src/xfns.c (x_create_tip_frame): Include the cursor in the window
20546         attributes sent when creating the new X window.  Don't skip setting
20547         the pointerColor parameter.
20549 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
20551         Rewrite x_set_mouse_color to sync less
20553         We can track serial numbers of X requests and correlate error events
20554         with the associated requests.  This way we can identify errors for
20555         specific calls without having to use XSync after every one.
20557         * src/xfns.c (enum mouse_cursor): New type.
20558         (struct mouse_cursor_types, struct mouse_cursor_data): New types.
20559         (mouse_cursor_types): New array listing the Lisp variables and default
20560         cursor appearances for each cursor type.
20561         (x_set_mouse_color_handler): New function; checks error event serial
20562         number against submitted requests.
20563         (x_set_mouse_color): Updated to use the new error handler callback,
20564         and to be more table-driven, to simplify repetitious code.
20566 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
20568         Add x_catch_errors_with_handler
20570         * src/xterm.c (struct x_error_message_stack): Add new fields for a
20571         callback function and associated data pointer.
20572         (x_error_catcher): If the callback function is set, call it after
20573         saving the error message string.
20574         (x_catch_errors_with_handler): Renamed from x_catch_errors but now
20575         accepts a callback function and data pointer.
20576         (x_catch_errors): Now a wrapper function.
20577         * src/xterm.h (x_special_error_handler): New typedef.
20578         (x_catch_errors_with_handler): Declare.
20580 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
20582         Introduce x_uncatch_errors_after_check to reduce XSync calls
20584         Both x_had_errors_p and x_check_errors call XSync, so if they're
20585         immediately followed by x_uncatch_errors, its XSync call will be
20586         redundant, resulting in a wasted round trip to the X server.
20588         * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
20589         x_uncatch_errors without the XSync call.
20590         (XTmouse_position, x_wm_supports):
20591         * src/xfns.c (x_set_mouse_color):
20592         * src/xmenu.c (Fx_menu_bar_open_internal):
20593         * src/xselect.c (x_own_selection, x_get_foreign_selection):
20594         (Fx_get_atom_name): Call it instead of x_uncatch_errors.
20595         * src/xterm.h (x_uncatch_errors_after_check): Declare.
20597 2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>
20599         Document the optional prefix to `calc-yank'
20601         * doc/misc/calc.texi (Yanking into the Stack): Document the optional
20602         prefix to `calc-yank'.
20603         * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
20604         the Calc buffer are yanked back unchanged.
20606 2015-10-10  Mark Oteiza  <mvoteiza@udel.edu>
20608         * lisp/calendar/calendar.el: Display buffer before executing body.
20610         In each use of this macro, the modeline is derived from a window width
20611         calculation, which will be wrong if (display-buffer) splits the window
20612         horizontally.
20614 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
20616         Use ‘echo’ safely with ‘\’ or leading ‘-’
20618         POSIX says that ‘echo FOO’ produces implementation-defined output
20619         if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
20620         behavior in that case.
20621         * Makefile.in (removenullpaths): Remove.
20622         (epaths-force): Rewrite to avoid the need for ‘echo’.
20623         (install-etc): Be clearer about escaping the shell metacharacters
20624         ‘\’ and ‘$’.
20625         * Makefile.in (install-arch-indep, install-etcdoc):
20626         * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
20627         * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
20628         * configure.ac, lib-src/rcs2log, make-dist:
20629         * src/Makefile.in (lisp.mk):
20630         Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
20631         For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
20632         if $foo can contain arbitrary characters.
20633         * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
20634         * doc/lispref/two-volume.make (vol1.pdf):
20635         * test/etags/make-src/Makefile (web ftp publish):
20636         Use ‘printf’ rather than ‘echo -e’.
20638 2015-10-10  Kaushal Modi  <kaushal.modi@gmail.com>
20640         Allow numbers with different radixes to be yanked.
20642         * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
20643         default base 10.
20645 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
20647         Improve CHECK_IMPURE and PURE_P speedup
20649         * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
20651 2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>
20653         Use events instead of chars to keep track of steps.
20655         * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
20656         to keep track of steps.
20658 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
20660         Fix --enable-gcc-warnings problem with older GCC
20662         * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
20663         This is for building with --enable-gcc-warnings with
20664         GCC 4.6 through 5.0.
20666 2015-10-10  Eli Zaretskii  <eliz@gnu.org>
20668         Fix vertical-motion in truncated lines that end in a stretch
20670         * src/indent.c (Fvertical_motion): Expect overshoot when point is
20671         beyond window margin and lines are truncated, even if we have a
20672         stretch at point.  (Bug#21468)
20674 2015-10-10  Eli Zaretskii  <eliz@gnu.org>
20676         Avoid link-time errors due to inline functions
20678         * src/emacs.c: Include puresize.h, to avoid link-time errors in
20679         unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
20680         inline functions.
20682 2015-10-10  Andreas Schwab  <schwab@linux-m68k.org>
20684         * src/data.c (Faset): Fix last change.
20686 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
20688         CHECK_IMPURE and PURE_P speedup
20690         * src/intervals.c (create_root_interval):
20691         Do CHECK_IMPURE only for strings; not needed for buffers.
20692         Prefer ! STRINGP to BUFFERP, for a tad more speed.
20693         * src/puresize.h (CHECK_IMPURE, PURE_P):
20694         Now inline functions instead of macros.
20695         (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
20696         All callers changed.
20697         (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
20698         All callers changed.
20700 2015-10-09  Noah Friedman  <friedman@splode.com>
20702         (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
20704 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20706         * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
20708         our after-change-function, rather than re-adding it if it was removed.
20710 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20712         * lisp/cedet/ede: Silence some compiler warnings
20714         * lisp/cedet/ede.el: Require cl-lib.  Silence some compiler warnings.
20715         (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
20716         (ede-apply-object-keymap, ede-reset-all-buffers)
20717         (ede-auto-add-to-target): Use dolist.
20718         (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
20719         Use field names rather than initarg names in `oref'.
20720         (ede-load-project-file): Remove unused var `file'.
20721         (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
20722         (ede-set): Remove unused var `a'.
20724         * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
20725         (ede-project-autoload): Avoid the old-style "name" argument.
20726         (ede-emacs-find-matching-target): Use field names rather than initarg
20727         names in `oref'.
20729         * lisp/cedet/ede/linux.el: Silence some compiler warnings.
20730         (ede-linux-load, ede-project-autoload): Avoid the old-style
20731         "name" argument.
20732         (ede-linux-find-matching-target): Use field names rather than initarg
20733         names in `oref'.
20735 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20737         * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
20739 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20741         * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
20742         indenting too far after ":-".
20744 2015-10-09  Eli Zaretskii  <eliz@gnu.org>
20746         Update case-table and categories of recently added characters
20748         * lisp/international/characters.el: Update information about Latin
20749         Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
20750         Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
20751         blocks.  (Byug#21654)
20753 2015-10-09  Martin Rudalics  <rudalics@gmx.at>
20755         * src/frame.c (adjust_frame_size): In minibuffer-only windows
20756         don't count minibuffer height twice.  (Bug#21643)
20758 2015-10-09  Eli Zaretskii  <eliz@gnu.org>
20760         Avoid inflooping in font-lock
20762         * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
20763         inhibit-field-text-motion around the call to
20764         line-beginning-position, to avoid inflooping.  (Bug#21615)
20766 2015-10-09  Tassilo Horn  <tsdh@gnu.org>
20768         Refactor duplicated code; ensure default is in completions
20770         * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
20771         New function.
20772         (reftex-extract-bib-entries): Use it.
20773         (reftex-extract-bib-entries-from-thebibliography): Use it.
20775 2015-10-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20777         * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
20778         in the example.
20780 2015-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20782         * lisp/calc/calc.el: Silence byte-compiler warnings.
20783         (calc-scan-for-dels): Use ignore-errors.
20784         (calc-dispatch, calc-do-dispatch): Make unused arg optional.
20785         (calc-read-key-sequence): Remove unused var `prompt2'.
20786         (calc-kill-stack-buffer): Remove unused var `buflist'.
20787         (calc): Remove unused var `oldbuf'.
20788         (calc-refresh): Use inhibit-read-only.
20789         (calc-can-abbrev-vectors): Declare.
20790         (calc-record): Remove unused var `mainbuf'.
20791         (math-sub-bignum): Remove unused var `sum'.
20792         (math-svo-c, math-svo-wid, math-svo-off): Declare.
20794 2015-10-08  Daiki Ueno  <ueno@gnu.org>
20796         Use g_clear_error instead of g_error_free
20798         * src/image.c: Define g_clear_error instead of g_error_free.
20799         (init_svg_functions): Resolve symbol g_clear_error instead of
20800         g_error_free.
20801         (svg_load_image): Use g_clear_error instead of g_error_free, to
20802         suppress GLib warnings when ERR is not set.  See bug#21641.
20804 2015-10-08  Paul Eggert  <eggert@cs.ucla.edu>
20806         * src/image.c (image_size_error): Simplify.
20808 2015-10-08  Paul Eggert  <eggert@cs.ucla.edu>
20810         Fix problems caught with --enable-gcc-warnings
20812         * src/image.c (lookup_rgb_color):
20813         * src/xfns.c (x_defined_color):
20814         * src/xterm.c (x_parse_color):
20815         Remove unused locals.
20817 2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>
20819         * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
20821 2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>
20823         Format initial input uniformly
20825         * lisp/calc/calc.el (calc-digit-start-entry): New function.
20826         * lisp/calc/calc.el (calcDigit-start):
20827         * lisp/calc/calc-aent.el (calc-alg-digit-entry):
20828         Use `calc-digit-start-entry' to format input.
20830 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
20832         Disable non-working pointerColor setting for X tooltip frame
20834         It generates a bunch of server traffic, but there's some bug wherein
20835         the new mouse cursor settings don't seem to get used.  In most
20836         situations the cursor isn't likely to be seen anyway, so it's not
20837         urgent to fix.
20839         * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
20841 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
20843         Reduce some unnecessary X calls
20845         * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
20846         call.  If border width is wanted, get it from the XGetGeometry call
20847         instead of calling XGetWindowAttributes on the same window.  Skip some
20848         X calls if we've already detected an error from the X server.
20849         * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
20850         (handle_one_xevent): Delete XSync call before x_uncatch_errors.
20852 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
20854         Reduce color allocation/query traffic in the TrueColor case
20856         When working with an X visual with TrueColor class, pixel values can
20857         be generated from the RGB values according to mask value provided by
20858         the server on connection.  Some of the image-handling code was already
20859         doing this.
20861         * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
20862         lookup_rgb_color.
20863         (x_mutable_colormap): New function.
20864         * src/image.c (lookup_rgb_color): Move pixel composition code to
20865         x_make_truecolor_pixel.
20866         (x_kill_gs_process): Call x_mutable_colormap.
20867         * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
20868         x_mutable_colormap.
20869         * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
20870         * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
20871         pixel value into RGB values directly, and don't send a request to the
20872         server.
20873         (x_alloc_nearest_color): For a TrueColor display, construct the pixel
20874         value with x_make_truecolor_pixel.
20875         (x_copy_color): For an immutable color map, just return the provided
20876         pixel value.
20878 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
20880         Cache XParseColor results in the X display info structure
20882         With repeated lookups of foreground and background colors for multiple
20883         faces per frame, we issue a lot of redundant color name lookups to the
20884         X server, waiting every time for the response.  On a remote network
20885         with, say, 30ms round-trip time, this can add nearly a full second to
20886         creation of a new frame.
20888         * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
20889         * src/image.c (get_spec_bg_or_alpha_as_argb):
20890         (xpm_init_color_cache, xpm_lookup_color):
20891         * src/xfns.c (x_defined_color):
20892         * src/xterm.c (x_parse_color): New function; caches color names not
20893         starting with "#" in the display-info structure.
20894         (x_delete_display): Delete the cache content.
20895         * src/xterm.h (struct color_name_cache_entry): New type.
20896         (x_parse_color): Declare.
20897         (struct x_display_info): Add a new field for the cache.
20899 2015-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20901         * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
20903 2015-10-07  Eli Zaretskii  <eliz@gnu.org>
20905         Fix segfault in image_size_error
20907         * src/image.c (image_size_error): Pass a Lisp string to
20908         image_error, not a C string.  (Bug#21641)
20910 2015-10-07  Simen Heggestøyl  <simenheg@gmail.com>
20912         Highlight CSS variable definitions
20914         * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
20915         CSS variables.  (Bug#21638)
20917 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
20919         * test/automated/tabulated-list-test.el: New file.
20920         Test bug#21639 and some basic functionality.
20922 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
20924         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
20925         Check if column can be sorted before trying.  (Bug#21639)
20927 2015-10-07  Nicolas Richard  <youngfrog@members.fsf.org>
20929         Add test for `self-insert-command' (bug#21633)
20931         * test/automated/cmds-tests.el: New file.
20933 2015-10-07  Martin Rudalics  <rudalics@gmx.at>
20935         * src/window.c (resize_frame_windows): Don't set root window's
20936         top position when resizing horizontally.
20938 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
20940         * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
20941         Document more possible values.
20943 2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20945         * lisp/textmodes/tex-mode.el: Use lexical-binding.
20947 2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20949         * lisp/indent.el (indent--default-inside-comment): New function.
20950         (indent-for-tab-command): Use it for `noindent' indentation.
20952 2015-10-06  Paul Eggert  <eggert@cs.ucla.edu>
20954         Fix bug in GC_CHECK_MARKED_OBJECTS check
20956         * src/alloc.c (mark_object): Fix bug in checking code.
20957         When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
20958         CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
20959         CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
20960         bucket.  The bug did not affect behavior either in the normal case
20961         where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
20962         not have an internal error that a properly-written
20963         CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
20965 2015-10-06  Tassilo Horn  <tsdh@gnu.org>
20967         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
20968         Add prettified version for \\Bbb{Q}.
20970 2015-10-06  Artur Malabarba  <bruce.connor.am@gmail.com>
20972         * test/automated/package-test.el (package-test-install-single):
20973         Add a test for bug#21625.
20975 2015-10-06  Aaron Ecay  <aaronecay@gmail.com>
20977         * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
20978           not a package-desc object.  Also clarify documentation.  (Bug#21625)
20980 2015-10-06  Eli Zaretskii  <eliz@gnu.org>
20982         Fix display of characters adjacent to ZWJ and ZWNJ
20984         * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
20985         characters the same as directional formatting controls.
20986         (bidi_level_of_next_char): Include all Bn characters in rule L1,
20987         as mandated by the UBA.
20989 2015-10-06  Andreas Schwab  <schwab@suse.de>
20991         * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
20992         number.  (Bug#21633)
20994 2015-10-05  Xue Fuqiao  <xfq.free@gmail.com>
20996         * doc/lispref/objects.texi (Window Type): Add a cross reference.
20998         * src/buffer.c (syms_of_buffer): Typo fix.  (Bug#21622)
21000 2015-10-05  Eli Zaretskii  <eliz@gnu.org>
21002         * lisp/language/misc-lang.el (composition-function-table):
21003         Fix entries for Arabic and Syriac.
21005 2015-10-05  Damien Cassou  <damien@cassou.me>
21007         Add first unit tests for auth-source.el
21009         * test/automated/auth-source-tests.el: New file.
21011 2015-10-05  Eli Zaretskii  <eliz@gnu.org>
21013         Remove redundant redisplay code
21015         * src/xdisp.c (redisplay_internal, try_cursor_movement)
21016         (try_window_reusing_current_matrix, try_window_id): Remove
21017         redundant restrictions on redisplay optimizations based on the
21018         frame's 'redisplay' flag.  See
21019         http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
21020         discussions.
21022 2015-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21024         * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
21026 2015-10-04  Xue Fuqiao  <xfq.free@gmail.com>
21028         Update tutorials/TUTORIAL.cn
21030         * etc/tutorials/TUTORIAL.cn: Improve translation.
21032 2015-10-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21034         * src/macfont.m (macfont_encode_char, syms_of_macfont):
21035         Remove unused vars.
21037 2015-10-04  Stefan Merten  <stefan@merten-home.de>
21039         Pull in version numbers from rst.el upstream release.
21041         * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
21042         (rst-svn-timestamp, rst-official-version)
21043         (rst-official-cvs-rev, rst-package-emacs-version-alist):
21044         Update version numbers.
21046 2015-10-04  Eli Zaretskii  <eliz@gnu.org>
21048         * test/automated/coding-tests.el: New file.
21050 2015-10-04  Michael Albinus  <michael.albinus@gmx.de>
21052         Improve XEmacs compatibility of Tramp
21054         * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
21055         Declare if it doesn't exist.
21056         (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
21057         (redisplay): Make it an alias if it doesn't exist.
21059         * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
21060         `file-remote-p' (due to XEmacs compatibility).
21062         * lisp/net/trampver.el (locate-dominating-file)
21063         (tramp-compat-replace-regexp-in-string): Autoload.
21064         (tramp-repository-get-version): Do not dupe byte-compiler.
21066 2015-09-02  K. Handa  <handa@gnu.org>
21068         fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
21070         * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
21071         Adjusted for the change of type of elements in the array
21072         MFLTGlyphString.glyphs.
21074 2015-10-04  Eli Zaretskii  <eliz@gnu.org>
21075             Michael Heerdegen  <michael_heerdegen@web.de>
21077         shr: fix too long lines in rendered buffers (Bug#21012)
21079         * lisp/net/shr.el (shr-insert-document, shr-fill-text):
21080         Correct calculation of available width.
21081         (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
21082         is nil.
21084 2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21086         Restore blank line before next section, erroneously erased
21087         in my previous commit
21089         * etc/compilation.txt (symbol ant): Add an additional trailing blank
21090         line to this section, so that there are two of them immediately before
21091         the next section.
21093 2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21095         Support MSW filename style for ant compilation error regexp
21097         * etc/compilation.txt (symbol ant):
21098         * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
21099         Support MSW filename style.
21101 2015-10-03  Paul Eggert  <eggert@cs.ucla.edu>
21103         * nt/INSTALL: Minor spelling and quote fixes.
21105         * lisp/ibuffer.el: Fix docstring length (Bug#21541).
21107 2015-10-03  Simen Heggestøyl  <simenheg@gmail.com>
21109         Maintain ordering of JSON object keys by default
21111         * lisp/json.el (json-object-type): Mention order handling in doc-string.
21112         (json--plist-reverse): New utility function.
21113         (json-read-object): Maintain ordering for alists and plists.
21114         (json-pretty-print): Ensure that ordering is maintained.
21116         * test/automated/json-tests.el (test-json-plist-reverse): New test for
21117         `json--plist-reverse'.
21118         (json-read-simple-alist): Update test to accommodate for changes in
21119         `json-read-object'.
21121         * etc/NEWS: Document the new behavior of the pretty printing functions.
21123 2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>
21125         * src/coding.c (complement_process_encoding_system): Revert last change.
21127 2015-10-03  Ulf Jasper  <ulf.jasper@web.de>
21129         * admin/MAINTAINERS: Add entry for Ulf Jasper.
21131 2015-10-03  Xue Fuqiao  <xfq.free@gmail.com>
21133         Doc fix for `defmacro'
21135         * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
21137 2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>
21139         More validatation of coding systems
21141         * src/fileio.c (Finsert_file_contents): Remove redundant
21142         coding-system check.
21143         (choose_write_coding_system): Likewise.
21144         * src/coding.c (complement_process_encoding_system): Check argument
21145         for valid coding system.
21147 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
21149         Avoid crashes in coding_inherit_eol_type
21151         * src/coding.c (coding_inherit_eol_type): Check the validity of
21152         the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
21153         (Bug#21602)
21155 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
21157         More validatation of coding system in 'write-region'
21159         * src/coding.c (choose_write_coding_system): More validation of
21160         coding-system from various sources.  Suggested by Andreas Schwab
21161         <schwab@linux-m68k.org>.  (Bug#21602)
21163 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
21165         Avoid crashes due to invalid coding-system
21167         * src/fileio.c (choose_write_coding_system)
21168         (Finsert_file_contents): Check validity of coding-system-for-write
21169         and coding-system-for-read bound by the caller.  (Bug#21602)
21171 2015-10-03  Tassilo Horn  <tsdh@gnu.org>
21173         Adapt to new prettify-symbols-unprettify-at-point default
21175         * etc/NEWS: Mention that unprettication of symbol at point is off
21176         by default.
21178 2015-10-03  Tassilo Horn  <tsdh@gnu.org>
21180         Revert my two recent process.c changes
21182         Revert "Improve last commit to process.c" and "Remove callback-handled
21183         channels from Available set" because they did not fix bug#21313.
21185         This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
21186         27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
21188 2015-10-02  Markus Triska  <triska@metalevel.at>
21190         * lisp/progmodes/prolog.el: Update and extend operator table.
21191         (prolog-smie-grammar): Add multifile, public etc.
21193 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
21195         Allow autogen even when Git is not installed
21197         * autogen.sh: Test ‘git status’ before trying to use Git.
21199 2015-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21201         * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
21202         Adjust lto/lfrom when we have uncommitted changes.
21204 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
21206         Fix problems found by clang 3.5.0
21208         * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
21209         * src/font.c (font_parse_family_registry):
21210         Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
21212 2015-10-02  Eli Zaretskii  <eliz@gnu.org>
21214         * nt/INSTALL: Update instructions for running autogen.sh.
21216         * nt/INSTALL: Point to ezwinports for libXpm binaries.
21218 2015-10-02  Daniel Colascione  <dancol@dancol.org>
21220         Fix winner in cl-lib not loaded case
21222         * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
21223         without requiring CL
21225 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
21227         Fix a few problems with directed quotes
21229         This is in response to a problem report by Kaushal Modi in:
21230         http://bugs.gnu.org/21588#25
21231         * lisp/cedet/mode-local.el (describe-mode-local-overload):
21232         * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
21233         * lisp/info-xref.el (info-xref-check-all-custom):
21234         * lisp/mail/emacsbug.el (report-emacs-bug-hook):
21235         Prefer directed to undirected single quotes in diagnostics.
21237 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
21239         Revert "Attempt to fix slow redisplay caused by last changes"
21241         * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
21242         (try_cursor_movement): Don't relax requirements for redisplay
21243         optimizations for the selected frame.  (Bug#21597)
21245         This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
21247 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
21249         Fix slow redisplay when daemon frame exists
21251         * src/xdisp.c (redisplay_internal): Don't consider daemon frames
21252         when looking for frames that need to be redisplayed.  (Bug#21597)
21254 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
21256         Attempt to fix slow redisplay caused by last changes
21258         * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
21259         (try_cursor_movement): Relax requirements for redisplay
21260         optimizations for the selected frame.  (Bug#21597)
21262 2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>
21264         * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
21265         Improve doc string.
21267 2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>
21269         * lisp/minibuffer.el (minibuffer-completion-help):
21270         Set default base-size, in case completion table does not set it.
21272 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
21274         Fix GUD display of GDB output with non-ASCII text
21276         * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
21277         (gdb-mi-decode): New function.
21278         (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
21279         decode octal escapes in GDB output.  (Bug#21572)
21281 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
21283         * nt/INSTALL: Document where to find XPM support files.
21285 2015-10-01  Tassilo Horn  <tsdh@gnu.org>
21287         Un- and re-prettification are not exclusive
21289         * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
21290         Re-apply prettification to previous symbol also when unprettifying
21291         next one.
21293 2015-10-01  Tassilo Horn  <tsdh@gnu.org>
21295         Don't unprettify symbol at point by default
21297         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
21298         Default to disabled (nil).
21300 2015-09-30  Artur Malabarba  <bruce.connor.am@gmail.com>
21302         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
21303         Support unprettifying when point is after a symbol.
21305         * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
21307 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
21309         Avoid assertion violations in push_prefix_prop
21311         * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
21312         a line that has a line-prefix defined starts with an image.  (Bug#21428)
21314 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
21316         Disable some display optimizations when frames need redisplay
21318         These optimizations were previously disabled by the
21319         windows_or_buffers_changed flag, which now is not set
21320         when only some frames need to be redrawn.
21321         * src/xdisp.c (redisplay_internal): Redisplay any frame whose
21322         'redisplay' flag is set.
21323         (try_window_reusing_current_matrix, try_window_id)
21324         (try_cursor_movement): Disable these optimizations when the
21325         frame's 'redisplay' flag is set.
21327 2015-09-30  Tassilo Horn  <tsdh@gnu.org>
21329         Don't modify buffer by unprettification
21331         * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
21332         (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
21333         modify buffer when setting/removing custom prettify-symbols-start/end
21334         text properties.  Add them to font-lock-extra-managed-props, too.
21336 2015-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21338         Try to avoid redisplaying all frames when creating a new one
21340         * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
21341         * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
21342         (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
21343         * src/frame.c (x_set_screen_gamma): Set the specific frame's
21344         `redisplay' bit rather than windows_or_buffers_changed.
21346         * src/window.c (apply_window_adjustment): Remove redundant setting of
21347         windows_or_buffers_changed.
21349         * src/xdisp.c (redisplay_internal): Set the specific frame's
21350         `redisplay' bit rather than update_mode_lines in response to
21351         cursor_type_changed.
21352         (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
21353         (AINC): Adjust accordingly.
21355 2015-09-30  Tassilo Horn  <tsdh@gnu.org>
21357         Implement unprettification of symbol at point
21359         * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
21360         symbol at point.
21361         (prettify-symbols--current-symbol-bounds): New variable.
21362         (prettify-symbols--post-command-hook): New function.
21363         (prettify-symbols-unprettify-at-point): New defcustom.
21364         (prettify-symbols-mode): Use it.
21365         (prettify-symbols--compose-symbol): Use them.
21367 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21369         * src/macfont.m (mac_font_descriptor_supports_languages):
21370         Regard "zh" as synonym of "zh-Hans".
21372 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21374         Work around crash when displaying etc/HELLO on OS X 10.11
21376         * src/macfont.m (mac_font_get_weight)
21377         (mac_font_descriptor_get_adjusted_weight): New functions.
21378         (macfont_store_descriptor_attributes): Adjust weight.
21380 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21382         * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
21384 2015-09-30  Nicolas Petton  <nicolas@petton.fr>
21386         * lisp/arc-mode.el (archive-rar-summarize): Better alignment
21387         of the columns.
21389 2015-09-30  Nicolas Petton  <nicolas@petton.fr>
21391         Use unar and lsar to handle RAR archives in arc-mode
21393         * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
21394         on unar and lsar instead of unrar-free for RAR archives (bug#17663).
21396 2015-09-30  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)
21398         Clarify :create in auth-source's docs
21400         * lisp/gnus/auth-source.el (auth-source-search):
21401         Clarify :create's meaning.
21403 2015-09-30  Phil Sainty  <psainty@orcon.net.nz>
21405         Avoid empty -path arguments in rgrep
21407         * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
21408         the list produced according to grep-find-ignored-directories,
21409         before passing it to Find/Grep invocation.  (Bug#21548)
21411 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
21413         Clarify documentation of pos-visible-in-window-p
21415         * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
21416         t for POS.  See
21417         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
21418         for the original report.
21420         * doc/lispref/windows.texi (Window Start and End): Clarify the
21421         meaning of t for the POSITION argument of pos-visible-in-window-p.
21423 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21425         * lisp/progmodes/prolog.el: Fix various indentation cases.
21426         (prolog-operator-chars): New const (add \\).
21427         (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
21428         (prolog-smie-rules): Add rules according to bug#21526.
21430 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21432         * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
21433         (sh-indent-after-continuation): Add new value `always' (bug#17620)
21434         (sh-smie-sh-rules): Remove old handling of continued lines.
21435         (sh-smie--indent-continuation): New function.
21436         (sh-set-shell): Use it.
21438 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21440         * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
21441         Remove redundant :group keyword args.
21442         (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
21443         Remove variables.
21444         (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
21445         turn them into compile-time variables.
21446         Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
21447         Add rules for break, continue, return, global, and persistent.
21448         Refine the rule for "until".
21449         (octave-smie--funcall-p, octave-smie--end-index-p)
21450         (octave-smie--in-parens-p): New functions.
21451         (octave-smie-backward-token, octave-smie-forward-token): Use them to
21452         distinguish the "enumeration" function and the "end" index from
21453         their corresponding keywords.
21454         (octave--block-offset-keywords): New constant.
21455         (octave-smie-rules): Use it.  Adjust rules for new global/persistent
21456         parsing.
21457         (octave-reserved-words): Redefine using octave-smie-grammar.
21458         (octave-font-lock-keywords): Use octave-smie--funcall-p and
21459         octave-smie--end-index-p.
21461 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21463         * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
21465 2015-09-29  Eli Zaretskii  <eliz@gnu.org>
21467         * nt/INSTALL: Remove references to GTK site.
21468         That site no longer offers Windows downloads.
21470 2015-09-29  Eli Zaretskii  <eliz@gnu.org>
21472         * nt/INSTALL: Add instructions for installing Git.
21474 2015-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
21476         * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
21477         use colors.  Suggested by Eli Zaretskii.
21479 2015-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
21481         * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
21482         not supporting 256 above colors (bug#21557).
21484 2015-09-28  Dmitry Gutov  <dgutov@yandex.ru>
21486         Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
21488         This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
21490 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
21492         Add documentation for seq.el
21494         * doc/lispref/sequences.texi: Add documentation regarding extending
21495         seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
21496         seq-do and seq-map.
21498 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
21500         Better documentation for seq-some
21502         * doc/lispref/sequences.texi:
21503         * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
21504         guarantee that the returned value is the first non-nil value that
21505         resulted from applying the predicate.
21507 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
21509         * lisp/arc-mode.el: Sharp-quote function arguments.
21511 2015-09-28  Eli Zaretskii  <eliz@gnu.org>
21513         Avoid redisplay error in ediff-regions-wordwise
21515         * lisp/vc/ediff-util.el
21516         (ediff-clone-buffer-for-region-comparison): Make sure the mark is
21517         set before activating it.  (Bug#21567)
21519 2015-09-28  Eli Zaretskii  <eliz@gnu.org>
21521         Another attempt to fix crashes due to prematurely freed faces
21523         * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
21524         faces for as long as we might have desired matrices that reference
21525         those faces.  (Bug#21428)
21527 2015-09-28  Tassilo Horn  <tsdh@gnu.org>
21529         Add auctex development list email address
21531 2015-09-28  Tassilo Horn  <tsdh@gnu.org>
21533         * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
21535 2015-09-28  Arash Esbati  <esbati@gmx.de>  (tiny change)
21537         Improve wrapfig package support and caption parsing
21539         * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
21540         Correct description string and add wraptable environment.
21541         (reftex-default-context-regexps): Improve caption regexp.
21543 2015-09-28  Anders Lindgren  <andlind@gmail.com>
21545         Respect value of frame_resize_pixelwise when handling fullscreen state
21547         * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
21548         setting size increments.
21550 2015-09-27  Michael Albinus  <michael.albinus@gmx.de>
21552         * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
21554 2015-09-27  Simen Heggestøyl  <simenheg@gmail.com>
21556         Add prettify-symbols-alist for js-mode
21558         * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
21559         (js-mode): Use it.
21561 2015-09-27  Eli Zaretskii  <eliz@gnu.org>
21563         * nt/subdirs.el: File deleted (no longer used).
21565 2015-09-26  Alan Mackenzie  <acm@muc.de>
21567         Fix follow-scroll-up/down, making them replacements for scroll-up/down
21569         1. Allow point to move between follow windows in scroll operations.
21570         2. Fix bug where `right-char' just before EOB caused spurious scrolling,
21571         when EOB was isolated in the last follow window.
21573         * lisp/follow.el (follow-fixed-window): New variable.
21574         (follow-get-scrolled-point): New function.
21575         (follow-scrol-up, follow-scroll-down): Add autoload cookies.
21576         Reformulate the code.  Put `scroll-command' properties on the functions.
21577         Correct minor errors in ...-down's doc string and code.
21578         (follow-calc-win-end): Amend incomplete doc string.  Use
21579         `pos-visible-in-window-p' to check whether EOB is in the window.
21580         (follow-estimate-first-window-start): Correct an off-by-1 error.
21581         (follow-adjust-window): Add handling for explicit scrolling operations.
21583 2015-09-26  Paul Eggert  <eggert@cs.ucla.edu>
21585         * admin/MAINTAINERS: Add self, plus list some more files
21586         sans maintaners.
21588 2015-09-26  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
21590         New DWIM commands for changing letter-case
21592         * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
21593         New functions.  (Bug#21501)
21595 2015-09-26  Eli Zaretskii  <eliz@gnu.org>
21597         * etc/PROBLEMS: Document problems with pasting on MS-Windows.
21599 2015-09-26  Eli Zaretskii  <eliz@gnu.org>
21601         Make face realization be more frame-specific
21603         * src/frame.h (struct f): New flag face_change.
21604         * src/xfaces.c (Finternal_make_lisp_face)
21605         (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
21606         (update_face_from_frame_parameter): Set the face_change flag only
21607         for the frame whose faces are affected.
21608         * src/xdisp.c (init_iterator): If a frame's face_change flag is
21609         set, free faces only on that frame.
21610         (redisplay_internal): Disable "display optimization 1" if the
21611         frame's face_change flag is set.
21612         (redisplay_window): Don't allow skipping a window's redisplay if
21613         its frame's face_change flag is set.
21614         * src/frame.c (x_set_screen_gamma): Instead of calling
21615         Fclear_face_cache, call clear_face_cache and set
21616         windows_or_buffers_changed to a non-zero value.  This avoids
21617         setting the global face_change flag that triggers face realization
21618         on all frames and thorough redisplay of all of them.
21620         * lisp/term/tty-colors.el (tty-register-default-colors): Don't
21621         clear face cache if the selected frame is a GUI frame.
21623 2015-09-26  Tassilo Horn  <tsdh@gnu.org>
21625         Remove font-latex specific check
21627         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
21628         Use syntax-ppss data to identify verbatim contents.
21630 2015-09-25  Tassilo Horn  <tsdh@gnu.org>
21632         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
21633         Fix some false negatives.
21635 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
21637         Reorder Windows version in Emacs manifests
21639         * nt/emacs-x64.manifest:
21640         * nt/emacs-x86.manifest: Reorder Windows version from lowest to
21641         highest.
21643 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
21645         Update Emacs manifest files for Windows 10
21647         * nt/emacs-x86.manifest:
21648         * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
21650 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
21652         Avoid non-ASCII decoding errors in C src files
21654         * src/nsterm.m:
21655         * src/lisp.h:
21656         * src/editfns.c:
21657         * src/doprnt.c: Add 'coding' cookies -- these files include
21658         Unicode characters and should be decoded as UTF-8.
21660 2015-09-25  Alan Mackenzie  <acm@muc.de>
21662         Resurrect edebug-set-initial-mode, repurposing it to set the global mode
21664         * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
21665         amend to match current modes and functions.
21666         (edebug-set-initial-mode): Uncomment and change from setting a defun's
21667         `edebug-initial-mode''s property to setting the variable
21668         `edebug-initial-mode'.
21669         (top level): Create new binding C-x C-a C-m for
21670         `edebug-set-initial-mode'.
21672         * doc/lispref/edebug.texi (Edebug Execution Modes): Document
21673         `edebug-set-initial-mode' and its new key binding.
21674         (Edebug Options): Mention the new command in the pertinent place.
21676         * etc/NEWS: Write entry for this change.
21678 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
21680         Avoid non-ASCII decoding errors in Texinfo files
21682         * doc/misc/tramp.texi:
21683         * doc/lispref/strings.texi:
21684         * doc/lispref/positions.texi:
21685         * doc/lispref/help.texi:
21686         * doc/lispref/functions.texi:
21687         * doc/lispintro/emacs-lisp-intro.texi:
21688         * doc/emacs/text.texi:
21689         * doc/emacs/modes.texi:
21690         * doc/emacs/mini.texi:
21691         * doc/emacs/display.texi:
21692         * doc/emacs/custom.texi:
21693         * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
21694         Unicode characters and should be decoded as UTF-8.
21695         * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
21696         apostrophe unnecessarily.
21698 2015-09-25  Paul Eggert  <eggert@cs.ucla.edu>
21700         Merge from gnulib
21702         This incorporates:
21703         2015-09-25 c-ctype: rewrite to use inline functions
21704         2015-09-24 maint: add coding cookies to non-ASCII sources
21705         2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
21706         * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
21707         * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
21708         * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
21709         * lib/set-permissions.c:
21710         Copy from gnulib.
21712 2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>
21714         Update publicsuffix.txt from upstream
21716         * etc/publicsuffix.txt: Update from
21717         https://publicsuffix.org/list/effective_tld_names.dat
21718         dated 2015-09-24 17:29:21 UTC.
21720 2015-09-24  Eli Zaretskii  <eliz@gnu.org>
21722         Prevent timers from messing up TTY menus
21724         * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
21725         the TTY menu is open.  (Bug#21530)
21727 2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>
21729         No need to mention K&R C in c-mode intro
21731 2015-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21733         Fix recent bootstrap problems
21735         * src/syntax.c (parse_sexp_propertize): Fix last fix.
21736         * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
21737         * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
21739 2015-09-24  Michael Albinus  <michael.albinus@gmx.de>
21741         * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
21743 2015-09-23  Ivan Andrus  <darthandrus@gmail.com>
21745         Properly quote nested xml comments (Bug#6267) (Bug#20001)
21747         * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
21748         (nxml-mode): Set comment-quote-nested-function.
21750 2015-09-23  Ivan Andrus  <darthandrus@gmail.com>
21752         Allow major-modes full control over quoting nested comments
21754         * lisp/newcomment.el (comment-quote-nested-function): New variable.
21755         (comment-quote-nested-default): New function.
21756         (comment-quote-nested): Use `comment-quote-nested-function'.
21758 2015-09-23  Paul Eggert  <eggert@cs.ucla.edu>
21760         Prefer CALLN in a few more places
21762         * src/macfont.m (macfont_set_family_cache):
21763         * src/nsterm.m (append2):
21764         * src/xterm.c (x_cr_export_frames):
21765         Prefer CALLN to allocating the arg arrays by hand.
21767 2015-09-23  Michael Albinus  <michael.albinus@gmx.de>
21769         Adapt file-notify-test02-events test case
21771         * test/automated/file-notify-tests.el (file-notify-test02-events):
21772         Create a new watch for every test.
21774 2015-09-23  Michael Albinus  <michael.albinus@gmx.de>
21776         Continue gfilenotify.c implementation of missing parts
21778         * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
21779         `gfile-add-watch' call.
21780         (file-notify-rm-watch): Modify `file-notify-descriptors' only
21781         after calling the low level functions.
21783         * src/gfilenotify.c (dir_monitor_callback): Check, whether
21784         event_type is expected.
21785         (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
21786         (Fgfile_rm_watch): Fix typo.
21787         (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
21789 2015-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21791         * src/syntax.c (parse_sexp_propertize): Handle spurious
21792         e_property_truncated flag.
21793         (update_syntax_table_forward): Remove invalid assertion.
21795 2015-09-23  Eli Zaretskii  <eliz@gnu.org>
21797         * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
21798         space display spec on text-mode terminals, by calling
21799         PRODUCE_GLYPHS instead of x_produce_glyphs.  Remove the
21800         HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
21801         test for a GUI frame.
21803 2015-09-23  Oleh Krehel  <ohwoeowho@gmail.com>
21805         Move let-when-compile to lisp-mode.el
21807         This fixes the bootstrapping problem of `let-when-compile' using
21808         `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
21810 2015-09-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
21812         * lisp/url/url-http.el (url-http-parse-headers): Do not
21813         automatically include Authorization header in redirect.
21814         (Bug#21350)
21816 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
21818         Clarify documentation of ':relative-width'
21820         * doc/lispref/display.texi (Specified Space): Document that
21821         ':relative-width' is only supported on GUI frames.
21823 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
21825         Fix 'current-column' in presence of :relative-width
21827         * src/indent.c (check_display_width): Support ':relative-width'
21828         in a display spec that specifies a stretch glyph.  (Bug#21533)
21830 2015-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
21832         Reformat the pdbtrack remote-file fix ChangeLog.2 entry
21834         ... to conform better to CONTRIBUTE guidelines.
21836 2015-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21838         * lisp/progmodes/prolog.el: Fix indentation of empty line
21840         * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
21841         `empty-line-token' element.
21842         (smie-indent-empty-line): New function.
21843         (smie-indent-functions): Add it.
21845         * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
21846         behavior and use the new `empty-line-token' element (bug#21526).
21847         (prolog-mode-variables): Fix comment-start-skip setting to match
21848         comment-start.
21850         * test/indent/prolog.prolog: Add nested indentation tests.
21852         * lisp/newcomment.el (comment-normalize-vars): Fix default value of
21853         comment-start-skip not to misuse submatch 1.
21855 2015-09-22  Alan Mackenzie  <acm@muc.de>
21857         Make description of `edebug-initial-mode' user friendly
21859         Fixes bug#21365.
21861         * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
21862         description of `edebug-initial-mode' from that of its implementation
21863         to that of its visual effect and use.  Move the paragraph higher up.
21865 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
21867         lisp/progmodes/gud.el (gud-format-command): Fix last commit
21869         * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
21870         functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
21872 2015-09-22  Tassilo Horn  <tsdh@gnu.org>
21874         Improve last commit to process.c
21876 2015-09-22  Michael Albinus  <michael.albinus@gmx.de>
21878         Implement gfile-valid-p
21880         * lisp/filenotify.el (file-notify-callback): Fix typo.
21881         (gfile-valid-p): Remove defalias.
21883         * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
21884         the file or directory to be watched is deleted.
21885         (Fgfile_add_watch): Make watch_object a triple.
21886         (Fgfile_rm_watch): Check, whether watch is cancelled already.
21887         (Fgfile_valid_p): New defun.
21888         (syms_of_gfilenotify): Declare Sgfile_valid_p.
21890 2015-09-22  Tassilo Horn  <tsdh@gnu.org>
21892         Remove callback-handled channels from Available set
21894         * src/process.c (wait_reading_process_output): Remove channel from
21895         Available set if it is handled by a callback, e.g., dbus or
21896         inotify (bug#21313).
21898 2015-09-21  Mark Oteiza  <mvoteiza@udel.edu>
21900         Use lunate epsilon for TeX \epsilon
21902         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
21903         Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
21904         \epsilon to use GREEK LUNATE EPSILON SYMBOL
21906 2015-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21908         * lisp/progmodes/prolog.el: Fix nested electric if-then-else
21910         * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
21911         rather than outermost paren (bug#21526).
21913 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
21915         Improve git diff hunk headers for .el, .texi
21917         Problem reported by Alan Mackenzie in:
21918         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
21919         * .gitattributes (*.el, *.texi): New patterns.
21920         * autogen.sh: Configure diff.elisp.xfuncname and
21921         diff.texinfo.xfuncname if using Git.
21923 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
21925         Don't rely on defaults in decoding UTF-8 encoded Lisp files
21927         * lisp/replace.el:
21928         * lisp/textmodes/rst.el:
21929         * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
21931 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
21933         Clarify or replace a few \u escapes
21935         * doc/lispref/nonascii.texi (Character Properties)
21936         More-detailed commentary for \u escapes.
21937         * lisp/progmodes/python.el (python--prettify-symbols-alist):
21938         * lisp/replace.el (query-replace-from-to-separator):
21939         * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
21940         (rst-mode-syntax-table):
21941         * lisp/whitespace.el (whitespace-display-mappings):
21942         Prefer actual character to \u escape when this makes the code
21943         easier to follow in the usual case where Unicode chars can be
21944         displayed.
21946 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
21948         Pacify GCC -Wmaybe-uninitialized in xdisp.c
21950         * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
21951         than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
21952         charpos.  The loop should always execute at least once anyway.
21954 2015-09-21  Tassilo Horn  <tsdh@gnu.org>
21956         Signal error on invalid regexp
21958         * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
21959         Signal an error when the user tries searching with a regexp
21960         matching the empty string.
21962 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
21964         Another fix of file-notify-tests for w32notify
21966         * test/automated/file-notify-tests.el (file-notify-test02-events):
21967         Further adaptation for w32notify: reduce the number of expected
21968         'changed' events.  (Bug#21435)
21970 2015-09-21  Michael Albinus  <michael.albinus@gmx.de>
21972         Adapt tests and manual for w32notify
21974         * doc/lispref/os.texi (File Notifications): w32notify does not
21975         send `attribute-changed' events.
21977         * test/automated/file-notify-tests.el (file-notify--test-with-events):
21978         Simplify parameters.  Adapt all callees.
21979         (file-notify-test02-events): w32notify does not send
21980         `attribute-changed' events.
21981         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
21982         Do not skip in case of w32notify.  Simply ignore this part of the test.
21984 2015-09-21  Dima Kogan  <dima@secretsauce.net>
21986         Fix setting breakpoints when remote-debugging
21988         * lisp/progmodes/gud.el (gud-format-command): Send localized file
21989         names to the debugger running on the remote.  (Bug#13304)
21991 2015-09-21  Nicolas Petton  <nicolas@petton.fr>
21993         Better docstring and parameter name for seq-find
21995         * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
21996         the parameter `sentinel' to `default'.
21998         * doc/lispref/sequences.texi (Sequence Functions): Update the
21999           documentation for `seq-find' accordingly.
22001 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
22003         Avoid infinite recursion while displaying box face
22005         * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
22006         the previous string/buffer character position under bidi
22007         iteration.  (Bug#21428)
22009 2015-09-21  Anders Lindgren  <andlind@gmail.com>
22011         Keep upper edge unchanged when changing size of NS frame
22013         * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
22014         (Bug#21415).
22016 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22018         * lisp/progmodes/prolog.el: Improve handling of if/then/else.
22019         (prolog-smie-rules): Accommodate standard if/then/else special
22020         indentation.
22021         (prolog-mode): Add . to electric-indent-chars.
22022         (prolog-electric--if-then-else): Re-indent the line before adding space
22023         after the new char (bug#21526).
22025 2015-09-20  Mark Oteiza  <mvoteiza@udel.edu>
22027         Add prettify symbols to python-mode
22029         * lisp/progmodes/python.el (python-prettify-symbols-alist):
22030         New variable.
22031         (python-mode): Use it
22033 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22035         * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
22037 2015-09-20  Jostein Kjønigsen  <jostein@secure.kjonigsen.net>  (tiny change)
22039         (compilation-error-regexp-alist-alist): Tone down guile-file
22041         * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
22042         Make guile-file a bit less enthusiastic (bug#21496).
22044 2015-09-20  Drew Csillag  <drew@thecsillags.com>
22046         * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
22047         Fix m4_* highlighting.
22049         * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
22050         of commands when they have a "m4_" prefix.
22052 2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>
22054         '.' -> `.' in doc string
22056         * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
22057         individual chars with grave quotes instead of straight quotes, as
22058         this works better when they are translated to curved quotes.
22060 2015-09-20  Michael Albinus  <michael.albinus@gmx.de>
22062         Improve file notifications, especially for Tramp
22064         * doc/lispref/files.texi (Magic File Names):
22065         Mention `file-notify-valid-p'.
22067         * doc/lispref/os.texi (File Notifications):
22068         Describe `file-notify-valid-p'.
22070         * etc/NEWS: Add `file-notify-valid-p'.
22072         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
22073         Improve implementation.
22074         (tramp-gvfs-monitor-file-process-filter): Rename from
22075         `tramp-gvfs-file-gvfs-monitor-file-process-filter'.  Delete
22076         process if appropriate.
22078         * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
22079         Improve implementation.
22080         (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
22081         `tramp-sh-file-gvfs-monitor-dir-process-filter'.  Delete process
22082         if appropriate.
22083         (tramp-sh-inotifywait-process-filter): Rename from
22084         `tramp-sh-file-inotifywait-process-filter'.  Delete process if
22085         appropriate.
22087         * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
22088         Use `delete-process'.
22089         (tramp-handle-file-notify-valid-p): Check also, that file or
22090         directory to be watched still exists.
22092         * test/automated/file-notify-tests.el (file-notify--test-timeout):
22093         New defun.  Use it at all places a timeout is needed.
22094         (file-notify--test-cleanup): Delete directories recursively.
22095         Cleanup also Tramp connections.
22096         (file-notify-test02-events): Add tests for `attribute-change'.
22097         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
22098         Add tests for `file-notify-rm-watch'.
22100 2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>
22102         Use %s to format strings instead of splicing them
22104         If FOO might contain quotes that are part of a file or variable
22105         name, the quotes should not be translated when showing FOO’s name
22106         in a diagnostic.  So, for example, (message (concat (FOO ": bar")))
22107         is not quite right, as it would translate FOO’s quotes.
22108         Change it to (message "%s: bar" FOO) instead.
22109         * lisp/allout.el (allout-process-exposed):
22110         * lisp/calc/calc-ext.el (calc-do-prefix-help):
22111         * lisp/calc/calc-store.el (calc-store-into):
22112         * lisp/calendar/todo-mode.el (todo-category-completions):
22113         * lisp/cedet/semantic/complete.el (semantic-completion-message):
22114         * lisp/org/ob-latex.el (convert-pdf):
22115         * lisp/org/org-crypt.el (org-crypt-check-auto-save):
22116         * lisp/org/ox-latex.el (org-latex-compile):
22117         * lisp/org/ox-man.el (org-man-compile):
22118         * lisp/org/ox-odt.el (org-odt--export-wrap):
22119         * lisp/org/ox-texinfo.el (org-texinfo-compile):
22120         * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
22121         * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
22122         (verilog-signals-combine-bus, verilog-read-defines)
22123         (verilog-getopt-file, verilog-expand-dirnames)
22124         (verilog-modi-lookup, verilog-modi-modport-lookup-one):
22125         * lisp/term/ns-win.el (ns-spi-service-call):
22126         Use %s to avoid translating quotes of file names etc. in diagnostics.
22128 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22130         * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
22131         (js-mode): Don't set syntax-begin-function.
22133 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22135         * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
22136         syntax-begin-function is a symbol.
22138 2015-09-20  Eli Zaretskii  <eliz@gnu.org>
22140         Improve documentation of 'run-at-time'
22141         * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
22142         In particular, don't refer to 'diary-entry-time', because it is
22143         unavailable until diary-lib is loaded.  Also, refer to
22144         'timer-duration-words', not 'timer-duration', as the latter's doc
22145         string says nothing about the accepted strings.
22147 2015-09-19  Jay Belanger  <jay.p.belanger@gmail.com>
22149         * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
22151 2015-09-19  Ken Manheimer  <ken.manheimer@gmail.com>
22153         Repair pdbtrack remote file tracking
22154         * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
22155         Rectify pdbtrack so it follows transitions from one remote source
22156         file to the next.
22158 2015-09-19  Artur Malabarba  <bruce.connor.am@gmail.com>
22160         * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
22162 2015-09-19  Eli Zaretskii  <eliz@gnu.org>
22164         Adapt vc-src to the old-new vc-checkin API
22165         * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
22166         additional optional parameter.
22168 2015-09-19  Simen Heggestøyl  <simenheg@gmail.com>
22170         Add overflow module to CSS property list
22171         * lisp/textmodes/css-mode.el (css-property-ids): Add properties
22172         from CSS Overflow Module Level 3.
22174 2015-09-19  Eli Zaretskii  <eliz@gnu.org>
22176         Fix documentation of "C-u C-x v v"
22177         * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
22178         documentation of "C-u C-x v v" match what the code does.
22180         Resurrect the ability to specify a revision in vc-next-action
22181         * lisp/vc/vc-bzr.el (vc-bzr-checkin):
22182         * lisp/vc/vc-dav.el (vc-dav-checkin):
22183         * lisp/vc/vc-git.el (vc-git-checkin):
22184         * lisp/vc/vc-hg.el (vc-hg-checkin):
22185         * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
22186         an additional optional argument, the revision to checkin.
22187         * lisp/vc/vc-sccs.el (vc-sccs-checkin):
22188         * lisp/vc/vc-cvs.el (vc-cvs-checkin):
22189         * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
22190         a revision to checkin.
22191         * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
22192         revision when checking in files.
22193         See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
22194         for the details.
22196 2015-09-18  Wilson Snyder  <wsnyder@wsnyder.org>
22198         * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
22199         (verilog-decls-princ, verilog-modport-princ)
22200         (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
22202 2015-09-17  Jay Belanger  <jay.p.belanger@gmail.com>
22204         Fix the routine for help on Calc's prefixes
22205         * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
22206         (calc-do-prefix-help): Use `read-char' to determine the next Calc
22207         command.
22209 2015-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22211         * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
22212         (font-lock-fontify-block): Don't let-bind it.
22213         (font-lock-compile-keywords): Don't use it.
22214         (font-lock-set-defaults): Don't set it.  Allow the variable alist to
22215         start one slot earlier, instead.
22216         * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
22217         Don't declare.
22218         (syntax-ppss): Don't use it either.
22219         * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
22220         from docstring.
22221         * doc/emacs/display.texi (Font Lock): Don't mention
22222         font-lock-beginning-of-syntax-function.
22223         * doc/lispref/modes.texi (Font Lock Basics): Update description of
22224         font-lock-defaults.
22225         (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
22226         * lisp/loadhist.el (unload-feature-special-hooks):
22227         Remove font-lock-beginning-of-syntax-function.
22228         * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
22229         * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
22230         font-lock-beginning-of-syntax-function.
22232 2015-09-17  Paul Eggert  <eggert@cs.ucla.edu>
22234         Backslash cleanup in Elisp source files
22235         This patch should not change behavior.  It typically omits backslashes
22236         where they are redundant (e.g., in the string literal "^\$").
22237         In a few places, insert backslashes where they make regular
22238         expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
22239         "^\\*", which has the same effect as a regular expression.
22240         Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
22241         and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
22242         RCS IDs, as that makes it clearer that the backslash is intended.
22244         Some more minor backslash fixes
22245         * test/automated/compile-tests.el (compile-tests--test-regexps-data):
22246         * test/automated/info-xref.el (info-xref-test-write-file):
22247         Double backslashes in strings.
22249         Fix several backslash typos in Elisp strings
22250         * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
22251         (todo-find-filtered-items-file, todo-reset-nondiary-marker)
22252         (todo-reset-done-string, todo-reset-comment-string)
22253         (todo-reset-highlight-item):
22254         * lisp/erc/erc-networks.el (erc-networks-alist):
22255         * lisp/gnus/gnus-art.el (gnus-button-handle-library):
22256         * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
22257         * lisp/gnus/nntp.el (nntp-via-shell-prompt)
22258         (nntp-telnet-shell-prompt):
22259         * lisp/gnus/spam-report.el (spam-report-gmane-regex):
22260         * lisp/image-dired.el (image-dired-rotate-original):
22261         (image-dired-get-exif-file-name):
22262         * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
22263         * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
22264         * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
22265         * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
22266         * lisp/net/shr-color.el (shr-color->hexadecimal):
22267         * lisp/org/org-bibtex.el (org-bibtex-fields):
22268         * lisp/org/org-docview.el (org-docview-export):
22269         * lisp/org/org-entities.el (org-entities):
22270         * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
22271         * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
22272         * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
22273         (ebnf-style-database):
22274         * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
22275         * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
22276         * lisp/progmodes/sql.el (sql-product-alist):
22277         * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
22278         (verilog-error-font-lock-keywords)
22279         (verilog-assignment-operator-re):
22280         * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
22281         * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
22282         * lisp/vc/add-log.el (change-log-version-number-regexp-list):
22283         Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
22284         For example, to get the regular expression ‘\.’ use the string
22285         literal "\\.", not "\." (which is equivalent to ".").
22286         * lisp/emulation/viper-util.el (viper-glob-unix-files):
22287         Remove stray ‘\j’ from string.
22288         * lisp/gnus/nntp.el (nntp-via-shell-prompt)
22289         (nntp-telnet-shell-prompt):
22290         Treat > like $ when matching a shell prompt.
22291         * lisp/progmodes/make-mode.el (makefile-browse):
22292         Properly quote a diagnostic.
22294         Fix minor quoting problems in diagnostics
22295         * lisp/tutorial.el (tutorial--describe-nonstandard-key):
22296         * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
22297         Follow text-quoting-style in diagnostic, and quote a file name.
22299 2015-09-17  Eli Zaretskii  <eliz@gnu.org>
22301         * doc/lispref/frames.texi (Cursor Parameters):
22302         Document 'x-stretch-cursor'.
22304 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22306         Omit unnecessary \ before paren in C docstrings
22307         Although \( is needed in docstrings in Elisp code, it is not needed in
22308         docstrings in C code, since C function definitiions do not start with
22309         a parenthesis.  The backslashes made the docstrings a bit harder to
22310         read and to format in columns.  Also, some C docstrings had ( in
22311         column 1 and this did not appear to be causing any problems.  So,
22312         simplify C docstrings by replacing \( with ( and \) with ).
22314         A few more minor quoting fixes in a script and a text file
22316         Minor quoting fixes in scripts and doc
22317         Prefer straight quotes in random script files, as they are not
22318         converted.  Prefer grave quotes in a couple of places in the manual
22319         that were missed earlier, as these quotes are converted.
22321         Minor backslash fixes in manuals and scripts
22322         * Makefile.in (install-arch-indep):
22323         * admin/charsets/compact.awk:
22324         * admin/charsets/gb180302.awk (gb_to_index):
22325         * admin/charsets/gb180304.awk (gb_to_index):
22326         Avoid undefined behavior in Awk regular expression backslashes.
22327         * doc/misc/efaq.texi (Matching parentheses):
22328         Omit unnecessary backslashes.
22329         * doc/misc/gnus-faq.texi (FAQ 5-8):
22330         Avoid undefined behavior in suggested sed backslash usage.
22332         Add -Wswitch to --enable-gcc-warnings
22333         Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
22334         * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
22335         * lib-src/etags.c (main, consider_token, C_entries):
22336         * src/coding.c (encode_invocation_designation):
22337         * src/data.c (Ftype_of):
22338         * src/eval.c (Fdefvaralias, default_toplevel_binding)
22339         (Fbacktrace__locals, mark_specpdl):
22340         * src/lisp.h (record_xmalloc):
22341         * src/syntax.c (scan_lists, scan_sexps_forward):
22342         * src/window.c (window_relative_x_coord):
22343         * src/xdisp.c (push_it, pop_it):
22344         * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
22345         Error out or do nothing (as appropriate) if a switch statement
22346         with an enum value does not cover all of the enum.
22347         * src/dispextern.h (struct iterator_stack_entry.u.comp):
22348         Remove unused member discovered by using -Wswitch.
22349         * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
22350         * src/vm-limit.c (check_memory_limits):
22351         Simplify warning-diagnostic computation by using a table.
22353         etags ‘fatal’ function is now printf-like
22354         * lib-src/etags.c (fatal): Now printf-like.  All callers changed.
22355         Also, now static; not clear why it needed to be extern.
22356         (verror): New function, with most of the old contents of ‘error’.
22357         (fatal, error): Use it.
22359 2015-09-16  Eli Zaretskii  <eliz@gnu.org>
22361         More adaptations in file-notify-tests.el
22362         * test/automated/file-notify-tests.el
22363         (file-notify-test05-dir-validity): Skip for w32notify in
22364         batch-mode.  (Bug#21432)
22366 2015-09-16  Michael Albinus  <michael.albinus@gmx.de>
22368         Adapt test in file-notify-tests.el
22369         * test/automated/file-notify-tests.el
22370         (file-notify-test04-file-validity): Skip for w32notify in
22371         batch-mode.  Add test lost last commit.
22373 2015-09-16  Dima Kogan  <dima@secretsauce.net>
22375         winner no longer holds on to dead frames
22376         * lisp/winner.el (winner-change-fun): Cull dead frames.
22377         This prevents a potentially massive memory leak.  See:
22378         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
22380 2015-09-16  Michael Albinus  <michael.albinus@gmx.de>
22382         Use common report_file_notify_error function
22383         * src/fileio.c (report_file_notify_error): New function.
22384         * src/inotify.c (report_inotify_error): Remove function.
22385         (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
22386         (Finotify_rm_watch): Use report_file_notify_error.
22387         * src/lisp.h (report_file_notify_error): Declare external function.
22388         * src/w32notify.c (report_w32notify_error): Remove function.
22389         (Fw32notify_add_watch, Fw32notify_rm_watch):
22390         Use report_file_notify_error.
22392 2015-09-16  Jay Belanger  <jay.p.belanger@gmail.com>
22394         Fix documentation.
22395         * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
22396         the documentation of the root mean square.
22398 2015-09-16  Martin Rudalics  <rudalics@gmx.at>
22400         Remove tool_bar_redisplayed_once and associated code.
22401         * src/frame.h (tool_bar_redisplayed_once): Remove slot.
22402         * src/frame.c (make_frame, x_set_font): Remove initialization of
22403         f->tool_bar_redisplayed_once.
22404         * src/w32fns.c (x_change_tool_bar_height):
22405         * src/xfns.c (x_change_tool_bar_height): Don't check for
22406         f->tool_bar_redisplayed_once.
22407         * src/xdisp.c (redisplay_internal): Remove handling of
22408         f->tool_bar_redisplayed_once.
22410 2015-09-16  Eli Zaretskii  <eliz@gnu.org>
22412         Restore some of the quoting in the manuals
22413         * doc/lispref/windows.texi (Coordinates and Windows)
22414         (Coordinates and Windows):
22415         * doc/lispref/variables.texi (Lexical Binding)
22416         (File Local Variables):
22417         * doc/lispref/text.texi (Format Properties):
22418         * doc/lispref/symbols.texi (Symbol Components):
22419         * doc/lispref/strings.texi (Creating Strings):
22420         * doc/lispref/sequences.texi (Sequence Functions):
22421         * doc/lispref/searching.texi (Regexp Special, Regexp Search)
22422         (Search and Replace):
22423         * doc/lispref/processes.texi (Bindat Spec):
22424         * doc/lispref/os.texi (Idle Timers):
22425         * doc/lispref/objects.texi (Basic Char Syntax):
22426         * doc/lispref/numbers.texi (Float Basics, Random Numbers):
22427         * doc/lispref/nonascii.texi (Character Properties):
22428         * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
22429         (Mode Line Variables):
22430         * doc/lispref/minibuf.texi (Text from Minibuffer):
22431         * doc/lispref/loading.texi (Autoload):
22432         * doc/lispref/keymaps.texi (Controlling Active Maps):
22433         * doc/lispref/frames.texi (Frame Layout, Size and Position)
22434         (Size Parameters, Implied Frame Resizing):
22435         * doc/lispref/files.texi (Changing Files, Magic File Names):
22436         * doc/lispref/eval.texi (Self-Evaluating Forms):
22437         * doc/lispref/display.texi (Progress, Abstract Display)
22438         (Abstract Display Example, Bidirectional Display):
22439         * doc/lispref/commands.texi (Event Mod):
22440         * doc/emacs/windows.texi (Displaying Buffers):
22441         * doc/emacs/trouble.texi (Bug Criteria, Checklist):
22442         * doc/emacs/text.texi (Enriched Text):
22443         * doc/emacs/programs.texi (MixedCase Words):
22444         * doc/emacs/picture-xtra.texi (Insert in Picture)
22445         (Tabs in Picture):
22446         * doc/emacs/misc.texi (Emacs Server, Printing):
22447         * doc/emacs/mini.texi (Minibuffer History):
22448         * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
22449         (Pulling / Pushing):
22450         * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
22451         * doc/emacs/help.texi (Help, Help Echo):
22452         * doc/emacs/glossary.texi (Glossary):
22453         * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
22454         (Frame Commands):
22455         * doc/emacs/files.texi (Reverting, Saving, Directories):
22456         * doc/emacs/entering.texi (Exiting):
22457         * doc/emacs/emacs.texi (Top):
22458         * doc/emacs/cmdargs.texi (Window Size X, Icons X):
22459         * doc/emacs/anti.texi (Antinews): Restore quoting of text where
22460         appropriate or replace quoting with @dfn.
22461         * doc/misc/ediff.texi (Window and Frame Configuration):
22462         * doc/lispref/processes.texi (Network Feature Testing):
22463         * doc/lispref/display.texi (Display Margins): Quote the phrase
22464         after "a.k.a." where appropriate.
22466 2015-09-16  Tassilo Horn  <tsdh@gnu.org>
22468         Clarify reftex-extra-bindings docs
22469         * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
22470         * doc/misc/reftex.texi (Key Bindings): Document that the variable
22471         only has an effect at load-time.
22473 2015-09-16  Daniel McClanahan  <danieldmcclanahan@gmail.com>  (tiny change)
22475         * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
22476         search argument.  (Bug#21492) (Bug#21493)
22478 2015-09-16  Tassilo Horn  <tsdh@gnu.org>
22480         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
22481         Add pretty symbols for \qquad and \varrho.
22483 2015-09-15  Jay Belanger  <jay.p.belanger@gmail.com>
22485         Add new functions for the root mean square of a (Calc) vector
22486         * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
22487         New functions.
22488         * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
22489         `calc-vector-rms', add autoloads for `calc-vector-rms' and
22490         `calcFunc-rms'.
22491         * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
22492         `calcFunc-rms'.
22493         * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
22494         `calc-vector-rms'.
22495         * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
22496         command.
22498 2015-09-15  Stephen Leake  <stephen_leake@stephe-leake.org>
22500         Add monotone EDE generic project
22501         * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
22502         Add monotone generic project.
22504         Revert premature commit
22505         * doc/lispref/files.texi: Revert premature commit of change to
22506         file-name-all-completions.
22508         Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
22509         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
22510         with cl-generic defaults.
22511         (elisp--xref-find-references): Add doc string.
22512         * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
22513         tests to find bug.
22515         Fix bugs in eieio-oref-default related to class symbols
22516         * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
22517         (eieio-oref-default): Handle class properly.
22519 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
22521         Quote “fullboth” when defining it
22522         * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
22523         and rewrite the containing paragraph, which was awkward.  (Bug#21472).
22525 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
22527         Minor doc fix in emacs/ack.texi
22528         * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
22529         first argument.
22531 2015-09-15  Michael Albinus  <michael.albinus@gmx.de>
22533         Adapt tests in auto-revert-tests.el
22534         * test/automated/auto-revert-tests.el (auto-revert--timeout):
22535         Make it a defconst.
22536         (auto-revert--wait-for-revert): New defun.
22537         (auto-revert-test00-auto-revert-mode)
22538         (auto-revert-test01-auto-revert-tail-mode)
22539         (auto-revert-test02-auto-revert-mode-dired): Use it.
22541 2015-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22543         * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
22544         Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
22545         (cl-lib-fdefs): Add defgeneric.
22546         (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
22547         (eieio-kw, cl-lib-kw, el-kw): Remove.
22549 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
22551         Quote less in manuals
22552         The manuals often used quotes ``...'' when it is better to use @dfn or
22553         @code or capitalized words or no quoting at all.  For example, there is
22554         no need for the `` and '' in “if a variable has one effect for
22555         @code{nil} values and another effect for ``non-@code{nil}'' values”.
22556         Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
22557         unnecessary quoting like this, and to use @dfn etc. instead when called
22558         for (Bug#21472).
22560 2015-09-15  Mark Oteiza  <mvoteiza@udel.edu>
22562         * lisp/custom.el (load-theme): Only compute hash when needed.
22564 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
22566         Pacify --enable-gcc-warnings
22567         * src/inotify.c (report_inotify_error): Declare it _Noreturn.
22569 2015-09-15  Michael Albinus  <michael.albinus@gmx.de>
22571         Improve error reports in inotify.c
22572         * src/inotify.c (report_inotify_error): New function.  Clone of
22573         report_w32notify_error.
22574         (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
22575         (Finotify_rm_watch): Use it.
22577 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
22579         Fix the file-notify tests for watch validation on w32
22580         * test/automated/file-notify-tests.el
22581         (file-notify-test04-file-validity): Move the directory deletion
22582         out of the file-notify--test-with-events macro.
22583         (file-notify-test04-file-validity)
22584         (file-notify-test05-dir-validity): Enlarge the timeout of
22585         read-event to 0.5, as 0.1 is borderline on w32.  (Bug#21432)
22587 2015-09-15  Tassilo Horn  <tsdh@gnu.org>
22589         Use OPEN BOX instead of space for \quad.
22590         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
22591         character for \quad instead of a space.
22593 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
22595         Add missing *.pbm images
22596         * etc/images/connect.pbm: New file.
22597         * etc/images/custom/down-pushed.pbm: New file.
22598         * etc/images/custom/down.pbm: New file.
22599         * etc/images/custom/right-pushed.pbm: New file.
22600         * etc/images/custom/right.pbm: New file.
22601         * etc/images/describe.pbm: New file.
22602         * etc/images/disconnect.pbm: New file.
22603         * etc/images/ezimage/bits.pbm: New file.
22604         * etc/images/ezimage/bitsbang.pbm: New file.
22605         * etc/images/ezimage/box-minus.pbm: New file.
22606         * etc/images/ezimage/box-plus.pbm: New file.
22607         * etc/images/ezimage/box.pbm: New file.
22608         * etc/images/ezimage/checkmark.pbm: New file.
22609         * etc/images/ezimage/dir-minus.pbm: New file.
22610         * etc/images/ezimage/dir-plus.pbm: New file.
22611         * etc/images/ezimage/dir.pbm: New file.
22612         * etc/images/ezimage/doc-minus.pbm: New file.
22613         * etc/images/ezimage/doc-plus.pbm: New file.
22614         * etc/images/ezimage/doc.pbm: New file.
22615         * etc/images/ezimage/info.pbm: New file.
22616         * etc/images/ezimage/key.pbm: New file.
22617         * etc/images/ezimage/label.pbm: New file.
22618         * etc/images/ezimage/lock.pbm: New file.
22619         * etc/images/ezimage/mail.pbm: New file.
22620         * etc/images/ezimage/page-minus.pbm: New file.
22621         * etc/images/ezimage/page-plus.pbm: New file.
22622         * etc/images/ezimage/page.pbm: New file.
22623         * etc/images/ezimage/tag-gt.pbm: New file.
22624         * etc/images/ezimage/tag-minus.pbm: New file.
22625         * etc/images/ezimage/tag-plus.pbm: New file.
22626         * etc/images/ezimage/tag-type.pbm: New file.
22627         * etc/images/ezimage/tag-v.pbm: New file.
22628         * etc/images/ezimage/tag.pbm: New file.
22629         * etc/images/ezimage/unlock.pbm: New file.
22630         * etc/images/gnus/important.pbm: New file.
22631         * etc/images/gnus/mail-send.pbm: New file.
22632         * etc/images/gnus/receipt.pbm: New file.
22633         * etc/images/gnus/toggle-subscription.pbm: New file.
22634         * etc/images/gnus/unimportant.pbm: New file.
22635         * etc/images/gud/all.pbm: New file.
22636         * etc/images/gud/rcont.pbm: New file.
22637         * etc/images/gud/recstart.pbm: New file.
22638         * etc/images/gud/recstop.pbm: New file.
22639         * etc/images/gud/rfinish.pbm: New file.
22640         * etc/images/gud/rnext.pbm: New file.
22641         * etc/images/gud/rnexti.pbm: New file.
22642         * etc/images/gud/rstep.pbm: New file.
22643         * etc/images/gud/rstepi.pbm: New file.
22644         * etc/images/gud/thread.pbm: New file.
22645         * etc/images/lock-broken.pbm: New file.
22646         * etc/images/lock-ok.pbm: New file.
22647         * etc/images/lock.pbm: New file.
22648         * etc/images/mail/copy.pbm: New file.
22649         * etc/images/mail/forward.pbm: New file.
22650         * etc/images/mail/not-spam.pbm: New file.
22651         * etc/images/mail/outbox.pbm: New file.
22652         * etc/images/mail/preview.pbm: New file.
22653         * etc/images/mail/save-draft.pbm: New file.
22654         * etc/images/mh-logo.pbm: New file.
22655         * etc/images/mpc/add.pbm: New file.
22656         * etc/images/mpc/ffwd.pbm: New file.
22657         * etc/images/mpc/next.pbm: New file.
22658         * etc/images/mpc/pause.pbm: New file.
22659         * etc/images/mpc/play.pbm: New file.
22660         * etc/images/mpc/prev.pbm: New file.
22661         * etc/images/mpc/rewind.pbm: New file.
22662         * etc/images/mpc/stop.pbm: New file.
22663         * etc/images/redo.pbm: New file.
22664         * etc/images/smilies/braindamaged.pbm: New file.
22665         * etc/images/smilies/cry.pbm: New file.
22666         * etc/images/smilies/dead.pbm: New file.
22667         * etc/images/smilies/evil.pbm: New file.
22668         * etc/images/smilies/forced.pbm: New file.
22669         * etc/images/smilies/grin.pbm: New file.
22670         * etc/images/smilies/indifferent.pbm: New file.
22671         * etc/images/sort-ascending.pbm: New file.
22672         * etc/images/sort-column-ascending.pbm: New file.
22673         * etc/images/sort-criteria.pbm: New file.
22674         * etc/images/sort-descending.pbm: New file.
22675         * etc/images/sort-row-ascending.pbm: New file.
22676         * etc/images/unchecked.pbm: New file.
22677         * etc/images/zoom-in.pbm: New file.
22678         * etc/images/README: Update instructions for PBM files.
22680         Add separator.pbm tool-bar image
22681         * etc/images/separator.pbm: New file.  Having it avoids the side
22682         effect of changing the tool-bar height when the default font's size
22683         changes and XPM image support is not available, due to the SPC
22684         characters that are left in the Lisp string used to display the tool
22685         bar, because there are no images to display instead of those SPC
22686         characters.
22688         Make show-paren-match face visible on mono-color displays
22689         * lisp/faces.el (show-paren-match): Use the underline face for
22690         mono-color displays.  (Bug#21481)
22692 2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>
22694         Don’t double-encode non-ASCII mail clipboard
22695         * lisp/mail/mailclient.el (mailclient-send-it):
22696         Also fix the case when mailclient-place-body-on-clipboard-flag
22697         is non-nil.  Problem reported by Eli Zaretskii (Bug#21471#37).
22699 2015-09-14  Michael Albinus  <michael.albinus@gmx.de>
22701         Adapt file-notify-tests.el test cases
22702         * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
22703         * src/inotify.c (Finotify_valid_p): Adapt docstring.
22704         * test/automated/file-notify-tests.el
22705         (file-notify-test03-autorevert)
22706         (file-notify-test04-file-validity)
22707         (file-notify-test04-file-validity-remote)
22708         (file-notify-test05-dir-validity)
22709         (file-notify-test05-dir-validity-remote): Adapt docstring.
22710         (file-notify-test04-file-validity): Let events arrive before
22711         calling final `file-notify-valid-p'.  Do not ignore errors.
22712         (file-notify-test05-dir-validity): Do not manipulate
22713         `temporary-file-directory', it isn't necessary.  Let events arrive
22714         before calling final `file-notify-valid-p'.  Do not ignore errors.
22716 2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>
22718         Don’t double-encode non-ASCII for mail client
22719         * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
22720         Use RFC 6068’s list of unreserved characters.
22721         (mailclient-send-it): When encoding the body as a URL,
22722         first decode it as per Content-Type: and Content-Transfer-Encoding:,
22723         as URLs must use percent-encoded UTF-8 (Bug#21471).
22724         * doc/misc/url.texi (mailto): Update RFC number.
22726 2015-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22728         * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
22730 2015-09-14  Alan Mackenzie  <acm@muc.de>
22732         Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
22733         (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
22734         `cadr/car'.
22736 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
22738         Clarify documentation of char-table extra slots
22739         * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
22740         slot numbers are zero-based.  (Bug#21467)
22742 2015-09-14  Alan Mackenzie  <acm@muc.de>
22744         Elisp mode: Make font-lock and imenu handle escaped characters in symbols
22745         Fixes bug#21449.
22746         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
22747         (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
22748         (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
22749         (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
22750         Insert "\\|\\\\." into regexps which match symbols.
22752 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
22754         Improve the doc string of w32notify-valid-p
22755         * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
22756         that removing a watch makes its object invalid.
22758 2015-09-14  Tassilo Horn  <tsdh@gnu.org>
22760         Fix tests for file-notify-valid-p
22761         * test/automated/file-notify-tests.el (file-notify--test-cleanup):
22762         Use delete-directory to delete file-notify--test-tmpfile if it is
22763         a directory.  Likewise for file-notify--test-tmpfile1.
22764         (file-notify-test04-file-validity)
22765         (file-notify-test05-dir-validity): Delete the parent directory of
22766         the test.  Ignore errors when cleaning up after the test.
22768 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
22770         Report file-notify-error in w32notify.c
22771         * src/w32notify.c (report_w32notify_error): New function.
22772         (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
22773         errors, instead of calling report_file_error.  (Bug#21432)
22775         Implement w32notify-valid-p
22776         * src/w32notify.c (Fw32notify_valid_p): New function.  (Bug#21432)
22777         * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
22778         'identity'.
22780 2015-09-14  Tassilo Horn  <tsdh@gnu.org>
22782         Test file-notify-valid-p
22783         * test/automated/file-notify-tests.el
22784         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
22785         New tests.
22787 2015-09-13  Eli Zaretskii  <eliz@gnu.org>
22789         Fix markup in ELisp manual
22790         * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
22791         of the 'alpha' parameter value.  (Bug#21470)
22793 2015-09-13  Michael Albinus  <michael.albinus@gmx.de>
22795         Introduce `file-notify-valid-p'
22796         * lisp/filenotify.el (file-notify-valid-p): New defun.
22797         (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
22798         * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
22799         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
22800         * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
22801         * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
22802         <file-notify-valid-p>: Add handler.
22803         * lisp/net/tramp.el (tramp-file-name-for-operation):
22804         Add `file-notify-valid-p'.
22805         (tramp-handle-file-notify-valid-p): New defun.
22806         * src/inotify.c (Finotify_valid_p): New defun.
22807         (syms_of_inotify): Declare Sinotify_valid_p.
22809 2015-09-13  Paul Eggert  <eggert@cs.ucla.edu>
22811         Port Unicode char detection to FreeBSD+svgalib
22812         Problem reported by Ashish SHUKLA in:
22813         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
22814         * configure.ac: Check for struct unipair.unicode instead of for
22815         <linux/kd.h>, since that’s more specific to what the code
22816         actually needs.
22817         * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
22819         * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
22821 2015-09-13  Eli Zaretskii  <eliz@gnu.org>
22823         Fix vertical cursor motion across overlay strings with newlines
22824         * src/indent.c (Fvertical_motion): Don't leave point in the middle
22825         of an overlay string with newlines, as that will position the
22826         cursor after the string at whatever column is there.  (Bug#21468)
22828 2015-09-12  Michael Albinus  <michael.albinus@gmx.de>
22830         Fix tests in file-notify-tests.el
22831         * test/automated/file-notify-tests.el: Remove Tramp declarations.
22832         (file-notify-test00-availability): Print remote command w/o Tramp
22833         internal functions.
22834         (file-notify-test02-events, file-notify-test02-events-remote):
22835         Adapt docstring.
22836         (file-notify-test03-autorevert): Use `format-message' when
22837         inspecting *Messages* buffer.
22839 2015-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22841         Bind inhibit-modification-hooks rather than a/b-c-f
22842         * lisp/wid-edit.el (widget-editable-list-insert-before)
22843         (widget-editable-list-delete-at):
22844         * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
22845         (cperl-font-lock-unfontify-region-function):
22846         * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
22847         * lisp/obsolete/longlines.el (longlines-mode):
22848         * lisp/obsolete/fast-lock.el (save-buffer-state):
22849         * lisp/mouse.el (mouse-save-then-kill-delete-region):
22850         * lisp/gnus/message.el (message-hide-headers):
22851         * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
22852         * lisp/ibuffer.el (ibuffer-update-title-and-summary)
22853         (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
22854         than after/before-change-functions to nil.
22856 2015-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22858         (jit-lock-deferred-fontify): Pay attention to skipped redisplays
22859         * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
22860         the buffers, even if the forced redisplay is interrupted.
22862         * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
22864         Merge syntax-propertize--done and parse-sexp-propertize-done
22865         * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
22866         (syntax-propertize): Set syntax-propertize--done even if
22867         syntax-propertize-function is nil.  Avoid recursive invocations.
22868         (syntax-propertize-chunks): New var.
22869         (internal--syntax-propertize): Use it.  Rename from syntax--jit-propertize.
22870         Simplify.
22871         (parse-sexp-propertize-function): Don't set any more.
22872         * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
22873         (parse_sexp_propertize): Don't assume charpos is not yet propertized.
22874         Call Qinternal__syntax_propertize instead of
22875         Vparse_sexp_propertize_function.  Truncate e_property if needed.
22876         (update_syntax_table_forward): Streamline.
22877         (syms_of_syntax): Define Qinternal__syntax_propertize.
22878         (syntax_propertize__done): Rename from parse_sexp_propertize_done.
22880 2015-09-11  Paul Eggert  <eggert@cs.ucla.edu>
22882         Prefer straight quoting in some text files
22883         Mostly this just changes ` to ' in static text.  Some exceptions:
22884         * INSTALL.REPO: Use curved quotes, as the diagnostic in question
22885         typically does that now.
22886         * admin/quick-install-emacs (TRY, top level):
22887         Use straight quoting in diagnostics.
22888         * src/README: Fix working-directory confusion.
22890         * CONTRIBUTE: Move send-email here from git-workflow.
22892 2015-09-11  Michael Albinus  <michael.albinus@gmx.de>
22894         Improve file notifications in Tramp
22895         * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
22896         Set proper events to watch for.
22897         (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
22898         watched events.
22900 2015-09-11  Eli Zaretskii  <eliz@gnu.org>
22902         Fix NS build with --enable-checking='glyphs'
22903         * src/nsfns.m (unwind_create_frame): Make the preprocessor
22904         conditionals for referencing 'dpyinfo' consistent throughout the
22905         function.  (Bug#21426)
22907 2015-09-10  Nicolas Petton  <nicolas@petton.fr>
22909         Add seq-find
22910         This function is similar to `seq-some' but returns the found element.
22911         In the cases where nil can be the found element, a sentinel optional
22912         argument can be provided to avoid ambiguities.
22913         * lisp/emacs-lisp/seq.el (seq-find): New function.
22914         * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
22915         * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
22916         seq-find.
22918 2015-09-10  Tassilo Horn  <tsdh@gnu.org>
22920         Document file-notify--test-with-events.
22921         * test/automated/file-notify-tests.el (file-notify--test-with-events):
22922         Add docstring.
22924 2015-09-10  Michael Albinus  <michael.albinus@gmx.de>
22926         Report used native library in file-notify-tests.el
22927         * test/automated/file-notify-tests.el
22928         (tramp-get-remote-gvfs-monitor-dir)
22929         (tramp-get-remote-inotifywait): Declare them.
22930         (file-notify-test00-availability): Print used native library.
22932 2015-09-10  Mark Oteiza  <mvoteiza@udel.edu>
22934         * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
22935         (mpc-file-local-copy): Check for absolute path.  Check more config
22936         locations.
22938 2015-09-10  Eli Zaretskii  <eliz@gnu.org>
22940         Improve documentation of categories
22941         * doc/lispref/syntax.texi (Categories): Clarify the example of
22942         using define-category and modify-category-entry.  (Bug#21448)
22944 2015-09-10  Paul Eggert  <eggert@cs.ucla.edu>
22946         Revert some stray curved quotes I missed earlier
22947         Problem reported by David Kastrup in:
22948         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
22949         * lisp/international/mule-cmds.el (leim-list-header):
22950         Use format-message with an ASCII-only format.
22952         Prefer NUMBERP to spelling it out
22953         * src/editfns.c (styled_format):
22954         * src/frame.h (NUMVAL):
22955         * src/image.c (parse_image_spec):
22956         * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
22957         (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
22958         * src/process.c (Fsignal_process):
22959         * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
22960         * src/xfaces.c (check_lface_attrs):
22961         * src/xselect.c (x_fill_property_data, x_send_client_event):
22962         Use NUMBERP rather than INTEGERP || FLOATP.
22964 2015-09-10  Tassilo Horn  <tsdh@gnu.org>
22966         Improve file-notify-tests
22967         * test/automated/file-notify-tests.el: Use lexical-binding.
22968         (file-notify--test-cleanup): New function.
22969         (file-notify-test00-availability, file-notify-test01-add-watch)
22970         (file-notify-test02-events, file-notify-test03-autorevert): Use it.
22971         (file-notify--test-with-events): New macro.
22972         (file-notify-test02-events): Use it.
22974 2015-09-10  Paul Eggert  <eggert@cs.ucla.edu>
22976         Add patch-sending instructions to git-workflow
22977         From a suggestion by Mitchel Humpherys in:
22978         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
22979         * admin/notes/git-workflow (Sending patches): New section.
22981         Port to GIFLIB 5.0.6 and later
22982         Problem reported by Mitchel Humpherys in:
22983         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
22984         * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
22985         (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
22986         (gif_load) [HAVE_GIF]: Use it.
22988 2015-09-10  Glenn Morris  <rgm@gnu.org>
22990         * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
22992 2015-09-09  Glenn Morris  <rgm@gnu.org>
22994         * test/automated/file-notify-tests.el (file-notify-test02-events):
22995         Fix recent change.
22997 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
22999         Refix movemail GCC pacification
23000         Problem reported by Ken Brown in:
23001         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
23002         * lib-src/movemail.c (main): Fix previous change.
23004 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
23006         * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
23007         Mark unused vars with underscore.
23009         * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
23010         (parse_sexp_propertize): ...from here.
23012         * lisp/filenotify.el: Use lexical-binding
23013         (file-notify-add-watch): Avoid add-to-list.
23015 2015-09-09  Tassilo Horn  <tsdh@gnu.org>
23017         Start checking event types in file-notify tests
23018         * test/automated/file-notify-tests.el (file-notify--test-events):
23019         New variable.
23020         (file-notify--test-event-handler): Append received event to
23021         file-notify--test-events for later analysis.
23022         (file-notify-test02-events): Assert that the expected notifications have
23023         arrived in the expected order.
23025 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
23027         Merge from gnulib and texinfo
23028         This incorporates:
23029         2015-08-03 Improve port of stdalign to C++11
23030         * lib/stdalign.in.h: Copy from gnulib.
23031         * doc/misc/texinfo.tex: Copy from texinfo.
23033 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
23035         Make syntax.c call syntax-propertize on demand
23036         * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
23037         (parse-sexp-propertize-function): Use it.
23038         (syntax-propertize): Disable parse-sexp-propertize-function.
23039         * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
23040         New functions.
23041         (syms_of_syntax): New vars `parse-sexp-propertize-done' and
23042         `parse-sexp-propertize-function'.
23043         * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
23044         (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
23045         (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
23046         * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
23047         Don't assume `point' is set.
23049 2015-09-09  Eli Zaretskii  <eliz@gnu.org>
23051         Fix indentation of an @example in ELisp manual
23052         * doc/lispref/syntax.texi (Categories): Untabify the example.
23053         (Bug#21448)
23055 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
23057         Define internal-char-font even if --without-x
23058         The function is used now even in non-graphical environments.
23059         Problem reported by Glenn Morris in:
23060         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
23061         * src/font.c (Finternal_char_font): Move here ...
23062         * src/fontset.c (Finternal_char_font): ... from here.
23064 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
23066         * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
23067         Remove warning.
23069 2015-09-09  Eli Zaretskii  <eliz@gnu.org>
23071         Fix display of complex local data types in GDB-MI
23072         * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
23073         variable has no value, display "<complex data type>" as a
23074         placeholder, instead of a confusing "nil".  (Bug#21438)
23076 2015-09-09  Oleh Krehel  <ohwoeowho@gmail.com>
23078         Remove redundant redefinition of seq-drop-while from seq.el
23079         * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
23081 2015-09-09  Phil Sainty  <psainty@orcon.net.nz>
23083         * lisp/emacs-lisp/package.el (package--ensure-init-file):
23084         More robust check for `package-initialize' calls in init file.
23085         This function accepts an optional argument, but calls passing
23086         an argument would not have been detected.
23088 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
23090         Port movemail to RHEL 6 with --enable-gcc-warnings
23091         * lib-src/movemail.c (main): Declare local only if needed.
23093         Port recent Linux console changes to RHEL 6
23094         * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
23096         Improvements for curved quotes on Linux consule
23097         This should help Emacs work better out-of-the-box on Linux consoles,
23098         which have only limited support for displaying Unicode characters.
23099         Also, undo the recent change that caused text-quoting-style to
23100         affect quote display on terminals, so that the two features are
23101         independent.  See Alan Mackenzie in:
23102         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
23103         Finally, add a style parameter to startup--setup-quote-display,
23104         so that this function can also be invoked after startup, with
23105         different styles depending on user preference at the time.
23106         * configure.ac: Check for linux/kd.h header.
23107         * doc/emacs/display.texi (Text Display): Document quote display.
23108         * doc/lispref/display.texi (Active Display Table):
23109         * etc/NEWS:
23110         * lisp/startup.el (startup--setup-quote-display, command-line):
23111         text-quoting-style no longer affects quote display.
23112         * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
23113         * lisp/international/mule-util.el (char-displayable-p):
23114         * lisp/startup.el (startup--setup-quote-display):
23115         On a text terminal supporting glyph codes, use the reported
23116         glyph codes instead of the terminal coding system, as this
23117         is more accurate on the Linux console.
23118         * lisp/startup.el (startup--setup-quote-display):
23119         New optional arg STYLE.
23120         * src/fontset.c (Finternal_char_font):
23121         Report glyph codes for a text terminal, if they are available.
23122         Currently this is supported only for the Linux console.
23123         * src/termhooks.h (struct terminal): New member glyph-code-table.
23124         * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
23125         (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
23126         (terminal_glyph_code): New function.
23128 2015-09-08  Juri Linkov  <juri@linkov.net>
23130         * lisp/info.el (Info-fontify-node): Don't stop at the non-title
23131         underline.  (Bug#21433)
23133 2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23135         * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
23137 2015-09-08  Tassilo Horn  <tsdh@gnu.org>
23139         Fix double-reporting of rename events with inotify
23140         * lisp/filenotify.el (file-notify-callback): Fix double-reporting
23141         of rename events with inotify (bug#21435).
23143 2015-09-08  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)
23145         * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
23146         (tetris-mode-map): Use it.
23148 2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23150         Remove a few simple cases of global redisplay
23151         * src/dispnew.c (redraw_frame): Don't redisplay all frames.
23152         * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
23153         rather than returning a "resized_p" boolean.
23154         (redisplay_internal): Adjust call accordingly.
23155         * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
23156         (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
23157         tracking of this undesirable situation.
23159         * src/process.c (status_notify): Avoid global redisplay (bug#11822)
23160         * src/process.c (status_notify): Only set the update_mode_line on the
23161         relevant buffers rather than setting it globally.
23163 2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
23165         * lisp/electric.el (electric-quote-post-self-insert-function):
23166         Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
23167         (electric-quote-mode): Activate everywhere in message-mode.
23169 2015-09-07  Paul Eggert  <eggert@cs.ucla.edu>
23171         Go back to grave quoting in source-code docstrings etc.
23172         This reverts almost all my recent changes to use curved quotes
23173         in docstrings and/or strings used for error diagnostics.
23174         There are a few exceptions, e.g., Bahá’í proper names.
23175         * admin/unidata/unidata-gen.el (unidata-gen-table):
23176         * lisp/abbrev.el (expand-region-abbrevs):
23177         * lisp/align.el (align-region):
23178         * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
23179         (outlineify-sticky):
23180         * lisp/apropos.el (apropos-library):
23181         * lisp/bookmark.el (bookmark-default-annotation-text):
23182         * lisp/button.el (button-category-symbol, button-put)
23183         (make-text-button):
23184         * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
23185         * lisp/calc/calc-embed.el (calc-do-embedded):
23186         * lisp/calc/calc-ext.el (calc-user-function-list):
23187         * lisp/calc/calc-graph.el (calc-graph-show-dumb):
23188         * lisp/calc/calc-help.el (calc-describe-key)
23189         (calc-describe-thing, calc-full-help):
23190         * lisp/calc/calc-lang.el (calc-c-language)
23191         (math-parse-fortran-vector-end, math-parse-tex-sum)
23192         (math-parse-eqn-matrix, math-parse-eqn-prime)
23193         (calc-yacas-language, calc-maxima-language, calc-giac-language)
23194         (math-read-giac-subscr, math-read-math-subscr)
23195         (math-read-big-rec, math-read-big-balance):
23196         * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
23197         * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
23198         (calc-auto-recompute):
23199         * lisp/calc/calc-prog.el (calc-fix-token-name)
23200         (calc-read-parse-table-part, calc-user-define-invocation)
23201         (math-do-arg-check):
23202         * lisp/calc/calc-store.el (calc-edit-variable):
23203         * lisp/calc/calc-units.el (math-build-units-table-buffer):
23204         * lisp/calc/calc-vec.el (math-read-brackets):
23205         * lisp/calc/calc-yank.el (calc-edit-mode):
23206         * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
23207         * lisp/calendar/appt.el (appt-display-message):
23208         * lisp/calendar/diary-lib.el (diary-check-diary-file)
23209         (diary-mail-entries, diary-from-outlook):
23210         * lisp/calendar/icalendar.el (icalendar-export-region)
23211         (icalendar--convert-float-to-ical)
23212         (icalendar--convert-date-to-ical)
23213         (icalendar--convert-ical-to-diary)
23214         (icalendar--convert-recurring-to-diary)
23215         (icalendar--add-diary-entry):
23216         * lisp/calendar/time-date.el (format-seconds):
23217         * lisp/calendar/timeclock.el (timeclock-mode-line-display)
23218         (timeclock-make-hours-explicit, timeclock-log-data):
23219         * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
23220         (todo-item-mark, todo-check-format)
23221         (todo-insert-item--next-param, todo-edit-item--next-key)
23222         (todo-mode):
23223         * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
23224         * lisp/cedet/mode-local.el (describe-mode-local-overload)
23225         (mode-local-print-binding, mode-local-describe-bindings-2):
23226         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
23227         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
23228         * lisp/cus-start.el (standard):
23229         * lisp/cus-theme.el (describe-theme-1):
23230         * lisp/custom.el (custom-add-dependencies, custom-check-theme)
23231         (custom--sort-vars-1, load-theme):
23232         * lisp/descr-text.el (describe-text-properties-1, describe-char):
23233         * lisp/dired-x.el (dired-do-run-mail):
23234         * lisp/dired.el (dired-log):
23235         * lisp/emacs-lisp/advice.el (ad-read-advised-function)
23236         (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
23237         (ad-disable-advice, ad-remove-advice, ad-set-argument)
23238         (ad-set-arguments, ad--defalias-fset, ad-activate)
23239         (ad-deactivate):
23240         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
23241         (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
23242         (byte-optimize-while, byte-optimize-apply):
23243         * lisp/emacs-lisp/byte-run.el (defun, defsubst):
23244         * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
23245         (byte-compile-log-file, byte-compile-format-warn)
23246         (byte-compile-nogroup-warn, byte-compile-arglist-warn)
23247         (byte-compile-cl-warn)
23248         (byte-compile-warn-about-unresolved-functions)
23249         (byte-compile-file, byte-compile--declare-var)
23250         (byte-compile-file-form-defmumble, byte-compile-form)
23251         (byte-compile-normal-call, byte-compile-check-variable)
23252         (byte-compile-variable-ref, byte-compile-variable-set)
23253         (byte-compile-subr-wrong-args, byte-compile-setq-default)
23254         (byte-compile-negation-optimizer)
23255         (byte-compile-condition-case--old)
23256         (byte-compile-condition-case--new, byte-compile-save-excursion)
23257         (byte-compile-defvar, byte-compile-autoload)
23258         (byte-compile-lambda-form)
23259         (byte-compile-make-variable-buffer-local, display-call-tree)
23260         (batch-byte-compile):
23261         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
23262         * lisp/emacs-lisp/chart.el (chart-space-usage):
23263         * lisp/emacs-lisp/check-declare.el (check-declare-scan)
23264         (check-declare-warn, check-declare-file)
23265         (check-declare-directory):
23266         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
23267         (checkdoc-message-text-engine):
23268         * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
23269         (cl--describe-class):
23270         * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
23271         (cl--generic-describe, cl-generic-generalizers):
23272         * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
23273         (cl-symbol-macrolet):
23274         * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
23275         * lisp/emacs-lisp/copyright.el (copyright)
23276         (copyright-update-directory):
23277         * lisp/emacs-lisp/edebug.el (edebug-read-list):
23278         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
23279         * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
23280         (eieio-oref):
23281         * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
23282         * lisp/emacs-lisp/eieio-speedbar.el:
23283         (eieio-speedbar-child-make-tag-lines)
23284         (eieio-speedbar-child-description):
23285         * lisp/emacs-lisp/eieio.el (defclass, change-class):
23286         * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
23287         (elint-init-form, elint-check-defalias-form)
23288         (elint-check-let-form):
23289         * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
23290         (ert-results-pop-to-backtrace-for-test-at-point)
23291         (ert-results-pop-to-messages-for-test-at-point)
23292         (ert-results-pop-to-should-forms-for-test-at-point)
23293         (ert-describe-test):
23294         * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
23295         (find-function-library):
23296         * lisp/emacs-lisp/generator.el (iter-yield):
23297         * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
23298         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
23299         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
23300         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
23301         * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
23302         (advice--make, define-advice):
23303         * lisp/emacs-lisp/package-x.el (package-upload-file):
23304         * lisp/emacs-lisp/package.el (package-version-join)
23305         (package-disabled-p, package-activate-1, package-activate)
23306         (package--download-one-archive)
23307         (package--download-and-read-archives)
23308         (package-compute-transaction, package-install-from-archive)
23309         (package-install, package-install-selected-packages)
23310         (package-delete, package-autoremove, describe-package-1)
23311         (package-install-button-action, package-delete-button-action)
23312         (package-menu-hide-package, package-menu--list-to-prompt)
23313         (package-menu--perform-transaction)
23314         (package-menu--find-and-notify-upgrades):
23315         * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
23316         * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
23317         * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
23318         * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
23319         (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
23320         (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
23321         (rx-form):
23322         * lisp/emacs-lisp/smie.el (smie-config-save):
23323         * lisp/emacs-lisp/subr-x.el (internal--check-binding):
23324         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
23325         * lisp/emacs-lisp/testcover.el (testcover-1value):
23326         * lisp/emacs-lisp/timer.el (timer-event-handler):
23327         * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
23328         (viper-toggle-search-style, viper-kill-buffer)
23329         (viper-brac-function):
23330         * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
23331         * lisp/env.el (setenv):
23332         * lisp/erc/erc-button.el (erc-nick-popup):
23333         * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
23334         * lisp/eshell/em-dirs.el (eshell/cd):
23335         * lisp/eshell/em-glob.el (eshell-glob-regexp)
23336         (eshell-glob-entries):
23337         * lisp/eshell/em-pred.el (eshell-parse-modifiers):
23338         * lisp/eshell/esh-opt.el (eshell-show-usage):
23339         * lisp/facemenu.el (facemenu-add-new-face)
23340         (facemenu-add-new-color):
23341         * lisp/faces.el (read-face-name, read-face-font, describe-face)
23342         (x-resolve-font-name):
23343         * lisp/files-x.el (modify-file-local-variable):
23344         * lisp/files.el (locate-user-emacs-file, find-alternate-file)
23345         (set-auto-mode, hack-one-local-variable--obsolete)
23346         (dir-locals-set-directory-class, write-file, basic-save-buffer)
23347         (delete-directory, copy-directory, recover-session)
23348         (recover-session-finish, insert-directory)
23349         (file-modes-char-to-who, file-modes-symbolic-to-number)
23350         (move-file-to-trash):
23351         * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
23352         * lisp/find-cmd.el (find-generic, find-to-string):
23353         * lisp/finder.el (finder-commentary):
23354         * lisp/font-lock.el (font-lock-fontify-buffer):
23355         * lisp/format.el (format-write-file, format-find-file)
23356         (format-insert-file):
23357         * lisp/frame.el (get-device-terminal, select-frame-by-name):
23358         * lisp/fringe.el (fringe--check-style):
23359         * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
23360         * lisp/help-fns.el (help-fns--key-bindings)
23361         (help-fns--compiler-macro, help-fns--parent-mode)
23362         (help-fns--obsolete, help-fns--interactive-only)
23363         (describe-function-1, describe-variable):
23364         * lisp/help.el (describe-mode)
23365         (describe-minor-mode-from-indicator):
23366         * lisp/image.el (image-type):
23367         * lisp/international/ccl.el (ccl-dump):
23368         * lisp/international/fontset.el (x-must-resolve-font-name):
23369         * lisp/international/mule-cmds.el (prefer-coding-system)
23370         (select-safe-coding-system-interactively)
23371         (select-safe-coding-system, activate-input-method)
23372         (toggle-input-method, describe-current-input-method)
23373         (describe-language-environment):
23374         * lisp/international/mule-conf.el (code-offset):
23375         * lisp/international/mule-diag.el (describe-character-set)
23376         (list-input-methods-1):
23377         * lisp/mail/feedmail.el (feedmail-run-the-queue):
23378         * lisp/mouse.el (minor-mode-menu-from-indicator):
23379         * lisp/mpc.el (mpc-playlist-rename):
23380         * lisp/msb.el (msb--choose-menu):
23381         * lisp/net/ange-ftp.el (ange-ftp-shell-command):
23382         * lisp/net/imap.el (imap-interactive-login):
23383         * lisp/net/mairix.el (mairix-widget-create-query):
23384         * lisp/net/newst-backend.el (newsticker--sentinel-work):
23385         * lisp/net/newst-treeview.el (newsticker--treeview-load):
23386         * lisp/net/rlogin.el (rlogin):
23387         * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
23388         * lisp/obsolete/otodo-mode.el (todo-more-important-p):
23389         * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
23390         * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
23391         * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
23392         * lisp/org/ob-core.el (org-babel-goto-named-src-block)
23393         (org-babel-goto-named-result):
23394         * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
23395         * lisp/org/ob-ref.el (org-babel-ref-resolve):
23396         * lisp/org/org-agenda.el (org-agenda-prepare):
23397         * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
23398         (org-clock-resolve):
23399         * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
23400         * lisp/org/org-feed.el (org-feed-parse-atom-entry):
23401         * lisp/org/org-habit.el (org-habit-parse-todo):
23402         * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
23403         (org-mouse-context-menu):
23404         * lisp/org/org-table.el (org-table-edit-formulas):
23405         * lisp/org/ox.el (org-export-async-start):
23406         * lisp/proced.el (proced-log):
23407         * lisp/progmodes/ada-mode.el (ada-get-indent-case)
23408         (ada-check-matching-start, ada-goto-matching-start):
23409         * lisp/progmodes/ada-prj.el (ada-prj-display-page):
23410         * lisp/progmodes/ada-xref.el (ada-find-executable):
23411         * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
23412         * lisp/progmodes/etags.el (etags-tags-apropos-additional):
23413         * lisp/progmodes/flymake.el (flymake-parse-err-lines)
23414         (flymake-start-syntax-check-process):
23415         * lisp/progmodes/python.el (python-shell-get-process-or-error)
23416         (python-define-auxiliary-skeleton):
23417         * lisp/progmodes/sql.el (sql-comint):
23418         * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
23419         * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
23420         * lisp/recentf.el (recentf-open-files):
23421         * lisp/replace.el (query-replace-read-from)
23422         (occur-after-change-function, occur-1):
23423         * lisp/scroll-bar.el (scroll-bar-columns):
23424         * lisp/server.el (server-get-auth-key):
23425         * lisp/simple.el (execute-extended-command)
23426         (undo-outer-limit-truncate, list-processes--refresh)
23427         (compose-mail, set-variable, choose-completion-string)
23428         (define-alternatives):
23429         * lisp/startup.el (site-run-file, tty-handle-args, command-line)
23430         (command-line-1):
23431         * lisp/subr.el (noreturn, define-error, add-to-list)
23432         (read-char-choice, version-to-list):
23433         * lisp/term/common-win.el (x-handle-xrm-switch)
23434         (x-handle-name-switch, x-handle-args):
23435         * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
23436         * lisp/textmodes/reftex-ref.el (reftex-label):
23437         * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
23438         * lisp/textmodes/two-column.el (2C-split):
23439         * lisp/tutorial.el (tutorial--describe-nonstandard-key)
23440         (tutorial--find-changed-keys):
23441         * lisp/type-break.el (type-break-noninteractive-query):
23442         * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
23443         (wdired-do-perm-changes):
23444         * lisp/whitespace.el (whitespace-report-region):
23445         Prefer grave quoting in source-code strings used to generate help
23446         and diagnostics.
23447         * lisp/faces.el (face-documentation):
23448         No need to convert quotes, since the result is a docstring.
23449         * lisp/info.el (Info-virtual-index-find-node)
23450         (Info-virtual-index, info-apropos):
23451         Simplify by generating only curved quotes, since info files are
23452         typically that ways nowadays anyway.
23453         * lisp/international/mule-diag.el (list-input-methods):
23454         Don’t assume text quoting style is curved.
23455         * lisp/org/org-bibtex.el (org-bibtex-fields):
23456         Revert my recent changes, going back to the old quoting style.
23458 2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>
23460         * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
23461         (package--autoloads-file-name)
23462         (package--activate-autoloads-and-load-path): New function.
23463         (package-activate-1): Delegate autoloading and load-path
23464         configuration to `package--activate-autoloads-and-load-path'.
23465         (package--compile): Before compilation, call
23466         `package--activate-autoloads-and-load-path' instead of
23467         `package-activate-1'.
23469 2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
23471         * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
23473 2015-09-07  Eli Zaretskii  <eliz@gnu.org>
23475         Fix deletion of symlinks to directories on MS-Windows
23476         * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
23477         symlink to a directory, try again with 'rmdir'.
23478         (is_symlink): If the argument is a symlink to a directory, set a
23479         bit in the return value to indicate that fact.
23481 2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>
23483         * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
23484         When `package-initialize' is called as part of loading the init file,
23485         the user probably doesn't want it to be called again afterwards.
23486         In this situation, `package-initialize' now sets
23487         `package-enable-at-startup' to nil to prevent that.  The user can have
23488         the old behavior by setting this variable to t after the call to
23489         `package-initialize'.  (Bug#21423)
23490         * doc/emacs/package.texi (Package Installation): Document it.
23491         * doc/lispref/package.texi (Packaging Basics): Document it.
23492         * etc/NEWS: Document it.
23494 2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
23496         Bump version of ntlm.el to 2.00
23497         * lisp/net/ntlm.el: Bump version to 2.00.  New maintainer.
23498         Add comm keyword.
23500 2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>
23502         * doc/misc/gnus.texi (Mail Source Specifiers):
23503         Allow :mailbox to be a list.
23505 2015-09-06  Dmitry Gutov  <dgutov@yandex.ru>
23507         * lisp/progmodes/etags.el (etags-tags-completion-table):
23508         Allow even one non-regular character before the implicit tag name.
23509         Reported at http://emacs.stackexchange.com/questions/15269/.
23511 2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
23513         Add support for NTLMv2 authentication
23514         * lisp/net/ntlm.el (ntlm): New customization group.
23515         (ntlm-compatibility-level): New defcustom.
23516         (ntlm-compute-timestamp): New function.
23517         (ntlm-generate-nonce): Likewise.
23518         (ntlm-build-auth-response): Add support for NTLMv2 authentication.
23520 2015-09-06  Artur Malabarba  <bruce.connor.am@gmail.com>
23522         * lisp/emacs-lisp/package.el: Rename custom faces.
23523         All of the recently introduced faces, like `package-name-face', have
23524         been renamed to no end in `-face' to comply with the convention
23525         described in (info "(elisp) Defining Faces").
23526         (package-name, package-description)
23527         (package-status-built-in, package-status-external)
23528         (package-status-available, package-status-new)
23529         (package-status-held, package-status-disabled)
23530         (package-status-installed, package-status-dependency)
23531         (package-status-unsigned, package-status-incompat)
23532         (package-status-avail-obso): New faces.
23533         (package-menu--print-info-simple): Use them.
23535 2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>
23537         mail-source.el: Make the imap mail-source's :mailbox handle a list
23538         * lisp/gnus/mail-source.el (mail-source-fetch-imap):
23539         Allow :mailbox to be  a list.
23541 2015-09-06  Eric Abrahamsen  <eric@ericabrahamsen.net>
23543         nnimap.el: Handle nil arg to nnimap-request-group
23544         * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
23545         This arg isn't always passed in, check it's not nil before making it
23546         into a list.  The active arg will also be nil if the group is new,
23547         check for that.
23549 2015-09-06  Michael Albinus  <michael.albinus@gmx.de>
23551         File notifications: Support renaming over directory boundaries
23552         * lisp/filenotify.el (file-notify-handle-event):
23553         (file-notify--pending-event): Adapt docstring.
23554         (file-notify--descriptor, file-notify-callback): Reimplement in
23555         order to support renaming over directory boundaries.
23556         (file-notify-add-watch): Adapt `file-notify--descriptor' call.
23557         * doc/lispref/os.texi (File Notifications): Remove limitation of
23558         file renaming to the same directory.
23560 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
23562         Spelling fix (Bug#21420)
23564 2015-09-05  Nicolas Petton  <nicolas@petton.fr>
23566         Improve the semantic of map-some
23567         Update map-some to return the returned by the predicate, similar to
23568         seq-some.
23569         * lisp/emacs-lisp/map.el (map-some): Update the function to return the
23570           return value of the predicate.
23571         * test/automated/map-tests.el (test-map-some): Update the test to check
23572           for non-nil values only.
23574         Rename map-contains-key-p and map-some-p
23575         Remove the "-p" suffix from both function names.
23576         * lisp/emacs-lisp/map.el (map-contains-key, map-some):
23577           Rename the functions.
23578         * test/automated/map-tests.el (test-map-contains-key, test-map-some):
23579           Update both test functions.
23581         Improve the semantic of seq-some
23582         Update seq-some to return non-nil if the predicate returns non-nil for
23583         any element of the seq, in which case the returned value is the one
23584         returned by the predicate.
23585         * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
23586           docstring.
23587         * test/automated/seq-tests.el (test-seq-some): Add a regression test.
23588         * doc/lispref/sequences.texi (Sequence Functions): Update the
23589           documentation for seq-some.
23591         Rename seq-some-p to seq-some and seq-contains-p to seq-contains
23592         * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
23593           without the "-p" prefix.
23594         * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
23595           the tests accordingly.
23596         * doc/lispref/sequences.texi (Sequence Functions): Update the
23597           documentation for seq.el.
23599 2015-09-05  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
23601         text-quoting-style for usage of fn names with ‘’
23602         * lisp/help.el (help--docstring-quote): Don’t assume
23603         text-quoting-style is ‘curve’ when generating usage strings for
23604         functions whose names contain curved quotes.
23606 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
23608         Fix fix for describe-function keybinding confusion
23609         This fixes a bug introduced by the previous patch.
23610         * lisp/help-fns.el (help-fns--signature):
23611         Last arg of help-fns--signature is now a buffer, or nil if a
23612         raw signature is wanted.  All callers changed.
23613         (describe-function-1): Use this to do the right thing with signatures.
23615 2015-09-05  Johan Bockgård  <bojohan@gnu.org>
23617         * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
23619         Use PAT rather than UPAT in pcase macros
23620         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
23621         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
23622           than UPAT.
23624 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
23626         Fix describe-function keybinding confusion
23627         * lisp/help-fns.el (describe-function-1): Compute signature
23628         in the original buffer, not in standard-output, so that
23629         substitute-command-keys uses the proper keybindings.
23630         This fixes Bug#21412, introduced in commit
23631         2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
23633 2015-09-05  Xue Fuqiao  <xfq.free@gmail.com>
23635         * doc/emacs/programs.texi (Program Modes): Remove an index entry.
23637 2015-09-05  Robert Pluim  <rpluim@gmail.com>  (tiny change)
23639         Avoid read error messages from 'inotify'
23640         * src/process.c (wait_reading_process_output): Add a
23641         'tls_available' set and manipulate it instead of 'Available' when
23642         checking TLS inputs.  Assign the value to 'Available' only if we
23643         find any TLS data waiting to be read.  This avoids error messages
23644         from 'inotify' that tries to read data it shouldn't.  (Bug#21337)
23646 2015-09-05  Eli Zaretskii  <eliz@gnu.org>
23648         Avoid errors in thing-at-point with 2nd argument non-nil
23649         * lisp/thingatpt.el (thing-at-point): Only call 'length' on
23650         sequences.  (Bug#21391)
23652 2015-09-05  Philip  <pipcet@gmail.com>  (tiny change)
23654         Fix segfaults due to using a stale face ID
23655         * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
23656         (display_echo_area_1, redisplay_internal): Call it to avoid
23657         reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
23658         faces, which could case a segfault if the frame's face cache was
23659         freed since the last redisplay.  (Bug#21394)
23660         * src/xfaces.c (free_realized_faces):
23661         Call forget_escape_and_glyphless_faces.
23662         * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
23664 2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>
23666         Fix minor problems with " in manual
23668 2015-09-04  Michael Albinus  <michael.albinus@gmx.de>
23670         * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
23671         multi-hop files.
23673 2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>
23675         Support automated ‘make check’ in non-C locale
23676         This lets the builder optionally test Emacs behavior in other locales.
23677         The C locale is still the default for tests.
23678         * test/automated/Makefile.in (TEST_LOCALE): New macro.
23679         (emacs): Use it.
23680         * test/automated/flymake-tests.el (flymake-tests--current-face):
23681         Use C locale for subprocesses so that tests behave as expected.
23682         * test/automated/python-tests.el:
23683         (python-shell-prompt-validate-regexps-1)
23684         (python-shell-prompt-validate-regexps-2)
23685         (python-shell-prompt-validate-regexps-3)
23686         (python-shell-prompt-validate-regexps-4)
23687         (python-shell-prompt-validate-regexps-5)
23688         (python-shell-prompt-validate-regexps-6)
23689         (python-shell-prompt-set-calculated-regexps-1):
23690         Adjust expected output to match locale.
23691         * test/automated/tildify-tests.el (tildify-test--test)
23692         (tildify-space-test--test, tildify-space-undo-test--test):
23693         This test assumes UTF-8 encoding.
23695 2015-09-03  Paul Eggert  <eggert@cs.ucla.edu>
23697         Fix some more docstring etc. quoting problems
23698         Mostly these fixes prevent the transliteration of apostrophes
23699         that should stay apostrophes.  Also, prefer curved quotes in
23700         Bahá’í proper names, as that’s the preferred Bahá’í style and
23701         these names are chock-full of non-ASCII characters anyway.
23702         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
23703         (eieio-defclass-internal):
23704         * lisp/emacs-lisp/eieio.el (defclass):
23705         * lisp/hi-lock.el (hi-lock-mode):
23706         Don’t transliterate Lisp apostrophes when generating a
23707         doc string or diagnostic.
23708         * lisp/international/mule-diag.el (list-coding-systems-1):
23709         * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
23710         * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
23711         * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
23712         * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
23713         Substitute quotes before putting them in the help buffer.
23715 2015-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23717         Re-add the notion of echo_prompt lost in the translation
23718         * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
23719         echo_prompt which contains the actual string.  Update all uses.
23720         * src/keyboard.c (kset_echo_prompt): New function.
23721         (echo_update): Add echo_prompt at the very beginning.
23722         (read_char): Remove workaround for bug#19875, not needed any more.
23723         (read_key_sequence): Set echo_prompt rather than echo_string
23724         (bug#21403).
23725         (mark_kboards): Mark echo_prompt.
23727         Fix disassembly of non-compiled lexical functions (bug#21377)
23728         * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
23729         * lisp/emacs-lisp/disass.el: Use lexical-binding.
23730         (disassemble): Recognize `closure's as well.
23731         (disassemble-internal): Use indirect-function and
23732         help-function-arglist, and accept `closure's.
23733         (disassemble-internal): Use interactive-form.
23734         (disassemble-1): Use functionp.
23736         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
23737         Don't compose inside verbatim blocks!
23739 2015-09-03  Mark Oteiza  <mvoteiza@udel.edu>
23741         * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
23742         (bug#19441).
23744         * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
23746 2015-09-03  Dmitry Gutov  <dgutov@yandex.ru>
23748         vc-git-mode-line-string: Explicitly re-apply the face
23749         * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
23750         the face (bug#21404).
23752 2015-09-02  Paul Eggert  <eggert@cs.ucla.edu>
23754         Treat initial-scratch-message as a doc string
23755         * doc/emacs/building.texi (Lisp Interaction):
23756         * doc/lispref/os.texi (Startup Summary):
23757         * etc/NEWS: Document this.
23758         * lisp/startup.el (initial-scratch-message):
23759         Look up find-file’s key rather than hardcoding it.
23760         (command-line-1): Substitute the doc string.
23761         This also substitutes the quotes, which will help test display
23762         quoting at startup.
23764         Fix describe-char bug with glyphs on terminals
23765         * lisp/descr-text.el (describe-char): Terminals can have glyphs in
23766         buffers too, so don’t treat them differently from graphic displays.
23767         Without this fix, describe-char would throw an error on a terminal
23768         if given a glyph with a non-default face.
23770         Follow text-quoting-style in display table init
23771         This attempts to fix a problem reported by Alan Mackenzie in:
23772         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
23773         * doc/lispref/display.texi (Active Display Table):
23774         Mention how text-quoting-style affects it.
23775         * doc/lispref/help.texi (Keys in Documentation):
23776         Say how to set text-quoting-style in ~/.emacs.
23777         * etc/NEWS: Document the change.
23778         * lisp/startup.el (startup--setup-quote-display):
23779         Follow user preference if text-quoting-style is set.
23780         (command-line): Setup quote display again if user expresses
23781         a preference in .emacs.
23783 2015-09-02  K. Handa  <handa@gnu.org>
23785         Fix typo
23786         * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
23787         -> OTF_positioning_type_components_mask.
23789         Fix previous change
23790         * src/ftfont.c (ftfont_drive_otf): Remember some bits of
23791         OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
23793 2015-09-01  David Caldwell  <david@porkrind.org>  (tiny change)
23795         * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
23796         Rename from vc-find-file-hook and make interactive.
23797         (vc-find-file-hook): Redefine as obsolete alias.
23799 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
23801         Escape ` and ' in doc
23802         Escape apostrophes and grave accents in docstrings if they are
23803         are supposed to stand for themselves and are not quotes.  Remove
23804         apostrophes from docstring examples like ‘'(calendar-nth-named-day
23805         -1 0 10 year)’ that confuse source code with data.  Do some other
23806         minor docstring fixups as well, e.g., insert a missing close quote.
23808 2015-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23810         Generalize the prefix-command machinery of C-u
23811         * lisp/simple.el (prefix-command-echo-keystrokes-functions)
23812         (prefix-command-preserve-state-hook): New hooks.
23813         (internal-echo-keystrokes-prefix): New function.
23814         (prefix-command--needs-update, prefix-command--last-echo): New vars.
23815         (prefix-command-update, prefix-command-preserve): New functions.
23816         (reset-this-command-lengths): New compatibility definition.
23817         (universal-argument--mode): Call prefix-command-update.
23818         (universal-argument, universal-argument-more, negative-argument)
23819         (digit-argument): Call prefix-command-preserve-state.
23820         * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
23821         the "prefix argument" to echo.
23822         (this_command_key_count_reset, before_command_key_count)
23823         (before_command_echo_length): Delete variables.
23824         (echo_add_key): Always add a space.
23825         (echo_char): Remove.
23826         (echo_dash): Don't give up when this_command_key_count is 0, since that
23827         is now the case after a prefix command.
23828         (echo_update): New function, extracted from echo_now.
23829         (echo_now): Use it.
23830         (add_command_key, read_char, record_menu_key): Remove old disabled code.
23831         (command_loop_1): Don't refrain from pushing an undo boundary when
23832         prefix-arg is set.  Remove other prefix-arg special case, now handled
23833         directly in the prefix commands instead.  But call echo_now if there's
23834         a prefix state to echo.
23835         (read_char, record_menu_key): Use echo_update instead of echo_char.
23836         (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
23837         (Freset_this_command_lengths): Delete function.
23838         (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
23839         (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
23840         * lisp/simple.el: Use those new hooks for C-u.
23841         (universal-argument--description): New function.
23842         (prefix-command-echo-keystrokes-functions): Use it.
23843         (universal-argument--preserve): New function.
23844         (prefix-command-preserve-state-hook): Use it.
23845         (command-execute): Call prefix-command-update if needed.
23846         * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
23847         (kmacro-step-edit-prefix-index): Delete variables.
23848         (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
23849         support for prefix arg commands.
23850         (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
23851         * lisp/emulation/cua-base.el (cua--prefix-override-replay)
23852         (cua--shift-control-prefix): Use prefix-command-preserve-state.
23853         Remove now unused arg `arg'.
23854         (cua--prefix-override-handler, cua--prefix-repeat-handler)
23855         (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
23856         Update accordingly.
23857         (cua--prefix-override-timeout): Don't call reset-this-command-lengths
23858         any more.
23859         (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
23860         if the mark is not set.
23862 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
23864         Rework quoting in Emacs Lisp Introduction
23865         * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
23866         (if in more detail, type-of-animal in detail, else): Rework the
23867         early example to use " rather than ' so that we don’t burden
23868         complete novices with the low-priority detail of text quoting style.
23869         (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
23870         (kill-new function, kill-ring-yank-pointer)
23871         (Complete forward-sentence, Loading Files)
23872         (Code for current-kill, Code for current-kill, yank):
23873         Resurrect the Emacs 22 versions of the code, which uses grave
23874         quoting style in doc strings.
23875         (Complete zap-to-char): Mention how quoting works in doc strings.
23877         Setup quote display only if interactive
23878         * lisp/startup.el (command-line):
23879         Skip call to startup--setup-quote-display if noninteractive.
23880         Without this change, python-shell-prompt-validate-regexps-1
23881         fails in test/automated/python-tests.el when run in an
23882         en_US.utf8 locale on Fedora.
23884 2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
23886         Use defalias at the top level
23887         * lisp/gnus/gnus-util.el (gnus-format-message):
23888         * lisp/net/tls.el (tls-format-message): Use defalias at the top level
23889         so as to make eval-and-compile unnecessary.  Thanks to Stefan Monnier.
23891 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
23893         terminal-init-w32console mimics command-line
23894         Problem reported by Eli Zaretskii.
23895         * lisp/startup.el (startup--setup-quote-display):
23896         New function, refactored from a part of ‘command-line’.
23897         (command-line): Use it.
23898         * lisp/term/w32console.el (terminal-init-w32console):
23899         Use it, so that this function stays consistent with ‘command-line’.
23901         Display replacement quotes with shadow glyphs
23902         * lisp/startup.el (command-line): When displaying ASCII
23903         replacements for curved quotes, use a shadow glyph instead of a
23904         regular one, to avoid ambiguity.
23906 2015-09-01  Michael Albinus  <michael.albinus@gmx.de>
23908         * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
23910 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
23912         Docstring fixes re quotes in C code
23913         Fix some docstring quoting problems, mostly by escaping apostrophe.
23915 2015-09-01  Michael Albinus  <michael.albinus@gmx.de>
23917         Some Tramp password fixes
23918         * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
23919         of the hops.
23920         * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
23921         at the beginning of the command.  Otherwise, it could be
23922         interpreted as password prompt if the remote host echoes the
23923         command.
23924         (tramp-remote-coding-commands): Add "openssl enc -base64".
23926 2015-09-01  Dmitry Gutov  <dgutov@yandex.ru>
23928         Make vc-git-working-revision always return the commit hash
23929         * lisp/vc/vc-git.el (vc-git-working-revision):
23930         Return the commit hash (bug#21383).
23931         (vc-git--symbolic-ref): New function, extracted from above.
23932         (vc-git-mode-line-string): Use it.
23934 2015-09-01  K. Handa  <handa@gnu.org>
23936         Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
23937         * src/ftfont.c (MFLTGlyphFT): New type.
23938         (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
23939         (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
23940         elements in the array MFLTGlyphString.glyphs.
23942 2015-09-01  Stephen Leake  <stephen_leake@stephe-leake.org>
23944         Improve comments in elisp-mode.el, elisp-mode-tests.el
23945         * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
23947         Delete Emacs 25 test in mode-local.el
23948         * lisp/cedet/mode-local.el (describe-mode-local-overload):
23949         Fix missed an edit in previous commit.
23951         Show all known mode-local overrides in *Help*
23952         * lisp/cedet/mode-local.el (describe-mode-local-overload):
23953         Assume Emacs 25. Add all known mode-local overrides.
23955 2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
23957         * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
23958         Ensure that the article where the search word is found is displayed
23959         and pointed to in the summary buffer.
23961 2015-08-31  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
23963         * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
23964         When the region is active, but is empty (length 0), act as though
23965         the region was not active; that is, put a comment at the end of
23966         the line.  (Bug#21119)
23968 2015-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
23970         Port tls.el to older Emacs
23971         * lisp/net/tls.el (tls-format-message):
23972         Alias to format-message, or format if not available.
23973         (open-tls-stream): Use it.
23975 2015-08-31  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23977         hideif.el: Recognize .h++ as C++ header
23978         * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
23980         isearch: Document character folding mode
23981         * lisp/isearch.el (isearch-forward):
23982         Mention `isearch-toggle-character-fold' in doc string.
23984 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23986         Quoting fixes in ERC and Eshell
23987         * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
23988         * lisp/erc/erc-backend.el (define-erc-response-handler):
23989         * lisp/erc/erc-fill.el (erc-fill-static-center):
23990         * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
23991         * lisp/eshell/em-glob.el (eshell-glob-entries):
23992         * lisp/eshell/em-hist.el (eshell-save-some-history):
23993         * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
23994         (eshell-shuffle-files):
23995         * lisp/eshell/esh-cmd.el (eshell-do-eval):
23996         * lisp/eshell/esh-proc.el (eshell-process-interact)
23997         (eshell-query-kill-processes):
23998         Respect ‘text-quoting-style’ in diagnostics and doc strings.
24000         Quoting fixes in Gnus
24001         * lisp/gnus/gnus-agent.el:
24002         (gnus-agent-possibly-synchronize-flags-server):
24003         * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
24004         * lisp/gnus/gnus-eform.el (gnus-edit-form):
24005         * lisp/gnus/gnus-group.el (gnus-group-edit-group)
24006         (gnus-group-nnimap-edit-acl):
24007         * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
24008         * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
24009         * lisp/gnus/message.el (message-strip-subject-encoded-words)
24010         (message-check-recipients, message-send-form-letter):
24011         * lisp/gnus/mm-decode.el (mm-display-part):
24012         * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
24013         * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
24014         (mml-smime-get-ldap-cert):
24015         * lisp/gnus/spam-report.el (spam-report-process-queue):
24016         Respect ‘text-quoting-style’ in diagnostics.
24017         * lisp/gnus/gnus-art.el (article-display-face)
24018         * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
24019         Use straight quoting in email.
24020         * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
24021         Escape apostrophes in doc strings.
24023         Quoting fixes in lisp mail, mh-e, net, url
24024         * lisp/mail/emacsbug.el (report-emacs-bug)
24025         (report-emacs-bug-hook): Use straight quotes in outgoing email,
24026         * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
24027         * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
24028         * lisp/mail/rmailout.el (rmail-output-read-file-name):
24029         * lisp/net/imap.el (imap-interactive-login):
24030         * lisp/net/tls.el (open-tls-stream):
24031         * lisp/url/url-auth.el (url-register-auth-scheme):
24032         Respect ‘text-quoting-style’ in diagnostics.
24033         * lisp/mh-e/mh-e.el (mh-sortm-args):
24034         Quote docstring example using text quotes, not as a Lisp quote.
24036 2015-08-31  Stephen Leake  <stephen_leake@stephe-leake.org>
24038         Fix some byte-compiler warnings in EDE
24039         This fixes a bug that caused ede-generic-new-autoloader to overwrite the
24040         existing autoloader list, rather than add to it.
24041         * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
24042         argument to eieio class constructor.
24043         (ede-show-supported-projects): New.
24044         (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
24045         with (oref ... name).
24046         (ede-auto-load-project): Use slot name, not initarg key.
24047         * lisp/cedet/ede/generic.el (ede-generic-load)
24048         (ede-generic-find-matching-target): Use slot name, not initarg key.
24049         (ede-find-target): Use oref-default on class name.
24050         (ede-generic-new-autoloader): Delete obsolete name argument to eieio
24051         class constructor.
24052         (ede-enable-generic-projects): Make project type names unique.
24054 2015-08-31  Eli Zaretskii  <eliz@gnu.org>
24056         Fix directory accessibility tests for w32 network volumes
24057         * src/w32.c (faccessat): Don't fail with network volumes without a
24058         share.
24059         (w32_accessible_directory_p): Handle network volumes without a
24060         share.
24062         Fix handling long file names in readdir on MS-Windows
24063         * src/w32.c (sys_readdir): Append "\*" to the directory after
24064         converting it to UTF-16/ANSI, not before, to avoid overflowing the
24065         260-character limit on file names in filename_to_utf16/ansi.
24067         Make file-accessible-directory-p reliable on MS-Windows
24068         * src/w32.c (w32_accessible_directory_p): New function.
24069         * src/w32.h (w32_accessible_directory_p): Add prototype.
24070         * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
24071         w32_accessible_directory_p to test a directory for accessibility
24072         by the current user.  (Bug#21346)
24073         (Ffile_accessible_directory_p): Remove the w32 specific caveat
24074         from the doc string.
24076 2015-08-31  Martin Rudalics  <rudalics@gmx.at>
24078         Don't call do_pending_window_change in signal handlers (Bug#21380)
24079         * src/gtkutil.c (xg_frame_resized):
24080         * src/xterm.c (x_set_window_size):
24081         * src/w32term.c (x_set_window_size): Don't call
24082         do_pending_window_change.
24084 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24086         Quoting fixes in lisp/org
24087         * lisp/org/org-agenda.el (org-search-view, org-todo-list)
24088         (org-tags-view):
24089         * lisp/org/org-capture.el (org-capture-mode)
24090         * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
24091         (org-ctags-ask-append-topic):
24092         * lisp/org/org.el (org-time-string-to-time)
24093         (org-time-string-to-absolute):
24094         * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
24095         (org-ctags-ask-append-topic):
24096         * lisp/org/org.el (org-time-string-to-time)
24097         (org-time-string-to-absolute):
24098         Respect ‘text-quoting-style’ in diagnostics.
24099         * lisp/org/org-agenda.el (org-agenda-custom-commands)
24100         (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
24101         * lisp/org/org-capture.el (org-capture-fill-template):
24102         Avoid contraction in output file that might be ASCII.
24103         * lisp/org/org-compat.el (format-message):
24104         Define if not already defined, for backward compatibility.
24105         * lisp/org/org-src.el (org-edit-src-save):
24106         * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
24107         Escape apostrophes in diagnostics.
24109         Treat “instead” strings as docstrings
24110         * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
24111         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
24112         Substitute quotes in instead strings.
24114 2015-08-31  Nicolas Petton  <nicolas@petton.fr>
24116         Better documentation of seq-let
24117         * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
24118         documentation of seq-let.
24120 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24122         * lisp/international/ccl.el: Fix quoting.
24124         Quoting fixes in lisp/international and lisp/leim
24125         * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
24126         * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
24127         * lisp/international/mule-cmds.el:
24128         (select-safe-coding-system-interactively, leim-list-file-name):
24129         * lisp/international/quail.el (quail-use-package, quail-help):
24130         * lisp/international/titdic-cnv.el (tit-process-header)
24131         (miscdic-convert):
24132         Respect text quoting style in doc strings and diagnostics.
24133         * lisp/international/quail.el (lisp/international/quail.el):
24134         * lisp/leim/quail/ethiopic.el ("ethiopic"):
24135         Escape apostrophes in doc strings.
24137         Make ‘text-quoting-style’ a plain defvar
24138         It doesn’t need customization, as it’s likely useful only by experts.
24139         Suggested by Stefan Monnier in:
24140         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
24141         * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
24143         Quoting fixes in lisp/textmodes
24144         * lisp/textmodes/bibtex.el (bibtex-validate)
24145         (bibtex-validate-globally, bibtex-search-entries):
24146         * lisp/textmodes/ispell.el (ispell-command-loop):
24147         * lisp/textmodes/page-ext.el (search-pages, pages-directory):
24148         * lisp/textmodes/texinfmt.el (texinfmt-version)
24149         (texinfo-format-region, texinfo-format-buffer-1):
24150         * lisp/textmodes/two-column.el (2C-split):
24151         Respect text quoting style in doc strings and diagnostics.
24152         * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
24153         * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
24154         Escape apostrophes in doc strings.
24156         Documentation fixes re quotes
24157         Prefer curved quotes in examples if users will typically see
24158         curved quotes when the examples run.
24159         Mention format-message when appropriate.
24160         Don’t use @code in examples.
24161         Quote an apostrophe with @kbd.
24163         Quoting fixes in lisp/progmodes
24164         * lisp/progmodes/cc-engine.el (c-bos-report-error):
24165         * lisp/progmodes/cpp.el (cpp-edit-reset):
24166         * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
24167         * lisp/progmodes/etags.el (etags-tags-apropos-additional)
24168         (etags-tags-apropos, list-tags, tags-apropos):
24169         * lisp/progmodes/executable.el (executable-set-magic):
24170         * lisp/progmodes/octave.el (octave-sync-function-file-names)
24171         (octave-help, octave-find-definition-default-filename)
24172         (octave-find-definition):
24173         Respect text quoting style in doc strings and diagnostics.
24174         * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
24175         * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
24176         * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
24177         Escape apostrophes in doc strings.
24178         * lisp/progmodes/cmacexp.el (c-macro-expansion):
24179         Use straight quoting in ASCII comment.
24180         * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
24181         (idlwave-pad-keyword):
24182         * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
24183         (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
24184         (vhdl-electric-semicolon, vhdl-electric-comma)
24185         (vhdl-electric-period, vhdl-electric-equal):
24186         Use directed quotes in diagnostics and doc strings.
24188 2015-08-30  Xue Fuqiao  <xfq.free@gmail.com>
24190         Minor documentation and NEWS tweak
24191         * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
24192         Add an index entry.
24193         * etc/NEWS: Fix a typo in character-fold-to-regexp.
24195 2015-08-30  Michael Albinus  <michael.albinus@gmx.de>
24197         * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
24198         Revert patch from 2015-08-24.  Tramp shall behave like for local files.
24199         * test/automated/tramp-tests.el (tramp-test18-file-attributes):
24200         Adapt test.
24202 2015-08-30  Paul Eggert  <eggert@cs.ucla.edu>
24204         Text quoting fixes in cedet, emulation, emacs-lisp
24205         * lisp/cedet/ede.el (ede-check-project-directory):
24206         * lisp/cedet/semantic/analyze/debug.el
24207         (semantic-analyzer-debug-insert-include-summary):
24208         * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
24209         * lisp/cedet/semantic/decorate/include.el
24210         (semantic-decoration-unknown-include-describe)
24211         (semantic-decoration-all-include-summary):
24212         * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
24213         * lisp/emulation/edt.el (edt-load-keys):
24214         * lisp/emulation/viper-cmd.el
24215         (viper-display-current-destructive-command)
24216         (viper-query-replace, viper-brac-function):
24217         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
24218         * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
24219         Respect text quoting style in doc string or diagnostic.
24220         * lisp/cedet/mode-local.el (describe-mode-local-overload):
24221         Use format-message to avoid overtranslating quotes.
24222         * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
24223         Escape an apostrophe in a docstring.
24224         * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
24226 2015-08-29  Daniel Colascione  <dancol@dancol.org>
24228         Fix which-func for curly quotes: look for symbol, not message
24229         * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
24230         imenu-unavailable error symbol instead of trying to match message
24231         exactly.
24232         * lisp/imenu.el (imenu-unavailable): New error.
24233         (imenu-unavailable-error): New function.
24235 2015-08-29  Eli Zaretskii  <eliz@gnu.org>
24237         Fix Python tests on MS-Windows
24238         * test/automated/python-tests.el
24239         (python-shell-calculate-command-1): Run python-shell-interpreter
24240         through shell-quote-argument before comparing with what
24241         python-shell-calculate-command returns.
24242         (python-shell-calculate-pythonpath-1)
24243         (python-shell-calculate-pythonpath-2)
24244         (python-shell-calculate-process-environment-2): Use path-separator
24245         instead of a literal ':'.
24246         (python-shell-calculate-exec-path-2)
24247         (python-shell-calculate-exec-path-3)
24248         (python-shell-calculate-exec-path-4)
24249         (python-shell-with-environment-1)
24250         (python-shell-with-environment-2): Run "/env/bin" through
24251         expand-file-name before comparing with exec-path.  (Bug#21375)
24253 2015-08-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
24255         Use Core Text types/functions/variables/enumerators directly
24256         * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
24257         (CharacterCollection): Remove typedefs.  All uses replaced with
24258         definitions.
24259         (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
24260         (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
24261         (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
24262         (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
24263         (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
24264         (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
24265         (MAC_FONT_SLANT_TRAIT): Remove macros.  All uses replaced with
24266         definitions.
24267         (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
24268         (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
24269         (MAC_FONT_FORMAT_BITMAP)
24270         (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
24271         (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
24272         All uses replaced with definitions.
24273         (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
24274         (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
24275         (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
24276         Add compatibility enumerators for older versions.
24277         (mac_font_descriptor_create_with_attributes)
24278         (mac_font_descriptor_create_matching_font_descriptors)
24279         (mac_font_descriptor_create_matching_font_descriptor)
24280         (mac_font_descriptor_copy_attribute)
24281         (mac_font_descriptor_supports_languages)
24282         (mac_font_create_with_name, mac_font_get_size)
24283         (mac_font_copy_family_name, mac_font_copy_character_set)
24284         (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
24285         (mac_font_get_descent, mac_font_get_leading)
24286         (mac_font_get_underline_position)
24287         (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
24288         (mac_font_copy_non_synthetic_table): Remove macros.  All uses
24289         replaced with definitions.
24290         (mac_font_create_preferred_family_for_attributes)
24291         (mac_font_get_advance_width_for_glyph)
24292         (mac_font_get_bounding_rect_for_glyph)
24293         (mac_font_create_available_families, mac_font_shape):
24294         Remove macros for renamed functions.
24295         (mac_nsctfont_copy_font_descriptor): Remove unused macro.
24296         * src/macfont.m (mac_font_descriptor_supports_languages):
24297         Rename from mac_ctfont_descriptor_supports_languages.
24298         (mac_font_create_preferred_family_for_attributes): Rename from
24299         mac_ctfont_create_preferred_family_for_attributes.
24300         (mac_font_get_advance_width_for_glyph): Rename from
24301         mac_ctfont_get_advance_width_for_glyph.
24302         Use kCTFontOrientationDefault also for older versions.
24303         (mac_font_get_bounding_rect_for_glyph): Rename from
24304         mac_ctfont_get_bounding_rect_for_glyph.
24305         Use kCTFontOrientationDefault also for older versions.
24306         (mac_font_create_available_families): Rename from
24307         mac_ctfont_create_available_families.
24308         (mac_font_equal_in_postscript_name): Rename from
24309         mac_ctfont_equal_in_postscript_name.  All uses changed.
24310         (mac_font_create_line_with_string_and_font): Rename from
24311         mac_ctfont_create_line_with_string_and_font.  All uses changed.
24312         (mac_font_shape): Rename from mac_ctfont_shape.
24313         (mac_font_family_compare): Remove unused declaration.
24315 2015-08-29  Paul Eggert  <eggert@cs.ucla.edu>
24317         Fix minor text quoting in calc, calendar, vc
24318         * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
24319         * lisp/calc/calc-help.el (calc-j-prefix-help):
24320         * lisp/calc/calc-misc.el (calc-help):
24321         * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
24322         Escape an apostrophe in a docstring.
24323         * lisp/calc/calc-forms.el (calc-hms-notation):
24324         * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
24325         Escape an apostrophe in a diagnostic.
24326         * lisp/calc/calc-misc.el (calc-help):
24327         * lisp/calendar/diary-lib.el (diary-include-files):
24328         * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
24329         * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
24330         * lisp/vc/ediff-diff.el (ediff-same-contents):
24331         * lisp/vc/ediff-merg.el (ediff-re-merge):
24332         * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
24333         * lisp/vc/ediff-util.el (ediff-test-save-region)
24334         (ediff-status-info):
24335         * lisp/vc/ediff.el (ediff-merge-revisions)
24336         (ediff-merge-revisions-with-ancestor):
24337         * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
24338         * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
24339         Respect text quoting style in doc string or diagnostic.
24340         * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
24341         * lisp/vc/add-log.el (change-log-goto-source):
24342         Avoid double-formatting.
24343         * lisp/vc/ediff-init.el (format-message):
24344         New backward-compatibility alias.
24346 2015-08-28  Paul Eggert  <eggert@cs.ucla.edu>
24348         Fix minor text quoting problems in lisp top level
24349         * lisp/apropos.el (apropos-describe-plist):
24350         * lisp/cus-theme.el (customize-themes):
24351         * lisp/dired.el (dired-log):
24352         * lisp/help-fns.el (describe-variable):
24353         * lisp/hexl.el (hexl-insert-multibyte-char):
24354         * lisp/info.el (Info-finder-find-node):
24355         * lisp/json.el (json-read-string):
24356         * lisp/novice.el (disabled-command-function)
24357         (disabled-command-function):
24358         * lisp/startup.el (normal-mouse-startup-screen):
24359         * lisp/woman.el (WoMan-log, WoMan-warn):
24360         Respect text quoting style in doc string or diagnostic.
24361         * lisp/replace.el (replace-character-fold):
24362         * src/syntax.c (Fmodify_syntax_entry):
24363         Escape an apostrophe in a docstring.
24364         * lisp/tempo.el (tempo-define-template):
24365         Remove confusing apostrophe from docstring.
24366         * lisp/whitespace.el (whitespace-mark-x):
24367         Use directed quotes in docstring.
24369 2015-08-28  Simen Heggestøyl  <simenheg@gmail.com>
24371         Fix indentation rule in css-mode
24372         * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
24373         brackets in presence of pseudo-selectors.  (Bug#21328)
24375 2015-08-28  Eli Zaretskii  <eliz@gnu.org>
24377         Fix a bug in recording a macro while flyspell-mode is active
24378         * lisp/subr.el (sit-for): Don't call read-event when recording a
24379         macro.  (Bug#21329)
24381 2015-08-27  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
24383         Tweak startup screen quoting
24384         * lisp/startup.el (normal-splash-screen): Use standard
24385         "M-" abbrevation rather than a confusingly-different one.
24386         (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
24388 2015-08-27  Paul Eggert  <eggert@cs.ucla.edu>
24390         Add test case for ‘format’ bug and refactor
24391         * src/editfns.c (styled_format): Refactor internally, mostly by
24392         moving declarations closer to uses.  This should not affect behavior.
24393         * test/automated/textprop-tests.el (textprop-tests-format): New test.
24395         Fix ‘format’ bug with property offsets
24396         * src/editfns.c (styled_format): Fix recently-introduced ‘format’
24397         bug in calculating string property offsets (Bug#21351).
24399         Use straight quotes in lib-src diagnostics
24400         These auxiliary programs can’t use Emacs’s text-quoting-style,
24401         and it’s too much trouble to redo that mechanism by hand.
24402         So just use straight quotes for now.
24403         * lib-src/ebrowse.c (main):
24404         * lib-src/emacsclient.c (decode_options, main):
24405         * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
24406         (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
24407         (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
24408         (none_help, print_language_names, print_help, add_regex)
24409         (suggest_asking_for_help):
24410         * lib-src/make-docfile.c (write_c_args, scan_c_stream):
24411         Use straight quotes in diagnostics.
24413         ‘text-quoting-style’ fixes for admin
24414         * admin/admin.el (cusver-scan, cusver-check):
24415         * admin/authors.el (authors-canonical-file-name):
24416         * admin/bzrmerge.el (bzrmerge-missing):
24417         Respect ‘text-quoting-style’ in diagnostics.
24419 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
24421         Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
24422         This removes the need for GCPRO1 etc.  Suggested by Stefan Monnier in:
24423         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
24424         * doc/lispref/internals.texi (Writing Emacs Primitives):
24425         * etc/NEWS:
24426         Document the change.
24427         * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
24428         (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
24429         (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
24430         * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
24431         * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
24432         * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
24433         (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
24434         (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
24435         (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
24436         (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
24437         Remove.  All uses removed.  The code now assumes
24438         GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
24439         * src/bytecode.c (relocate_byte_stack):
24440         Rename from unmark_byte_stack, since it now only relocates.
24441         All callers changed.
24442         * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
24443         with GCPROs removed.
24444         * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
24445         * test/automated/finalizer-tests.el (finalizer-basic)
24446         (finalizer-circular-reference, finalizer-cross-reference)
24447         (finalizer-error):
24448         * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
24449         Remove tests, as they depend on gc-precise.
24451 2015-08-26  Nicolas Petton  <nicolas@petton.fr>
24453         Improve seq-concatenate for new sequence types
24454         Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
24455         ensure that concatenation happens on sequences only.  This makes it
24456         possible to use `seq-concatenate' for new types of seqs.
24457         * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
24458         New function used in `seq-concatenate'.
24459         * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
24460         for seq-into-sequence.
24462 2015-08-26  Stephen Leake  <stephen_leake@stephe-leake.org>
24464         Add mode local overrides to xref-find-definitions
24465         * lisp/cedet/mode-local.el (xref-mode-local--override-present)
24466         (xref-mode-local-overload): New; add mode local overrides to
24467         xref-find-definitions.
24468         * test/automated/elisp-mode-tests.el: Add mode local override tests.
24469         (xref-elisp-test-run): Handle indented defuns.
24470         (xref-elisp-generic-*): Improve doc strings.
24471         * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
24472         (elisp--xref-find-definitions): Use it.
24474         Add mode local overrides to describe-function
24475         * lisp/cedet/mode-local.el (describe-mode-local-overload):
24476         New; add mode local overrides to describe-function.
24477         * etc/NEWS: Document change.
24479 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
24481         Prefer straight quoting in some etc text files
24482         These files are plain text and might be used by non-Emacs apps.
24483         They’re mostly ASCII, so just use straight quotes.
24485         Fix quoting in ‘message_with_string’
24486         * src/nsfont.m (nsfont_open): Use directed quotes in format; they
24487         should work now.
24488         * src/xdisp.c (message_to_stderr): New function, refactored from
24489         part of ‘message3_nolog’.
24490         (message3_nolog): Use it.
24491         (message_with_string): Use it.  Don’t mishandle NUL bytes when
24492         noninteractive.  Prefer AUTO_STRING when it’s most likely faster.
24493         Use ‘format-message’, not ‘format’, so that quotes are translated.
24495 2015-08-26  Eli Zaretskii  <eliz@gnu.org>
24497         Mention false positives of file-accessible-directory on w32
24498         * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
24499         (Bug#21346)
24501 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
24503         Treat error strings as help
24504         * src/print.c (print_error_message): Translate quotes and command
24505         keys in errmsg so that users see, e.g., "Symbol’s value as
24506         variable is void: foo" when text-quoting-style is curved.
24508 2015-08-26  Michael Albinus  <michael.albinus@gmx.de>
24510         * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
24512 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
24514         Top-level elisp files respect ‘text-quoting-style’
24515         In top-level elisp files, use format-message in diagnostic formats,
24516         so that they follow user preference as per ‘text-quoting-style’
24517         rather than being hard-coded to quote `like this'.
24518         * lisp/allout.el (allout-get-configvar-values):
24519         * lisp/apropos.el (apropos-symbols-internal):
24520         * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
24521         (dired-do-create-files-regexp, dired-create-files-non-directory):
24522         * lisp/dired-x.el (dired-do-run-mail):
24523         * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
24524         * lisp/disp-table.el (standard-display-european):
24525         * lisp/find-dired.el (find-dired):
24526         * lisp/forms.el (forms-mode):
24527         * lisp/ido.el (ido-buffer-internal):
24528         * lisp/info.el (Info-index-next):
24529         * lisp/outline.el (outline-invent-heading):
24530         * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
24531         * lisp/proced.el (proced-log):
24532         * lisp/ps-print.el (ps-print-preprint, ps-get-size):
24533         * lisp/recentf.el (recentf-open-files, recentf-save-list):
24534         * lisp/savehist.el (savehist-save):
24535         * lisp/server.el (server-ensure-safe-dir):
24536         * lisp/ses.el (ses-rename-cell):
24537         * lisp/simple.el (list-processes--refresh):
24538         * lisp/startup.el (command-line):
24539         * lisp/strokes.el (strokes-unset-last-stroke)
24540         (strokes-execute-stroke):
24541         Use format-message so that quotes are restyled.
24542         * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
24543         Don’t quote ‘raised’.
24544         * lisp/descr-text.el (describe-char):
24545         * lisp/dirtrack.el (dirtrack-debug-message):
24546         * lisp/hexl.el (hexl-insert-multibyte-char):
24547         Apply substitute-command-keys to help string.
24548         * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
24549         (wdired-do-perm-changes):
24550         Let dired-log do the formatting.
24552 2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>
24554         Go back to grave quoting in Tramp
24555         * lisp/net/tramp-adb.el:
24556         * lisp/net/tramp-cache.el:
24557         * lisp/net/tramp-compat.el:
24558         * lisp/net/tramp-gvfs.el:
24559         * lisp/net/tramp-gw.el:
24560         * lisp/net/tramp-sh.el:
24561         * lisp/net/tramp-smb.el:
24562         * lisp/net/tramp.el:
24563         Stick with grave quoting in diagnostics strings.  This is more
24564         portable to older Emacs, desirable for Tramp.
24565         * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
24566         for diagnostic that needs requoting.
24567         * lisp/net/tramp-compat.el (format-message):
24568         Fall back on simple ‘format’, since that’s good enough now.
24570         Go back to grave quoting in Gnus
24571         * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
24572         * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
24573         (gnus-agent-fetch-headers):
24574         * lisp/gnus/gnus-int.el (gnus-start-news-server):
24575         * lisp/gnus/gnus-registry.el:
24576         (gnus-registry--split-fancy-with-parent-internal)
24577         (gnus-registry-post-process-groups):
24578         * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
24579         * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
24580         * lisp/gnus/gnus-topic.el (gnus-topic-rename):
24581         * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
24582         * lisp/gnus/spam.el (spam-check-blackholes):
24583         Stick with grave quoting in diagnostics strings.  This is more
24584         portable to older Emacs, desirable for Gnus.
24586         Fix customization of text-quoting-style
24587         * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
24588         * lisp/wid-edit.el (widget-docstring):
24589         Get raw docstring here since it’s cooked later and should not be
24590         cooked twice.
24591         * lisp/cus-edit.el (custom-group-value-create):
24592         Cook the docstring before inserting it.
24593         * lisp/cus-start.el (text-quoting-style): Quote the customization
24594         docstrings according to the new rules.  Give curved examples.
24596         format-message now curves ` and '
24597         That way, the caller doesn’t have to use curved quotes to
24598         get diagnostics that match the text-quoting-style preferences.
24599         Suggested by Dmitry Gutov in:
24600         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
24601         This means we no longer need %qs, so remove that format.
24602         While we’re at it, fix an unlikely bug and lessen the pressure
24603         on the garbage collector by processing the string once rather
24604         than twice in the usual case.
24605         * doc/lispref/strings.texi (Formatting Strings):
24606         * etc/NEWS: Document this.
24607         * lisp/subr.el (format-message): Remove; now done in C.
24608         * src/callint.c (Fcall_interactively):
24609         * src/editfns.c (Fmessage, Fmessage_box):
24610         Use Fformat_message instead of Finternal__text_restyle
24611         followed by Fformat.
24612         * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
24613         uLSQM and uRSQM.
24614         (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
24615         when pure ASCII now suffices.  Fix unlikely bug when parsing
24616         unibyte string containing non-ASCII bytes.  Use inline code
24617         rather than memcpy, as it’s a tiny number of bytes.
24618         (Finternal__text_restyle): Remove; no longer used.
24619         (syms_of_doc): Don’t declare it.
24620         * src/editfns.c (Fformat): Rewrite in terms of new function
24621         ‘styled_format’.
24622         (Fformat_message): New function, moved here from subr.el.
24623         (styled_format): New function, with the old guts of Fformat,
24624         except it now optionally transliterates quotes, and it transliterates
24625         traditional grave accent and apostrophe quoting as well.
24626         Remove recently-added q flag; no longer needed or used.
24627         (syms_of_editfns): Define format-message.
24628         * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
24629         Remove; no longer need to be global symbols.
24630         * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
24631         so that callers can use `%s'.
24632         * src/image.c (image_size_error, xbm_load_image, xbm_load)
24633         (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
24634         (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
24635         (svg_load_image, gs_load, x_kill_gs_process):
24636         * src/lread.c (load_warn_old_style_backquotes):
24637         * src/xfaces.c (load_pixmap):
24638         * src/xselect.c (x_clipboard_manager_error_1):
24639         Use `%s' instead of %qs in formats.
24641 2015-08-25  Eli Zaretskii  <eliz@gnu.org>
24643         Minor fixes in doc/emacs/search.texi
24644         * doc/emacs/search.texi (Basic Isearch): Fix a typo.
24645         (Special Isearch): Use @w{} to generate several consecutive spaces
24646         with Texinfo 6.  (Bug#21345)
24648 2015-08-25  Michael Albinus  <michael.albinus@gmx.de>
24650         * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
24651         (tramp-awk-coding-test): New defconsts.
24652         (tramp-remote-coding-commands): Use them.
24653         (tramp-find-inline-encoding): Check for Perl only if necessary.
24655 2015-08-25  Xue Fuqiao  <xfq.free@gmail.com>
24657         * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
24658         index entries for the special form `quote'.
24660 2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>
24662         Spelling fixes
24664         Gnus format-message typo fix
24665         * lisp/gnus/gnus-util.el (gnus-format-message):
24666         Fix typo when running in older Emacs.
24668         Prefer directed to neutral quotes in docstings and diagnostics.
24669         In docstrings, escape apostrophes that would otherwise be translated
24670         to curved quotes using the newer, simpler rules.
24671         * admin/unidata/unidata-gen.el (unidata-gen-table):
24672         * lisp/align.el (align-region):
24673         * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
24674         * lisp/bookmark.el (bookmark-default-annotation-text):
24675         * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
24676         * lisp/calc/calc-lang.el (math-read-giac-subscr)
24677         (math-read-math-subscr):
24678         * lisp/calc/calc-misc.el (report-calc-bug):
24679         * lisp/calc/calc-prog.el (calc-fix-token-name)
24680         (calc-read-parse-table-part):
24681         * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
24682         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
24683         * lisp/dabbrev.el (dabbrev-expand):
24684         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
24685         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
24686         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
24687         * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
24688         * lisp/erc/erc-button.el (erc-nick-popup):
24689         * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
24690         * lisp/eshell/em-dirs.el (eshell/cd):
24691         * lisp/eshell/em-glob.el (eshell-glob-regexp):
24692         * lisp/eshell/em-pred.el (eshell-parse-modifiers):
24693         * lisp/eshell/esh-arg.el (eshell-parse-arguments):
24694         * lisp/eshell/esh-opt.el (eshell-show-usage):
24695         * lisp/files-x.el (modify-file-local-variable):
24696         * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
24697         (filesets-update-pre010505):
24698         * lisp/find-cmd.el (find-generic, find-to-string):
24699         * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
24700         * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
24701         (gnus-agent-fetch-headers):
24702         * lisp/gnus/gnus-int.el (gnus-start-news-server):
24703         * lisp/gnus/gnus-registry.el:
24704         (gnus-registry--split-fancy-with-parent-internal):
24705         * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
24706         * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
24707         * lisp/gnus/gnus-topic.el (gnus-topic-rename):
24708         * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
24709         * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
24710         * lisp/gnus/spam.el (spam-check-blackholes):
24711         * lisp/mail/feedmail.el (feedmail-run-the-queue):
24712         * lisp/mpc.el (mpc-playlist-rename):
24713         * lisp/net/ange-ftp.el (ange-ftp-shell-command):
24714         * lisp/net/mairix.el (mairix-widget-create-query):
24715         * lisp/net/tramp-cache.el:
24716         * lisp/obsolete/otodo-mode.el (todo-more-important-p):
24717         * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
24718         * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
24719         * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
24720         * lisp/org/ob-core.el (org-babel-goto-named-src-block)
24721         (org-babel-goto-named-result):
24722         * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
24723         * lisp/org/ob-ref.el (org-babel-ref-resolve):
24724         * lisp/org/org-agenda.el (org-agenda-prepare):
24725         * lisp/org/org-bibtex.el (org-bibtex-fields):
24726         * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
24727         (org-clock-resolve):
24728         * lisp/org/org-feed.el (org-feed-parse-atom-entry):
24729         * lisp/org/org-habit.el (org-habit-parse-todo):
24730         * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
24731         (org-mouse-context-menu):
24732         * lisp/org/org-table.el (org-table-edit-formulas):
24733         * lisp/org/ox.el (org-export-async-start):
24734         * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
24735         (dun-rooms, dun-endgame-questions):
24736         * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
24737         * lisp/progmodes/ada-xref.el (ada-find-executable):
24738         * lisp/progmodes/antlr-mode.el (antlr-options-alists):
24739         * lisp/progmodes/flymake.el (flymake-parse-err-lines)
24740         (flymake-start-syntax-check-process):
24741         * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
24742         * lisp/progmodes/sql.el (sql-comint):
24743         * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
24744         * lisp/server.el (server-get-auth-key):
24745         * lisp/subr.el (version-to-list):
24746         * lisp/textmodes/reftex-ref.el (reftex-label):
24747         * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
24748         * lisp/vc/ediff-diff.el (ediff-same-contents):
24749         * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
24750         * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
24751         Use directed rather than neutral quotes in diagnostics.
24753         Treat ' like ’ even when not matching `
24754         This is simpler and easier to explain, and should encourage better
24755         typography.  Do this in Electric Quote mode and when translating
24756         quotes in docstrings.  Inspired by a suggestion by Dmitry Gutov in:
24757         https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
24758         * doc/emacs/text.texi (Quotation Marks):
24759         * doc/lispref/help.texi (Keys in Documentation):
24760         * etc/NEWS:
24761         Document this.
24762         * lisp/electric.el (electric-quote-post-self-insert-function):
24763         * src/doc.c (Fsubstitute_command_keys):
24764         Always treat ' like ’ even when not matched by an open quote.
24766 2015-08-25  Glenn Morris  <rgm@gnu.org>
24768         * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
24769         * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
24771 2015-08-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
24773         * src/macfont.m (macfont_create_family_with_symbol):
24774         Accept localized names.
24776 2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>
24778         Tramp diagnostics as per ‘text-quoting-style’
24779         * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
24780         (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
24781         (tramp-adb-handle-delete-directory)
24782         (tramp-adb-handle-delete-file)
24783         (tramp-adb-handle-file-local-copy)
24784         (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
24785         (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
24786         (tramp-adb-maybe-open-connection):
24787         * lisp/net/tramp-cache.el:
24788         * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
24789         (tramp-compat-octal-to-decimal)
24790         (tramp-compat-coding-system-change-eol-conversion):
24791         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
24792         (tramp-gvfs-do-copy-or-rename-file)
24793         (tramp-gvfs-handle-delete-directory)
24794         (tramp-gvfs-handle-delete-file)
24795         (tramp-gvfs-handle-expand-file-name)
24796         (tramp-gvfs-handle-file-local-copy)
24797         (tramp-gvfs-handle-file-notify-add-watch)
24798         (tramp-gvfs-handle-make-directory)
24799         (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
24800         * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
24801         (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
24802         * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
24803         (tramp-sh-handle-set-visited-file-modtime)
24804         (tramp-sh-handle-set-file-modes)
24805         (tramp-sh-handle-file-name-all-completions)
24806         (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
24807         (tramp-do-copy-or-rename-file-directly)
24808         (tramp-do-copy-or-rename-file-out-of-band)
24809         (tramp-sh-handle-make-directory)
24810         (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
24811         (tramp-sh-handle-insert-directory, tramp-process-sentinel)
24812         (tramp-sh-handle-start-file-process)
24813         (tramp-sh-handle-file-local-copy)
24814         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
24815         (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
24816         (tramp-find-file-exists-command, tramp-open-shell)
24817         (tramp-find-shell)
24818         (tramp-open-connection-setup-interactive-shell)
24819         (tramp-find-inline-encoding, tramp-find-inline-compress)
24820         (tramp-compute-multi-hops, tramp-maybe-open-connection)
24821         (tramp-wait-for-output, tramp-send-command-and-check)
24822         (tramp-send-command-and-read, tramp-get-remote-path)
24823         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
24824         (tramp-get-ls-command-with-quoting-style)
24825         (tramp-get-test-command, tramp-get-remote-ln)
24826         (tramp-get-remote-perl, tramp-get-remote-stat)
24827         (tramp-get-remote-readlink, tramp-get-remote-trash)
24828         (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
24829         (tramp-get-remote-inotifywait, tramp-get-remote-id)
24830         (tramp-get-remote-python):
24831         * lisp/net/tramp-smb.el (tramp-smb-errors)
24832         (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
24833         (tramp-smb-handle-delete-directory)
24834         (tramp-smb-handle-delete-file)
24835         (tramp-smb-handle-file-local-copy)
24836         (tramp-smb-handle-make-directory)
24837         (tramp-smb-handle-make-directory-internal)
24838         (tramp-smb-handle-make-symbolic-link)
24839         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
24840         (tramp-smb-handle-set-file-modes)
24841         (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
24842         * lisp/net/tramp.el (tramp-debug-message, tramp-error)
24843         (tramp-process-actions):
24844         Generate diagnostics according to ‘text-quoting-style’, by
24845         using curved quotes in format strings and ‘format-message’
24846         when appropriate.
24847         * lisp/net/tramp-compat.el (format-message):
24848         Define a replacement, if it’s an older version of Emacs
24849         that doesn’t have it already.
24851         * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
24853 2015-08-24  Xue Fuqiao  <xfq.free@gmail.com>
24855         Fix documentation for `save-excursion'
24856         * doc/lispref/positions.texi (Excursions):
24857         * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
24858         (Template for save-excursion, Point and mark): `save-excursion'
24859         does not save&restore the mark any more.
24861 2015-08-24  Michael Albinus  <michael.albinus@gmx.de>
24863         * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
24864         New defconsts.
24865         (tramp-do-file-attributes-with-stat)
24866         (tramp-do-directory-files-and-attributes-with-stat): Use them.
24867         (tramp-convert-file-attributes): Remove double slashes in symlinks.
24868         * test/automated/tramp-tests.el (tramp-test18-file-attributes):
24869         Handle symlinks with "//" in the file name.
24871         Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
24873 2015-08-24  Nicolas Petton  <nicolas@petton.fr>
24875         Fix cl-subseq and cl-concatenate
24876         * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
24877         seq functions.
24878         * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
24879         seq-concatenate.
24881 2015-08-24  Pip Cet  <pipcet@gmail.com>  (tiny change)
24883         Fix full-screen code when there is no window manager (Bug#21317)
24884         * src/xterm.h (x_wm_supports): Declare external.
24885         * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
24886         (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
24887         (x_check_fullscreen): Call `x_wm_set_size_hint', restore
24888         `fullscreen' frame parameter.
24889         * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
24890         without a window manager.
24892 2015-08-24  Glenn Morris  <rgm@gnu.org>
24894         * lisp/version.el (emacs-version): No longer include build host.
24895         * doc/lispref/intro.texi (Version Info): Update example.
24897 2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>
24899         * doc/lispref/elisp.texi: Fix typo in previous change.
24901         More-conservative ‘format’ quote restyling
24902         Instead of restyling curved quotes for every call to ‘format’,
24903         create a new function ‘format-message’ that does the restyling,
24904         and using the new function instead of ‘format’ only in contexts
24905         where this seems appropriate.
24906         Problem reported by Dmitry Gutov and Andreas Schwab in:
24907         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
24908         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
24909         * doc/lispref/commands.texi (Using Interactive):
24910         * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
24911         * doc/lispref/display.texi (Displaying Messages, Progress):
24912         * doc/lispref/elisp.texi:
24913         * doc/lispref/help.texi (Keys in Documentation):
24914         * doc/lispref/minibuf.texi (Minibuffer Misc):
24915         * doc/lispref/strings.texi (Formatting Strings):
24916         * etc/NEWS:
24917         Document the changes.
24918         * lisp/abbrev.el (expand-region-abbrevs):
24919         * lisp/apropos.el (apropos-library):
24920         * lisp/calc/calc-ext.el (calc-record-message)
24921         (calc-user-function-list):
24922         * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
24923         * lisp/calc/calc-lang.el (math-read-big-balance):
24924         * lisp/calc/calc-store.el (calc-edit-variable):
24925         * lisp/calc/calc-units.el (math-build-units-table-buffer):
24926         * lisp/calc/calc-yank.el (calc-edit-mode):
24927         * lisp/calendar/icalendar.el (icalendar-export-region)
24928         (icalendar--add-diary-entry):
24929         * lisp/cedet/mode-local.el (mode-local-print-binding)
24930         (mode-local-describe-bindings-2):
24931         * lisp/cedet/semantic/complete.el (semantic-completion-message):
24932         * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
24933         * lisp/cedet/semantic/wisent/comp.el (wisent-log):
24934         * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
24935         * lisp/descr-text.el (describe-text-properties-1, describe-char):
24936         * lisp/dframe.el (dframe-message):
24937         * lisp/dired-aux.el (dired-query):
24938         * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
24939         * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
24940         (byte-compile-log-file, byte-compile-warn, byte-compile-form):
24941         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
24942         (cconv-analyze-form):
24943         * lisp/emacs-lisp/check-declare.el (check-declare-warn):
24944         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
24945         * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
24946         * lisp/emacs-lisp/edebug.el (edebug-format):
24947         * lisp/emacs-lisp/eieio-core.el (eieio-oref):
24948         * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
24949         (eldoc-message):
24950         * lisp/emacs-lisp/elint.el (elint-file, elint-log):
24951         * lisp/emacs-lisp/find-func.el (find-function-library):
24952         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
24953         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
24954         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
24955         * lisp/emacs-lisp/package.el (package-compute-transaction)
24956         (package-install-button-action, package-delete-button-action)
24957         (package-menu--list-to-prompt):
24958         * lisp/emacs-lisp/timer.el (timer-event-handler):
24959         * lisp/emacs-lisp/warnings.el (lwarn, warn):
24960         * lisp/emulation/viper-cmd.el:
24961         (viper-toggle-parse-sexp-ignore-comments)
24962         (viper-kill-buffer, viper-brac-function):
24963         * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
24964         * lisp/facemenu.el (facemenu-add-new-face):
24965         * lisp/faces.el (face-documentation, read-face-name)
24966         (face-read-string, read-face-font, describe-face):
24967         * lisp/files.el (find-alternate-file, hack-local-variables)
24968         (hack-one-local-variable--obsolete, write-file)
24969         (basic-save-buffer, delete-directory):
24970         * lisp/format.el (format-write-file, format-find-file)
24971         (format-insert-file):
24972         * lisp/help-fns.el (help-fns--key-bindings)
24973         (help-fns--compiler-macro, help-fns--obsolete)
24974         (help-fns--interactive-only, describe-function-1)
24975         (describe-variable):
24976         * lisp/help.el (describe-mode):
24977         * lisp/info-xref.el (info-xref-output):
24978         * lisp/info.el (Info-virtual-index-find-node)
24979         (Info-virtual-index, info-apropos):
24980         * lisp/international/kkc.el (kkc-error):
24981         * lisp/international/mule-cmds.el:
24982         (select-safe-coding-system-interactively)
24983         (select-safe-coding-system, describe-input-method):
24984         * lisp/international/mule-conf.el (code-offset):
24985         * lisp/international/mule-diag.el (describe-character-set)
24986         (list-input-methods-1):
24987         * lisp/international/quail.el (quail-error):
24988         * lisp/minibuffer.el (minibuffer-message):
24989         * lisp/mpc.el (mpc--debug):
24990         * lisp/msb.el (msb--choose-menu):
24991         * lisp/net/ange-ftp.el (ange-ftp-message):
24992         * lisp/net/gnutls.el (gnutls-message-maybe):
24993         * lisp/net/newst-backend.el (newsticker--sentinel-work):
24994         * lisp/net/newst-treeview.el (newsticker--treeview-load):
24995         * lisp/net/nsm.el (nsm-query-user):
24996         * lisp/net/rlogin.el (rlogin):
24997         * lisp/net/soap-client.el (soap-warning):
24998         * lisp/net/tramp.el (tramp-debug-message):
24999         * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
25000         * lisp/nxml/nxml-parse.el (nxml-parse-error):
25001         * lisp/nxml/rng-cmpct.el (rng-c-error):
25002         * lisp/nxml/rng-match.el (rng-compile-error):
25003         * lisp/nxml/rng-uri.el (rng-uri-error):
25004         * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
25005         * lisp/org/org-ctags.el:
25006         (org-ctags-ask-rebuild-tags-file-then-find-tag):
25007         * lisp/proced.el (proced-log):
25008         * lisp/progmodes/ebnf2ps.el (ebnf-log):
25009         * lisp/progmodes/flymake.el (flymake-log):
25010         * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
25011         * lisp/replace.el (occur-1):
25012         * lisp/simple.el (execute-extended-command)
25013         (undo-outer-limit-truncate, define-alternatives):
25014         * lisp/startup.el (command-line):
25015         * lisp/subr.el (error, user-error, add-to-list):
25016         * lisp/tutorial.el (tutorial--describe-nonstandard-key)
25017         (tutorial--find-changed-keys):
25018         * src/callint.c (Fcall_interactively):
25019         * src/editfns.c (Fmessage, Fmessage_box):
25020         Restyle the quotes of format strings intended for use as a
25021         diagnostic, when restyling seems appropriate.
25022         * lisp/subr.el (format-message): New function.
25023         * src/doc.c (Finternal__text_restyle): New function.
25024         (syms_of_doc): Define it.
25026 2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>
25028         * etc/NEWS: The new ‘q’ flag is not an incompatible change.
25030 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25032         python.el: Fix python-shell-buffer-substring on indented code
25033         (Bug#21086)
25034         * lisp/progmodes/python.el (python-shell-buffer-substring):
25035         Respect current line indentation when calculating string.
25036         * test/automated/python-tests.el
25037         (python-shell-buffer-substring-10)
25038         (python-shell-buffer-substring-11)
25039         (python-shell-buffer-substring-12): New tests.
25041 2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>
25043         Fix minor glitches from ‘format’ reversion
25044         * doc/lispref/strings.texi (Formatting Strings):
25045         After reversion, ‘text-quoting-style’ is documented in ‘Keys in
25046         Documentation’, not below.
25047         * src/syntax.c (Finternal_describe_syntax_value):
25048         Prefer AUTO_STRING to build_string where either will do, as
25049         AUTO_STRING is a bit faster.
25051 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25053         python.el: Defer shell setup code until first interactive prompt
25054         * lisp/progmodes/python.el
25055         (python-shell-comint-watch-for-first-prompt-output-filter):
25056         New function.
25057         (inferior-python-mode): Use it.
25058         (python-shell-first-prompt-hook): New hook.
25059         (python-shell-send-setup-code)
25060         (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
25061         this hook instead of inferior-python-hook.
25063 2015-08-23  Nicolas Petton  <nicolas@petton.fr>
25065         Remove the calls to `seq-into` from `seq-concatenate`
25066         Since most new types of seq would have to be defined as sequences (cons
25067         cells or CL structs, mostly), there is no need to convert the seqs to
25068         sequences (which can be a fairly expensive operation).
25069         * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
25070         sequences.
25072 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25074         python.el: Fix completion for pdb interactions
25075         * lisp/progmodes/python.el (python-shell-completion-setup-code):
25076         Simplify.  Toggle print_mode for native wrapped completer.
25077         (python-shell-completion-native-setup): Ensure process buffer.
25078         Add print_mode attribute to completer wrapper to toggle returning
25079         or printing candidates.
25080         (python-shell-completion-native-get-completions): Cleanup.
25081         (python-shell-completion-get-completions): Cleanup.
25082         (python-shell-completion-at-point): Perform prompt checks.
25083         Force fallback completion in pdb interactions.
25085 2015-08-23  Nicolas Petton  <nicolas@petton.fr>
25087         Make seq.el more extensible by using cl-defmethod
25088         * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
25089         make it easier to extend seq.el with new "seq types".
25090         * test/automated/seq-tests.el (test-setf-seq-elt): New test.
25091         * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
25092         subseq in cl-extra.el, and use it in seq.el.
25094 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25096         python.el: Fix prompt detection with user overridden interpreter
25097         * lisp/progmodes/python.el (python-shell-prompt-detect):
25098         Honor buffer local python-shell-interpreter and
25099         python-shell-interpreter-interactive-arg.
25101 2015-08-23  Eli Zaretskii  <eliz@gnu.org>
25103         Support exec-directory with non-ASCII characters on Windows
25104         * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
25105         in the system's ANSI codepage, when it is used for invoking
25106         cmdproxy.
25108 2015-08-23  Andreas Schwab  <schwab@linux-m68k.org>
25110         Revert "Extend ‘format’ to translate curved quotes"
25111         This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
25113         Revert "Prefer ‘format’ to ‘substitute-command-keys’"
25114         This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
25116 2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>
25118         * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
25119         Clarify "invisible window".
25121 2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>
25123         * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
25124         magic-fallback-mode-alist.
25126 2015-08-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25128         python.el: fallback completion, ffap and eldoc setup enhancements
25129         Setup codes are now sent continuously so that the current frame is
25130         always taken into account.  This allows working within debuggers
25131         and always keeping a fresh version of setup codes that will return
25132         proper results.
25133         * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
25134         (python-shell-send-setup-code): Send code only when
25135         python-shell-setup-codes is non-nil.
25136         (python-shell-completion-string-code): Cleanup trailing newline.
25137         (python-shell-completion-get-completions): Always use
25138         python-shell-completion-setup-code.
25139         (python-ffap-setup-code): Work with any object, not only modules.
25140         (python-ffap-string-code): Cleanup trailing newline.
25141         (python-ffap-module-path): Always use python-ffap-setup-code.
25142         (python-eldoc-string-code): Cleanup trailing newline.
25143         (python-eldoc--get-doc-at-point): Always use
25144         python-eldoc-setup-code.  Return non-nil only if docstring is
25145         found.
25147         python.el: Increase native completion robustness
25148         * lisp/progmodes/python.el (python-shell-completion-native-setup):
25149         Make completer print real candidates and just return dummy ones to
25150         avoid input modification.
25151         (python-shell-completion-native-get-completions): Set
25152         comint-redirect-insert-matching-regexp to non-nil and make
25153         comint-redirect-finished-regexp match the last dummy candidate.
25154         Use python-shell-accept-process-output to wait for the full list
25155         of candidates.
25157 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
25159         Fix invocation of programs via cmdproxy.exe
25160         * src/w32proc.c (sys_spawnve): Use exec-directory, not
25161         invocation-directory, for finding cmdproxy.exe.  When Emacs is
25162         run from the source tree, look for cmdproxy.exe in the same source
25163         tree.  (Bug#21323)
25165 2015-08-22  Simen Heggestøyl  <simenheg@gmail.com>
25167         Handle comments inside unquoted URIs in css-mode
25168         * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
25169         (css-syntax-propertize-function): New defconst.
25170         (css--font-lock-keywords): Handle parens around unquoted URIs.
25171         (css-mode): Set `syntax-propertize-function'.
25173 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
25175         Support invocation of Hunspell with multiple dictionaries
25176         * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
25177         Support lists of dictionaries of the form "DICT1,DICT2,...".
25178         (ispell-hunspell-add-multi-dic): New command.  (Bug#20495)
25180         Minor formatting changes in ispell.el
25181         * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
25182         (ispell-print-if-debug, ispell-aspell-find-dictionary)
25183         (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
25184         (ispell-hunspell-dictionary-alist)
25185         (ispell-hunspell-fill-dictionary-entry)
25186         (ispell-find-hunspell-dictionaries, ispell-send-replacement)
25187         (ispell-buffer-with-debug, ispell-complete-word)
25188         (ispell-current-dictionary, ispell-current-personal-dictionary)
25189         (ispell-accept-output, ispell-minor-mode)
25190         (ispell-personal-dictionary, ispell-dictionary-alist)
25191         (ispell-really-aspell, ispell-really-hunspell)
25192         (ispell-encoding8-command, ispell-aspell-supports-utf8)
25193         (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
25194         Fix whitespace, inconsistent capitalization, and arguments in doc
25195         strings.
25197 2015-08-22  Martin Rudalics  <rudalics@gmx.at>
25199         * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
25200         function refused to resize a size-preserved window.
25202 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
25204         * doc/lispref/windows.texi (Selecting Windows): Improve
25205         documentation and indexing of 'window-use-time'.
25207 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
25209         * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
25210         * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
25211         * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
25212         * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
25213         * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
25214         * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
25215         * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
25216         Fix up commenting style.
25218 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
25220         text-quoting-style in emacs-lisp diagnostics
25221         * lisp/emacs-lisp/advice.el (ad-read-advised-function)
25222         (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
25223         (ad-disable-advice, ad-remove-advice, ad-set-argument)
25224         (ad-set-arguments):
25225         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
25226         (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
25227         (byte-optimize-while, byte-optimize-apply):
25228         * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
25229         (byte-compile-log-file, byte-compile-format-warn)
25230         (byte-compile-nogroup-warn, byte-compile-arglist-warn)
25231         (byte-compile-cl-warn)
25232         (byte-compile-warn-about-unresolved-functions)
25233         (byte-compile-file, byte-compile-fix-header)
25234         (byte-compile--declare-var, byte-compile-file-form-defmumble)
25235         (byte-compile-form, byte-compile-normal-call)
25236         (byte-compile-variable-ref, byte-compile-variable-set)
25237         (byte-compile-subr-wrong-args, byte-compile-setq-default)
25238         (byte-compile-negation-optimizer)
25239         (byte-compile-condition-case--old)
25240         (byte-compile-condition-case--new, byte-compile-save-excursion)
25241         (byte-compile-defvar, byte-compile-autoload)
25242         (byte-compile-lambda-form)
25243         (byte-compile-make-variable-buffer-local, display-call-tree)
25244         (batch-byte-compile):
25245         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
25246         (cconv-analyze-form):
25247         * lisp/emacs-lisp/chart.el (chart-space-usage):
25248         * lisp/emacs-lisp/check-declare.el (check-declare-scan)
25249         (check-declare-warn, check-declare-file)
25250         (check-declare-directory):
25251         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
25252         (checkdoc-message-text-engine):
25253         * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
25254         * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
25255         (cl-symbol-macrolet):
25256         * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
25257         * lisp/emacs-lisp/copyright.el (copyright)
25258         (copyright-update-directory):
25259         * lisp/emacs-lisp/edebug.el (edebug-read-list):
25260         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
25261         * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
25262         (eieio-oref, eieio-oset-default):
25263         * lisp/emacs-lisp/eieio-speedbar.el:
25264         (eieio-speedbar-child-make-tag-lines)
25265         (eieio-speedbar-child-description):
25266         * lisp/emacs-lisp/eieio.el (defclass, change-class):
25267         * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
25268         (elint-init-form, elint-check-defalias-form)
25269         (elint-check-let-form):
25270         * lisp/emacs-lisp/ert.el (ert-get-test):
25271         * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
25272         (find-function-library):
25273         * lisp/emacs-lisp/generator.el (iter-yield):
25274         * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
25275         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
25276         * lisp/emacs-lisp/package-x.el (package-upload-file):
25277         * lisp/emacs-lisp/package.el (package-version-join)
25278         (package-disabled-p, package-activate-1, package-activate)
25279         (package--download-one-archive)
25280         (package--download-and-read-archives)
25281         (package-compute-transaction, package-install-from-archive)
25282         (package-install, package-install-selected-packages)
25283         (package-delete, package-autoremove)
25284         (package-install-button-action, package-delete-button-action)
25285         (package-menu-hide-package, package-menu--list-to-prompt)
25286         (package-menu--perform-transaction)
25287         (package-menu--find-and-notify-upgrades):
25288         * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
25289         * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
25290         * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
25291         * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
25292         * lisp/emacs-lisp/smie.el (smie-config-save):
25293         * lisp/emacs-lisp/subr-x.el (internal--check-binding):
25294         * lisp/emacs-lisp/testcover.el (testcover-1value):
25295         Use curved quotes in diagnostic format strings.
25297 2015-08-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25299         python.el: Ensure remote process-environment on non-interactive processes
25300         * lisp/progmodes/python.el
25301         (python-shell-tramp-refresh-process-environment): New function.
25302         (python-shell-with-environment): Use it.
25303         * test/automated/python-tests.el (python-shell-with-environment-2):
25304         Update.
25306         python.el: Enhancements to process environment setup.
25307         * lisp/progmodes/python.el (python-shell-process-environment)
25308         (python-shell-extra-pythonpaths, python-shell-exec-path)
25309         (python-shell-virtualenv-root): Update docstring.  Remove :safe.
25310         (python-shell-setup-codes): Remove :safe.
25311         (python-shell-remote-exec-path): New defcustom.
25312         (python-shell--add-to-path-with-priority): New macro.
25313         (python-shell-calculate-pythonpath): Give priority to
25314         python-shell-extra-pythonpaths.  Update docstring.
25315         (python-shell-calculate-process-environment): Give priority to
25316         python-shell-process-environment.  Update docstring.
25317         (python-shell-calculate-exec-path): Give priority to
25318         python-shell-exec-path and calculated virtualenv bin directory.
25319         Update docstring.
25320         (python-shell-tramp-refresh-remote-path): New function.
25321         (python-shell-with-environment): Use it when working remotely and
25322         do not modify tramp-remote-path.  Allow nesting.
25323         (python-shell-calculate-command): Remove useless
25324         python-shell-with-environment call.
25325         * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
25326         (python-shell-calculate-pythonpath-2)
25327         (python-shell-calculate-process-environment-6)
25328         (python-shell-calculate-process-environment-7)
25329         (python-shell-calculate-process-environment-8)
25330         (python-shell-calculate-exec-path-3)
25331         (python-shell-calculate-exec-path-4)
25332         (python-shell-calculate-exec-path-5)
25333         (python-shell-calculate-exec-path-6)
25334         (python-shell-with-environment-3): New tests.
25335         (python-shell-calculate-process-environment-2)
25336         (python-shell-calculate-process-environment-3)
25337         (python-shell-calculate-process-environment-4)
25338         (python-shell-calculate-process-environment-5)
25339         (python-shell-calculate-exec-path-1)
25340         (python-shell-calculate-exec-path-2)
25341         (python-shell-with-environment-1)
25342         (python-shell-with-environment-2): Update and simplify.
25344 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
25346         Avoid hard-coding "M-x command" in docstrings
25347         * lisp/calendar/todo-mode.el (todo-mode):
25348         * lisp/desktop.el (desktop-save-mode):
25349         * lisp/edmacro.el (edit-kbd-macro):
25350         * lisp/emacs-lisp/package.el (package-menu-execute):
25351         * lisp/emulation/viper-cmd.el (viper-ask-level):
25352         * lisp/emulation/viper-init.el (viper-expert-level):
25353         * lisp/filesets.el (filesets-add-buffer):
25354         * lisp/follow.el (follow-mode):
25355         * lisp/gnus/auth-source.el (auth-sources):
25356         * lisp/international/ogonek.el (ogonek-informacja)
25357         (ogonek-information):
25358         * lisp/net/tramp.el (tramp-process-actions):
25359         * lisp/org/org-gnus.el (org-gnus-no-new-news):
25360         * lisp/org/org.el (org-ellipsis):
25361         * lisp/progmodes/python.el (python-shell-get-process-or-error):
25362         * lisp/progmodes/vhdl-mode.el (vhdl-mode):
25363         * lisp/server.el (server-start):
25364         * lisp/type-break.el (type-break-noninteractive-query):
25365         * lisp/userlock.el (ask-user-about-supersession-help):
25366         * lisp/whitespace.el (whitespace-report-region):
25367         Prefer (substitute-command-keys "`\\[foo-command]'")
25368         to "`M-x foo-command'" in docstrings and the like.
25370 2015-08-21  Tassilo Horn  <tsdh@gnu.org>
25372         Use add-function for prettify-symbols-compose-predicate
25373         * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
25374         prettify-symbols-compose-predicate in terms of add-function.
25375         * etc/NEWS: Mention prettify-symbols-compose-predicate and
25376         prettify-symbols-mode support in tex-mode.
25378 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
25380         * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
25381         (smie-indent-exps, smie-indent-keyword): Use it.
25382         * test/indent/css-mode.css: Test alignment with leading comment.
25384 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
25386         Respect text-quoting-style in (*Finder*) menus
25387         * lisp/info.el (info--prettify-description):
25388         Treat description as a docstring, so that it's requoted as
25389         per text-quoting-style.
25391 2015-08-21  Martin Rudalics  <rudalics@gmx.at>
25393         Document `window-use-time' in Elisp manual
25394         * doc/lispref/windows.texi (Selecting Windows): Document
25395         `window-use-time'.
25397 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
25399         * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
25400         This is a cleaner fix for Bug#21260 than the previous change.
25402 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
25404         Respect text-quoting-style in calc
25405         In calc, tespect text-quoting-style preference in diagnostic
25406         formats and fix a few similar problems in docstrings.
25407         * lisp/calc/calc-aent.el (math-read-factor):
25408         * lisp/calc/calc-embed.el (calc-do-embedded):
25409         * lisp/calc/calc-ext.el (calc-user-function-list)
25410         * lisp/calc/calc-graph.el (calc-graph-show-dumb):
25411         * lisp/calc/calc-help.el (calc-describe-key)
25412         (calc-describe-thing):
25413         * lisp/calc/calc-lang.el (calc-c-language)
25414         (math-parse-fortran-vector-end, math-parse-tex-sum)
25415         (math-parse-eqn-matrix, math-parse-eqn-prime)
25416         (calc-yacas-language, calc-maxima-language, calc-giac-language)
25417         (math-read-big-rec, math-read-big-balance):
25418         * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
25419         (calc-auto-recompute):
25420         * lisp/calc/calc-prog.el (calc-user-define-invocation)
25421         (math-do-arg-check):
25422         * lisp/calc/calc-store.el (calc-edit-variable):
25423         * lisp/calc/calc-units.el (math-build-units-table-buffer):
25424         * lisp/calc/calc-vec.el (math-read-brackets):
25425         * lisp/calc/calc-yank.el (calc-edit-mode):
25426         * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
25427         Use curved quotes in diagnostic format strings.
25428         * lisp/calc/calc-help.el (calc-describe-thing):
25429         Format docstrings with substitute-command-keys.
25430         * lisp/calc/calc-help.el (calc-j-prefix-help):
25431         * lisp/calc/calc-misc.el (calc-help):
25432         * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
25433         Escape a docstring "`".
25435 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
25437         Fix documentation of 'menu-set-font' and 'set-frame-font'
25438         * lisp/menu-bar.el (menu-set-font): Doc fix.  (Bug#21303)
25439         * doc/lispref/frames.texi (Frame Font): Document that
25440         set-frame-font with the last argument 't' will also make the font
25441         the default for the future GUI frames.
25443         Document '--create-frame' option to emacsclient
25444         * doc/emacs/misc.texi (emacsclient Options): Document the
25445         '--create-frame' option.  (Bug#21308)
25447 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
25449         * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
25451 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
25453         Document 'get-mru-window' in the ELisp manual
25454         * doc/lispref/windows.texi (Cyclic Window Ordering): Document
25455         'get-mru-window'.  (Bug#21306)
25457         Clarify documentation of 'get-buffer-window-list'
25458         * doc/lispref/windows.texi (Buffers and Windows): Mention that the
25459         current window, if relevant, will be the first in the list
25460         returned by 'get-buffer-window-list'.
25461         * lisp/window.el (get-buffer-window-list): Doc fix.  (Bug#21305)
25463 2015-08-21  Vasilij Schneidermann  <v.schneidermann@gmail.com>
25465         In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
25466         * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
25467         `switch-to-buffer'.
25469 2015-08-21  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)
25471         In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
25472         * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
25473         `display-buffer' instead of `switch-to-buffer'.
25475 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
25477         Follow user preference in calendar diagnostics
25478         Respect text-quoting-style preference in diagnostic formats by
25479         using curved quotes (which are translated as per text-quoting-style)
25480         instead of grave accent and apostrophe (which are not).
25481         * lisp/calendar/appt.el (appt-display-message):
25482         * lisp/calendar/diary-lib.el (diary-check-diary-file)
25483         (diary-mail-entries, diary-from-outlook):
25484         * lisp/calendar/icalendar.el (icalendar-export-region)
25485         (icalendar--convert-float-to-ical)
25486         (icalendar--convert-date-to-ical)
25487         (icalendar--convert-ical-to-diary)
25488         (icalendar--convert-recurring-to-diary)
25489         (icalendar--add-diary-entry):
25490         * lisp/calendar/time-date.el (format-seconds):
25491         * lisp/calendar/timeclock.el (timeclock-mode-line-display)
25492         (timeclock-make-hours-explicit):
25493         * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
25494         (todo-item-mark, todo-check-format)
25495         (todo-insert-item--next-param, todo-edit-item--next-key)
25496         (todo-mode):
25497         Use curved quotes in diagnostic format strings.
25498         * lisp/calendar/icalendar.el (icalendar-import-format-sample):
25499         * test/automated/icalendar-tests.el (icalendar--import-format-sample):
25500         Just use straight quoting for simple test case.
25502 2015-08-21  Michael Albinus  <michael.albinus@gmx.de>
25504         * src/gfilenotify.c (Fgfile_add_watch):
25505         Handle errors from g_file_monitor.
25507 2015-08-21  Martin Rudalics  <rudalics@gmx.at>
25509         In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
25510         * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
25511         frame" instead of "non-minibuffer frame".
25513         Fix frame geometry related text
25514         * doc/lispref/frames.texi (Frame Layout):
25515         Rename `x-frame-geometry' to `frame-geometry'.
25516         * doc/lispref/frames.texi (Mouse Position):
25517         * doc/lispref/windows.texi (Coordinates and Windows):
25518         Use `set-mouse-absolute-pixel-position' instead of
25519         `x-set-mouse-absolute-pixel-position'.
25521         Sanitize frame geometry related functions
25522         * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
25523         (Fx_frame_edges): Rename to Fns_frame_edges.
25524         * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
25525         (Fx_frame_edges): Rename to Fw32_frame_edges.
25526         (Fx_mouse_absolute_pixel_position): Rename to
25527         Fw32_mouse_absolute_pixel_position.
25528         (Fx_set_mouse_absolute_pixel_position): Rename to
25529         Fw32_set_mouse_absolute_pixel_position.
25530         * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
25531         (ns-frame-geometry, x-frame-edges, w32-frame-edges)
25532         (ns-frame-edges, w32-mouse-absolute-pixel-position)
25533         (x-mouse-absolute-pixel-position)
25534         (w32-set-mouse-absolute-pixel-position)
25535         (x-set-mouse-absolute-pixel-position): Declare.
25536         (frame-geometry, mouse-absolute-pixel-position)
25537         (set-mouse-absolute-pixel-position): New functions.
25538         (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
25540 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
25542         Fix MinGW64 build broken by latest w32uniscribe.c changes
25543         * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
25544         MinGW64.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
25545         (Bug#21260)
25547 2015-08-21  Tassilo Horn  <tsdh@gnu.org>
25549         Add TeX defaults for prettify-symbol-mode
25550         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
25551         Rename from tex-prettify-symbols-alist.
25552         (tex--prettify-symbols-compose-p): New function.
25553         (tex-common-initialization): Use them as prettify-symbols-alist
25554         and prettify-symbols-compose-predicate.
25556         Generalize prettify-symbols to arbitrary modes
25557         * lisp/progmodes/prog-mode.el
25558         (prettify-symbols-default-compose-p): New function.
25559         (prettify-symbols-compose-predicate): New variable.
25560         (prettify-symbols--compose-symbol): Use it.
25562 2015-08-20  Paul Eggert  <eggert@cs.ucla.edu>
25564         Don't quote symbols 'like-this' in docstrings etc.
25565         * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
25566         * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
25567         * lisp/allout.el (allout-add-resumptions, allout-mode):
25568         * lisp/calculator.el (calculator-operators):
25569         * lisp/cedet/data-debug.el (dd-propertize):
25570         * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
25571         * lisp/cedet/semantic/analyze/debug.el:
25572         (semantic-analyzer-debug-global-miss-text):
25573         * lisp/cedet/semantic/lex-spp.el:
25574         (semantic-lex-spp-replace-or-symbol-or-keyword):
25575         * lisp/cedet/semantic/symref.el:
25576         (semantic-symref-cleanup-recent-buffers-fcn):
25577         * lisp/cedet/semantic/tag.el (semantic-tag-class):
25578         * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
25579         * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
25580         * lisp/gnus/pop3.el (pop3-authentication-scheme):
25581         * lisp/help-fns.el (describe-function-orig-buffer):
25582         * lisp/imenu.el (imenu--history-list):
25583         * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
25584         (feedmail-display-full-frame, feedmail-deduce-bcc-where)
25585         (feedmail-queue-default-file-slug)
25586         (feedmail-queue-buffer-file-name):
25587         * lisp/net/mairix.el (mairix-searches-mode-map):
25588         * lisp/net/newst-backend.el (newsticker-retrieval-method)
25589         (newsticker-auto-mark-filter-list):
25590         * lisp/obsolete/vi.el (vi-mode):
25591         * lisp/progmodes/cc-engine.el (c-literal-type):
25592         * lisp/progmodes/cpp.el (cpp-face):
25593         * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
25594         * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
25595         * lisp/progmodes/pascal.el (pascal-auto-lineup):
25596         * lisp/progmodes/prog-mode.el (prog-widen):
25597         * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
25598         (verilog-auto-lineup, verilog-auto-reset-widths)
25599         (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
25600         * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
25601         (flyspell-maybe-correct-doubling):
25602         * lisp/textmodes/table.el (table-justify, table-justify-cell)
25603         (table-justify-row, table-justify-column, table-insert-sequence)
25604         (table--justify-cell-contents):
25605         * lisp/url/url-auth.el (url-get-authentication):
25606         * lisp/window.el (display-buffer-record-window):
25607         * lisp/xml.el (xml-parse-file, xml-parse-region):
25608         * src/gfilenotify.c (Fgfile_add_watch):
25609         Don't quote symbols with apostrophes in doc strings.
25610         Use asymmetric quotes instead.
25611         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
25612         Likewise for symbol in diagnostic.
25613         * lisp/image.el (image-extension-data):
25614         * lisp/register.el (frame-configuration-to-register):
25615         * src/buffer.c (syms_of_buffer):
25616         Remove bogus apostrophes after symbols.
25617         * lisp/thumbs.el (thumbs-conversion-program):
25618         Quote Lisp string values using double-quotes, not apostrophes.
25620 2015-08-20  Martin Rudalics  <rudalics@gmx.at>
25622         Describe frame geometry and related functions in Elisp manual
25623         * doc/lispref/display.texi (Size of Displayed Text, Line Height)
25624         (Showing Images): Update references.
25625         * doc/lispref/elisp.texi (Top): Update node listing.
25626         * doc/lispref/frames.texi (Frame Geometry): New node.
25627         Move `Size and Position' section here.
25628         (Size Parameters): Update references.
25629         (Mouse Position): Update references and nomenclature.
25630         Describe new functions `x-mouse-absolute-pixel-position' and
25631         `x-set-mouse-absolute-pixel-position'.
25632         * doc/lispref/windows.texi (Window Sizes): Update references.
25633         (Resizing Windows): Update references.  Move description of
25634         `fit-frame-to-buffer' here.
25635         (Coordinates and Windows): Update nomenclature and references.
25636         Describe new arguments of `window-edges'.  Comment out
25637         descriptions of `window-left-column', `window-top-line',
25638         `window-pixel-left' and `window-pixel-top'.  Describe
25639         `window-absolute-pixel-position'.
25641 2015-08-20  Alan Mackenzie  <acm@muc.de>
25643         Handling of `c-parse-state'.  Fix low level bug.
25644         * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
25645         Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
25647 2015-08-20  Andreas Politz  <politza@hochschule-trier.de>
25649         * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
25650         window instead of deleting it.
25652 2015-08-20  Martin Rudalics  <rudalics@gmx.at>
25654         In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
25655         * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
25656         determine whether frame has a titlebar.
25657         Suggested by Eli Zaretskii <eliz@gnu.org>
25659 2015-08-20  Tassilo Horn  <tsdh@gnu.org>
25661         Add a prettify-symbols-alist for (La)TeX
25662         * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
25663         New variable holding an alist suitable as prettify-symbols-alist in
25664         (La)TeX modes.
25666 2015-08-19  Alan Mackenzie  <acm@muc.de>
25668         Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
25669         Fixes debbugs#21275.
25670         In Emacs >= 25, let electric-pair-mode take precedence over
25671         delete-selection-mode.
25672         * lisp/delsel.el (delete-selection-uses-region-p): New function,
25673         previously a lambda expression in a property value for
25674         `self-insert-command'.
25675         (top-level): Set the `delete-selection' property of
25676         `self-insert-command' to `delete-selection-uses-region-p'.
25677         * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
25678         property for c-electric-\(brace\|paren\) the value
25679         `delete-selection-uses-region-p' when the latter function exists.
25681 2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>
25683         Fix key binding quoting in tutorial *Help*
25684         * lisp/tutorial.el (tutorial--describe-nonstandard-key):
25685         When generating help for custom key bindings, use the user-preferred
25686         quoting style rather than hardcoding the grave style.
25688 2015-08-19  Eli Zaretskii  <eliz@gnu.org>
25690         Improve and future-proof OTF fonts support in w32uniscribe.c
25691         * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
25692         about the expected results and why the new Uniscribe APIs are not
25693         used in this function.
25694         (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
25695         (ScriptGetFontFeatureTags_Proc): New function typedefs.
25696         (uniscribe_new_apis): New static variable.
25697         (uniscribe_check_features): New function, implements OTF features
25698         verification while correctly accounting for features in the list
25699         after the nil member, if any.
25700         (uniscribe_check_otf_1): New function, retrieves the features
25701         supported by the font for the requested script and language using
25702         the Uniscribe APIs available from Windows Vista onwards.
25703         (uniscribe_check_otf): If the new Uniscribe APIs are available,
25704         use them in preference to reading the font data directly.  Call
25705         uniscribe_check_features to verify that the requested features are
25706         supported, replacing the original incomplete code.
25707         (syms_of_w32uniscribe): Initialize function pointers for the new
25708         Uniscribe APIs.  (Bug#21260)
25709         (otf_features): Scan the script, langsys, and feature arrays back
25710         to front, so that the result we return has them in alphabetical
25711         order, like ftfont.c does.
25712         * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
25713         New variable for debugging w32uniscribe.c code.
25715 2015-08-19  Artur Malabarba  <bruce.connor.am@gmail.com>
25717         * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
25718         Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
25719         clause of `isearch-search-fun-default'.  That lax variable does not
25720         refer to lax-whitespacing.  Related to (bug#21777).
25721         This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
25722         * lisp/character-fold.el (character-fold-search): Set to nil.
25723         Default to nil for now, until someone implements proper
25724         lax-whitespacing with char-fold searching.
25726 2015-08-19  Martin Rudalics  <rudalics@gmx.at>
25728         Fix doc-string of `help-mode-finish'.
25729         * lisp/help-mode.el (help-mode-finish): Fix doc-string.
25731         In nsimage.m include coding.h (Bug#21292)
25732         * src/nsimage.m (top-level): Include coding.h (Bug#21292).
25734         Move window edge functions to Elisp.
25735         * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
25736         (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
25737         (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
25738         Move to window.el.
25739         (calc_absolute_offset): Remove.
25740         * lisp/frame.el (frame-edges): New function.
25741         * lisp/window.el (window-edges, window-pixel-edges)
25742         (window-absolute-pixel-edges): Move here from window.c.
25743         (window-body-edges, window-body-pixel-edges)
25744         (window-absolute-body-pixel-edges): Move here from window.c and
25745         rename "inside" to "body".  Keep old names as aliases.
25746         (window-absolute-pixel-position): New function.
25748 2015-08-19  Katsumi Yamaoka  <yamaoka@jpl.org>
25750         [Gnus]: Use overlay functions directly
25751         * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
25752         (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
25753         (gnus-article-highlight-signature, gnus-article-extend-url-button)
25754         (gnus-article-add-button, gnus-insert-prev-page-button)
25755         (gnus-insert-next-page-button, gnus-insert-mime-security-button):
25756         * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
25757         (gnus-cite-add-face):
25758         * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
25759         * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
25760         (gnus-tree-recenter, gnus-highlight-selected-tree):
25761         * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
25762         (gnus-summary-show-thread, gnus-summary-hide-thread)
25763         (gnus-highlight-selected-summary):
25764         * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
25765         * lisp/gnus/message.el (message-fix-before-sending)
25766         (message-toggle-image-thumbnails):
25767         * lisp/gnus/mm-decode.el (mm-convert-shr-links):
25768         * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
25769         Use overlay functions directly instead of using gnus-overlay-*,
25770         message-overlay-*, and sieve-overlay-*.
25771         * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
25772         * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
25773         (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
25774         (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
25775         (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
25776         * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
25777         (message-overlay-get, message-overlay-put, message-overlays-in):
25778         * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
25779         (sieve-overlays-at): Remove.
25781 2015-08-19  Martin Rudalics  <rudalics@gmx.at>
25783         In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
25784         * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
25785         builds can use the declaration from the system headers.
25786         (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
25787         definition of TITLEBAR_INFO.
25788         Suggested by Eli Zaretskii  <eliz@gnu.org>
25790 2015-08-19  Glenn Morris  <rgm@gnu.org>
25792         * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
25794 2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>
25796         Use new q ‘format’ flag when fixing quotes in C
25797         * src/image.c (image_size_error): New function.  All uses of
25798         image_error with "Invalid image size ..."  changed to use it.
25799         * src/image.c (image_size_error, xbm_load_image, xbm_load)
25800         (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
25801         (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
25802         (imagemagick_load, svg_load, svg_load_image, gs_load)
25803         (x_kill_gs_process):
25804         * src/lread.c (load_warn_old_style_backquotes):
25805         * src/xfaces.c (load_pixmap):
25806         * src/xselect.c (x_clipboard_manager_error_1):
25807         Use %qs, not uLSQM and uRSQM.
25808         * src/syntax.c (Finternal_describe_syntax_value):
25809         Prefer Fsubstitute_command_keys to Fformat, as this lets
25810         us use AUTO_STRING.
25811         * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
25812         as it's now guaranteed to be ASCII.
25813         * src/xselect.c (x_clipboard_manager_error_2):
25814         Avoid grave accent in low-level stderr diagnostic.
25816 2015-08-19  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
25818         New q flag for ‘format’
25819         * doc/lispref/processes.texi (Sentinels):
25820         Don't hardwire grave quoting style in example.
25821         * doc/lispref/strings.texi (Formatting Strings):
25822         * etc/NEWS:
25823         Document new q flag.
25824         * src/editfns.c (Fformat): Implement it.
25826 2015-08-18  Daiki Ueno  <ueno@gnu.org>
25828         pinentry.el: Add debugging support
25829         * lisp/net/pinentry.el (pinentry-debug): New variable.
25830         (pinentry-debug-buffer): New variable.
25831         (pinentry--process-filter): Send input to the debug buffer, if
25832         `pinentry-debug' is set.
25834         pinentry.el: Improve multiline prompt
25835         * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
25836         (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
25837         command.
25839 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25841         Fix multibyte confusion in diagnostics
25842         * src/print.c (print_error_message):
25843         Don't assume that the caller's name is unibyte.
25844         * src/xdisp.c (vadd_to_log):
25845         Don't assume that the formatted diagnostic is unibyte.
25847         Fix file name encodings in diagnostics
25848         Also, close some minor races when opening image files, by opening
25849         them once instead of multiple times.
25850         * src/gtkutil.c (xg_get_image_for_pixmap):
25851         * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
25852         (svg_load):
25853         * src/nsimage.m (allocInitFromFile:):
25854         * src/xfns.c (xg_set_icon):
25855         Encode file name, since x_find_image_file no longer does that.
25856         * src/image.c (x_find_image_fd): New function.
25857         (x_find_image_file): Use it.  Do not encode resulting file name,
25858         since callers sometimes need it decoded.
25859         (slurp_file): File arg is now a fd, not a file name.
25860         All callers changed.  This saves us having to open the file twice.
25861         (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
25862         (svg_load):
25863         Use x_find_image_fd and fdopen to save a file-open.
25864         Report file name that failed.
25865         * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
25867 2015-08-18  Dmitry Gutov  <dgutov@yandex.ru>
25869         Allow blink-matching-paren to jump off screen
25870         * doc/emacs/programs.texi (Matching): Mention the
25871         `blink-matching-paren' value `jump-offscreen'.
25872         * lisp/simple.el (blink-matching-paren): New possible value.
25873         (blink-matching-paren-on-screen): Clarify the docstring.
25874         (blink-matching-open): Handle `jump-offscreen' (bug#21286).
25876         Refine the previous change
25877         * lisp/simple.el (blink-matching-open): Use minibuffer-message
25878         outside of save-excursion (bug#21286).
25880 2015-08-18  Martin Rudalics  <rudalics@gmx.at>
25882         Rewrite and add frame geometry related functions.
25883         * src/frame.c (Fframe_position): New function.
25884         (Fset_frame_position): Rename parameters and rewrite doc-string.
25885         (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
25886         Qtitle_height and Qframe_inner_size.  Add Qouter_edges,
25887         Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
25888         Qtitle_bar_size.
25889         * src/nsfns.m (frame_geometry): New function.
25890         (Fx_frame_geometry): Call frame_geometry.
25891         (Fx_frame_edges): New function.
25892         * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
25893         (GetTitleBarInfo_Proc): Define these so we can use the
25894         GetTitleBarInfo API.
25895         (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
25896         (Fx_frame_geometry): Rewrite.
25897         (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
25898         (Fx_set_mouse_absolute_pixel_position): New functions.
25899         * src/xfns.c (frame_geometry): New function.
25900         (Fx_frame_geometry): Call frame_geometry.
25901         (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
25902         (Fx_set_mouse_absolute_pixel_position): New functions.
25904 2015-08-18  Michael Albinus  <michael.albinus@gmx.de>
25906         Improve Tramp's compatibility
25907         * lisp/net/tramp.el (tramp-get-method-parameter):
25908         * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
25909         (tramp-adb-get-device):
25910         * lisp/net/trampver.el (tramp-repository-get-version):
25911         Use `tramp-compat-replace-regexp-in-string'.
25913 2015-08-18  Pierre Téchoueyres  <pierre.techoueyres@free.fr>  (tiny change)
25915         * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
25916         Encode/decode string.
25918 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25920         Clarify what happens to match data on failure
25921         Problem reported by Ernesto Alfonso (Bug#21279).
25922         * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
25923         Document more carefully what happens to match data after a failed
25924         search.
25925         * src/search.c (Fmatch_beginning, Fmatch_end): Document that
25926         the return value is undefined if the last search failed.
25927         (Fmatch_data): Simplify doc string line 1.
25929 2015-08-18  Daiki Ueno  <ueno@gnu.org>
25931         Revert "pinentry.el: Support external passphrase cache"
25932         This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
25933         pinentry.el shouldn't directly interact with the secrets service,
25934         but ask the caller to cache the passphrase.
25936 2015-08-17  Xue Fuqiao  <xfq.free@gmail.com>
25938         * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
25939         Message mode hooks.
25941 2015-08-17  Daiki Ueno  <ueno@gnu.org>
25943         epg.el: Make gpgconf output parsing future proof
25944         * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
25945         --list-options" output.
25947         pinentry.el: Support external passphrase cache
25948         * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
25949         (pinentry--allow-external-password-cache): New local variable.
25950         (pinentry--key-info): New local variable.
25951         (secrets-enabled, secrets-search-items, secrets-get-secret):
25952         Declare.
25953         (pinentry--send-passphrase): New function, split from
25954         `pinentry--process-filter'.
25955         (pinentry--process-filter): Use secrets.el to retrieve passphrase
25956         from login keyring.
25958         pinentry.el: Popup window for multiline prompt
25959         * lisp/net/pinentry.el (pinentry): New custom group.
25960         (pinentry-popup-prompt-window): New user option.
25961         (pinentry-prompt-window-height): New user option.
25962         (pinentry--prompt-buffer): New variable.
25963         (pinentry-prompt-mode-map): New variable.
25964         (pinentry-prompt-mode): New function.
25965         (pinentry--prompt): New function.
25966         (pinentry--process-filter): Use `pinentry--prompt' instead of
25967         `read-passwd' and `y-or-n-p'.
25969 2015-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
25971         message.el: Silent the byte compiler
25972         * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
25973         (message-kill-all-overlays, message-overlays-in, message-overlay-get)
25974         (message-delete-overlay, message-window-inside-pixel-edges):
25975         Declare before using.
25977         * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
25978         (message-window-inside-pixel-edges): XEmacs compatible functions.
25980 2015-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25982         * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
25984 2015-08-17  Noah Friedman  <friedman@splode.com>
25986         * lisp/simple.el (blink-matching-open): Restore point before
25987         calling minibuffer-message.
25989 2015-08-17  Ronnie Schnell  <ronnie@driver-aces.com>
25991         * lisp/play/dunnet.el: Update version number in header (now
25992         matches help).
25994 2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>
25996         Curved quotes in --batch diagnostics in non-UTF-8
25997         When run with --batch, check that curved quotes are compatible with
25998         the system locale before outputting them in diagnostics.
25999         Problem reported by Eli Zaretskii in:
26000         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
26001         * lisp/startup.el (command-line): Set internal--text-quoting-flag
26002         after the standard display table is initialized.
26003         * src/doc.c (default_to_grave_quoting_style): New function.
26004         (text_quoting_style): Use it.
26005         (text_quoting_flag): New static var, visible to Lisp as
26006         internal--text-quoting-flag.
26007         * src/emacs.c: Include <wchar.h> if available.
26008         (using_utf8): New function.
26009         (main): Use it to initialize text_quoting_flag.
26010         * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
26011         Don't define, as it's not needed and it clashes with wchar.h.
26013 2015-08-17  Glenn Morris  <rgm@gnu.org>
26015         * doc/misc/tramp.texi (Configuration): Reword to avoid warning
26016         from makeinfo about spurious "Note:" cross-reference, and for grammar.
26018 2015-08-17  Ilya Zakharevich  <ilya@math.berkeley.edu>
26020         Minor change in variable initialization on MS-Windows
26021         * src/w32fns.c <after_dead_key>: Initialize to -1.
26022         (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
26023         non-zero.
26025         Fix a bug with LWindow key remapping on MS-Windows
26026         * src/w32fns.c (deliver_wm_chars): Fix a typo.  (Bug#21276)
26028 2015-08-17  Eli Zaretskii  <eliz@gnu.org>
26030         Improve fontset support for latest OTF script tags
26031         * lisp/international/fontset.el (otf-script-alist): Add some
26032         missing script tags.
26033         (setup-default-fontset): Include settings for v2 versions of the
26034         script tags used by some modern OTF/TTF fonts.
26036 2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>
26038         Spelling fixes
26040 2015-08-16  Paul Eggert  <eggert@cs.ucla.edu>
26042         Use curved quotes in core elisp diagnostics
26043         In the core elisp files, use curved quotes in diagnostic formats,
26044         so that they follow user preference as per ‘text-quoting-style’
26045         rather than being hard-coded to quote `like this'.
26046         * lisp/abbrev.el (expand-region-abbrevs):
26047         * lisp/button.el (button-category-symbol, button-put)
26048         (make-text-button):
26049         * lisp/cus-start.el:
26050         * lisp/custom.el (custom-add-dependencies, custom-check-theme)
26051         (custom--sort-vars-1, load-theme):
26052         * lisp/emacs-lisp/byte-run.el (defun, defsubst):
26053         * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
26054         (cl-generic-generalizers):
26055         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
26056         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
26057         * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
26058         (advice--make, define-advice):
26059         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
26060         * lisp/emacs-lisp/timer.el (timer-event-handler):
26061         * lisp/env.el (setenv):
26062         * lisp/facemenu.el (facemenu-add-new-face)
26063         (facemenu-add-new-color):
26064         * lisp/faces.el (face-documentation, read-face-name)
26065         (face-read-string, read-face-font, face-spec-set-match-display)
26066         (read-color, x-resolve-font-name):
26067         * lisp/files.el (locate-user-emacs-file, find-alternate-file)
26068         (set-auto-mode, hack-local-variables)
26069         (hack-one-local-variable--obsolete)
26070         (dir-locals-set-directory-class, write-file)
26071         (basic-save-buffer, delete-directory, copy-directory)
26072         (recover-session, recover-session-finish, insert-directory)
26073         (file-modes-char-to-who, file-modes-symbolic-to-number)
26074         (move-file-to-trash):
26075         * lisp/font-lock.el (font-lock-fontify-buffer):
26076         * lisp/format.el (format-write-file, format-find-file)
26077         (format-insert-file):
26078         * lisp/frame.el (get-device-terminal, select-frame-by-name):
26079         * lisp/fringe.el (fringe--check-style):
26080         * lisp/help.el (describe-minor-mode-from-indicator):
26081         * lisp/image.el (image-type):
26082         * lisp/international/fontset.el (x-must-resolve-font-name):
26083         * lisp/international/mule-cmds.el (prefer-coding-system)
26084         (select-safe-coding-system-interactively)
26085         (select-safe-coding-system, activate-input-method)
26086         (toggle-input-method, describe-current-input-method):
26087         * lisp/international/mule-conf.el (code-offset):
26088         * lisp/mouse.el (minor-mode-menu-from-indicator):
26089         * lisp/replace.el (query-replace-read-from)
26090         (occur-after-change-function, occur-1):
26091         * lisp/scroll-bar.el (scroll-bar-columns):
26092         * lisp/simple.el (execute-extended-command)
26093         (undo-outer-limit-truncate, compose-mail, set-variable)
26094         (choose-completion-string, define-alternatives):
26095         * lisp/startup.el (site-run-file, tty-handle-args)
26096         (command-line, command-line-1):
26097         * lisp/subr.el (noreturn, define-error, add-to-list)
26098         (read-char-choice):
26099         * lisp/term/common-win.el (x-handle-xrm-switch)
26100         (x-handle-name-switch, x-handle-args):
26101         * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
26102         Use curved quotes in diagnostics.
26103         * lisp/international/mule.el (find-auto-coding):
26104         Use " to quote in a diagnostic, to be consistent with the rest of
26105         this file.
26107         Convert lisp/term/x-win.el to UTF-8
26108         * lisp/term/x-win.el: Convert to UTF-8.  This doesn't affect
26109         runtime behavior, and the file is multilingual so compile-time
26110         appearance shouldn't be an issue.
26111         * admin/notes/unicode: Document this.
26113 2015-08-16  Wilson Snyder  <wsnyder@wsnyder.org>
26115         Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
26116         * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
26117         issues and comments, bug#943.
26118         (verilog-type-font-keywords): Cycle delay operators like ##1 and
26119         ##[0:$] are now highlighted in their entirety similarly to the #
26120         delay-control operator.  Likewise, the followed-by operators #-#
26121         and #=# are no longer partially highlighed.
26122         (verilog-backward-syntactic-ws-quick)
26123         (verilog-skip-backward-comments): Minor performance improvements
26124         to buffer traversal functions for reduced latency.
26125         (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
26126         keyword 'final' follows 'assert/assume/cover', then it is part of
26127         a deferred immediate assertion item and should not be treated as a
26128         final construct for indentation.  Reported by Yuri Sugihara.
26129         (verilog-do-indent): Virtual task/function/class definition lines
26130         should not be considered as declarations.  Reported by Enzo Chi.
26131         (verilog-do-indent): Do not falsely indent to '=' of
26132         property/sequence operators on subsequent lines of a multi-line
26133         statement.
26134         (verilog-assignment-operator-re): Fix '!==' operator and add
26135         support for '<->', ':/', '#-#', and '#=#' operators.
26136         (verilog-calculate-indent, verilog-label-be): Enable
26137         case-sensitive regular expression parsing when looking for
26138         keywords.
26139         (verilog-calc-1): Detect 'pure virtual method' declarations which
26140         exist in abstract classes.  Reported by Enzo Chi and Kaushal Modi.
26141         (verilog-backward-ws&directives): When moving back to the start of
26142         a line and the preceeding line ended with an escaped-newline, then
26143         jump up one line.  This properly consumes a multi-line
26144         pre-processor directive.  Reported by Kaushal Modi.
26145         (verilog-dpi-import-export-re, verilog-extended-complete-re)
26146         (verilog-calc-1): Teach verilog-mode to properly indent after a
26147         DPI import/export statement that resides outside of a module.
26148         Reported by Kaushal Modi.
26149         (verilog-extended-complete-re): Update regexp to match both
26150         "DPI-C" and "DPI".  Reported by Kaushal Modi.
26152 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26154         substitute-command-keys a few more doc strings
26155         * lisp/allout.el (outlineify-sticky):
26156         * lisp/files.el (hack-one-local-variable--obsolete):
26157         * lisp/help-fns.el (help-fns--obsolete, describe-variable):
26158         Use substitute-command-keys on some doc strings so that
26159         they don't use hard-coded key bindings or quoting styles.
26161         Fix quoting in Fformat calls
26162         * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
26163         (xpm_load, xpm_load_image, pbm_load, png_load_body)
26164         (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
26165         (imagemagick_load, svg_load, svg_load_image, gs_load)
26166         (x_kill_gs_process):
26167         * src/lread.c (load_warn_old_style_backquotes):
26168         * src/xfaces.c (load_pixmap):
26169         * src/xselect.c (x_clipboard_manager_error_1):
26170         Quote diagnostics according to user preference when calling
26171         Fformat or its derivatives.
26173 2015-08-15  Glenn Morris  <rgm@gnu.org>
26175         * admin/admin.el (set-version, set-copyright): Remove deleted files.
26177 2015-08-15  Stephen Leake  <stephen_leake@stephe-leake.org>
26179         Allow describe-function helpers to access buffer-local values
26180         This will be used by cedet/mode-local.el `describe-mode-local-override'
26181         on `help-fns-describe-function-functions' in upstream CEDET.
26182         * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
26183         `describe-function'.
26184         (describe-function): Bind it, save it on the help xref stack.
26186         Handle pulse-background being nil
26187         * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
26188         pulse-background, handle it being nil.
26190 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26192         Fix "\`" confusion in Lisp strings
26193         * admin/authors.el (authors-canonical-author-name):
26194         Fix typo by using "\\`" not "\`" in string RE.
26195         * lisp/obsolete/complete.el (PC-complete-as-file-name):
26196         * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
26197         * lisp/progmodes/verilog-mode.el (verilog-mode-map):
26198         Use plain "`", not the equivalent-but-confusing "\`", in strings.
26199         * lisp/textmodes/texinfmt.el: Fix comment likewise.
26201 2015-08-15  Dani Moncayo  <dmoncayo@gmail.com>
26203         * nt/zipdist.bat: Remove -- no longer used.
26205 2015-08-15  Jürgen Hötzel  <juergen@archlinux.org>
26207         * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
26208         rather than "getenforce".
26209         (tramp-sh-handle-set-file-selinux-context): Do not
26210         cache SELinux context if not all context components are given.
26212 2015-08-15  Eli Zaretskii  <eliz@gnu.org>
26214         Add doc strings to 2 help-mode.el functions
26215         * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
26216         strings.  (Bug#21263)
26218         Remove files used by the old MS-Windows specific build procedure
26219         * admin/unidata/makefile.w32-in:
26220         * doc/emacs/makefile.w32-in:
26221         * doc/lispintro/makefile.w32-in:
26222         * doc/lispref/makefile.w32-in:
26223         * doc/misc/makefile.w32-in:
26224         * leim/makefile.w32-in:
26225         * lib-src/makefile.w32-in:
26226         * lib/makefile.w32-in:
26227         * lisp/makefile.w32-in:
26228         * nt/INSTALL.OLD:
26229         * nt/config.nt:
26230         * nt/emacs-src.tags:
26231         * nt/envadd.bat:
26232         * nt/gmake.defs:
26233         * nt/makefile.w32-in:
26234         * nt/multi-install-info.bat:
26235         * nt/nmake.defs:
26236         * nt/paths.h:
26237         * src/makefile.w32-in: Files deleted.
26238         * nt/configure.bat: Remove everything except the blurb about the
26239         new build procedure.
26240         * make-dist: Remove references to makefile.w32-in in various
26241         directories, and to files in nt/ that were deleted.
26242         * etc/NEWS: Mention the fact that the files were dropped.
26244 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26246         * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
26247         (Bug#21248)
26249 2015-08-14  Paul Eggert  <eggert@cs.ucla.edu>
26251         Default to inotify instead of gfile
26252         * configure.ac (with_file_notification): Fix typo that
26253         prevented suppression of file notification if HAVE_NS.
26254         (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
26255         with_file_notification is 'yes' (Bug#21241).
26256         * etc/NEWS: Mention this.
26258         Fix broken URLs for ISO-IR
26259         * doc/emacs/mule.texi (Charsets):
26260         * lisp/international/mule-conf.el:
26261         Fix broken URL (Bug#21248).
26263         Low-level diagnostics now use ‘text-quoting-style’
26264         * src/doprnt.c (doprnt):
26265         Format ` and ' as per ‘text-quoting-style’.
26266         * src/xdisp.c (vmessage, message): Mention that the format should
26267         not contain ` or '.
26269         Prefer ‘format’ to ‘substitute-command-keys’
26270         * src/character.h (uLSQM, uRSQM): Move here ...
26271         * src/doc.c (uLSQM, uRSQM): ... from here.
26272         * src/doc.c (Fsubstitute_command_keys):
26273         * src/syntax.c (Finternal_describe_syntax_value):
26274         * lisp/cedet/mode-local.el (mode-local-print-binding)
26275         (mode-local-describe-bindings-2):
26276         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
26277         * lisp/cus-theme.el (describe-theme-1):
26278         * lisp/descr-text.el (describe-text-properties-1, describe-char):
26279         * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
26280         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
26281         * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
26282         * lisp/emacs-lisp/package.el (describe-package-1):
26283         * lisp/faces.el (describe-face):
26284         * lisp/help-fns.el (help-fns--key-bindings)
26285         (help-fns--compiler-macro, help-fns--parent-mode)
26286         (help-fns--obsolete, help-fns--interactive-only)
26287         (describe-function-1, describe-variable):
26288         * lisp/help.el (describe-mode):
26289         Prefer ‘format’ to ‘substitute-command-keys’ when either will do
26290         to implement quoting style.  This generally makes the code simpler.
26292         Extend ‘format’ to translate curved quotes
26293         This is a followup to the recent doc string change, and deals with
26294         diagnostics and the like.  This patch is more conservative than
26295         the doc string change, in that the behavior of ‘format’ changes
26296         only if its first arg contains curved quotes and the user prefers
26297         straight or grave quotes.  (Come to think of it, perhaps we should
26298         be similarly conservative with doc strings too, but that can wait.)
26299         The upside of this conservatism is that existing usage is almost
26300         surely unaffected.  The downside is that we'll eventually have to
26301         change Emacs's format strings to use curved quotes in places where
26302         the user might want curved quotes, but that's a simple and
26303         mechanical translation that I'm willing to do later.  (Bug#21222)
26304         * doc/lispref/help.texi (Keys in Documentation):
26305         Move description of text-quoting-style from here ...
26306         * doc/lispref/strings.texi (Formatting Strings):
26307         ... to here, and describe new behavior of ‘format’.
26308         * etc/NEWS: Describe new behavior.
26309         * lisp/calc/calc-help.el (calc-describe-thing):
26310         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
26311         * lisp/info.el (Info-find-index-name):
26312         Use ‘concat’ rather than ‘format’ to avoid misinterpretation
26313         of recently-added curved quotes.
26314         * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
26315         Move from here ...
26316         * src/lisp.h: ... to here.
26317         * src/doc.c (text_quoting_style): New function.
26318         (Fsubstitute_command_keys): Use it.
26319         * src/editfns.c (Fformat): Implement new behavior.
26320         * src/lisp.h (enum text_quoting_style): New enum.
26322 2015-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
26324         * src/keyboard.c: Use false/true instead of 0/1 for booleans.
26325         * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
26327 2015-08-14  Michael Albinus  <michael.albinus@gmx.de>
26329         * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
26330         stderr to /dev/null, this is done in `tramp-send-command-and-check'.
26332 2015-08-14  Jürgen Hötzel  <juergen@archlinux.org>
26334         Flush file properties in Tramp
26335         * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
26336         (tramp-sh-handle-set-file-times):
26337         * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
26338         (tramp-adb-handle-set-file-times): Flush the file properties of
26339         the directory.
26341 2015-08-14  Ronnie Schnell  <ronnie@driver-aces.com>
26343         * doc/emacs/misc.texi (Amusements): Fixed typo.
26345 2015-08-14  Eli Zaretskii  <eliz@gnu.org>
26347         Don't miss warnings about removing string text properties while dumping
26348         * src/alloc.c (purecopy): Warn about removing a string's text
26349         properties even when the same string was already pure-copied
26350         earlier.
26351         * lisp/progmodes/elisp-mode.el (elisp--xref-format)
26352         (elisp--xref-format-extra): Fix the commentary.
26354 2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
26356         * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
26358 2015-08-13  Magnus Henoch  <magnus.henoch@gmail.com>
26360         * lisp/progmodes/compile.el: Use lexical-binding.
26361         (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
26363 2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
26365         (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
26366         * lisp/uniquify.el: Remove redundant `:group's.
26368 2015-08-13  Jürgen Hötzel  <juergen@archlinux.org>
26370         * lisp/net/tramp-adb.el
26371         (tramp-adb-handle-directory-files-and-attributes): Make a copy of
26372         result to prevent modification of the tramp-cache by side effects.
26373         Use the correct cache key.
26375 2015-08-13  Paul Eggert  <eggert@cs.ucla.edu>
26377         Make add_to_log varargs
26378         * src/alloc.c (run_finalizer_handler):
26379         * src/charset.c (load_charset_map_from_vector):
26380         * src/nsimage.m (ns_load_image):
26381         * src/xfaces.c (load_pixmap, load_color2):
26382         Simplify, now that add_to_log has a variable number of args.
26383         * src/image.c (image_error): Take a variable number of args.
26384         Callers simplified.
26385         * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
26386         * src/xdisp.c (format_nargs, vadd_to_log): New functions.
26387         (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
26388         * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
26390         Optional args for holiday-greek-orthodox-easter
26391         * etc/NEWS: Document this.
26392         * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
26393         Add optional args N and STRING, mimicking the API and code of
26394         ‘holiday-easter-etc’.  From suggestion by Foivos S. Zakkak (Bug#21256).
26396 2015-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
26398         xref-find-definitions: Exclude more generic function items.
26399         * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
26400         Add doc string.
26401         (cl--generic-find-defgeneric-regexp): New.
26402         (find-function-regexp-alist): Add it.
26403         * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
26404         elisp-mode.el, change to search for ";;; Code:"
26405         (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
26406         (find-function-regexp-alist): Add them.
26407         * lisp/progmodes/elisp-mode.el:
26408         (elisp--xref-format, elisp--xref-format-extra): Change back to
26409         defvar due to bug#21237.
26410         (elisp--xref-find-definitions): Exclude co-located default methods for
26411         generic functions.  Also exclude implicitly declared defgeneric.
26412         (elisp--xref-find-definitions): Handle C source properly.  Exclude minor
26413         mode variables defined by 'define-minor-mode'.
26414         * test/automated/elisp-mode-tests.el: Declare generic functions, add
26415         tests for them.
26416         (xref-elisp-test-run): Fix bug.
26417         (emacs-test-dir): Improve initial value.
26418         (find-defs-defun-defvar-el): Don't expect defvar.
26419         (find-defs-feature-el): Match change to find-feature-regexp.
26421 2015-08-13  Eli Zaretskii  <eliz@gnu.org>
26423         Improve warning about purecopy of strings with properties
26424         * src/alloc.c (purecopy): Show the offending string with the
26425         warning about removing its text properties.
26427 2015-08-12  Alan Mackenzie  <acm@muc.de>
26429         Introduce new macros to cover Emacs's new names in cl-lib.el
26430         This also eliminates `mapcan' warnings in XEmacs.
26431         * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
26432         characterise [X]Emacs versions.
26433         (top-level): Require either 'cl or 'cl-lib, depending on
26434         c--mapcan-status.
26435         Change this back to cc-external-require from an eval-when-compile
26436         require.
26437         (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
26438         (c--delete-duplicates): New macros which expand into either old or new
26439         names.
26440         (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
26441         rather than the old names.
26442         * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
26443         rather than mapcan.
26444         * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
26445         * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
26446         depending on c--mapcan-status.
26447         (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
26448         (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
26449         (c-not-decl-init-keywords, c-not-primitive-type-keywords)
26450         (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
26451         (c-decl-block-key, c-keywords, c-keywords-obarray)
26452         (c-regular-keywords-regexp, c-primary-expr-regexp)
26453         (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
26454         (c-known-type-key, c-nonlabel-token-key)
26455         (c-make-init-lang-vars-fun): Use the new macros rather than the old
26456         names.
26458 2015-08-12  Oleh Krehel  <ohwoeowho@gmail.com>
26460         loadhist.el (read-feature): Conform to completing-read
26461         * lisp/loadhist.el (read-feature): According to `completing-read'
26462         documentation, if collection is a list, then it must be a list of
26463         strings, not a list of symbols like before.
26465 2015-08-12  David Kastrup  <dak@gnu.org>
26467         Deal gracefully with up-events (Bug#19746)
26468         * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
26469         (parse_modifiers_uncached): React gracefully to "up-" modifiers:
26470         those may easily be injected by user-level Lisp code.
26471         (read_key_sequence): Discard unbound up-events like unbound
26472         down-events: they are even more likely only relevant for special
26473         purposes.
26474         While Emacs will not produce up-events on its own currently (those are
26475         converted to drag or click events before being converted to
26476         Lisp-readable structures), the input queue can be made to contain them
26477         by synthesizing events to `unread-command-events'.  Emacs should deal
26478         consistently with such events.
26480 2015-08-12  Eli Zaretskii  <eliz@gnu.org>
26482         Fix display of thin lines whose newline has line-height property of t
26483         * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
26484         and descent values of non-empty glyph rows, since they could have
26485         forced low values deliberately.  (Bug#21243)
26487 2015-08-12  Richard Stallman  <rms@gnu.org>
26489         Offer to combine multiple To or CC fields.
26490         * lisp/mail/sendmail.el (mail-combine-fields): New function.
26491         (mail-send): Call 'mail-combine-fields'.
26493         Don't decrypt encrypted files.
26494         * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
26496         Handle encrypted mbox files.
26497         * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
26498         the mbox file if necessary.
26500         Re-enable mime processing after decryption.  Add 'decrypt' keyword.
26501         * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
26502         (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
26503         In a mime message, reenable Mime and show the parts that
26504         were shown before.
26505         Add keyword "decrypt" if anything decrypted.
26507         epa-inhibit inhibits auto-recognition of .gpg files
26508         * lisp/epa-file.el (epa-inhibit): New variable.
26509         (epa-file-handler): Check epa-inhibit.
26511 2015-08-12  Artur Malabarba  <bruce.connor.am@gmail.com>
26513         * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
26515 2015-08-11  Fabián Ezequiel Gallina  <fgallina@gnu.org>
26517         Respect python.el imenu when semantic-mode is off
26518         Fixes bug#21220
26519         * lisp/cedet/semantic/wisent/python.el: Do not force
26520         wisent-python-default-setup on python-mode-hook.
26522 2015-08-11  Paul Eggert  <eggert@cs.ucla.edu>
26524         Give names to Unicode code points in C code
26525         * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
26526         (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
26527         (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
26528         (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
26529         (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
26530         (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
26531         (OBJECT_REPLACEMENT_CHARACTER):
26532         New named constants for Unicode code points.
26533         * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
26534         * src/composite.c (char_composable_p):
26535         * src/lread.c (readevalloop, read1):
26536         * src/xdisp.c (get_next_display_element):
26537         Use them.
26538         * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
26539         Remove; now in character.h.
26541 2015-08-11  Stephen Leake  <stephen_leake@stephe-leake.org>
26543         elisp--xref-find-definitions handle cl-defstuct default constructor
26544         * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
26545         (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
26546         (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
26547         * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
26548         from xref-elisp-test for ease of debugging.
26549         (xref-elisp-deftest): Rename from xref-elisp-test.
26550         (find-defs-constructor): New test.
26551         (find-defs-defgeneric-el): Match batch test config.
26552         (compile): Required for find-defs compilation-minor-mode test.
26553         (find-defs-defvar-el): Match code change.
26554         (find-defs-face-el): Match code change.
26555         * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
26556         Improve doc string.
26558 2015-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
26560         * lisp/replace.el (perform-replace): Document `replacements'.
26561         (perform-replace): Move the description of the format of `replacements'
26562         from the body's comment to the doc string.
26564 2015-08-11  Jürgen Hötzel  <juergen@archlinux.org>
26566         * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
26567         sequence.  Recent adb version send initial escape sequences, even
26568         when terminal type is set to TERM=dumb.
26570 2015-08-10  Stephen Leake  <stephen_leake@stephe-leake.org>
26572         Rewrite elisp--xref-find-definitions to handle many more cases; add tests
26573         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
26574         Function deleted.
26575         (elisp--xref-format-cl-defmethod): New defconst.
26576         (find-feature-regexp, find-alias-regexp): New defcustoms.
26577         (elisp--xref-make-xref): New function.
26578         (elisp--xref-find-definitions): Rewrite using the above, handle many
26579         more cases.  Always output all available definitions.
26580         (xref-location-marker): No need for special cases.
26581         * test/automated/elisp-mode-tests.el: Add more tests of
26582         elisp--xref-find-definitions, improve current tests.
26584 2015-08-10  Eli Zaretskii  <eliz@gnu.org>
26586         Fix recording of events pushed onto unread-command-events
26587         * src/keyboard.c (read_char): Make sure events read from
26588         unread-command-events and unread-post-input-method-events are
26589         always recorded by record_char.  Reported by David Kastrup
26590         <dak@gnu.org>, see
26591         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
26593 2015-08-10  Samer Masterson  <samer@samertm.com>
26595         Set file buffer as current for "--file"
26596         * lisp/startup.el (command-line-1): Set file buffer as current before
26597         it is displayed so it can be used with options like "--eval".
26598         (Bug#21095)
26600 2015-08-10  Eli Zaretskii  <eliz@gnu.org>
26602         Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
26603         * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
26604         after setting LC_ALL to the desired locale, to avoid affecting how
26605         numbers are read and printed.  (Bug#21223)
26607 2015-08-10  Alan Mackenzie  <acm@muc.de>
26609         Fix "Invalid search bound (wrong side of point)" in fontification
26610         * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
26611         an initialization expression, check point is not beyond the
26612         fontification limit.
26614 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
26616         Fix DPI calculation when Xft/DPI is default
26617         * src/xsettings.c (parse_settings): Don't use Xft/DPI default
26618         value of -1, which evaluates to 2**32 - 1 (Bug#21152).
26619         Remove unnecessary cast while we're in the neighborhood.
26621 2015-08-09  Dmitry Gutov  <dgutov@yandex.ru>
26623         Add project-vc-search-path and project-vc-ignores
26624         * lisp/progmodes/project.el (project-vc): New group.
26625         (project-vc-search-path, project-vc-ignores): New variables.
26626         (project--value-in-dir): Utility function.
26627         (project-search-path, project-ignores): Use them.
26628         * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
26629         at bos.  Don't add extra `/'.  Don't prepend with `*' if replaced.
26631 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
26633         Fix some minor quoting issues with grave accent
26634         * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
26635         Remove redundant quotes.
26636         * src/doc.c (uLSQM, uRSQM): New macros.
26637         * src/doc.c (Fsubstitute_command_keys):
26638         * src/syntax.c (Finternal_describe_syntax_value): Follow the user
26639         preference for quotes rather than hardcoding the ‘grave’ style.
26640         * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
26641         (re_match_2_internal) [DEBUG]: In debugging output, quote C
26642         strings with "...", not `...'.
26644         ChangeLog.2 ignores remote-tracking merges
26645         * build-aux/gitlog-to-emacslog: Ignore commit logs matching
26646         "Merge remote-tracking branch '.*'" too.  See Eli Zaretskii in:
26647         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
26649 2015-08-09  Nicolas Richard  <youngfrog@members.fsf.org>
26651         Use kpsewhich in ffap-latex-mode, if available
26652         * lisp/ffap.el (ffap-latex-guess-rules): New variable.
26653         (ffap-latex-mode): Use kpsewhich if available.
26655         ffap: disallow braces in filenames for tex modes
26656         * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
26657         braces in tex-related modes.
26659         Remove useless backslashes from ffap-string-at-point-mode-alist
26660         * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
26661         misleading backslashes from default value.
26663         Augment docstring of ffap-string-at-point-mode-alist
26664         * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
26665         and END are handled.
26667 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
26669         * lisp/org/org-src.el (org-edit-src-code)
26670         (org-edit-fixed-width-region):
26671         * lisp/simple.el (completion-setup-function):
26672         Remove calls to substitute-command-keys that always just return
26673         their argument.
26675 2015-08-09  Daiki Ueno  <ueno@gnu.org>
26677         * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
26678         (Bug#21210)
26680 2015-08-09  Ivan Kanis  <ivan@kanis.fr>
26682         Fix link to source code in help window
26683         * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
26684         will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
26685         'No longer include timestamp in header of .elc files'.  Add code
26686         that will return .el source file in load-path.
26688 2015-08-09  Artur Malabarba  <bruce.connor.am@gmail.com>
26690         * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
26691         Respect `isearch-lax-whitespace' when searching through
26692         `isearch-word'.
26694 2015-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
26696         * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
26698         * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
26699         * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
26700         (org-set-regexps-and-options, org-assign-fast-keys)
26701         (org-contextualize-keys, org-contextualize-validate-key)
26702         (org-notes-order-reversed-p, org-local-logging, org-map-entries)
26703         (org-find-olp, org-find-exact-heading-in-directory)
26704         (org-cycle-agenda-files, org-release-buffers, org-fill-template)
26705         (org-agenda-prepare-buffers, org-occur-in-agenda-files)
26706         (org-replace-escapes): Use dolist.
26707         (org-mode): Optimize away XEmacs-only code.
26708         (org-refile-get-targets): Remove unused var `f'.
26709         (org-fast-todo-selection): Remove unused var `e'.
26710         (org-make-tags-matcher): Use dolist.  Remove unused var `term'.
26711         (org-fast-tag-selection): Use dolist.  Remove unused var `e'.
26712         (org-format-latex): Use dolist.  Remove unused var `e'.
26713         (org-toggle-heading): Access vars lexically rather than dynamically.
26714         (org-backward-sentence, org-forward-sentence, org-meta-return)
26715         (org-kill-line): Mark arg as unused.
26716         (org-submit-bug-report): Silence compiler warning.
26717         (org-occur-in-agenda-files): Don't use add-to-list on local vars.
26718         (org-get-cursor-date): Remove unused var `tm'.
26719         (org-comment-or-uncomment-region): Use standard name `_'.
26720         (reftex-docstruct-symbol, reftex-cite-format): Declare to
26721         silence byte-compiler.
26722         (org-reftex-citation): Add `org--' prefix to dynamically scoped
26723         `rds' var.
26725 2015-08-08  Paul Eggert  <eggert@cs.ucla.edu>
26727         Electric quote if coding is undecided or no conv
26728         * lisp/electric.el (electric--insertable-p): Also say that a
26729         string is insertable if the buffer file coding system is undecided
26730         or uses no conversion, as curved quotes will work in either case.
26732         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
26734 2015-08-08  Eli Zaretskii  <eliz@gnu.org>
26736         Fix overlay string display regressions introduced in Emacs 24.5
26737         * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
26738         buffer position, if we move the iterator to a new position as
26739         result of jumping over text covered by a "replacing" display
26740         property.
26741         * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
26743         Support recovery from C stack overflow on MS-Windows
26744         * src/w32fns.c (w32_reset_stack_overflow_guard)
26745         (stack_overflow_handler): New functions for handling C stack
26746         overflow exceptions.
26747         (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
26748         specially, and zero out except_addr if we do.
26749         (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
26750         mode.
26751         * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
26752         the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
26753         the MinGW build, but the code guarded by that is for Posix hosts.
26754         * src/keyboard.c (command_loop) [WINDOWSNT]:
26755         Call w32_reset_stack_overflow_guard.
26756         * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
26757         (sigsetjmp): New macro.
26758         (w32_reset_stack_overflow_guard): Declare the prototype.
26759         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
26761 2015-08-07  Phillip Lord  <phillip.lord@newcastle.ac.uk>
26763         Improve error signalling for seq-subseq
26764         * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
26765         when indexes are too large, but to silently ignore numbers which
26766         are too negative for lists.  String and vector handling errors in
26767         both cases.  This has been regularized.  Error signaling behavior
26768         has been explicitly added to the doc string.
26770         * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
26771         therefore also impacted by this change.  Update the doc string
26772         to reflect this.
26774         * test/automated/seq-tests.el (test-seq-subseq): Tests have been
26775         added for these exceptional cases, as well as one non exceptional
26776         base case.
26778 2015-08-07  Jürgen Hötzel  <juergen@archlinux.org>
26780         Improve error checking in tramp-adb.el
26781         * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
26782         Improve error checking.  "ls -l" on Android in Enforcing mode can
26783         print "lstat './FILENAME failed: Permission denied".
26785 2015-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
26787         * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
26788         non-struct vectors.
26790 2015-08-07  Stephen Leake  <stephen_leake@stephe-leake.org>
26792         Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
26793         * lisp/window.el: Fix typo that broke build.
26794         (display-buffer--action-function-custom-type):
26795         Add `display-buffer-use-some-frame'.
26796         (display-buffer): Add `display-buffer-use-some-frame' to doc string.
26798         Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
26799         * lisp/window.el (display-buffer-use-some-frame): Add support for
26800         'inhibit-same-window in alist.
26801         * doc/lispref/windows.texi (display-buffer-use-some-frame):
26802         Doc support for 'inhibit-same-window in alist.
26804 2015-08-07  Eli Zaretskii  <eliz@gnu.org>
26806         Avoid infinite loop in display of invisible text in strings
26807         * src/xdisp.c (handle_invisible_prop): If the next change of
26808         invisibility spec does not mean the beginning of a visible text,
26809         update the string position from which to start the search for the
26810         next invisibility change.  This avoids an infinite loop when we
26811         have more than one invisibility spec that are made inactive by
26812         buffer-invisibility-spec.  Simplify code.  (Bug#21200)
26813         * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
26814         for the situation that caused bug #21200.
26816 2015-08-06  Artur Malabarba  <bruce.connor.am@gmail.com>
26818         * lisp/emacs-lisp/package.el: Simplify describe-package-1
26819         (package-help-section-name-face): New face.
26820         (package--print-help-section): New function.
26821         (describe-package-1): Refactor section printing.
26822         (package-make-button): Use face instead of font-lock-face, which
26823         doesn't work on buttons.
26825         * lisp/emacs-lisp/package.el: Define custom faces
26826         (package-name-face, package-description-face)
26827         (package-status-built-in-face, package-status-external-face)
26828         (package-status-available-face, package-status-new-face)
26829         (package-status-held-face, package-status-disabled-face)
26830         (package-status-installed-face, package-status-dependency-face)
26831         (package-status-unsigned-face, package-status-incompat-face)
26832         (package-status-avail-obso-face): New faces.
26833         (package-menu--print-info-simple): Use them.
26835 2015-08-05  Paul Eggert  <eggert@cs.ucla.edu>
26837         Fix some confusion with ‘format’
26838         * lisp/allout-widgets.el (allout-widgets-before-change-handler)
26839         (allout-graphics-modification-handler):
26840         Protect arbitrary string in a format context with "%s" format.
26841         * lisp/avoid.el:
26842         * lisp/cedet/semantic/bovine/scm.el: Fix comment.
26843         * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
26844         * lisp/erc/erc-button.el (erc-button-beats-to-time):
26845         * lisp/gnus/message.el (message-send-form-letter):
26846         * lisp/org/ob-core.el (org-babel-check-evaluate)
26847         (org-babel-confirm-evaluate):
26848         * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
26849         * lisp/org/ox-latex.el (org-latex-compile):
26850         * lisp/org/ox-man.el (org-man-compile):
26851         * lisp/org/ox-odt.el (org-odt-template):
26852         * lisp/org/ox-texinfo.el (org-texinfo-compile):
26853         * lisp/progmodes/prolog.el (prolog-help-info)
26854         (prolog-view-predspec):
26855         * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
26856         * lisp/progmodes/verilog-mode.el (verilog-showscopes):
26857         * lisp/textmodes/rst.el (rst-replace-lines):
26858         Change (message (format ...)) to (message ...), and likewise
26859         for ‘error’.  This lessens the probability of confusion when the
26860         output of ‘format’ contains ‘%’.
26862 2015-08-05  Artur Malabarba  <bruce.connor.am@gmail.com>
26864         * lisp/replace.el (replace-character-fold): Default to nil.
26866         * lisp/character-fold.el: Fix lax whitespace.
26867         (character-fold-table): Don't make space match other whitespace chars.
26868         (character-fold-to-regexp): Simplify lax behavior.
26870 2015-08-05  Dmitry Gutov  <dgutov@yandex.ru>
26872         Preserve window point in xref-find-definitions-other-window
26873         Fix the problem reported by Ingo Logmar in
26874         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
26875         * lisp/progmodes/xref.el (xref--goto-char): Extract from
26876         xref--goto-location.
26877         (xref--pop-to-location): Use it.  Replace xref--goto-location with
26878         a direct xref-location-marker call.
26879         (xref--show-location): Likewise.
26880         (xref--display-position): Use xref--goto-char.
26882         * lisp/progmodes/project.el: Add a paragraph to the front matter.
26884 2015-08-04  David Kastrup  <dak@gnu.org>
26886         * lisp/vc/emerge.el (emerge-show-file-name):
26887         * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
26888         (vhdl-comment-insert, vhdl-hooked-abbrev):
26889         * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
26890         * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
26891         * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
26892         * lisp/progmodes/cperl-mode.el (cperl-putback-char):
26893         * lisp/obsolete/vip.el (vip-escape-to-emacs)
26894         (vip-prefix-arg-value, vip-prefix-arg-com):
26895         * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
26896         * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
26897         (quail-tibkey-update-translation):
26898         * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
26899         * lisp/leim/quail/lao.el (quail-lao-update-translation):
26900         * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
26901         (quail-japanese-self-insert-and-switch-to-alpha):
26902         * lisp/leim/quail/hangul.el (hangul2-input-method)
26903         (hangul3-input-method, hangul390-input-method):
26904         * lisp/language/hanja-util.el (hangul-to-hanja-char):
26905         * lisp/international/robin.el (robin-input-method):
26906         * lisp/international/quail.el (quail-start-translation)
26907         (quail-start-conversion):
26908         * lisp/gnus/gnus-art.el (gnus-article-describe-key)
26909         (gnus-article-describe-key-briefly):
26910         * lisp/eshell/em-hist.el (eshell-list-history):
26911         * lisp/term.el (term-dynamic-list-input-ring)
26912         (term-dynamic-list-completions):
26913         * lisp/subr.el (momentary-string-display):
26914         * lisp/simple.el (read-quoted-char):
26915         * lisp/pcomplete.el (pcomplete-show-completions):
26916         * lisp/kmacro.el (kmacro-repeat-on-last-key):
26917         * lisp/info.el (Info-summary):
26918         * lisp/ehelp.el (electric-help-command-loop):
26919         * lisp/ebuff-menu.el (electric-buffer-list)
26920         (Electric-buffer-menu-exit):
26921         * lisp/double.el (double-translate-key):
26922         * lisp/comint.el (comint-dynamic-list-input-ring)
26923         (comint-dynamic-list-completions): Do not overwrite preexisting
26924         contents of `unread-command-events' when putting new events into it.
26926 2015-08-04  Daniel Colascione  <dancol@dancol.org>
26928         Improve ansi-color filtering of unrecognized escape sequences
26929         * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
26930         escape sequences.
26931         (ansi-color-filter-apply, ansi-color-apply): Filter out
26932         unrecognized escape sequences.
26934 2015-08-04  Artur Malabarba  <bruce.connor.am@gmail.com>
26936         * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
26937         definitions to `easy-menu-define', improve a couple to account for
26938         async, and add a couple of new commands.
26940 2015-08-03  Jürgen Hötzel  <juergen@archlinux.org>
26942         * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
26944 2015-08-03  Ingo Lohmar  <i.lohmar@gmail.com>
26946         Add new 'calendar-weekend-days' option
26947         Make the days receiving the 'calendar-weekend-header' face freely
26948         customizable, as they differ by region/culture.
26949         * doc/emacs/calendar.texi (Move to Beginning or End): Document the
26950         new variable.
26951         * lisp/calendar/calendar.el (calendar-generate-month): New variable
26952         calendar-weekend-days to customize day header fontification.
26954 2015-08-03  Paul Eggert  <eggert@cs.ucla.edu>
26956         Redo text-quoting-style variable
26957         Rename help-quote-translation to text-quoting-style,
26958         and use symbols rather than characters as values.
26959         This follows suggestions along these lines by Alan Mackenzie in:
26960         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
26961         and by Drew Adams in:
26962         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
26963         * doc/lispref/help.texi (Keys in Documentation)
26964         * etc/NEWS:
26965         * lisp/cus-start.el (standard):
26966         * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
26967         Document and/or implement the new behavior instead of the old.
26968         (syms_of_doc): New symbols 'grave' and 'straight'.
26970 2015-08-03  Nikolaus Rath  <Nikolaus@rath.org>
26972         nnimap.el: Use IMAP MOVE extension if available
26973         * lisp/gnus/nnimap.el (nnimap-request-move-article)
26974         (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
26975         Use MOVE extension if available.
26977         nnimap.el: Explicitly ask for server capabilities
26978         * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
26979         capabilities will be returned in the login-result.
26981 2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>
26983         Treat help strings like other doc strings
26984         * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
26985         * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
26986         substitute-command-keys.
26987         * src/keyboard.c (show_help_echo, parse_menu_item): Call
26988         substitute-command-keys on the help string before displaying it.
26990         Also mention "curly quotes"
26991         See Drew Adams's email in:
26992         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
26993         * doc/lispref/help.texi (Keys in Documentation):
26994         Add index entry "curly quotes".
26995         * etc/NEWS: Use the phrase "curly quotes" too.
26997         ede-proj-target-makefile docstring tweaks
26998         * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
26999         Consistently use "all:" to describe the all: target,
27000         replacing three different and confusingly-quoted usages.
27002 2015-08-02  Evgeny Fraimovitch  <johnlen7@gmail.com>  (tiny change)
27004         Don't abort emacsclientw when -a was specified
27005         * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
27006         out if we are in emacsclientw and -a was specified.
27008 2015-08-02  Eli Zaretskii  <eliz@gnu.org>
27010         Fix handling of 1st keystroke on MS-Windows
27011         * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
27012         This is needed to correctly handle the session's first keystroke,
27013         if it has any modifiers.  (Bug#19994)
27015 2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>
27017         Substitute some customization etc. doc strings
27018         These changes apply substitute-command-keys to some
27019         doc strings that were going through untranslated
27020         when creating customization or other widgets.
27021         * lisp/cus-edit.el (custom-group-value-create):
27022         * lisp/wid-edit.el (widget-default-create):
27023         (widget-push-button-value-create):
27024         Treat the widget tag as a doc string.
27025         * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
27026         Treat the :documentation value as a doc string.
27027         * lisp/wid-edit.el (widget-choose):
27028         Treat the choice names as doc strings.
27029         (widget-default-create): Treat the :doc value as a doc string.
27030         (widget-toggle-value-create): Treat the :on and :off values
27031         as doc strings.
27032         (widget-documentation-string-value-create):
27033         Substitute the doc string.
27035 2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>
27037         Add a second argument to project-ignores
27038         * lisp/progmodes/project.el (project-ignores): Add a second
27039         argument DIR.
27040         * lisp/progmodes/project.el (project-ignores): Only include the VC
27041         ignores if DIR is the VC root.
27042         * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
27044 2015-08-01  Eli Zaretskii  <eliz@gnu.org>
27046         Prevent incorrect display when 'line-spacing' variable is set
27047         * src/xdisp.c (try_window_id): Give up this optimization if the
27048         buffer has its 'line-spacing' variable set non-nil.
27050 2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>
27052         Don't pass NOVISIT to find-file
27053         * lisp/progmodes/etags.el (next-file):
27054         Don't pass NOVISIT to find-file (bug#21175).
27056         Ignore buffer restriction for tags-loop-eval
27057         * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
27058         restriction (bug#21167).
27060 2015-08-01  Eli Zaretskii  <eliz@gnu.org>
27062         Fix a thinko in 'ffap-gopher-at-point'
27063         * lisp/ffap.el (ffap-gopher-at-point): Fix last change.  (Bug#21168)
27065         Honor 'line-spacing' for empty lines
27066         * src/xdisp.c (append_space_for_newline): Honor 'line-height'
27067         property and 'line-spacing' frame parameter or variable or
27068         property for empty lines, by doing the same processing as in
27069         x_produce_glyph for newline characters.  (Bug#21165)
27071 2015-08-01  Paul Eggert  <eggert@cs.ucla.edu>
27073         Simplify by assuming C99 integer division
27074         * src/floatfns.c (ceiling2, floor2, truncate2):
27075         Assume C99 (i.e., Fortran) semantics for integer division.
27076         This simplifies the code.
27078 2015-07-31  Paul Eggert  <eggert@cs.ucla.edu>
27080         Don't overflow if computing approximate percentage
27081         * lisp/align.el (align-region):
27082         * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
27083         * lisp/cedet/semantic/wisent.el (wisent-parse-region):
27084         * lisp/cus-edit.el (custom-buffer-create-internal):
27085         * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
27086         (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
27087         (checkdoc-next-message-error):
27088         * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
27089         * lisp/epa.el (epa-progress-callback-function):
27090         * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
27091         * lisp/ffap.el (ffap-menu-rescan):
27092         * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
27093         * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
27094         * lisp/gnus/nneething.el (nneething-retrieve-headers):
27095         * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
27096         * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
27097         * lisp/gnus/nnml.el (nnml-retrieve-headers):
27098         * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
27099         * lisp/gnus/nntp.el (nntp-retrieve-headers)
27100         (nntp-retrieve-articles):
27101         * lisp/imenu.el (imenu--relative-position):
27102         * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
27103         (skkdic-convert-okuri-nasi):
27104         * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
27105         * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
27106         * lisp/org/org-list.el (org-update-checkbox-count):
27107         * lisp/org/org.el (org-table-map-tables)
27108         (org-update-parent-todo-statistics):
27109         * lisp/play/decipher.el (decipher-insert-frequency-counts)
27110         (decipher-analyze-buffer):
27111         * lisp/profiler.el (profiler-format-percent):
27112         * lisp/progmodes/cc-cmds.el (c-progress-update):
27113         * lisp/progmodes/cpp.el (cpp-highlight-buffer):
27114         * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
27115         (idlwave-list-load-path-shadows):
27116         * lisp/progmodes/opascal.el (opascal-step-progress):
27117         * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
27118         (vhdl-scan-directory-contents):
27119         * lisp/textmodes/bibtex.el (bibtex-progress-message):
27120         * lisp/textmodes/flyspell.el (flyspell-small-region)
27121         (flyspell-external-point-words):
27122         * lisp/textmodes/table.el (table-recognize):
27123         Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
27124         progress-report percentages and the like.  This avoids problems
27125         if (* 100 NUMERATOR) would overflow.
27126         * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
27127         * lisp/gnus/registry.el (registry-reindex):
27128         Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
27129         * lisp/descr-text.el (describe-char):
27130         * lisp/org/org-colview.el (org-nofm-to-completion):
27131         * lisp/ps-print.el (ps-plot):
27132         * lisp/simple.el (what-cursor-position):
27133         Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
27134         more-complicated and less-accurate approximation.
27136         Fix some int overflows in profiler.c
27137         * src/profiler.c (make_log): Make args EMACS_INT, not int,
27138         to avoid unwanted behavior on 'int' overflow.
27139         (make_log, evict_lower_half, record_backtrace):
27140         Use ptrdiff_t, not int, for object indexes.
27142         Port to pedantic memcpy
27143         * src/keyboard.c (menu_bar_items, tool_bar_items):
27144         * src/xrdb.c (magic_db):
27145         Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
27147         Merge from gnulib
27148         This incorporates:
27149         2015-07-29 time_rz: port to pedantic memcpy
27150         * lib/time_rz.c: Copy from gnulib.
27152 2015-07-31  Artur Malabarba  <bruce.connor.am@gmail.com>
27154         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
27155         When updating the very last entry, tabulated-list-print would
27156         erase it and then try to look at the next one (which obviously
27157         isn't there).
27159 2015-07-31  Eli Zaretskii  <eliz@gnu.org>
27161         Allow to use the old key processing code on MS-Windows
27162         * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
27163         New variable.
27164         (w32_wnd_proc): Use it to invoke the old code that processed
27165         character keys, as fallback, when this variable is non-nil.
27166         Fix typos in comments.  (Bug#19994)
27168 2015-07-31  Ilya Zakharevich  <ilya@math.berkeley.edu>
27170         Improve handling of Unicode keyboard input on MS-Windows
27171         * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
27172         (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
27173         (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
27174         upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages.  If that is
27175         successful, don't call TranslateMessage.  (Bug#19994)
27177 2015-07-30  Dmitry Gutov  <dgutov@yandex.ru>
27179         Fix default-directory in changeset diffs after vc-print-log
27180         * lisp/vc/log-view.el (log-view-diff-common): Move the
27181         revision-granularity check back into log-view-diff-changeset.
27182         (log-view-diff-changeset): Bind default-directory to the current
27183         VC root.
27185         Rename project-directories to project-roots
27186         * lisp/progmodes/project.el (project-search-path-function)
27187         (project-search-path): Update the docstring.
27188         (project-directories): Rename to `project-roots', update all
27189         callers and implementations accordingly.
27190         (project-root): Remove.
27191         * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
27192         as the default file mask.
27194 2015-07-30  Eli Zaretskii  <eliz@gnu.org>
27196         Support long URLs in w32-shell-execute
27197         * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
27198         and filename_to_ansi to convert the DOCUMENT argument, as it could
27199         be a URL that is not limited to MAX_PATH characters.  Instead, use
27200         MultiByteToWideChar directly, and allocate heap storage as
27201         required to accommodate the converted string.  Likewise with
27202         non-Unicode operation.  Ensure OPERATION is null-terminated, even
27203         if it is longer than 32K bytes.  (Bug#21158)
27205 2015-07-30  Stephen Leake  <stephen_leake@stephe-leake.org>
27207         * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
27209 2015-07-29  Stephen Leake  <stephen_leake@stephe-leake.org>
27211         Add docs for display-buffer action display-buffer-use-some-frame
27212         * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
27213         * doc/lispref/windows.texi (Display Action Functions):
27214         Add display-buffer-use-some-frame.
27215         * etc/NEWS: Mention display-buffer-use-some-frame.
27217         Add display-buffer action display-buffer-use-some-frame
27218         * lisp/window.el (display-buffer-use-some-frame): New.
27220         Handle vc-mtn error more gently
27221         * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
27222         branch is nil.
27224 2015-07-29  Michael Albinus  <michael.albinus@gmx.de>
27226         Fix Tramp problems with multihops, and nc
27227         * lisp/net/tramp-cache.el (tramp-get-file-property)
27228         (tramp-set-file-property, tramp-flush-file-property)
27229         (tramp-get-connection-property, tramp-set-connection-property)
27230         (tramp-flush-connection-property): Remove hop from vector.
27231         * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
27232         * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
27233         (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
27234         netstat to 60".
27235         (tramp-sh-handle-start-file-process): Do not show hops in prompt.
27236         * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
27237         (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
27238         Keep hop in result.
27239         * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
27240         Add hop tests.
27242 2015-07-29  Eli Zaretskii  <eliz@gnu.org>
27244         Resurrect highlighting of repeated words by Flyspell Mode
27245         * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
27246         characters between point and the doublon candidate, so that
27247         flyspell-word-search-backward finds it.  (Bug#21157)
27249         Fix redisplay of large images on expose events
27250         * src/xdisp.c (expose_window, expose_area): Avoid comparisons
27251         between signed negative values and unsigned values.  This
27252         prevented redisplay on expose events when the window showed a very
27253         large image.
27255 2015-07-29  Paul Eggert  <eggert@cs.ucla.edu>
27257         Remove unnecessary stack overflow dependency
27258         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
27259         Don't worry about $ac_cv_header_sys_resource_h and
27260         $ac_cv_func_getrlimit, as they're no longer needed for this.
27261         Problem reported by Eli Zaretskii in:
27262         http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
27264 2015-07-28  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)
27266         Pacify compilation -Wincompatible-pointer-types warnings
27267         * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
27268         warning.
27269         (CompareStringW_Proc): New typedef.
27270         (w32_compare_strings): Use it, to pacify compiler warnings under
27271         "-Wincompatible-pointer-types".
27272         * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
27273         (GetDiskFreeSpaceExA_Proc): New typedefs.
27274         (Ffile_system_info): Use them, to pacify compiler warnings under
27275         "-Wincompatible-pointer-types".
27277 2015-07-28  Paul Eggert  <eggert@cs.ucla.edu>
27279         Fix subscript error in calculate_direct_scrolling
27280         Use slightly-longer cost vectors.  Without this change,
27281         calculate_direct_scrolling can have a subscript violation when
27282         FRAME_LINES (frame) <= delta.
27283         * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
27284         (line_ins_del, do_line_insertion_deletion_costs):
27285         Allocate and use slightly-larger cost vectors, ones based on
27286         FRAME_TOTAL_LINES instead of FRAME_LINES.
27288         Fix uninitalized value in encode_coding_object
27289         * src/coding.c (encode_coding_object): Also initialize
27290         coding->src_pos and coding->src_pos_byte when NILP (src_object).
27291         This avoids later use of uninitialized storage.
27293 2015-07-27  Xue Fuqiao  <xfq.free@gmail.com>
27295         * doc/lispref/variables.texi (Variable Aliases): Typo fix.
27296         (Bug#21141)
27298 2015-07-27  Paul Eggert  <eggert@cs.ucla.edu>
27300         Merge from gnulib
27301         This incorporates:
27302         2015-07-27 time_rz: port better to MinGW
27303         2015-07-27 time: port __need_time_t to MinGW
27304         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
27305         * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
27306         * lib/time-internal.h: New file, from gnulib.
27308 2015-07-27  Eli Zaretskii  <eliz@gnu.org>
27310         Handle NULL pointers in w32heap.c allocation routines
27311         * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
27312         freeable".
27313         (realloc_after_dump, realloc_before_dump, free_before_dump):
27314         Handle NULL pointers gracefully, as Emacs now seems to expect that.
27316         Fix Cairo build without PNG
27317         * src/image.c: Define PNG function when USE_CAIRO is defined, even
27318         if HAVE_PNG is not.  (Bug#21133)
27320         MS-Windows follow-up for recent TZ-related changes
27321         * nt/mingw-cfg.site (ac_cv_header_pthread_h)
27322         (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
27323         picking up 'struct timespec' from pthread.h, if it is installed on
27324         the user's system.  We want either the definitions from MinGW
27325         system headers, if available, or the Gnulib replacements if not.
27326         * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
27327         lib/time.h.
27328         * lib/time.in.h: Don't let __need_* symbols affect what happens on
27329         MinGW.  These symbols are defined by MinGW system headers, but we
27330         don't want that to affect whether Gnulib portions of the header
27331         are or aren't used.
27333 2015-07-26  Paul Eggert  <eggert@cs.ucla.edu>
27335         * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
27337         New optional ZONE arg for format-time-string etc.
27338         This simplifies time conversions in other time zones.
27339         It also prevents display-time-world tampering with TZ (Bug#21020).
27340         * admin/admin.el (add-release-logs):
27341         Use improved add-log-time-format API.
27342         * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
27343         (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
27344         * configure.ac (tzalloc): Remove test for this, since
27345         Emacs no longer uses HAVE_TZALLOC directly.
27346         * doc/lispref/os.texi (Time of Day, Time Conversion)
27347         (Time Parsing):
27348         * etc/NEWS: Document the new behavior.
27349         Merge from gnulib, incorporating:
27350         2015-07-25 strftime: fix newly-introduced bug on Solaris
27351         2015-07-23 fprintftime, strftime: use timezone_t args
27352         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
27353         * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
27354         * m4/time_h.m4:
27355         Update from gnulib.
27356         * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
27357         New files from gnulib.
27358         * lisp/time-stamp.el (time-stamp-string):
27359         * lisp/time.el (display-time-world-list)
27360         (display-time-world-display):
27361         Use new API, with time zone arg.
27362         * lisp/time.el (display-time-world-display):
27363         Fix race when current-time advances while we're running.
27364         * lisp/vc/add-log.el (add-log-iso8601-time-zone)
27365         (add-log-iso8601-time-string): Accept optional time zone arg.
27366         * lisp/vc/add-log.el (add-change-log-entry):
27367         * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
27368         * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
27369         Add rules for the time module, since they're now needed
27370         for tzalloc etc.
27371         * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
27372         (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
27373         * src/editfns.c: Include errno.h.
27374         (set_time_zone_rule): Omit unnecessary forward decl.
27375         (initial_tz): Remove, replacing with ...
27376         (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
27377         (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
27378         (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
27379         (tzlookup): New static functions.
27380         (init_editfns): New arg DUMPING.  All uses changed.
27381         (init_editfns): Omit most initialization if dumping, not if
27382         !initialized.  Initialize wall_clock_tz and local_tz.
27383         (emacs_nmemftime, format_time_string): Time zone argument can now
27384         be any time zone, not just a boolean for UTC or local time.  All
27385         callers changed.
27386         (Fformat_time_string, Fencode_time, Fcurrent_time_string)
27387         (Fcurrent_time_zone): New optional arg ZONE.
27388         (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
27389         the same form as with the other new additions.
27390         (decode_time_zone): Remove; no longer needed.
27391         (tzvalbuf): Now file-scope.
27392         (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
27393         (syms_of_editfns): Define Qwall.
27394         * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
27395         * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
27396         [!HAVE_TZALLOC]:
27397         Remove; now supplied by gnulib.
27398         * src/emacs.c (main):
27399         * src/lisp.h (init_editfns): Adjust to init_editfns API change.
27401 2015-07-26  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
27403         Fix infinite loop in delete-consecutive-dups
27404         * lisp/subr.el (delete-consecutive-dups): Work even if the last
27405         element is nil (Bug#20588).  Avoid rescan of a circular list in
27406         deletion of last element.
27408 2015-07-26  Martin Rudalics  <rudalics@gmx.at>
27410         Have `x-frame-geometry' return nil for terminal and initial
27411         frames (Bug#21132)
27412         * src/nsfns.m (Fx_frame_geometry):
27413         * src/xfns.c (Fx_frame_geometry): Return nil for initial and
27414         terminal frames.
27415         * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
27416         (Fx_frame_geometry): Return nil for terminal frames
27418 2015-07-26  HOSOYA Kei  <hosoyakei.free@gmail.com>  (tiny change)
27420         * etc/tutorials/TUTORIAL.ja: Improve translation.
27422 2015-07-25  Eli Zaretskii  <eliz@gnu.org>
27424         Avoid crashes when w32 GUI functions are called in -batch
27425         * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
27426         (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
27427         FRAME_W32_WINDOW for initial frame.  (Bug#21132)
27429         Fix flyspell-check-previous-highlighted-word
27430         * lisp/textmodes/flyspell.el
27431         (flyspell-check-previous-highlighted-word): Really accept a
27432         numeric argument, as the doc string describes.  Fix an off-by-one
27433         error in looking up overlays, so invocation with point immediately
27434         after a word would check that word.  Clarify the doc string as
27435         Suggested by N. Jackson <nljlistbox2@gmail.com>.  (Bug#21129)
27437 2015-07-24  Michael Albinus  <michael.albinus@gmx.de>
27439         Minor cleanup in tramp-tests.el
27440         * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
27441         Implement using the documented interface
27442         `tramp-connection-properties', rather than with internal functions.
27444 2015-07-24  Harald Hanche-Olsen  <hanche@math.ntnu.no>  (tiny change)
27446         Pass lambdas to `skeleton-read'
27447         * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
27448         * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
27449         lambdas to `skeleton-read' (bug#20386).
27451 2015-07-24  Eli Zaretskii  <eliz@gnu.org>
27453         * INSTALL (DETAILED BUILDING AND INSTALLATION):
27454         Mention --without-imagemagick.
27456         Don't require GUI frames and mouse for Flyspell menus
27457         * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
27458         (flyspell-emacs-popup): Require neither a GUI frame nor mouse
27459         support, since pop-up menus work with text terminals and can be
27460         controlled via the keyboard.
27462         Improve documentation of Flyspell commands
27463         * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
27464         can be invoked via the keyboard.  Mention those commands by name
27465         and add them to the fn index.  (Bug#21125)
27467 2015-07-23  Michael Albinus  <michael.albinus@gmx.de>
27469         Fix some Tramp problems with HP-UX
27470         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
27471         Add "tab0" to stty call.
27472         * test/automated/tramp-tests.el (tramp-persistency-file-name):
27473         Set to nil.
27474         (tramp--test-hpux-p): New defun.
27475         (tramp--test-utf8): Use it.
27477 2015-07-22  Glenn Morris  <rgm@gnu.org>
27479         * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
27481 2015-07-22  Eli Zaretskii  <eliz@gnu.org>
27483         Fix point positioning in ffap-next-guess
27484         * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
27485         as our callers expect.  This was clobbered as part of fixing
27486         bug#5673.  (Bug#21107)
27487         (ffap-gopher-at-point): Set ffap-string-at-point-region.
27489 2015-07-22  Martin Rudalics  <rudalics@gmx.at>
27491         * lisp/window.el (even-window-sizes): Fix customization type.
27493         Optionally even widths of `display-buffer' windows.  (Bug#21100)
27494         * lisp/window.el (quit-restore-window): Restore width if
27495         requested.
27496         (display-buffer-record-window): Record width when window is
27497         reused and horizontally combined.
27498         (even-window-sizes): New option to allow evening window widths.
27499         (even-window-heights): Defalias to `even-window-sizes'.
27500         (window--even-window-heights): Rename to
27501         `window--even-window-sizes'.  Handle side-by-side windows.
27502         (display-buffer-use-some-window): Call `window--even-window-sizes'
27503         instead of `window--even-window-heights'.
27504         * lisp/help.el (resize-temp-buffer-window): Fix indentation.
27505         * doc/lispref/windows.texi (Choosing Window Options): Describe
27506         `even-window-sizes'.
27507         (Coordinates and Windows): Fix typo.
27509 2015-07-22  Stephen Leake  <stephen_leake@stephe-leake.org>
27511         Add file name to autoload error messages
27512         * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
27513         Add condition-case to add file name to error message.
27515 2015-07-22  Michael Albinus  <michael.albinus@gmx.de>
27517         * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
27518         Use 0.0.0.1 as test host.
27520 2015-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
27522         (advice--called-interactively-skip): Fix inf-loop (bug#21083)
27523         * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
27524         Fix inf-loop (bug#21083).
27526 2015-07-21  Glenn Morris  <rgm@gnu.org>
27528         * test/automated/package-test.el (package-test-signed):
27529         Update for recent changes.
27531         * test/automated/elisp-mode-tests.el
27532         (elisp-xref-finds-both-function-and-variable)
27533         (elisp-xref-finds-only-function-for-minor-mode):
27534         Update for recent xref name changes.
27536 2015-07-21  Dmitry Gutov  <dgutov@yandex.ru>
27538         Make eldoc timer non-repeatable
27539         * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
27540         non-repeatable.  Since it's on post-command hook, that just wasted
27541         CPU cycles.
27543 2015-07-21  Michael Albinus  <michael.albinus@gmx.de>
27545         Mention `tramp-connection-properties' in NEWS
27547         Sync with Tramp repository
27548         * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
27549         required prior changing its configuration.
27550         (Connection caching, Predefined connection information)
27551         (Remote shell setup): Fix typos.
27552         (Predefined connection information): Describe, how to overwrite
27553         parameters of `tramp-methods'.
27554         (Remote programs, Remote processes, Traces and Profiles):
27555         Simplify example.
27556         (Remote programs): Remove superfluous comment.
27557         * doc/misc/trampver.texi: Update release number.
27558         * lisp/net/tramp-cache.el (tramp-connection-properties):
27559         Adapt docstring.
27560         * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
27561         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
27562         (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
27563         "gvfs-mkdir -p ..." does not work robust.
27564         (tramp-gvfs-maybe-open-connection):
27565         Adapt `tramp-get-method-parameter' call.
27566         * lisp/net/tramp-sh.el (tramp-methods):
27567         Add `tramp-remote-shell-login' parameter where it fits.
27568         (tramp-get-remote-path): Use it.
27569         (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
27570         (all): Adapt `tramp-get-method-parameter' calls.
27571         * lisp/net/tramp.el (tramp-methods): Adapt docstring.
27572         (tramp-get-method-parameter): Replace argument METHOD by VEC.
27573         Check also for hits in `tramp-connection-properties'.  Adapt docstring.
27574         (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
27575         (all): Adapt `tramp-get-method-parameter' calls.
27576         * lisp/net/trampver.el: Update release number.
27577         * test/automated/tramp-tests.el (tramp--instrument-test-case):
27578         Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
27579         (tramp-test13-make-directory, tramp--test-adb-p)
27580         (tramp--test-smb-or-windows-nt-p): Simplify.
27581         (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
27582         (tramp--test-special-characters): Fix docstring.  Add gvfs and
27583         ftp tests.
27584         (tramp--test-utf8): Fix docstring.
27586 2015-07-20  Dmitry Gutov  <dgutov@yandex.ru>
27588         Add new xref-query-replace command
27589         * lisp/progmodes/xref.el (xref--match-buffer-bounds):
27590         New function, extracted from xref-pulse-momentarily.
27591         (xref-query-replace): New command.
27592         (xref--query-replace-1): New helper function.
27593         (xref--xref-buffer-mode-map): Add `r' binding.
27595 2015-07-20  Paul Eggert  <eggert@cs.ucla.edu>
27597         Simplify icalendar decoding of Z dates
27598         * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
27599         Simplify calculation of time strings with trailing "Z".
27601 2015-07-19  Dmitry Gutov  <dgutov@yandex.ru>
27603         Do not corrupt grep-find-ignored-files
27604         * lisp/progmodes/project.el (project-ignores): Change the order of
27605         the arguments to nconc, in order not to corrupt grep-find-ignored-files.
27607         Add xref-match-item, and use it
27608         * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
27609         (xref-file-location): Add reader for the column slot.
27610         (xref-match-item): New class.
27611         (xref-match-bounds): A method implementation for it.
27612         (xref-make-match): New constructor function.
27613         (xref--current-item): New private variable.
27614         (xref-pulse-momentarily): Use it.
27615         (xref--pop-to-location): Change the first argument to an xref
27616         item, instead of location, bind xref--current-item.
27617         Update all callers.
27618         (xref-next-line, xref-prev-line, xref--next-error-function)
27619         (xref--mouse-2): Look for the property `xref-item',
27620         instead of `xref-location'.
27621         (xref--item-at-point): Likewise.  This function replaces
27622         `xref-location-at-point'.  Update all callers.
27623         (xref--insert-xrefs): Add the `xref-item' text property, instead
27624         of `xref-location'.
27625         (xref--collect-match): Use xref-make-match.
27627         * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
27628         Update all references.
27630         * lisp/progmodes/xref.el (xref--xref): Rename the `description'
27631         slot to `summary'.
27633         vc-hg: Perform the print-log call asynchronously
27634         * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
27635         asynchronously (bug#21067).
27637         Add xref-after-jump-hook and xref-after-return-hook
27638         * lisp/progmodes/xref.el (xref-after-jump-hook)
27639         (xref-after-return-hook): New hooks.
27640         (xref-pulse-on-jump): Remove, in favor of the above.
27641         (xref-pulse-momentarily): Rename from xref--maybe-pulse.
27642         (xref--pop-to-location, xref--display-position)
27643         (xref-pop-marker-stack): Use the new hooks, as requested in
27644         http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
27646 2015-07-19  Bozhidar Batsov  <bozhidar@batsov.com>
27648         * lisp/progmodes/js.el (js-mode): Correct the lighter.
27650 2015-07-19  Leo Liu  <sdl.web@gmail.com>
27652         Fix a bug in cfengine3-mode
27653         * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
27654         eldoc-documentation-function.
27656 2015-07-18  Julien Danjou  <julien@danjou.info>
27658         sieve-mode: support "body" test command
27659         * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
27660         Add missing "body" test command.
27662 2015-07-18  Eli Zaretskii  <eliz@gnu.org>
27664         Fix info-apropos when the default encoding is Latin-N
27665         * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
27666         'undecided', so that it is set to the encoding of the Info file we
27667         are about to insert.  Otherwise, 'info-apropos' will fail to find
27668         some index nodes in some UTF-8 encoded files, if the buffer's
27669         previous encoding is Latin-N or some such.
27671 2015-07-18  Ivan Andrus  <darthandrus@gmail.com>
27673         * lisp/epg.el (epg--start): Check that gpgconf can be found
27674         before calling it.
27676         Expose more file types to OS X that Emacs understands
27677         * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
27678         sty, dtx, json, and org files.  Export UTIs for el, elc, and org files.
27680 2015-07-18  Eli Zaretskii  <eliz@gnu.org>
27682         Fix visual-order cursor movement when lines are truncated
27683         * src/xdisp.c (Fmove_point_visually): When lines are truncated,
27684         simulate display in a window of infinite width, to allow move_it_*
27685         functions reach positions outside of normal window dimensions.
27686         Remove code that tried to handle a subset of these situations by
27687         manual iteration of buffer text.  (Bug#17777)
27689         Fix following Info cross-references to anchors
27690         * lisp/info.el (Info-read-subfile): Add to the returned value the
27691         length of subfile preamble, after converting it to file's byte
27692         offset, as expected by the caller.  Use bufferpos-to-filepos.
27693         (Info-find-node-2): If searching for a node with a
27694         1000-character slop fails, try again with a 10000-character slop,
27695         to account for known bugs in Texinfo 5.0 and 5.1.  (Bug#21055)
27696         * lisp/international/mule-util.el (bufferpos-to-filepos): New
27697         function.
27698         * etc/NEWS: Mention bufferpos-to-filepos.
27700         Fix scrolling backwards on TTY frames under scroll-conservatively
27701         * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
27702         in moving backwards on TTY frames.  (Bug#21080)
27704 2015-07-17  Dmitry Gutov  <dgutov@yandex.ru>
27706         Consider a jsdoc tag to be a beginning of a paragraph as well
27707         * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
27708         consider a jsdoc tag to be a beginning of a paragraph as well.
27710 2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>
27712         * lisp/emacs-lisp/package.el: Fix warnings.
27714         * lisp/emacs-lisp/package.el (package-buffer-info):
27715         Add author and maintainers to `package-buffer-info'.
27717         * lisp/emacs-lisp/package.el: Many small changes.
27718         Replace all instances of 'face with 'font-lock-face.
27719         (describe-package-1): Improve some strings and move the summary
27720         up the list.
27721         (package-install-file): Update docstring.
27722         (package-menu-hide-package): Bind to `H'.
27724         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
27725         Fix error handling.
27727 2015-07-17  Paul Eggert  <eggert@cs.ucla.edu>
27729         Fix hang with large yanks This should fix the bug fixed by Mike
27730         Crowe's patch in:
27731         https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
27732         A problem in this area has been reported by several users; see
27733         Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
27734         This fix differs from Mike Crowe's patch in that it should avoid a
27735         race condition that could lose SIGIO signals.  ignore_sigio dates
27736         back to the 1980s when some platforms couldn't block signals, and
27737         could only ignore them, which led to races when signals arrived
27738         while being ignored.  We shouldn't have to worry about those old
27739         platforms now.
27740         * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
27741         * src/emacs.c (shut_down_emacs):
27742         Don't call ignore_sigio; unrequest_sigio should suffice.
27743         * src/keyboard.c (kbd_buffer_store_buffered_event):
27744         Use unrequest_sigio, not ignore_sigio.
27745         (kbd_buffer_get_event):
27746         Call request_sigio when getting the ball rolling again.
27748 2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>
27750         * lisp/obsolete/longlines.el (longlines-search-function):
27751         Fallback on `isearch-search-fun-default'.
27753 2015-07-17  Tassilo Horn  <tsdh@gnu.org>
27755         Support @-mentions
27756         * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
27757         of mentions/messages with @nick instead of just nick.
27759 2015-07-16  Michael Albinus  <michael.albinus@gmx.de>
27761         Fix bug#20943
27762         * lisp/autorevert.el (auto-revert-handler): Do not check for
27763         `buffer-modified-p'.
27764         * lisp/files.el (buffer-stale--default-function): Check for
27765         `buffer-modified-p'.
27766         * test/automated/auto-revert-tests.el
27767         (auto-revert-test02-auto-revert-mode-dired): Adapt test.
27769 2015-07-16  Ari Roponen  <ari.roponen@gmail.com>
27771         Fix delete-dups bug on long lists
27772         * lisp/subr.el (delete-dups):
27773         Don't mistakenly keep some dups when applied to long lists.
27775 2015-07-16  Paul Eggert  <eggert@cs.ucla.edu>
27777         Better heuristic for C stack overflow
27778         Improve the heuristic for distinguishing stack overflows from
27779         other SIGSEGV causes (Bug#21004).  Corinna Vinschen explained that
27780         the getrlimit method wasn't portable to Cygwin; see:
27781         https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
27782         Corinna suggested pthread_getattr_np but this also has problems.
27783         Instead, replace the low-level system stuff with a simple
27784         heuristic based on known good stack addresses.
27785         * src/eval.c, src/lisp.h (near_C_stack_top): New function.
27786         * src/sysdep.c: Don't include <sys/resource.h>.
27787         (stack_direction): Remove.  All uses removed.
27788         (stack_overflow): New function.
27789         (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
27790         Make SEGV fatal in non-main threads.
27792 2015-07-16  Daiki Ueno  <ueno@gnu.org>
27794         epg: Automatically start pinentry server
27795         * lisp/epg-config.el (epg-gpgconf-program): New variable.
27796         * lisp/epg.el (epg--start): Call `pinentry-start' if
27797         allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
27799 2015-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
27801         * lisp/gnus/nnimap.el: Fix my last bogus change.
27802         Reinstall Stefan Monnier's change that was made in
27803         <83d824bc4041332f338ad7e5e830f443535aa300>.
27805 2015-07-15  Paul Eggert  <eggert@cs.ucla.edu>
27807         Merge from gnulib
27808         This incorporates:
27809         2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
27810         2015-07-05 acl-permissions: Fix on FreeBSD
27811         2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
27812         * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
27813         * lib/set-permissions.c: Copy from gnulib.
27815         Port to stricter C99
27816         * src/keyboard.h (kbd_buffer_store_event_hold):
27817         Don't return a void expression.
27819 2015-07-15  Xue Fuqiao  <xfq.free@gmail.com>
27821         * doc/emacs/frames.texi (Creating Frames):
27822         Fix the command `C-x 5 m' runs.
27824 2015-07-14  Michael Albinus  <michael.albinus@gmx.de>
27826         New autorevert tests
27827         * test/automated/auto-revert-tests.el: New file.
27829 2015-07-14  Paul Eggert  <eggert@cs.ucla.edu>
27831         Clear gcprolist etc. after stack overflow
27832         After stack overflow, command_loop calls init_eval, and this needs to
27833         clear gcprolist and byte_stack_list (Bug#20996).
27834         * src/alloc.c (init_alloc):
27835         Move gcprolist and byte_stack_list initialization from here ...
27836         * src/eval.c (init_eval): ... to here.
27838 2015-07-13  Xue Fuqiao  <xfq.free@gmail.com>
27840         * doc/emacs/windows.texi (Pop Up Window): Fix the description
27841         of `C-x 4 m'.
27843 2015-07-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
27845         Avoid deprecated enums in mac-ct font backend driver
27846         * src/macfont.m (mac_font_copy_default_descriptors_for_language)
27847         (mac_ctfont_get_advance_width_for_glyph)
27848         (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
27850         Cache font family in mac-ct font backend driver
27851         * src/macfont.m (macfont_family_cache): New variable.
27852         (syms_of_macfont): Initialize it.
27853         (macfont_available_families_cache): New variable.
27854         (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
27855         (macfont_set_family_cache, macfont_invalidate_available_families_cache)
27856         (macfont_handle_font_change_notification)
27857         (macfont_init_font_change_handler)
27858         (macfont_copy_available_families_cache): New functions.
27859         (macfont_create_family_with_symbol): Use font family caches.
27860         (macfont_list, macfont_list_family):
27861         Use macfont_copy_available_families_cache instead of
27862         mac_font_create_available_families.
27864 2015-07-12  Dmitry Gutov  <dgutov@yandex.ru>
27866         Show the default value in the prompt
27867         * lisp/progmodes/xref.el: Add `M-?' binding for
27868         xref-find-references.  Declare functions `grep-read-files' and
27869         `grep-expand-template'.
27870         (xref--read-identifier): Show the default value in the prompt.
27872         * lisp/progmodes/xref.el (xref-find-regexp): When called with
27873         prefix argument, ask for file patterns to search as well.  When
27874         prompting for the directory, require an existing one.
27875         (xref-collect-matches): Add a new argument, FILES.  Use it in the
27876         above function.
27878         Add `project-ignores'
27879         * lisp/progmodes/project.el (project-ignores): New generic
27880         function, and an implementation for the VC project type.
27881         * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
27882         variant of rgrep-default-command that handles a generic list of
27883         ignores.
27884         (xref-collect-matches): Use it, and pass through to it the value
27885         of the newly added argument.
27886         (xref-find-regexp): Handle ignored paths within the project.
27887         Remove outdated comment.
27888         * lisp/vc/vc.el (vc-default-ignore-completion-table):
27889         Skip the comments and the empty lines.
27891 2015-07-12  Xue Fuqiao  <xfq.free@gmail.com>
27893         * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
27895 2015-07-11  Eric Abrahamsen  <eric@ericabrahamsen.net>
27897         gnus-registry.el: Correct function argument order
27898         * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
27899         Reverse the order of function arguments.
27901 2015-07-11  Dmitry Gutov  <dgutov@yandex.ru>
27903         Bind grep-highlight-matches to nil
27904         * lisp/progmodes/xref.el (xref-collect-matches):
27905         Bind grep-highlight-matches to nil (bug#20728).
27907 2015-07-11  Nikolaus Rath  <Nikolaus@rath.org>
27909         nnimap.el: Fix IMAP message size parsing
27910         * lisp/gnus/nnimap.el (nnimap-transform-headers):
27911         Don't assume that UID comes before RFC822.SIZE.
27913 2015-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
27915         * lisp/gnus/nnimap.el: Clean up "unused var" warnings
27916         (auth-source-creation-prompts): Declare.
27917         (nnimap-retrieve-headers, nnimap-status-message)
27918         (nnimap-request-create-group, nnimap-request-delete-group)
27919         (nnimap-close-group, nnimap-request-move-article)
27920         (nnimap-request-accept-article, nnimap-request-newgroups)
27921         (nnimap-request-post, nnimap-dummy-active-number)
27922         (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
27923         (nnimap-parse-flags): Remove unused var `p'.
27924         (nnimap-retrieve-group-data-early): Remove unused var `groups'.
27925         (nnimap-flags-to-marks): Remove unused var `totalp'.
27927 2015-07-10  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)
27929         * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
27931 2015-07-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
27933         * src/macfont.m (macfont_list): Ignore font families lacking
27934         font descriptors.
27936 2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>
27938         Don't check the exit status, it can be misleading
27939         * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
27940         exit status, it can be misleading.
27942         Introduce a Project API
27943         * lisp/progmodes/project.el: New file.
27944         * lisp/cedet/ede.el (project-try-ede): New function.
27945         (project-root): New implementation.
27946         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
27947         Set project-search-path-function.
27948         (elisp--xref-find-references): Delegate some logic to
27949         project-search-path.
27950         (elisp-search-path): New function.
27951         (elisp-xref-find): Don't implement `matches' anymore.
27952         * lisp/progmodes/etags.el: Don't implement `matches'.
27953         Delegate some logic to project-search-path.
27954         (etags-search-path): New function.
27955         * lisp/progmodes/xref.el (xref-find-function):
27956         Remove `matches' from the API.
27957         (xref-find-regexp): Move whatever common logic was in elisp and
27958         etags implementations, and search the directories returned by
27959         project-directories and project-search-path.
27961 2015-07-09  Nicolas Petton  <nicolas@petton.fr>
27963         * test/automated/map-tests.el (test-map-delete-return-value):
27964         Uncomment test.
27966         Add support for gv.el in map.el
27967         * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
27968         * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
27969         * test/automated/map-tests.el: Update tests to work with the new
27970         implementations of map-elt and map-put.
27972 2015-07-09  Glenn Morris  <rgm@gnu.org>
27974         * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
27976 2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>
27978         Syntax-propertize until the end of the line first
27979         * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
27980         until the end of the line first.
27982 2015-07-09  Xue Fuqiao  <xfq.free@gmail.com>
27984         * doc/emacs/files.texi (File Archives): Add a cross reference.
27986 2015-07-08  Nikolaus Rath  <Nikolaus@rath.org>
27988         nnimap.el: Handle plain value for nnimap-stream
27989         * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
27990         capabilities, so that a 'plain value for the `nnimap-stream' server
27991         variable is handled correctly.
27992         * doc/misc/gnus.texi (Customizing the IMAP Connection):
27993         Document the 'plain option.
27995 2015-07-08  Leo Liu  <sdl.web@gmail.com>
27997         Fix bug in thing-at-point--bounds-of-well-formed-url
27998         * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
27999         sure boundary contains current point.
28001 2015-07-08  Dmitry Gutov  <dgutov@yandex.ru>
28003         * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
28004         in the end.
28006         Declare whitespace-line-column a safe file-local
28007         * lisp/whitespace.el (whitespace-line-column): Declare to be a
28008         safe file-local when the value is an integer.
28010 2015-07-08  Eric Abrahamsen  <eric@ericabrahamsen.net>
28012         gnus-group.el: Check if group names are already strings
28013         * lisp/gnus/gnus-group.el (gnus-group-group-name):
28014         The group name may already be a string.
28015         Specifically, in the group list reached from the *Server* buffer,
28016         the 'gnus-group text property returns a string.  Everywhere else
28017         it returns a symbol.
28019         nnimap.el: Remove unused let variables
28020         * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
28022 2015-07-08  Eli Zaretskii  <eliz@gnu.org>
28024         Support "maximized" property of runemacs's shortcut
28025         * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
28026         the '--maximized' switch to Emacs.
28028         Support "minimized" property of runemacs's shortcut
28029         * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
28030         pass the '--iconic' switch to Emacs.  (Bug#20991)
28032 2015-07-08  Xue Fuqiao  <xfq.free@gmail.com>
28034         Doc fixes
28035         * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
28036         C-w' in Diff mode.
28037         * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
28038         Add a cross reference.
28040 2015-07-08  Nicolas Richard  <youngfrog@members.fsf.org>
28042         * lisp/obsolete/landmark.el: Add Obsolete-since header.
28044 2015-07-07  Glenn Morris  <rgm@gnu.org>
28046         * test/automated/ert-tests.el (ert-test-deftest):
28047         Update for recent changes.
28049 2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
28051         (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
28052         * lisp/emacs-lisp/gv.el (gv-setter): New function.
28053         (gv-invalid-place): New error.
28054         (gv-get): Use them.
28055         (gv-synthetic-place, gv-delay-error): New places.
28056         * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
28057         (cl-defgeneric, cl-defmethod): Use gv-setter.
28059 2015-07-07  Fabrice Popineau  <fabrice.popineau@gmail.com>
28061         Make vc-tests work with MSYS svn program
28062         * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
28063         svn is an MSYS program.
28065 2015-07-07  Ken Brown  <kbrown@cornell.edu>
28067         Improve recent change to emacsclient on Cygwin
28068         * lisp/server.el (server-process-filter): Remove redundant check
28069         that 'cygwin-convert-file-name-from-windows' is defined as a
28070         function on Cygwin.  Don't call that function unless its argument
28071         starts with a drive letter.
28073 2015-07-07  Artur Malabarba  <bruce.connor.am@gmail.com>
28075         * lisp/emacs-lisp/package.el (package-compute-transaction):
28076         Fix void variable due to `found-something' being in the wrong `let'.
28078 2015-07-07  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
28080         * lisp/play/landmark.el: Move to lisp/obsolete/.
28082 2015-07-07  Martin Rudalics  <rudalics@gmx.at>
28084         Have `x-show-tip' handle `right' and `bottom' frame parameters
28085         * src/nsfns.m (compute_tip_xy, Fx_show_tip)
28086         * src/w32fns.c (compute_tip_xy, Fx_show_tip)
28087         * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
28088         tooltips also via `right' and `bottom' frame parameters.
28090 2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
28092         Add online-help support to describe types
28093         * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
28094         (describe-symbol): Improve the selection of default.
28095         * lisp/help-mode.el: Require cl-lib.
28096         (describe-symbol-backends): Move from help-fns.el.
28097         (help-make-xrefs): Use it.
28098         * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
28099         for types.
28100         (cl--typedef-regexp): New const.
28101         (find-function-regexp-alist): Add entry for types.
28102         (cl-help-type, cl-type-definition): New buttons.
28103         (cl-find-class): New function.
28104         (cl-describe-type): New command.
28105         (cl--describe-class, cl--describe-class-slot)
28106         (cl--describe-class-slots): New functions, moved from eieio-opt.el.
28107         * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
28108         (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
28109         New functions.  Moved from eieio-opt.el.
28110         (cl--generic-class-parents): New function, extracted from
28111         cl--generic-struct-specializers.
28112         (cl--generic-struct-specializers): Use it.
28113         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
28114         Improve constructor's docstrings.
28115         (cl-struct-unknown-slot): New error.
28116         (cl-struct-slot-offset): Use it.
28117         * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
28118         definition in current-load-list.
28119         * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
28120         (eieio--add-new-slot): Set it.
28121         (eieio-defclass-internal): Use new name for current-load-list.
28122         (eieio-oref): Add compiler-macro to warn about unknown slots.
28123         * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
28124         as compile-time as well.  Improve constructor docstrings.
28125         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
28126         (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
28127         (eieio-class-def): Remove button.
28128         (eieio-help-constructor): Use new name for load-history element.
28129         (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
28130         (eieio-method-documentation): Move to cl-generic.el.
28131         (eieio-display-method-list): Use new names.
28132         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
28133         Add "define-linline".
28134         (lisp-fdefs): Remove "defsubst".
28135         (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
28136         * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
28137         (macroexp--warn-and-return): Use it to avoid inf-loops.
28138         Add `compile-only' argument.
28140 2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>
28142         python.el: Fix local/remote shell environment setup
28143         * lisp/progmodes/python.el (python-shell-with-environment):
28144         Fix remote/local environment setup.
28145         * test/automated/python-tests.el (python-shell-with-environment-1)
28146         (python-shell-with-environment-2): New tests.
28148 2015-07-06  Glenn Morris  <rgm@gnu.org>
28150         * lisp/simple.el (set-variable): Tweak recent doc fix.
28152 2015-07-06  Ken Brown  <kbrown@cornell.edu>
28154         * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
28156 2015-07-06  Glenn Morris  <rgm@gnu.org>
28158         * lisp/simple.el (set-variable): Use user-error for type mismatch.
28160 2015-07-06  Ken Brown  <kbrown@cornell.edu>
28162         * src/emacs.c (main): Don't increase the stack size on Cygwin.
28164 2015-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
28166         (describe-symbol): Rewrite describe-function-or-variable
28167         * lisp/help-fns.el (describe-symbol-backends): New var.
28168         (help-xref-stack-item): Declare.
28169         (describe-symbol): Rename from describe-function-or-variable.
28170         Rewrite using describe-symbol-backends instead of help-xref-interned.
28171         * lisp/help.el (help-map): Use it.
28172         * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
28173         (help-xref-interned): Make it into an obsolete alias.
28175         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
28176         `file' arg (bug#20972).  Always use utf-8-emacs.  Use with-temp-buffer
28177         and cl-letf.
28179 2015-07-06  Wolfgang Jenkner  <wjenkner@inode.at>
28181         Fix parsing glitches in dired-mark-sexp (bug#13575)
28182         * lisp/dired-x.el (dired-x--string-to-number): New function.
28183         (dired-mark-sexp): Use it.  Tweak dired-re-inode-size.  Fix usage
28184         of directory-listing-before-filename-regexp.  Consider
28185         forward-word harmful and replace it.  Add more verbiage in
28186         comments and doc string.
28188 2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>
28190         python.el: Respect process environment for remote shells
28191         * lisp/progmodes/python.el
28192         (python-shell-calculate-process-environment): Calculate
28193         process-environment or tramp-remote-process-environment depending
28194         whether current file is remote.
28195         (python-shell-calculate-exec-path): Calculate exec-path or
28196         tramp-remote-path depending whether current file is remote.
28197         (python-shell-with-environment): New macro.
28198         (python-shell-prompt-detect, python-shell-calculate-command)
28199         (python-shell-make-comint, python-check): Use it.
28201         python.el: Avoid making let-bound defvars buffer local  (Bug#18244)
28202         * lisp/progmodes/python.el (python-shell--interpreter)
28203         (python-shell--interpreter-args): New vars.
28204         (inferior-python-mode, python-shell-make-comint): Use them.
28206         python.el: Fixes for IPython 3.x  (Bug#20580)
28207         * lisp/progmodes/python.el:
28208         (python-shell-completion-native-setup): Fix IPython 3.x setup.
28209         (python-shell-completion-native-get-completions): Fix timeout
28210         logic.
28212         python.el: Fix mark-defun behavior  (Bug#19665)
28213         * lisp/progmodes/python.el (python-mark-defun): New function.
28214         * test/automated/python-tests.el (python-mark-defun-1)
28215         (python-mark-defun-2, python-mark-defun-3): New tests.
28217 2015-07-05  Glenn Morris  <rgm@gnu.org>
28219         * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
28220         such as "extends(parent), private".  (Bug#20969)
28221         * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
28222         New tests.
28224 2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>
28226         Avoid duplicate calls to current_timespec
28227         * src/process.c (wait_reading_process_output):
28228         Cache current_timespec results as long as we're not waiting.
28230 2015-07-05  Ian Kelling  <ian@iankelling.org>
28232         Avoid returning early reading process output due to SIGIO
28233         * src/process.c (wait_reading_process_output): Extend the behavior of
28234         not breaking due to not finding output when a timer has lowered the
28235         timeout to include when SIGIO lowers the timeout.
28237         Don't return as fast reading any process output
28238         * src/process.c (wait_reading_process_output):
28239         The patch for Bug#17647 returns too fast sometimes when reading
28240         from any processes.  Revert part of it, and limit the timeout more
28241         sensibly (Bug#20978).
28243         Refactor timeouts in wait_reading_process_output
28244         * src/process.c (wait_reading_process_output):
28245         Simplify timeouts with an enum.  Remove a redundant condition.
28246         (Bug#20978)
28248         Remove ADAPTIVE_READ_BUFFERING ifdef
28249         * src/process.c (make-process, make-pipe-process, deactivate_process)
28250         (wait_reading_process_output, read_process_output, send_process)
28251         (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
28252         added in case there was an operating system in which it was not
28253         useful.  That was 11 years ago and it hasn't happened.  Make
28254         development easier by not considering the effect of changes on a
28255         theoretical OS where this is disabled (Bug#20978).
28257 2015-07-05  Glenn Morris  <rgm@gnu.org>
28259         * lisp/simple.el (set-variable): Doc fix.
28261         * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
28263 2015-07-05  Ian Kelling  <ian@iankelling.org>
28265         accept-process-output fix
28266         This is a followon to the fix for bug#17647 (Bug#20976).
28267         * src/process.c (status_notify): Fix too high return in some cases.
28269 2015-07-05  Artur Malabarba  <bruce.connor.am@gmail.com>
28271         * lisp/character-fold.el (character-fold-table):
28272         Only fold decompositions if at least one character is non-spacing.
28273         (Bug#20975)
28275 2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>
28277         Merge from gnulib
28278         This incorporates:
28279         2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
28280         2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
28281         2015-07-02 update-copyright: fix test failure with perl >= 5.22
28282         2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
28283         2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
28284         * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
28285         * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
28287 2015-07-05  Christoph Wedler  <christoph.wedler@sap.com>
28289         Respect `prog-indentation-context' in python.el
28290         * lisp/progmodes/python.el (python-indent-guess-indent-offset)
28291         (python-indent-context, python-indent--calculate-indentation)
28292         (python-info-current-defun)
28293         (python-info-dedenter-opening-block-message)
28294         (python-info-line-ends-backslash-p)
28295         (python-info-beginning-of-backslash)
28296         (python-info-continuation-line-p): Use `prog-widen'.
28297         (python-indent--calculate-indentation)
28298         (python-indent--calculate-levels)
28299         (python-indent-calculate-indentation): Use `prog-first-column'.
28300         (python-indent--calculate-levels): Simplify.
28301         Ignore also initial empty lines for syntax calculation.
28302         * lisp/progmodes/python.el (python-indent-context): Return
28303         :no-indent for first non-empty line, not just in line 1.
28304         * test/automated/python-tests.el (python-indent-base-case)
28305         (python-indent-inside-paren-1, python-indent-inside-paren-2)
28306         (python-indent-inside-paren-3, python-indent-inside-paren-4)
28307         (python-indent-inside-paren-5, python-indent-inside-paren-6)
28308         (python-indent-after-backslash-1)
28309         (python-indent-after-backslash-2)
28310         (python-indent-after-backslash-3)
28311         (python-indent-after-backslash-4, python-indent-inside-string-1):
28312         Expect :no-indent for first non-empty line.
28314 2015-07-04  Daniel Colascione  <dancol@dancol.org>
28316         Factor isearch word description into new function
28317         * lisp/isearch.el (isearch--describe-word-mode): New function.
28318         (isearch-message-prefix, isearch-query-replace): Use it.
28320 2015-07-04  Eli Zaretskii  <eliz@gnu.org>
28322         Fix mouse pointer on w32 when a menu is active
28323         * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
28324         shape while a menu is in use.  This started happening since we now
28325         send WM_EMACS_SHOWCURSOR messages when the mouse moves.
28327 2015-07-04  Martin Rudalics  <rudalics@gmx.at>
28329         Fix processing of alpha parameter for Windows tip frames  (Bug#17344)
28330         * src/w32fns.c (x_create_tip_frame): Fix processing alpha
28331         parameter.  (Bug#17344)
28333         Have `compilation-set-window' use right window for getting fringes
28334         (Bug#20829)
28335         * lisp/progmodes/compile.el (compilation-set-window):
28336         Take `window-fringes' from argument window.
28338 2015-07-03  Glenn Morris  <rgm@gnu.org>
28340         Update eieio tests for recent eieio-core change.
28341         * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
28342         * test/automated/eieio-tests.el
28343         (eieio-test-32-slot-attribute-override-2):
28344         Replace the deleted eieio--class-v with cl--find-class.
28346 2015-07-03  Martin Rudalics  <rudalics@gmx.at>
28348         Fix some issues with `window-divider-mode'
28349         * lisp/frame.el (window-divider-default-places): New option.
28350         (window-divider-mode): Remove option.
28351         (window-divider-mode): Make it a "regular" minor mode.
28352         (window-divider-width-valid-p): Drop frame- prefix.
28353         (window-divider-mode-apply): New argument ENABLE.  Drop frame-
28354         prefix.  Handle `window-divider-default-places'.
28355         (frame--window-divider-mode-set-and-apply): Remove.
28356         (window-divider-default-bottom-width)
28357         (window-divider-default-right-width): Drop :group entries.
28358         * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
28359         (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
28360         (menu-bar-no-window-divider): Set `window-divider-default-places'
28361         and call `window-divider-mode'.
28362         * doc/emacs/frames.texi (Window Dividers): Document
28363         `window-divider-default-places'.
28365 2015-07-02  Xue Fuqiao  <xfq.free@gmail.com>
28367         * doc/emacs/display.texi (Displaying Boundaries):
28368         * doc/emacs/search.texi (Word Search): Add cross references.
28370 2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>
28372         -batch should not affect ‘’ -> `' display
28373         * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
28374         -batch (Bug#20926).
28376 2015-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
28378         * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
28379         * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
28380         * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
28381         Use cl--find-class instead.
28383         * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
28385 2015-07-02  Martin Rudalics  <rudalics@gmx.at>
28387         Some further fixes in Change Window node (Bug#20183)
28388         * doc/emacs/windows.texi (Change Window): Replace "rearranging"
28389         by "resizing" in section title.  Add some concept indices.
28390         Suggested by N. Jackson (Bug#20183).
28392         * doc/emacs/windows.texi (Change Window): Reference window
28393         dividers.
28395         Document new `window-divider-mode'.
28396         * lisp/frame.el (window-divider-mode): Fix doc-string.
28397         * doc/emacs/frames.texi (Window Dividers): New section.
28399         Improve accessibility of window dividers (Bug#20183)
28400         * lisp/faces.el (window-divider)
28401         (window-divider-first-pixel, window-divider-last-pixel): Change
28402         membership from `frames' to `window-divider' customization group.
28403         * lisp/frame.el (window-divider): New customization group.
28404         (window-divider-mode): New minor mode.
28405         (window-divider-default-bottom-width)
28406         (window-divider-default-right-width): New options.
28407         (frame--window-divider-previous-mode): New variable.
28408         (frame-window-divider-width-valid-p)
28409         (frame--window-divider-mode-apply)
28410         (frame--window-divider-mode-set-and-apply): New functions.
28411         * lisp/menu-bar.el (menu-bar-options-save): Save
28412         window-divider-mode settings.
28413         (menu-bar-window-divider-customize)
28414         (menu-bar-bottom-and-right-window-divider)
28415         (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
28416         (menu-bar-no-window-divider): New functions.
28417         (menu-bar-showhide-window-divider-menu): New variable.
28418         (menu-bar-showhide-menu): Show/hide window divider menu.
28419         * lisp/mouse.el (mouse-split-window-vertically)
28420         (mouse-split-window-horizontally): Replace `error' by
28421         `user-error'.  Bind `window-combination-resize' to nil.
28422         (top-level): Add/reorder mouse key bindings on mode- and
28423         vertical-line.
28425 2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>
28427         Don't display ‘’ as `' under X in en_GB
28428         The curved quote setup code invokes (char-displayable-p ?‘),
28429         but this isn’t reliable until after the X frame replaces the
28430         terminal frame (Bug#20926).
28431         * lisp/international/mule-cmds.el (set-locale-environment):
28432         Move curved quote setup code from here ...
28433         * lisp/startup.el (command-line): ... to here, after creating
28434         the X frame.
28436 2015-07-01  Nicolas Richard  <youngfrog@members.fsf.org>
28438         * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
28440         * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
28441         to reverse the meaning (Bug#15631).
28443 2015-07-01  Eli Zaretskii  <eliz@gnu.org>
28445         Be more tolerant to fonts named "Foobar-12"
28446         * src/frame.c (x_set_font): If font_spec_from_name returns nil,
28447         don't barf; instead, request a new fontset to be generated.  This
28448         avoids unnecessarily rejecting fonts named against XLFD rules.  See
28449         http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
28450         for the description of the original problem.
28451         * lisp/faces.el (set-face-attribute): Don't be fooled too easily
28452         by a hyphen in a font's name.
28454         Fix value of posn-at-pont in R2L lines
28455         * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
28456         coordinate of -1, for a newline in a right-to-left line that
28457         overflowed into the left fringe.
28459 2015-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
28461         (cl--copy-slot-descriptor): Copy the `props' alist as well
28462         * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
28463         Rename from cl--copy-slot-descriptor.
28464         (cl--copy-slot-descriptor): New function.  Copy the alist (bug#20914).
28466 2015-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
28468         * lisp/term/xterm.el (xterm--query): Avoid generating garbage
28469         (xterm-query-timeout): New var.
28470         (xterm--query): Use it.  Fallback on async method if we timeout before
28471         getting the first byte of the reply (bug#12354).
28473 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
28475         Spelling fixes
28476         * lisp/character-fold.el (character-fold-search):
28477         * lisp/emacs-lisp/package.el (package-hidden-regexps):
28478         Fix typos.
28480 2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>
28482         * doc/emacs/frames.texi (Frame Commands): Typo fix.  (Bug#20946)
28484 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
28486         In strings, prefer plain ` and ' to \` and \'
28487         * lisp/allout.el (allout-insert-listified):
28488         * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
28489         * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
28490         (ls-lisp-string-lessp):
28491         * lisp/menu-bar.el (menu-bar-open):
28492         * lisp/obsolete/otodo-mode.el (todo-top-priorities):
28493         * lisp/progmodes/compile.el (compile):
28494         * lisp/progmodes/etags.el (tags-loop-scan):
28495         * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
28496         * lisp/subr.el (posn-actual-col-row):
28497         * lisp/term/pc-win.el (x-list-fonts):
28498         * lisp/textmodes/texinfmt.el (texinfmt-version):
28499         * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
28500         * lisp/time.el (display-time-world-list):
28501         * lisp/tmm.el (tmm-menubar):
28502         * src/buffer.c (syms_of_buffer):
28503         * src/fileio.c (syms_of_fileio):
28504         Omit unnecessary and confusing backslash before quote.
28505         * lisp/erc/erc.el (erc-cmd-LASTLOG):
28506         * lisp/progmodes/flymake.el (flymake-fix-file-name):
28507         * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
28508         Fix string that was intended to escape a backslash and not a quote.
28510 2015-06-30  Glenn Morris  <rgm@gnu.org>
28512         * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
28514         * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
28515         Replace hard-coded lists with wildcard + filter-out.
28517         * configure.ac (system-configuration-features): Add X11, NS.
28519         Improve reproducibility of generated loaddefs file
28520         * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
28521         Make the return value the modtime of the input file (if no autoloads).
28522         (update-directory-autoloads): In the "no autoloads" section,
28523         use "most recent modtime" rather than "current time".
28525 2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>
28527         * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
28528         (Bug#20930)
28530 2015-06-30  Nicolas Petton  <nicolas@petton.fr>
28532         * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
28534         Add seq-min and seq-max
28535         Bump version number.
28536         * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
28537         * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
28539 2015-06-30  Eli Zaretskii  <eliz@gnu.org>
28541         Make sure sleep-for always delays for as long as it's told
28542         * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
28543         a loop, to ensure we always wait exactly the required amount of
28544         time.  (Bug#15990)
28546 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
28548         Fix pointer signedness glitch
28549         * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
28551 2015-06-30  Eli Zaretskii  <eliz@gnu.org>
28553         Don't block changes in mouse pointer inside 'track-mouse'
28554         * etc/NEWS:
28555         * doc/lispref/frames.texi (Mouse Tracking): Document the special
28556         effect of setting 'track-mouse' to 'dragging'.
28557         * lisp/textmodes/artist.el (artist-mouse-draw-continously):
28558         * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
28559         * lisp/mouse-drag.el (mouse-drag-throw):
28560         * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
28561         to avoid changes in the shape of the mouse pointer.
28562         * src/xdisp.c (define_frame_cursor1): Don't change the mouse
28563         pointer shape when do_mouse_tracking has the value of 'dragging',
28564         not just any non-nil value.  (Bug#20934)
28565         (syms_of_xdisp): DEFSYM 'dragging'.
28567 2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>
28569         * lisp/isearch.el (isearch-toggle-word): Fix toggle.
28571         * lisp/emacs-lisp/package.el (package-compute-transaction):
28572         Don't assume version sorting.
28574         * lisp/emacs-lisp/package.el (package--save-selected-packages):
28575         Don't save before init time, to avoid overwriting configurations.
28576         (Bug#20855)
28578 2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>
28580         * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
28581         references.
28583 2015-06-29  Ted Zlatanov  <tzz@lifelogs.com>
28585         Update for the upcoming CFEngine 3.7 release: support macros and
28586         quoted context strings; reformat JSON; indent promise attributes 2
28587         units by default; give function parameter descriptions in the eldoc
28588         glue.
28589         * lisp/progmodes/cfengine.el: Update version and docs and fix name.
28590         Autoload `json-pretty-print'.  Support new features in 3.7.
28591         (cfengine-parameters-indent): Set default promise attribute indent to
28592         2 more than the promise itself.
28593         (cfengine3-macro-regex): New variable to match the new macro syntax.
28594         (cfengine3-font-lock-keywords): Use it to highlight macros.
28595         (cfengine3-indent-line): Use it to indent macros to column 0.
28596         (cfengine3-class-selector-regex): Update for the new quoted strings
28597         format.
28598         (cfengine3-reformat-json-string): New function to reformat a JSON
28599         string using `json-pretty-print'.
28600         (cfengine3-format-function-docstring): Use function parameter
28601         description if it's provided by the cf-promises syntax dump.
28603 2015-06-29  Michael R. Mauger  <michael@mauger.com>
28605         Cygwin emacsclient handles w32 file names
28606         * lisp/server.el (server-process-filter): Allow Cygwin's
28607         emacsclient to be used as a file handler on MS-Windows.
28609 2015-06-29  Katsumi Yamaoka  <yamaoka@jpl.org>
28611         * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
28612         (bug#20925).
28614 2015-06-29  Eli Zaretskii  <eliz@gnu.org>
28616         * doc/lispref/text.texi (Sticky Properties): Improve wording.
28617         (Bug#20924)
28619         Allow font names that end in "-NN", where NN is a number
28620         * src/font.c (font_load_for_lface): If the font-spec didn't match
28621         any available fonts, try again without interpreting trailing "-NN"
28622         as the font size.  For the description of the original problem, see
28623         http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
28625         .gdbinit followup to changes in !USE_LSB_TAG
28626         * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
28627         !USE_LSB_TAG, as Emacs no longer does.
28629 2015-06-29  Wolfgang Jenkner  <wjenkner@inode.at>
28631         * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
28632         Otherwise `s p' of f and F will stomp on each other's value.
28633         (Bug#20916)
28635 2015-06-29  Artur Malabarba  <bruce.connor.am@gmail.com>
28637         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
28638         Don't block remember-pos if buffer isn't displayed.  (Bug#20921)
28640 2015-06-29  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
28642         * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
28643         as additional guess.
28645         * lisp/emacs-lisp/package.el (describe-package): Convert the guess
28646         to a string.
28648 2015-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28650         apropos-library quoting fix
28651         * lisp/apropos.el (apropos-library): Quote library consistently
28652         with the rest of the quoting used by apropos.
28654         Clarify interpreter-mode-alist doc
28655         * lisp/files.el (interpreter-mode-alist):
28656         Reword to avoid confusing quoting that wasn't working anyway.
28658 2015-06-28  Michael Albinus  <michael.albinus@gmx.de>
28660         Sync with Tramp 2.2.12
28661         * doc/misc/trampver.texi:
28662         * lisp/net/trampver.el: Update release number.
28663         * test/automated/tramp-tests.el (tramp-test13-make-directory):
28664         Fix cleanup.
28666 2015-06-28  Artur Malabarba  <bruce.connor.am@gmail.com>
28668         * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
28670 2015-06-27  Dmitry Gutov  <dgutov@yandex.ru>
28672         Bind grep-highlight-matches around the rgrep call
28673         * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
28674         around the rgrep call (bug#20728).
28676         Put "--color" before the other options in grep-command
28677         * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
28678         before the other options in grep-command (bug#20912).
28680         Add --color Grep option to the command dynamically
28681         * lisp/progmodes/grep.el (grep-template, grep-find-template):
28682         Update the description for <C>.  (Bug#20728)
28683         (grep-compute-defaults): Don't add the --color option to
28684         grep-options.  Only add it to grep-command.
28685         (grep-expand-keywords): Expand the env value opts into <C>.
28686         (grep-expand-template): Replace cf in the env with the opts list,
28687         that can include -i and --color.
28688         * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
28689         "--color=always" from the template, because we don't have to.
28691 2015-06-27  Paul Eggert  <eggert@cs.ucla.edu>
28693         cl-extra fixes for most-negative-fixnum
28694         * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
28695         Don't mishandle an argument equal to most-negative-fixnum,
28696         whose absolute value equals itself.
28697         (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
28699         Initialize cl--gensym-counter to 0
28700         Previously it was initialized to a random value, which made it
28701         harder to reproduce earlier Emacs runs.  The need for a random
28702         value went away when Emacs introduced and used the #: syntax for
28703         uninterned symbols (Bug#20862).
28704         * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
28705         Document that cl--gensym-counter now starts with 0.
28706         * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
28707         (cl--random-time): Move to near only remaining use.
28708         * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
28710         Improve docstring for macroexp-let2
28711         * lisp/emacs-lisp/macroexp.el (macroexp-let2):
28712         Improve as per suggestion by RMS in:
28713         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
28714         Also, rename args to match new doc string.
28716 2015-06-27  Eli Zaretskii  <eliz@gnu.org>
28718         Fix VC test suite on MS-Windows
28719         * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
28720         always starts with 3 slashes after the colon.
28721         * test/automated/vc-tests.el (vc-test--create-repo-function): Use
28722         'w32-application-type' to invoke CVS on MS-Windows with properly
28723         formatted CVSROOT directory name.
28725         Add a new function w32-application-type
28726         * src/w32proc.c (Fw32_application_type): New function.
28728         Avoid error in TLS connections due to incorrect format
28729         * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
28730         the call to 'error', instead of the unsupported %u.  Reported by
28731         lo2net <fangtao0901@gmail.com>.  (Bug#20908)
28733 2015-06-26  Artur Malabarba  <bruce.connor.am@gmail.com>
28735         * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
28737 2015-06-26  Leo Liu  <sdl.web@gmail.com>
28739         * lisp/emacs-lisp/cl-indent.el: Fix indentation for
28740         `with-output-to-string' in elisp.
28742         Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
28743         with-output-to-string".
28744         This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
28746 2015-06-26  Eli Zaretskii  <eliz@gnu.org>
28748         Minor corrections in ELisp manual
28749         * doc/lispref/nonascii.texi (Character Properties): Correct
28750         inaccuracies in description of values of the Unicode properties.
28752         Fix invisible mouse pointers on Windows.
28753         * src/w32fns.c: Include windowsx.h.
28754         (w32_wnd_proc): If the mouse moved and the mouse pointer is
28755         invisible, make it visible again even when the main (Lisp)
28756         thread is busy.
28757         * src/w32term.c (w32_toggle_invisible_pointer): Rather then
28758         garbaging the frame have the input thread call SetCursor.
28760 2015-06-26  Martin Rudalics  <rudalics@gmx.at>
28762         Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
28763         * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
28764         for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
28765         * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
28766         (w32_toggle_invisible_pointer): New function.
28767         (w32_create_terminal): Add w32_toggle_invisible_pointer as
28768         toggle_invisible_pointer_hook for this terminal.
28770 2015-06-25  Xue Fuqiao  <xfq.free@gmail.com>
28772         Doc fix for deletion commands
28773         'delete-char' does not respect the value of 'delete-active-region'.
28774         * doc/emacs/killing.texi (Deletion):
28775         Fix documentation for some single-char deletion commands.
28777         * doc/emacs/help.texi (Apropos):
28778         Improve documentation of 'apropos-do-all'.
28780         * doc/emacs/help.texi (Help Summary):
28781         Improve documentation of 'describe-mode'.
28783 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
28785         Fix submake dependency bug with .h files
28786         * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
28787         Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
28788         before the submake in $(libsrc) would spin off a subsubmake
28789         for $(lib) in parallel with our submake for $(lib) (Bug#20894).
28791 2015-06-25  Artur Malabarba  <bruce.connor.am@gmail.com>
28793         * lisp/character-fold.el (character-fold-table): Reuse `table'.
28795 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
28797         Translate undisplayable ‘ to `
28798         * doc/lispref/help.texi (Keys in Documentation):
28799         * lisp/international/mule-cmds.el (set-locale-environment):
28800         * lisp/term/w32console.el (terminal-init-w32console):
28801         * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
28802         If ‘ is not displayable, transliterate it to `, not to '.  See:
28803         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
28805         Fix C99 incompatibilities in Cairo code
28806         * src/image.c (xpm_load) [USE_CAIRO]:
28807         * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
28808         Fix pointer signedness problem.
28810 2015-06-25  Oleh Krehel  <ohwoeowho@gmail.com>
28812         lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
28813         * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
28814         `with-output-to-string' should have the same indent as `progn'.
28815         This is in line with the declaration of `with-output-to-string'.
28817 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
28819         Get ‘./configure; make -C src emacs’ to work
28820         Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
28821         * lib-src/Makefile.in (../lib/libgnu.a):
28822         * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
28824 2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>
28826         Fix GC bugs --with-wide-int and Qnil == 0
28827         Use the same alignment for the !USE_LSB_TAG case as for the
28828         more-typical USE_LSB_TAG case.  The attempt to support arbitrary
28829         alignments with !USE_LSB_TAG had subtle bugs in garbage collection
28830         once we changed the representation of symbols so that Qnil == 0.
28831         Problem reported by Eli Zaretskii (Bug#20862).
28832         * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
28833         * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
28834         (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
28835         Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
28836         * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
28837         This optimization in the !USE_LSB_TAG case is no longer valid when
28838         symbols are represented via offsets.  Change the only use to
28839         assume that pointers might hide in objects.
28840         * src/lisp.h (alignas) [!USE_LSB_TAG]:
28841         Require support in this case, too.
28842         (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
28843         This is OK, because the !USE_LSB_TAG case now applies only when
28844         Lisp_Object is wider than void *, so there's no longer any need
28845         to shift the offset.  Not shifting the offset means that
28846         symbol representations have the same alignment as pointers,
28847         which the GC assumes.
28849 2015-06-24  Xue Fuqiao  <xfq.free@gmail.com>
28851         * doc/lispintro/emacs-lisp-intro.texi (Data types):
28852         Improve documentation of 'substring'.
28854 2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>
28856         * lisp/character-fold.el (character-fold-table): Fix table generation.
28858 2015-06-24  Glenn Morris  <rgm@gnu.org>
28860         * nextstep/Makefile.in (all): Make it the first target.
28861         (../src/emacs${EXEEXT}): Add rule for making it.
28863 2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>
28865         * etc/NEWS: Fix mention to old function name.
28867         * lisp/character-fold.el: New file (Bug#20887)
28868         (character-fold-to-regexp): New function.
28869         * lisp/replace.el (replace-search): Check value of
28870         `character-fold-search'.
28871         * lisp/isearch.el: Move character-folding code to
28872         character-fold.el
28873         (isearch-toggle-character-fold): New command.
28874         (isearch-mode-map): Bind it to "\M-sf".
28875         (isearch-mode): Check value of `character-fold-search'.
28877 2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
28879         lisp/subr.el (remove-from-invisibility-spec): Handle the t case
28880         * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
28881         is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
28883         * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
28884         (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
28886 2015-06-24  Glenn Morris  <rgm@gnu.org>
28888         * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
28890 2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
28892         lisp/gnus/nnmaildir.el: Silence lexical warnings
28893         * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
28894         functional style.
28895         (nnmaildir--update-nov): Remove unused var `numdir'.
28896         (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
28897         (nnmaildir-request-group, nnmaildir-request-create-group)
28898         (nnmaildir-request-post, nnmaildir-request-move-article)
28899         (nnmaildir-request-accept-article, nnmaildir-active-number):
28900         Mark unused args.
28901         (nnmaildir-get-new-mail, nnmaildir-group-alist)
28902         (nnmaildir-active-file): Declare.
28903         (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
28904         (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
28905         `mark', `end', `new-mark', and `mark-sym'.
28906         (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
28907         `nlist2'.
28908         (nnmaildir-request-expire-articles):
28909         Remove unused vars `article', `stop' and `nlist2'.
28910         (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
28911         `end'.  Use nnmaildir--article when dyn-binding is needed.
28912         Give the value directly in the `let' for `del-mark', `del-action',
28913         `add-action', and `set-action'.  Don't use `add-to-list' on a local var.
28914         (nnmaildir-close-server): Declare those local vars that need to be
28915         dyn-bound.
28917 2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>
28919         * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
28921         Port selection info fix to clang
28922         * src/keyboard.h (kbd_buffer_store_event_hold):
28923         Don't assume C11 semantics for alignof (Bug#20756).
28925         Fix bug that munged selection info
28926         On some optimizing C compilers, copying a structure did not
28927         copy the padding bytes between elements, and the type punning
28928         between struct input_data and struct selection_input_data did
28929         not work.  Change the C code to use a proper union type instead.
28930         Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
28931         * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
28932         (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
28933         (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
28934         (mark_kboards):
28935         Use union buffered_input_event, not struct input_event.
28936         (clear_event, deliver_input_available_signal, process_special_events):
28937         Remove unnecessary forward decls.
28938         (kbd_buffer_store_buffered_event): New function, mostly just the
28939         old kbd_buffer_store_event_hold, except its argument is of type
28940         union buffered_input_event, not struct input_event.
28941         (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
28942         not needed otherwise.  Argument is now of type
28943         struct selection_input_event *, not struct input_event *.
28944         All callers changed.
28945         (clear_event): Arg is now of type union buffered_input_event *,
28946         not struct input_event *.  All callers changed.
28947         * src/keyboard.h [HAVE_X11]: Include "xterm.h".
28948         (union buffered_input_event): New type.
28949         (kbd_buffer_store_event_hold): Now an inline function,
28950         defined here.
28951         * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
28952         (struct input_event): Use it.
28953         * src/xselect.c (struct selection_event_queue):
28954         Make elements be of type struct selection_input_event,
28955         not struct input_event.
28956         (selection_input_event_equal): New static function.
28957         (x_queue_event): Use it.
28958         (x_queue_event, x_decline_selection_request)
28959         (x_selection_current_request, x_reply_selection_request)
28960         (x_handle_selection_request, x_handle_selection_clear)
28961         (x_handle_selection_event): Use struct selection_input_event,
28962         not struct input_event.  All callers changed.
28963         (x_convert_selection): Omit unused first arg.  All callers changed.
28964         (Fx_disown_selection_internal): Omit unnecessary union.
28965         * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
28966         rather than rolling our own equivalent.  Prefer sie.kind when
28967         setting up that kind of structure.
28968         Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
28969         * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
28970         (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
28971         (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
28972         (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
28973         (SELECTION_EVENT_TIME, x_handle_selection_event):
28974         Arg is now of type struct selection_input_event *)
28975         not struct input_event *.  All callers changed.
28977 2015-06-23  Glenn Morris  <rgm@gnu.org>
28979         * Makefile.in (install-arch-dep): Simplify with Make conditionals.
28981 2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>
28983         * lisp/isearch.el: Fold many unicode characters to ASCII.
28984         (isearch-character-fold-search, isearch--character-fold-extras)
28985         (isearch--character-fold-table): New variable.
28986         (isearch--character-folded-regexp): New function.
28987         (isearch-search-fun-default): Use them.
28988         * lisp/replace.el (replace-character-fold): New variable.
28989         (replace-search): Use it.
28990         * etc/NEWS: Document it.
28992 2015-06-23  Glenn Morris  <rgm@gnu.org>
28994         Check for an input event before showing a dialog box.  (Bug#20813)
28995         * lisp/subr.el (y-or-n-p):
28996         * src/fns.c (Fyes_or_no_p): Check last-input-event as well
28997         as last-nonmenu-event.
28999 2015-06-23  Jürgen Hartmann  <juergen_hartman_@hotmail.com>  (tiny change)
29001         Respect ‘switch-to-visible-buffer’ more rigidly.  (Bug#20861)
29002         * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
29003         (switch-to-prev-buffer, switch-to-next-buffer): Respect
29004         switch-to-visible-buffer independent of the windows history.
29006 2015-06-23  Paul Eggert  <eggert@cs.ucla.edu>
29008         * src/keyboard.c (last_timer_event): Remove unused var.
29010 2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>
29012         * test/automated/package-test.el (package-test-update-listing):
29013         Fix test.
29015 2015-06-23  Glenn Morris  <rgm@gnu.org>
29017         Revert 2014-06-25 nextstep/Makefile change.
29018         * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
29019         (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
29020         not as an order-only prerequisite.
29022         * configure.ac (--with-ns): Enable by default on OS X.
29024 2015-06-23  Leo Liu  <sdl.web@gmail.com>
29026         Fix shell-for/backward-command to exclude spaces
29027         * lisp/shell.el (shell-forward-command, shell-backward-command):
29028           Handle the 'move case from re-search-forward/backward.
29029           fixes debbugs:20873
29031 2015-06-22  Juri Linkov  <juri@linkov.net>
29033         * lisp/replace.el (query-replace-read-from): Add separator to
29034         the local binding of text-property-default-nonsticky.  (Bug#20690)
29036         * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
29037         (Bug#20785)
29039 2015-06-22  Ken Brown  <kbrown@cornell.edu>
29041         Enable CPU profiling on Cygwin
29042         * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
29043         change that undefined this.
29044         (SIGEV_SIGNAL): Ensure that this is defined as a macro.
29045         * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
29046           Cygwin.
29048         Improve diagnostics of profiler-cpu-start
29049         * src/profiler.c (setup_cpu_timer): Change return type to 'int';
29050         return -1 if the sampling interval is invalid.
29051         (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
29052         fails.  (Bug#20843)
29054 2015-06-22  Artur Malabarba  <bruce.connor.am@gmail.com>
29056         * lisp/emacs-lisp/package.el: Exclude packages by name.
29057         (package-hidden-regexps): New variable.
29058         (package-menu--refresh): Use it.
29059         (package-menu-hide-package): New command.
29061         * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
29063 2015-06-22  Eli Zaretskii  <eliz@gnu.org>
29065         Fix debug-timer-check on systems without HAVE_TIMERFD
29066         * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
29067         the expired timers, since wait_reading_process_output doesn't.
29068         (debug_timer_callback): Enlarge the tolerance to 20 msec.
29070         Fix RCS crashes in vc-test
29071         * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
29072         ports of 'ci' on MS-Windows by always passing the -t- switch.
29074 2015-06-22  Glenn Morris  <rgm@gnu.org>
29076         * doc/emacs/package.texi (Packages):
29077         * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
29079         * doc/misc/efaq-w32.texi (Downloading): Copyedits.  (Bug#20851)
29081 2015-06-22  Paul Eggert  <eggert@cs.ucla.edu>
29083         Port tests to help-quote-translation
29084         * test/automated/ert-x-tests.el (ert-test-describe-test):
29085         * test/automated/package-test.el (package-test-describe-package)
29086         (package-test-signed): Allow straight quotes, too.
29088 2015-06-22  Dmitry Gutov  <dgutov@yandex.ru>
29090         Make find-function-on-key use the current window
29091         * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
29092         Extract from `find-function-on-key', add a second argument.
29093         (find-function-on-key): Use it (bug#19679).
29094         (find-function-on-key-other-window)
29095         (find-function-on-key-other-frame): New commands.
29097 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
29099         Revert "Define `map-elt' as a generalized variable"
29100         This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
29102 2015-06-21  Ken Brown  <kbrown@cornell.edu>
29104         Drop support for CPU profiling on Cygwin
29105         * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
29106         (Bug#20843)
29108 2015-06-21  Paul Eggert  <eggert@cs.ucla.edu>
29110         Fix some “nested” quoting confusion in doc strings
29111         * lisp/emacs-lisp/advice.el (ad-map-arglists):
29112         * lisp/kermit.el (kermit-clean-on):
29113         * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
29114         * src/keyboard.c (Frecursive_edit):
29115         Use curved quotes when quoting text containing apostrophe,
29116         so that the apostrophe isn't curved in the output.
29118 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
29120         Define `map-elt' as a generalized variable
29121         * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
29122         * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
29123         * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
29124         `setf' with `map-elt'.
29125         * test/automated/map-tests.el: Comment out `test-map-put-literal'.
29127 2015-06-21  Michael Albinus  <michael.albinus@gmx.de>
29129         Improve error handling in tramp-adb.el
29130         * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
29131         Improve error handling.
29133 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
29135         Reuse `alist-get' in map.el
29136         * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
29137         elements.
29139 2015-06-21  Eli Zaretskii  <eliz@gnu.org>
29141         Fix bytecomp-tests--warnings when $TMPDIR has a long name
29142         * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
29143         Allow the warning to begin on the 3rd, not only 2nd line, which
29144         happens if temporary-file-directory has a very long name.
29146         Expect 2 icalendar tests to fail on MS-Windows
29147         * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
29148         (icalendar-real-world): Make them expected failures on MS-Windows.
29150 2015-06-20  Paul Eggert  <eggert@cs.ucla.edu>
29152         Improve port of settings UI to older displays
29153         * lisp/cus-start.el (standard): Don't assume curved quotes are
29154         easily distinguishable when users are tinkering with a setting
29155         that affects how curved quotes are generated.
29157         Fix quoting in electric-quote-mode doc string
29158         * lisp/electric.el (electric-quote-mode): Fix quoting.
29159         This is a fallout from the recent change introducing
29160         ‘help-quote-translation’.
29162         Spelling fix
29164         * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
29166         * src/doc.c (syms_of_doc): Remove unused symbols.
29168 2015-06-20  Martin Rudalics  <rudalics@gmx.at>
29170         * lisp/window.el (window-state-put): Undedicate target window
29171         before putting STATE into it.  (Bug#20848)
29173 2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>
29175         Merge from origin/emacs-24
29176         a5e6f33 Fixes: debbugs:20832
29177         b9f02cf Fixes: debbugs:20832
29179 2015-06-19  Eli Zaretskii  <eliz@gnu.org>
29181         Fix file-in-directory-p when the directory is UNC
29182         * lisp/files.el (file-in-directory-p): Support files and
29183         directories that begin with "//".  (Bug#20844)
29185 2015-06-19  Stephen Berman  <stephen.berman@gmx.net>
29187         * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
29188         in the minibuffer.  (Bug#20832)
29190 2015-06-19  Nicolas Richard  <youngfrog@members.fsf.org>
29192         * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
29193         for adding new todo file is empty but modified.  (Bug#20832)
29195 2015-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
29197         (filepos-to-bufferpos): Further tweaks to the utf-16 code
29198         * lisp/international/mule-util.el (filepos-to-bufferpos):
29199         Fix typo.  Move non-exact check to the utf-16 branch (the only one
29200         affected).  Don't use byte-to-position for the utf-16 case.
29202 2015-06-19  Eli Zaretskii  <eliz@gnu.org>
29204         Minor fixes in filepos-to-bufferpos
29205         * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
29206         test for utf-8-emacs.  Exempt single-byte encodings from the
29207         'use-exact' path when QUALITY is 'exact'.  Test UTF-16 encodings
29208         for BOM before subtracting 2 bytes.  Use 'identity' when adjusting
29209         UTF-16 encoded files for CR-LF EOLs.
29211 2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>
29213         Improve the optional translation of quotes
29214         Fix several problems with the recently-added custom variable
29215         help-quote-translation where the code would quote inconsistently
29216         in help buffers.  Add support for quoting 'like this', which
29217         is common in other GNU programs in ASCII environments.  Change
29218         help-quote-translation to use more mnemonic values: values are now the
29219         initial quoting char, e.g., (setq help-quote-translation ?`) gets the
29220         traditional Emacs help-buffer quoting style `like this'.  Change the
29221         default behavior of substitute-command-keys to match what's done in
29222         set-locale-environment, i.e., quote ‘like this’ if displayable,
29223         'like this' otherwise.
29224         * doc/lispref/help.texi (Keys in Documentation): Document
29225         new behavior of substitute-command-keys, and document
29226         help-quote-translation.
29227         * doc/lispref/tips.texi (Documentation Tips):
29228         Mention the effect of help-quote-translation.
29229         * etc/NEWS: Mention new behavior of substitute-command-keys,
29230         and merge help-quote-translation news into it.
29231         When talking about doc strings, mention new ways to type quotes.
29232         * lisp/cedet/mode-local.el (overload-docstring-extension):
29233         Revert my recent change to this function, which shouldn't be
29234         needed as the result is a doc string.
29235         * lisp/cedet/mode-local.el (mode-local-print-binding)
29236         (mode-local-describe-bindings-2):
29237         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
29238         * lisp/cus-theme.el (describe-theme-1):
29239         * lisp/descr-text.el (describe-text-properties-1, describe-char):
29240         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
29241         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
29242         (eieio-help-constructor):
29243         * lisp/emacs-lisp/package.el (describe-package-1):
29244         * lisp/faces.el (describe-face):
29245         * lisp/help-fns.el (help-fns--key-bindings)
29246         (help-fns--compiler-macro, help-fns--parent-mode)
29247         (help-fns--obsolete, help-fns--interactive-only)
29248         (describe-function-1, describe-variable):
29249         * lisp/help.el (describe-mode):
29250         Use substitute-command-keys to ensure a more-consistent quoting
29251         style in help buffers.
29252         * lisp/cus-start.el (standard):
29253         Document new help-quote-translation behavior.
29254         * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
29255         * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
29256         (help-xref-url-regexp):
29257         * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
29258         * lisp/wid-edit.el (widget-documentation-link-regexp):
29259         Also match 'foo', in case we're in a help buffer generated when
29260         help-quote-translation is ?'.
29261         * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
29262         (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
29263         (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
29264         (Fsubstitute_command_keys): Document and implement new behavior.
29265         (Vhelp_quote_translation): Document new behavior.
29267 2015-06-18  Glenn Morris  <rgm@gnu.org>
29269         * lisp/cus-start.el (help-quote-translation): Add :version.
29271         * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
29273 2015-06-18  Alan Mackenzie  <acm@muc.de>
29275         Make translation of quotes to curly in doc strings optional.
29276         * src/doc.c (traditional, prefer-unicode): New symbols.
29277         (help-quote-translation): New variable.
29278         (Fsubstitute_command_keys): Make translation of quotes dependent on
29279         `help-quote-translation'; also translate curly quotes back to ASCII
29280         ones.
29281         * lisp/cus-start.el (top-level): Add a customization entry for
29282         `help-quote-translation'.
29284 2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>
29286         * lisp/emacs-lisp/package.el: Don't always propagate async errors
29287         (package--with-work-buffer-async): Only propagate the error if the
29288         callback returns non-nil.
29289         (package--download-one-archive): Return nil on the signature
29290         checking callback if we accept unsigned.
29291         (package--download-and-read-archives): Return non-nil on the
29292         archive download callback.
29294 2015-06-18  Martin Rudalics  <rudalics@gmx.at>
29296         Set image_cache_refcount before x_default_parameter calls.  (Bug#20802)
29297         * src/nsfns.m (Fx_create_frame):
29298         * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
29299         image_cache_refcount before first x_default_parameter call.
29301 2015-06-18  Eli Zaretskii  <eliz@gnu.org>
29303         Improve and extend filepos-to-bufferpos
29304         * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
29305         Don't barf if F returns nil for some argument.
29306         (filepos-to-bufferpos): Expand to support UTF-16 and not assume
29307         that every encoding of type 'charset' is single-byte.
29309 2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>
29311         * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
29312         Properly delete packages.  (Bug#20836)
29314 2015-06-18  Eli Zaretskii  <eliz@gnu.org>
29316         Update data files from just-released Unicode 8.0
29317         * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
29318         status.
29319         * test/BidiCharacterTest.txt: Update from Unicode 8.0.
29320         * admin/unidata/BidiMirroring.txt:
29321         * admin/unidata/BidiBrackets.txt:
29322         * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
29324 2015-06-18  Paul Eggert  <eggert@cs.ucla.edu>
29326         Document curved quotes a bit better
29327         * doc/emacs/basic.texi (Inserting Text):
29328         Mention C-x 8.  Change example to use curved quote rather
29329         than infinity, as this lets us give more ways to do it.
29330         * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
29331         and quotation marks.
29332         * doc/emacs/text.texi (Quotation Marks):
29333         * doc/lispref/tips.texi (Documentation Tips):
29334         Add "curly quotes" and "curved quotes" to the index.
29335         * doc/emacs/text.texi (Quotation Marks):
29336         Give the C-x 8 shorthands for curved quotes.
29337         Cross-reference to "Quotation Marks".
29339 2015-06-17  Daiki Ueno  <ueno@gnu.org>
29341         Add pinentry.el for better GnuPG integration
29342         * lisp/pinentry.el: New file.
29343         * etc/NEWS: Add entry about pinentry.el.
29344         * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
29345         (Bug#20550)
29347 2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>
29349         * lisp/emacs-lisp/package.el: Slightly better error reporting.
29351 2015-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
29353         (define-minor-mode): Use setq-default for :global minor modes
29354         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
29355         Use setq-default for :global minor modes (bug#20712).
29357 2015-06-17  Eli Zaretskii  <eliz@gnu.org>
29359         Avoid infloop in redisplay with tall images
29360         * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
29361         down near ZV.  (Bug#20808)
29362         Call bidi_unshelve_cache to avoid memory leaks.  Use IT_CHARPOS
29363         instead of CHARPOS.
29365 2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>
29367         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
29368         Fix error reporting.
29370         * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
29372         * lisp/emacs-lisp/package.el: Revert buffer after any operation
29373         Call `package-menu--post-refresh' after any operation that changes
29374         the package database (`package-install' and `package-delete').  To
29375         avoid performance issues in large transactions, these functions
29376         add `post-refresh' to `post-command-hook' instead of calling it
29377         immediately.
29378         (package-menu--mark-or-notify-upgrades): New function.
29379         (list-packages): Add it to `package--post-download-archives-hook'.
29380         (package-menu--post-refresh): Lose the upgrade-checking code, add
29381         code to remove itself from `post-command-hook'.
29382         (package-install, package-delete): Add it to `post-command-hook'.
29383         (package-menu-execute): Don't call `package-menu--post-refresh'.
29385 2015-06-17  Stephen Leake  <stephen_leake@stephe-leake.org>
29387         Add missing function xref-location-group for elisp-mode.
29388         * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
29390 2015-06-17  Wolfgang Jenkner  <wjenkner@inode.at>
29392         * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
29393         The behavior now matches the description in the manual.  (Bug#20783)
29395 2015-06-17  Xue Fuqiao  <xfq.free@gmail.com>
29397         * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
29399 2015-06-17  Glenn Morris  <rgm@gnu.org>
29401         Generate char-script-table from Unicode source.  (Bug#20789)
29402         * admin/unidata/Makefile.in (AWK): New, set by configure.
29403         (all): Add charscript.el.
29404         (blocks): New variable.
29405         (charscript.el, ${unidir}/charscript.el): New targets.
29406         (extraclean): Also remove generated charscript.el.
29407         * admin/unidata/blocks.awk: New script.
29408         * admin/unidata/Blocks.txt: New data file, from unicode.org.
29409         * lisp/international/characters.el: Load charscript.
29410         * src/Makefile.in (charscript): New variable.
29411         (${charscript}): New target.
29412         (${lispintdir}/characters.elc): Depend on charscript.elc.
29413         (temacs$(EXEEXT)): Depend on charscript.
29415         * lisp/international/characters.el (char-script-table): Tweak
29416         some ranges to better match the source.  (Bug#20789#17)
29418         Remove "no-byte-compile: t" from a few files.
29419         * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
29420         * lisp/obsolete/patcomp.el: No reason not to compile these.
29422 2015-06-16  Glenn Morris  <rgm@gnu.org>
29424         Fix some typos in copied Unicode data.  (Bug#20789)
29425         * lisp/international/characters.el (char-script-table):
29426         * lisp/international/fontset.el (script-representative-chars)
29427         (setup-default-fontset): Fix typos.
29429         * lisp/emacs-lisp/check-declare.el (check-declare-warn):
29430         Don't print filename twice (it's in the prefix now).
29432         * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
29433         No longer needed.
29435         Address a compilation warning.
29436         * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
29437         Replace 't' with '_' in pcase.
29439         Address some check-declare warnings.
29440         * lisp/simple.el (tabulated-list-print):
29441         * lisp/progmodes/elisp-mode.el (xref-collect-matches):
29442         * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
29443         (ns-get-selection): Update declarations.
29445         Address some compilation warnings.
29446         * lisp/elec-pair.el (electric-pair-post-self-insert-function):
29447         * lisp/vc/vc-git.el (vc-git-file-type-as-string):
29448         Replace 't' with '_' in pcase.
29450         Address some compilation warnings.
29451         * lisp/face-remap.el (text-scale-adjust):
29452         * lisp/menu-bar.el (popup-menu-normalize-position):
29453         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
29454         * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
29455         * lisp/emacs-lisp/generator.el (cps--transform-1):
29456         * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
29457         * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
29458         * lisp/progmodes/octave.el (octave-goto-function-definition)
29459         (octave-find-definition-default-filename):
29460         Replace 't' with '_' in pcase.
29462         * lisp/emacs-lisp/pcase.el (pcase--u1):
29463         Paper-over today's bootstrap failure.
29465 2015-06-16  Nicolas Petton  <nicolas@petton.fr>
29467         * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
29469         * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
29471         Better confirmation message in `find-alternate-file' (Bug#20830)
29472         * lisp/files.el (find-alternate-file'): Improve the confirmation
29473         message to show the buffer name.
29475         Better docstring for null.  (Bug#20815)
29476         * src/data.c (null): Improves the docstring, saying what null returns
29477         when OBJECT is non-nil.
29479 2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
29481         * lisp/net/newst-treeview.el: Use lexical-binding.
29483         (filepos-to-bufferpos): Add missing cases.  Make sure it terminates.
29484         * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
29485         New auxiliary function, extracted from filepos-to-bufferpos.
29486         Make sure it terminates.
29487         (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
29488         Add support for the `exact' quality.
29490 2015-06-16  Cédric Chépied  <cedric.chepied@gmail.com>
29492         Identify feeds in newsticker treeview with :nt-feed property
29493         * lisp/net/newst-treeview.el:
29494         (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
29496 2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
29498         * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
29499         (pcase--self-quoting-p): Floats aren't self-quoting.
29500         (pcase): Tweak docstring.
29501         (pcase--u1): Deprecate the t pattern.  Improve error detection for
29502         the nil pattern.
29503         (\`): Tweak docstring.  Signal an error for unrecognized cases.
29504         (bug#20784)
29506 2015-06-16  Eli Zaretskii  <eliz@gnu.org>
29508         Fix infloop in filepos-to-bufferpos
29509         * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
29510         offset calculation, and make it conditional on the eol-type of the
29511         file's encoding.  (Bug#20825)
29513 2015-06-16  Martin Rudalics  <rudalics@gmx.at>
29515         Fix handling of image cache refcounts.  (Bug#20802)
29516         This backports Eli Zaretskii's solution of this problem for W32
29517         to X and NS.
29518         * src/nsfns.m (image_cache_refcount): Define unconditionally.
29519         (unwind_create_frame): If the image cache's reference count
29520         hasn't been updated yet, do that now.
29521         (Fx_create_frame): Set image_cache_refcount unconditionally.
29522         * src/xfns.c (image_cache_refcount): Define unconditionally.
29523         (unwind_create_frame): If the image cache's reference count
29524         hasn't been updated yet, do that now.
29525         (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
29526         unconditionally.
29527         * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
29528         X and NS.
29530 2015-06-16  Nils Ackermann  <nils@ackermath.info>
29532         Improve reftex-label-regexps default value
29533         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
29534         keyvals label regexp more strict to better cope with unbalanced
29535         brackets common in math documents.
29537 2015-06-16  Glenn Morris  <rgm@gnu.org>
29539         * doc/emacs/calendar.texi (Format of Diary File):
29540         Move "nonmarking" from here...
29541         (Displaying the Diary): ... to here.
29543         * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
29544         Swap the order of these nodes.
29545         * doc/emacs/emacs.texi: Update detailed menu for the above change.
29547         * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
29548         Update date of examples.
29549         (Diary, Format of Diary File): Move example from former to latter.
29550         Reduce duplication.
29552         No need for cp51932.el, eucjp-ms.el to not be compiled any more.
29553         * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
29554         Don't set no-byte-compile in the outputs.
29555         * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
29557 2015-06-15  Glenn Morris  <rgm@gnu.org>
29559         * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
29560         * doc/emacs/calendar.texi (Diary, Format of Diary File):
29561         Update for above diary-file change.
29563         * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
29564         (apply-macro-to-region-lines): Use user-error.
29566         * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
29567         (pages-directory-for-addresses): Doc fixes.
29569 2015-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
29571         * lisp/info.el: Cleanup bytepos/charpos issues
29572         * lisp/international/mule-util.el: Use lexical-binding.
29573         (filepos-to-bufferpos): New function.
29574         * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
29575         (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
29576         (Info-read-subfile, Info-search): Use 0-based file positions.
29578         * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
29579         (perl--syntax-exp-intro-keywords): New var.
29580         (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
29581         (bug#20800).
29583 2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>
29585         Fix quoting when making derived mode docstring
29586         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
29587         Nest regexp-quote inside format, not the reverse.
29588         Problem reported by Artur Malabarba in:
29589         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
29591 2015-06-15  Eli Zaretskii  <eliz@gnu.org>
29593         Fix current-iso639-language on MS-Windows
29594         * lisp/international/mule-cmds.el (set-locale-environment):
29595         Downcase the locale name before interning it.  This is so the
29596         'current-iso639-language' on MS-Windows matches the ':lang'
29597         property of font-spec objects.
29599         Limit Symbola usage some more
29600         * lisp/international/fontset.el (setup-default-fontset): Limit
29601         Symbol coverage of Currency Symbols to u+20B6..u+20CF.
29602         (Bug#20727)
29604 2015-06-15  Nicolas Petton  <nicolas@petton.fr>
29606         * lisp/emacs-lisp/map.el (map-let): Better docstring.
29608 2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>
29610         * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
29611         (help-fns-test-funny-names): Spelling fixes.
29613 2015-06-14  Glenn Morris  <rgm@gnu.org>
29615         * lisp/version.el (emacs-repository-version-git): Demote errors.
29616         Check result is a hash.
29618 2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>
29620         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
29621         Catch errors that happen before going async.  (Bug#20809)
29623 2015-06-14  Eli Zaretskii  <eliz@gnu.org>
29625         Another improvement of documentation of set-fontset-font
29626         * doc/lispref/display.texi (Fontsets): Say explicitly that
29627         CHARACTER can be a single codepoint.
29628         * src/fontset.c (Fset_fontset_font): Doc fix.
29630         Another improvement for symbol and punctuation characters
29631         * lisp/international/fontset.el (setup-default-fontset): Exclude
29632         from Symbola character ranges for symbols and punctuation covered
29633         well by popular Unicode fonts.  Prefer fixed-misc Unicode font, if
29634         installed and where its coverage of symbols and punctuation is
29635         known to be good.  (Bug#20727)
29637 2015-06-14  Christoph Wedler  <christoph.wedler@sap.com>
29639         Some generic support for multi-mode indentation.
29640         * lisp/progmodes/prog-mode.el (prog-indentation-context):
29641         New variable.
29642         (prog-first-column, prog-widen): New convenience functions.
29644 2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>
29646         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
29647         Don't assume that `tabulated-list-printer' will leave point at the
29648         end of the buffer.  (Bug#20810)
29650 2015-06-13  Glenn Morris  <rgm@gnu.org>
29652         Tweaks for getting repository version; a bit more like it was for bzr
29653         * lisp/version.el (emacs-repository-version-git)
29654         (emacs-repository--version-git-1): New functions,
29655         split from emacs-repository-get-version.
29656         (emacs-repository-get-version): Make the second argument meaningful.
29658         * lisp/startup.el (command-line-1): Inform if skipping relative
29659         file names due to deleted PWD.
29661         * src/xsmfns.c (x_session_initialize): Avoid libSM crash
29662         when starup directory is missing.  (Bug#18851)
29663         (errno.h): Include it.
29665 2015-06-13  Paul Eggert  <eggert@cs.ucla.edu>
29667         Better fix for documenting `X as "`X"
29668         Fix suggested by Stefan Monnier.
29669         * lisp/help-fns.el (help-fns--signature):
29670         Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
29671         * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
29672         Don't treat `X specially, as help-fns--signature now handles this.
29674 2015-06-13  Eli Zaretskii  <eliz@gnu.org>
29676         Improve the default fontset when Symbola is not installed
29677         * lisp/international/fontset.el (setup-default-fontset): Only
29678         prepend Symbola and FreeMono font specs for symbols and
29679         punctuation; do not replace the default spec for them.  This
29680         should have better results when Symbola/FreeMono are not
29681         installed.  (Bug#20727)
29683         Improve documentation of ':lang' in font specs
29684         * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
29685         use of the ':lang' property of the font spec.
29686         * doc/emacs/frames.texi (Fonts): Document the language names that
29687         can be in the STYLE part of XLFD.
29688         * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
29689         property.
29691         * nt/README: Don't advertise the (obsolescent) w32 FAQ.
29693         * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
29695         Revert last change in fontset.el
29696         * lisp/international/fontset.el (setup-default-fontset): Revert
29697         the change "Configure Symbola font only if installed", since font
29698         search is evidently not yet set up when this function is called.
29699         (Bug#20727)
29701 2015-06-12  Glenn Morris  <rgm@gnu.org>
29703         Ensure early startup warnings are visible at the end.  (Bug#20792)
29704         * lisp/emacs-lisp/warnings.el (display-warning):
29705         If startup isn't complete, delay the warning.
29706         * lisp/startup.el (normal-top-level, command-line):
29707         Let display-warning automatically handle the needed delays.
29708         Run delayed-warnings-hook.
29710         * lisp/version.el (emacs-repository-get-version):
29711         Avoid calling external executable if possible.  (Bug#20799)
29713 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
29715         Document `X as "`X", not as "(` X)"
29716         * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
29717         Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
29719         * src/print.c (print_object): Minor simplification.
29721 2015-06-12  Glenn Morris  <rgm@gnu.org>
29723         * src/buffer.c (init_buffer): Add final newline to message.
29725 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
29727         Configure Symbola font only if installed
29728         * lisp/international/fontset.el (setup-default-fontset):
29729         Don't specify the Symbola font if it's not installed.
29730         Likewise for FreeMono.  (Bug#20727)
29732 2015-06-12  Eli Zaretskii  <eliz@gnu.org>
29734         Configure Symbola font only for symbols and punctuation
29735         * lisp/international/fontset.el (setup-default-fontset): Leave
29736         only symbols and punctuation in the fontset setup for Symbola
29737         font; remove "Greek and Coptic" and "Cyrillic Supplement".
29738         (Bug#20798)
29740 2015-06-12  Andreas Schwab  <schwab@linux-m68k.org>
29742         Fix crash in fontset-info
29743         * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
29744         non-nil.
29746 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
29748         Port to Solaris 10 sparc + Sun C 5.13
29749         * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
29750         Adjust to process.c change.
29751         * src/process.c (create_process): Declare volatile variables at
29752         top level of this function, so that they're less likely to be
29753         reused later in the function in the code executed by the vforked
29754         child.  Do not declare locals used only in the vforked child, as
29755         they might share memory with locals still live in the parent.
29756         Instead, use the same variables in the child as in the parent.
29757         This works around a subtle bug that causes a garbage collector
29758         crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
29760 2015-06-12  Glenn Morris  <rgm@gnu.org>
29762         * lisp/startup.el (normal-top-level): Don't let *Messages* get
29763         a nil default-directory.
29765 2015-06-11  Glenn Morris  <rgm@gnu.org>
29767         * lisp/startup.el (normal-top-level): Use delay-warning.  (Bug#20792)
29769         Some progress towards starting with PWD deleted.  (Bug#18851)
29770         * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
29771         * lisp/startup.el (normal-top-level, command-line-1):
29772         * lisp/minibuffer.el (read-file-name-default):
29773         Handle default-directory being nil.
29775 2015-06-11  Paul Eggert  <eggert@cs.ucla.edu>
29777         Fix "not a tty" bug on Solaris 10
29778         * configure.ac (PTY_OPEN): Define to plain 'open'
29779         on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
29780         * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
29781         calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
29782         hosts that call grantpt which does its work via a setuid subcommand
29783         (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
29784         Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
29785         seems relevant in that case too.
29787 2015-06-11  Juri Linkov  <juri@linkov.net>
29789         * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
29790         * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
29791         (Bug#20785)
29793 2015-06-11  Glenn Morris  <rgm@gnu.org>
29795         * lisp/international/characters.el (char-script-table): Fix typo.
29797 2015-06-11  Paul Eggert  <eggert@cs.ucla.edu>
29799         Fix quoting of help for functions with odd names
29800         While investigating Bug#20759, I discovered other quoting problems:
29801         C-h f mishandled characters like backslash and quote in function names.
29802         This fix changes the behavior so that 'C-h f pcase RET' now
29803         generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
29804         because '(format "%S" '(` FOO))' returns "(\\` FOO)".  A comment
29805         in src/lread.c's read1 function says that the backslash will be
29806         needed starting in Emacs 25, which implies that 'format' is
29807         correct and the old pcase documention was wrong to omit the backslash.
29808         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
29809         * lisp/help-fns.el (help-fns--signature):
29810         * lisp/help.el (help-add-fundoc-usage):
29811         * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
29812         Use help--make-usage-docstring rather than formatting
29813         help-make-usage.
29814         * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
29815         Return raw docstring.
29816         * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
29817         raw docstring.  Take more care to distinguish raw from cooked dstrings.
29818         (describe-function-1): Let help-fns--signature substitute
29819         command keys.
29820         * lisp/help.el (help--docstring-quote): New function.
29821         (help-split-fundoc): Use it, to quote funny characters more
29822         systematically.
29823         (help--make-usage): Rename from help-make-usage, since this
29824         should be private.  Leave an obsolete alias for the old name.
29825         (help--make-usage-docstring): New function.
29826         * test/automated/help-fns.el (help-fns-test-funny-names): New test.
29828 2015-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
29830         * lisp/thingatpt.el (in-string-p): Revert last change,
29831         since in-string-p is not used in thingatpt.el but only from outside.
29832         Also, use lexical binding.
29834 2015-06-11  Artur Malabarba  <bruce.connor.am@gmail.com>
29836         * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
29837         * test/automated/let-alist.el (let-alist-cons): Test it.
29839 2015-06-11  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
29841         * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
29843 2015-06-10  Glenn Morris  <rgm@gnu.org>
29845         * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
29847         Improve generated ChangeLog for gitmerge.el commits.  (Bug#20717)
29848         * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
29849         * admin/gitmerge.el (gitmerge-commit-message):
29850         Exclude "skipped" messages from ChangeLog once again.
29852         Slight namespace cleanup for thingatpt.el.
29853         * lisp/thingatpt.el (thing-at-point--in-string-p)
29854         (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
29855         (thing-at-point--read-from-whole-string): Rename from
29856         old versions without "thing-at-point--" prefix.
29857         Keep old versions as obsolete aliases.  Update all uses.
29859         * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
29860         Move requiring of finder from here...
29861         (checkdoc-package-keywords): ... to here.
29863         Use 'user-error' in a few calendar files.
29864         * lisp/calendar/appt.el (appt-add):
29865         * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
29866         (calendar-generate):
29867         * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
29868         Replace 'error' with 'user-error'.
29870         * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
29872         * lisp/files-x.el (add-file-local-variable):
29873         Special-case 'lexical-binding'.  (Bug#20641)
29875         * lisp/progmodes/executable.el (executable-self-display): Obsolete.
29876         No longer autoload.
29877         * doc/misc/autotype.texi (Executables):
29878         Undocument executable-self-display.
29880         * lisp/progmodes/executable.el (executable-self-display):
29881         Use non-obsolete tail syntax.  (Bug#20779)
29882         (executable-self-display): Doc update.
29884 2015-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
29886         * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
29887         (finder-known-keywords): Silence byte-compiler.
29889 2015-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
29891         * lisp/simple.el (eval-expression): Macroexpand before evaluating
29892         (bug#20730).
29894         * lisp/progmodes/sh-script.el: Better handle nested quotes.
29895         (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
29896         (sh-font-lock-quoted-subshell): Make sure double quotes within single
29897         quotes don't mistakenly end prematurely the surrounding string.
29899         * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
29901 2015-06-09  Glenn Morris  <rgm@gnu.org>
29903         * test/automated/Makefile.in (ELFILES): Sort.
29905         * Makefile.in (SUBDIR_MAKEFILES):
29906         * lwlib/Makefile.in (WARN_CFLAGS):
29907         Use built-in Make functions rather than echo+sed.
29909 2015-06-09  Eli Zaretskii  <eliz@gnu.org>
29911         Update char-script-table
29912         * lisp/international/characters.el (char-script-table): Update
29913         from Unicode 8.0 Draft.
29915         Improve font selection for punctuation and other symbols
29916         * src/fontset.c (face_for_char): If the character's script is
29917         'symbol', and the font used for ASCII face has a glyph for it, use
29918         the font for the ASCII face instead of searching the fontsets.
29919         This comes instead of NS-specific code that used the current
29920         face's font instead, which is now disabled due to undesirable
29921         consequences.  (Bug#20727)
29923 2015-06-08  Dmitry Gutov  <dgutov@yandex.ru>
29925         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29926         Skip past `#' to find BEG (bug#20771).
29927         * test/automated/elisp-mode-tests.el
29928         (elisp-completes-functions-after-hash-quote): New test.
29930 2015-06-08  Eli Zaretskii  <eliz@gnu.org>
29932         Fix compilation warning/error in --without-x builds
29933         * src/xdisp.c (append_space_for_newline): Condition GUI-specific
29934         code on HAVE_WINDOW_SYSTEM.
29936         Improve the default fontset wrt symbols
29937         * lisp/international/fontset.el (setup-default-fontset): Better
29938         setup of fontset-default for symbols: use Symbola and FreeMono.
29939         (Bug#20727)
29941 2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>
29943         Add new command checkdoc-package-keywords
29944         * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
29945         New defcustom.
29946         (checkdoc-list-of-strings-p): Add doc.
29947         (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
29948         non-nil, call `checkdoc-package-keywords'.
29949         (checkdoc-get-keywords): New defun.
29950         (checkdoc-package-keywords): New command.  Warns if the current file
29951         has package.el-style keywords that aren't in `finder-known-keywords'.
29952         * etc/NEWS: Add entry.
29954 2015-06-08  Eli Zaretskii  <eliz@gnu.org>
29956         Avoid crashes when key-binding is called from a timer
29957         * src/keymap.c (Fkey_binding): Don't segfault if called with an
29958         empty vector as KEY.  (Bug#20705)
29960         Fix a thinko in arc-mode.el
29961         * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
29962         non-Zip64 case.  (Bug#20769)
29964 2015-06-08  Artur Malabarba  <bruce.connor.am@gmail.com>
29966         * lisp/emacs-lisp/package.el (package-delete): Make interactive.
29968 2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>
29970         * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
29971         (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
29972         "*warn*", print the warning to the standard output.  (bug#20754)
29974 2015-06-07  Glenn Morris  <rgm@gnu.org>
29976         * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
29978         * src/font.c (syms_of_font) <font-log>: Doc fix.
29980         Remove the obsolete leading "*" from some C doc strings.
29981         * src/coding.c (syms_of_coding):
29982         * src/font.c (syms_of_font): Remove leading "*" from docs.
29983         * lisp/cus-start.el (enable-character-translation): Add it.
29985 2015-06-07  Paul Eggert  <eggert@cs.ucla.edu>
29987         Move gen_origin from program to data
29988         That way, 'make change-history' needs to change only ChangeLog.2,
29989         instead of having to change two files.
29990         * ChangeLog.2: Add commit info for range that this file covers.
29991         * Makefile.in (new_commit_regexp): New macro.
29992         (change-history-nocommit): Simplify, by putting what used to be
29993         the gen_origin value into the data (ChangeLog.2) rather than
29994         into the program (gitlog-to-emacslog).
29995         * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
29996         the input file (e.g., ChangeLog.2) rather than by having a
29997         constant in the program.  Substitute it into the output.
29999 2015-06-07  Dmitry Gutov  <dgutov@yandex.ru>
30001         * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
30002         function name (bug#20759).
30004 2015-06-07  Eli Zaretskii  <eliz@gnu.org>
30006         Adapt 'struct timespec' to next release of MinGW runtime
30007         * nt/inc/ms-w32.h (struct timespec): Don't declare if
30008         __struct_timespec_defined is defined.
30010 2015-06-06  Paul Eggert  <eggert@cs.ucla.edu>
30012         Merge from gnulib
30013         This incorporates:
30014         2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
30015         2015-06-05 stdio: Don't redefine gets when using C++
30016         2015-06-05 acl-permissions: port to AIX, C89 HP-UX
30017         2015-06-02 file-has-acl: fix build on Mac OS X 10
30018         2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
30019         2015-06-01 pthread_sigmask: discount system version if a simple macro
30020         2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
30021         * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
30022         * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
30023         * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
30024         * lib/gnulib.mk: Regenerate.
30026 2015-06-06  Juri Linkov  <juri@linkov.net>
30028         * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
30029         before calling grep-compute-defaults because now it affects the
30030         command lines computed in grep-compute-defaults.  (Bug#20728)
30032 2015-06-06  Glenn Morris  <rgm@gnu.org>
30034         Address some compilation warnings.
30035         * lisp/international/mule-cmds.el (w32-get-console-codepage)
30036         (w32-get-console-output-codepage):
30037         * lisp/progmodes/elisp-mode.el (xref-collect-references):
30038         * lisp/version.el (cairo-version-string): Declare.
30039         * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
30041 2015-06-06  Eli Zaretskii  <eliz@gnu.org>
30043         Fix display when a font claims large values of ascent and descent
30044         This fixes bug#20628.
30045         * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
30046         coordinate of a hollow cursor glyph when the original glyph's
30047         ascent is too small.
30048         (get_font_ascent_descent, normal_char_ascent_descent)
30049         (normal_char_height): New functions.
30050         (handle_single_display_spec, append_space_for_newline)
30051         (calc_pixel_width_or_height, produce_stretch_glyph)
30052         (calc_line_height_property): Use normal_char_ascent_descent and
30053         normal_char_height.
30054         (x_produce_glyphs): When font-global values of ascent and descent
30055         are too large, use per-character glyph metrics instead, if
30056         possible.  But don't allow the glyph row's ascent and descent
30057         values become smaller than the values from the metrics of the
30058         font's "normal" character.
30059         * src/xftfont.c (xftfont_draw):
30060         * src/w32font.c (w32font_draw): Correct the values of ascent and
30061         descent used to draw glyphless characters' hex code in a box.
30062         * src/xterm.c (x_draw_glyph_string_background):
30063         * src/xdisp.c (x_produce_glyphs):
30064         * src/w32term.c (x_draw_glyph_string_background):
30065         * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
30066         to detect fonts whose global ascent and descent values are too
30067         large to be used in layout decision, and redraw the background
30068         when that happens.
30069         * src/dispextern.h (FONT_TOO_HIGH): New macro.
30070         (get_font_ascent_descent): Add prototype.
30071         * src/xterm.c (x_new_font):
30072         * src/w32term.c (x_new_font):
30073         * src/nsterm.m (x_new_font):
30074         * src/font.c (font_open_entity):
30075         * src/composite.c (composition_gstring_width):
30076         Use get_font_ascent_descent to obtain reasonable values for ascent
30077         and descent of a font.
30079 2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>
30081         Add assertion in adjust_point_for_property
30082         * src/keyboard.c (adjust_point_for_property): Add eassert for
30083         current buffer being shown in selected window.
30085 2015-06-06  Dmitry Gutov  <dgutov@yandex.ru>
30087         Replace uses of in-string-p; make it obsolete
30088         * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
30089         (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
30091 2015-06-06  Eli Zaretskii  <eliz@gnu.org>
30093         Fix Dired display of an explicit list of files by ls-lisp.el
30094         * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
30095         (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
30096         correct for when displaying individual files separately, not as
30097         part of listing a directory, in which case these values are not
30098         recomputed by 'ls-lisp-insert-directory', but used verbatim.
30100         * lisp/dired.el (dired): Doc fix.  (Bug#20739)
30102 2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>
30104         Do not adjust point in a non-selected window
30105         * src/keyboard.c (command_loop_1): Do not adjust point when
30106         current buffer is not shown in selected window (Bug#20590).
30108         * etc/DEBUG: Mention 'maybe_call_debugger'
30110 2015-06-05  Nicolas Petton  <nicolas@petton.fr>
30112         Fix a unit test for map.el
30113         * test/automated/map-tests.el (test-map-let): Fix the test to work
30114         with the new syntax of `map-let'.
30116         * lisp/emacs-lisp/map.el (map-let): Better docstring.
30118         Better syntax for the map pcase pattern
30119         * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
30120         bindings of the form (KEY PAT) or SYMBOL.  KEY is not quoted.
30122         * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
30124         Fix a byte-compiler error in map-put and map-delete
30125         * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
30126         called with a symbol.
30128 2015-06-05  Glenn Morris  <rgm@gnu.org>
30130         * admin/gitmerge.el (gitmerge-commit-message):
30131         Revert to including "skipped" messages in ChangeLog once again.
30133 2015-06-05  Tassilo Horn  <tsdh@gnu.org>
30135         Use string> instead of equiv lambda with string<
30136         * lisp/help.el (view-emacs-news): Use string> instead of equivalent
30137         lambda with string<.
30139 2015-06-05  Glenn Morris  <rgm@gnu.org>
30141         * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
30142         (map--delete-array): Fix typo.
30144         * test/automated/map-tests.el: Replace "assert" with "should".
30146         * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
30147         (SUBDIRS_REL): Derive from SUBDIRS.
30149         Tweak some build messages.
30150         * lisp/Makefile.in ($(lisp)/loaddefs.el):
30151         * lisp/cus-dep.el (custom-make-dependencies):
30152         * lisp/finder.el (finder-compile-keywords): Say what we are doing.
30153         * lisp/international/titdic-cnv.el (batch-titdic-convert):
30154         Don't say how to compile.
30156 2015-06-05  Paul Eggert  <eggert@cs.ucla.edu>
30158         Omit U+0332 COMBINING LOW LINE in previous change
30159         It turns out that it does not work on Ubuntu 15.04.
30161         Fix transliteration of Bahá'í months
30162         * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
30163         Improve quality of Latin transliteration of Bahá'í month names.
30165         Fix curved quotes in a few places
30166         * lisp/calc/calc-misc.el (calc-help): Fix quoting.
30167         The strings in question are not doc strings, so this partially
30168         undoes the recent change that assumed they were doc strings.
30169         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
30170         * lisp/info.el (Info-finder-find-node):
30171         Use curved quotes.
30172         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
30173         Also allow curved quotes in doc strings.
30175 2015-06-04  Glenn Morris  <rgm@gnu.org>
30177         * lisp/Makefile.in (AM_V_at): Add missing definition.
30179         * lisp/Makefile.in: Quieten output a bit.
30180         ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
30181         Don't echo directories, since the commands we invoke print them.
30183         * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
30184         (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
30185         (SUBDIRS_SUBDIRS): New variables.
30186         (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
30187         Remove.
30188         ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
30189         (update-subdirs, compile-main, compile-clean):
30190         Replace "setwins" usage with new "SUBDIRS" variables.
30192         * lisp/vc/compare-w.el (compare-windows-get-window-function):
30193         Fix :version tag.
30195 2015-06-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
30197         * src/ftfont.c (ftfont_open2): Round divisions by upEM.
30199         Undo removal of x_clear_area call on expose for GTK3 or cairo
30200         * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
30201         Clear exposed area.  (Bug#20677)
30203 2015-06-04  Glenn Morris  <rgm@gnu.org>
30205         * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
30207         * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
30209         * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
30210         Rename from quail-lao-update-translation, since lao.el defines that.
30212 2015-06-04  Dmitry Gutov  <dgutov@yandex.ru>
30214         Handle new-style advice in find-funct
30215         * lisp/emacs-lisp/find-func.el (find-function-advised-original):
30216         Handle new-style advice.  Return the symbol's function definition.
30217         (Bug#20718)
30218         (find-function-library): Update accordingly.
30220 2015-06-04  Nicolas Petton  <nicolas@petton.fr>
30222         Merge branch 'map'
30224         * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
30226         Add new function string-greaterp
30227         * lisp/subr.el (string-greaterp): New function.  Also aliased to
30228         `string>'.
30229         * test/automated/subr-tests.el (string-comparison-test): Add unit
30230         tests for `string>'and `string<'.
30231         * src/fns.c (string-lessp): Better docstring.
30233 2015-06-04  Eli Zaretskii  <eliz@gnu.org>
30235         Fix timezone-related functions on MS-Windows
30236         * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
30237         'xputenv', even if no reallocation of tzvalbuf was necessary.
30238         This fixes a bug in timezone-related functions on MS-Windows.
30239         Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
30241 2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>
30243         Don't pass raw directory name to 'error'
30244         * lisp/files.el (basic-save-buffer-2): Avoid format error if
30245         a directory name contains a string like "%s".
30247 2015-06-03  Dmitry Gutov  <dgutov@yandex.ru>
30249         Override 'grep --color=always'
30250         * lisp/progmodes/xref.el (xref-collect-matches):
30251         Override --color=always in grep-find-template.
30253 2015-06-03  Michael Albinus  <michael.albinus@gmx.de>
30255         Fix error introduced recently in file-notify-tests.el
30256         * test/automated/file-notify-tests.el
30257         (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
30258         (file-notify--deftest-remote): Revert previous patch, not
30259         necessary anymore.
30261 2015-06-03  Wolfgang Jenkner  <wjenkner@inode.at>
30263         * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
30264         Starting from a display string after a newline, point went to the
30265         previous line.  Also, fix an inadvertent use of a buffer position
30266         with FETCH_BYTE.  (Bug#20701)
30268 2015-06-03  Michael Albinus  <michael.albinus@gmx.de>
30270         Instrument file-notify-test.el in order to catch hydra error
30271         * test/automated/file-notify-tests.el (file-notify--deftest-remote):
30272         Wrap body by `ignore-case', in order to trap non-local errors.
30274 2015-06-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
30276         Undo previous changes in non-toolkit scroll bar drawing
30277         * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
30278         [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window.  (Bug#20668)
30280 2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>
30282         * .gitignore: Also ignore doc/*/*/*.html and .ps.
30284         Support quotes 'like this' in info files
30285         This is possible when 'makeinfo --disable-encoding' is used
30286         in Texinfo 5.
30287         * lisp/calc/calc-help.el (calc-describe-thing):
30288         * lisp/gnus/gnus-art.el (gnus-button-alist):
30289         * lisp/info.el (Info-find-index-name):
30290         * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
30291         Also support quotes 'like this'.
30292         * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
30293         * lisp/finder.el (finder-font-lock-keywords): Remove var that
30294         hasn't been used in years, instead of bothering to fix its quoting.
30296 2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>
30298         * .gitignore: Remove !test/etags/html-src/*.html.
30299         It's no longer needed, since *.html was removed.  Sort.
30301 2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>
30303         Restore <D> instead of '.' in grep-find-template
30304         * lisp/cedet/semantic/symref/grep.el
30305         (semantic-symref-grep-use-template): Update a comment.
30306         * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
30307         instead of '.' in grep-find-template (bug#20719).
30308         (rgrep): Pass nil as the directory to rgrep-default-command.
30309         * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
30310         default value for DIR.
30311         * lisp/progmodes/xref.el (xref-collect-matches): Drop the
30312         workaround.
30314 2015-06-02  Glenn Morris  <rgm@gnu.org>
30316         * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
30318         * configure.ac (emacs_config_features): Add Cairo.
30320         * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
30322 2015-06-02  Michael Albinus  <michael.albinus@gmx.de>
30324         Ensure that autorevert works for remote files in file-notify-tests.el
30325         * test/automated/file-notify-tests.el (file-notify--test-desc):
30326         New defvar.
30327         (file-notify--test-remote-enabled)
30328         (file-notify-test00-availability, file-notify-test01-add-watch)
30329         (file-notify-test02-events): Use it.
30330         (file-notify--test-event-test): Check proper descriptor.
30331         (file-notify-test03-autorevert): Ensure that
30332         `visited-file-modtime' has changed.  (Bug#20392)
30334 2015-06-02  Nicolas Petton  <nicolas@petton.fr>
30336         Add a pcase pattern for maps and `map-let' based on it
30337         * lisp/emacs-lisp/map.el (map-let): New macro.
30338         (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
30339         * test/automated/map-tests.el: New test for `map-let'.
30341 2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>
30343         Reuse rgrep mechanics in xref-find-regexp
30344         * lisp/progmodes/grep.el (rgrep-default-command):
30345         Extract from `rgrep'.
30346         * lisp/progmodes/xref.el (xref-collect-references): Split from
30347         `xref-collect-matches'.  Only handle the case of symbol search.
30348         (xref-collect-matches): Instead of Semantic Symref, use
30349         `rgrep-default-command', to take advantage of its directory and
30350         file ignore settings.
30351         (xref--collect-match): Remove the last argument, leaving the
30352         regexp construction up to the caller.
30353         * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
30354         Change to take the xref-collect- function to use as an argument.
30355         (elisp-xref-find): Update accordingly.
30356         * lisp/progmodes/etags.el (etags--xref-find-matches)
30357         (etags-xref-find): Same.
30359         Move xref-elisp-location to elisp-mode.el
30360         * lisp/progmodes/xref.el (xref-elisp-location)
30361         (xref-make-elisp-location, xref-location-marker): Remove here.
30362         (xref--xref): Don't limit the type of the location slot.
30363         * lisp/progmodes/elisp-mode.el (xref-elisp-location):
30364         Define as a cl-struct here.
30365         (xref-location-marker): Move here.
30367 2015-06-02  Eli Zaretskii  <eliz@gnu.org>
30369         Minor tweaks for .gitignore
30370         * .gitignore: Don't ignore versioned *.html and *.ps files.
30371         Don't ignore admin/notes/tags that might be ignored as TAGS
30372         on case-insensitive filesystems.  (Bug#20710)
30374 2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>
30376         Generate curved quotes in ert doc
30377         * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
30378         (ert-results-mode-menu)
30379         (ert-results-pop-to-backtrace-for-test-at-point)
30380         (ert-results-pop-to-messages-for-test-at-point)
30381         (ert-results-pop-to-should-forms-for-test-at-point)
30382         (ert-describe-test):
30383         Quote ‘like this’, not `like this', when generating doc strings
30384         and the like.
30385         * test/automated/ert-x-tests.el (ert-test-describe-test):
30386         Allow quoting ‘like this’.
30388 2015-06-02  Nicolas Richard  <youngfrog@members.fsf.org>
30390         Add test for previous commit
30391         * test/automated/replace-tests.el: New file.
30392         (query-replace--split-string-tests): Add test for previous commit.
30394         Avoid confusion in query-replace history when replacing NUL chars
30395         * lisp/replace.el (query-replace--split-string): New function.
30396         (query-replace-read-from): Rely on the 'separator' property
30397         instead of searching for the NUL character (Bug#20690).
30399 2015-06-02  Glenn Morris  <rgm@gnu.org>
30401         Merge from origin/emacs-24
30402         8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
30404         * admin/gitmerge.el (gitmerge-commit-message):
30405         Exclude "skipped" messages from ChangeLog.
30407 2015-06-01  Michael Albinus  <michael.albinus@gmx.de>
30409         Sync with Tramp repository
30410         * lisp/net/tramp.el (tramp-message): Dump connection buffer error
30411         messages.
30412         (tramp-handle-make-auto-save-file-name): When calling
30413         `make-auto-save-file-name' internally, make sure it uses Unix-like
30414         behavior, not Windows-like behavior.
30415         * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
30416         the local case, because "chown" might fail on w32.
30417         * lisp/net/trampver.el (tramp-repository-get-version): Don't run
30418         for XEmacs.
30420 2015-06-01  Eli Zaretskii  <eliz@gnu.org>
30422         MS-Windows followup for batch stdout/stderr output changes
30423         * lisp/international/mule-cmds.el (set-locale-environment):
30424         In batch mode, use console codepages for keyboard and terminal
30425         encoding.  (Bug#20545)
30427         Update .gitattributes for DOS EOL files
30428         * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
30429         CRLF end-of-line format.
30431         NS equivalents of xterm.c and w32term.c changes
30432         * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
30433         glyph string background also when the font in use claims
30434         preposterously large global height value.  Helps to remove
30435         artifacts left from previous displays when glyphless characters
30436         are displayed as hex code in a box.
30437         (x_new_font): Call get_font_ascent_descent to obtain a reasonable
30438         value for FRAME_LINE_HEIGHT, even when a font claims very large
30439         value for its height.
30441 2015-06-01  Paul Eggert  <eggert@cs.ucla.edu>
30443         Avoid grave accent quoting in stderr diagnostics
30444         A few Emacs diagnostics go directly to stderr, and so can't easily
30445         contain curved quotes (as non-UTF-8 locales might mishandle them).
30446         Instead of bothering to add support for this rarity, reword the
30447         diagnostics so that they don't use grave accent to quote.
30448         * src/alloc.c (mark_memory): Fix comment.
30449         * src/buffer.c (init_buffer):
30450         * src/dispnew.c (init_display):
30451         * src/emacs.c (main, sort_args):
30452         * src/lread.c (dir_warning):
30453         * src/term.c (init_tty):
30454         * src/unexmacosx.c (unexec):
30455         * src/xfns.c (select_visual):
30456         * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
30457         Reword stderr diagnostics to avoid quoting `like this'.
30458         * src/unexmacosx.c: Include errno.h.
30459         * src/xfns.c (select_visual): Encode value for locale.
30461 2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>
30463         Treat batch stdout/stderr like standard display
30464         Calls like (print FOO) could generate improperly encoded or
30465         hard-to-read output if FOO contains characters outside the system
30466         locale.  Fix this by treating batch stdout and stderr like
30467         interactive standard display, when it comes to transliterating and
30468         encoding characters (Bug#20545).
30469         * doc/emacs/mule.texi (Communication Coding):
30470         * doc/lispref/display.texi (Active Display Table):
30471         * doc/lispref/nonascii.texi (Locales):
30472         * etc/NEWS:
30473         * src/coding.c (syms_of_coding):
30474         * src/dispnew.c (syms_of_display):
30475         Document this.
30476         * src/print.c: Include disptab.h.
30477         (printchar_to_stream): New function, with much of the guts of the
30478         old Fexternal_debugging_output, except this one also uses the
30479         standard display table.
30480         (printchar, strout, Fexternal_debugging_output): Use it.
30482 2015-05-31  Glenn Morris  <rgm@gnu.org>
30484         * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
30486 2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>
30488         Remove DEFSYMs that aren't used at the C level.  Also:
30489         * src/decompress.c (Qzlib_dll):
30490         * src/font.c (Qunicode_sip):
30491         * src/frame.c (Qtip_frame):
30492         * src/ftfont.c (Qserif):
30493         * src/gnutls.c (Qgnutls_dll):
30494         * src/xml.c (Qlibxml2_dll):
30495         Move from here ...
30496         * src/w32fns.c (syms_of_w32fns): ... to here,
30497         as these are used only on MS-Windows.
30499 2015-05-31  Michael Albinus  <michael.albinus@gmx.de>
30501         Use another default value for tramp-histfile-override
30502         * lisp/net/tramp-sh.el (tramp-histfile-override):
30503         Use ".tramp_history" as default.
30504         Fixes bug#20446
30506 2015-05-29  Nicolas Petton  <nicolas@petton.fr>
30508         * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
30510 2015-05-16  Nicolas Petton  <nicolas@petton.fr>
30512         * etc/NEWS: Add an entry about map.el.
30514         Improve the docstring of functions in map.el
30515         Since a map is not a data structure but a concept, adding information
30516         about the possible types of maps can be useful information.
30517         * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
30518         each public function.
30520 2015-04-29  Nicolas Petton  <nicolas@petton.fr>
30522         * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
30523         specific tests depending on the type of the map.
30525         * lisp/emacs-lisp/map.el: Better docstrings.
30527 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
30529         * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
30531 2015-04-25  Nicolas Petton  <nicolas@petton.fr>
30533         * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
30535         * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
30537         Fix a false negative in `map-elt' with alists and values being nil
30538         * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
30539         found but its associated value is nil, do not return the default
30540         value.
30541         * test/automated/map-tests.el: Add a regression test.
30543 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
30545         * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
30547         Do not signal an error when trying to delete a key from an array
30548         * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
30549         the key is present to avoid signaling an error.
30550         * test/automated/map-tests.el: Add a test for deleting non-existing
30551         keys from maps.
30553         * lisp/emacs-lisp/map.el: Better docstring.
30555         Minor improvement in map-elt
30556         * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
30557         doing a lookup in arrays, but check the boundaries of the array
30558         instead.
30559         * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
30560         and a negative integer as key.
30562 2015-04-21  Nicolas Petton  <nicolas@petton.fr>
30564         * test/automated/map-tests.el: Refactoring of test methods.
30566         * test/automated/map-tests.el: Renamed from map-test.el.
30568 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
30570         * lisp/emacs-lisp/map.el (map-into): Better error message.
30572         * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
30574         Throw an error when converting a map into an unknown map type
30575         * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
30576         not valid.
30577         * test/automated/map-tests.el: Add a regression test.
30579         New library map.el similar to seq.el but for mapping data structures.
30580         * test/automated/map-tests.el: New file.
30581         * lisp/emacs-lisp/map.el: New file.
30583 2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>
30585         * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
30586         there's no explicit tag name (bug#20629).
30588 2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>
30590         Remove format2
30591         * src/editfns.c, src/lisp.h (format2): Remove.
30592         It is more trouble than it's worth, now that we have CALLN.
30593         This is just a minor refactoring.
30594         * src/buffer.c (Fkill_buffer):
30595         * src/dbusbind.c (XD_OBJECT_TO_STRING):
30596         * src/fileio.c (barf_or_query_if_file_exists):
30597         Adjust to format2 going away.
30599         Don't misencode C-generated messages
30600         Also, be more consistent about calls to 'Fmessage' vs 'message'.
30601         * src/alloc.c (Fgc_status):
30602         Prefer AUTO_STRING to build_string for Fmessage call.
30603         * src/data.c (Fmake_variable_buffer_local)
30604         (Fmake_local_variable, Fmake_variable_frame_local):
30605         * src/doc.c (store_function_docstring):
30606         Use Fmessage, not message, since the argument can contain
30607         non-ASCII characters, and this can cause the resulting message
30608         to be incorrectly encoded for the current environment.
30609         * src/fns.c (maybe_resize_hash_table):
30610         * src/xselect.c (x_clipboard_manager_save_all):
30611         Use message, not Fmessage, since Fmessage's power isn't needed here.
30612         * src/process.c (Fmake_network_process): Reword message to avoid %s.
30613         * src/xdisp.c (vmessage): Document restrictions on message contents.
30614         (message_nolog) [false]: Remove unused code.
30616         Use \r rather than ^M in string literals
30617         This is less likely to cause problems on platforms that
30618         use CRLF (or CR!) termination for lines.
30620         Update .gitattributes to match current sources
30621         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
30622         * .gitattributes: Accommodate tests that insist on DOS format.
30623         Remove test/automated/data/decompress/foo-gzipped.
30624         Add etc/e/eterm-color.
30626 2015-05-30  Eli Zaretskii  <eliz@gnu.org>
30628         * doc/emacs/mule.texi (Modifying Fontsets):
30629         Document face-ignored-fonts.  (Bug#20628)
30631         Add etags test for the new -Q option
30632         * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
30633         * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
30634         * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
30635         test-case changes below.
30636         * test/etags/ETAGS.good_6: New file.
30637         * test/etags/cp-src/x.cc: New file.
30638         * test/etags/Makefile (CPSRC): Add x.cc.
30639         (check): Add one more test, for -Q.
30641 2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>
30643         Use list for the tags completion table, not obarray
30644         * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
30645         list instead of an obarray
30646         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
30647         (tags-completion-table): Combine those lists.
30648         (tags-completion-table): Update the docstring.
30650 2015-05-30  Eli Zaretskii  <eliz@gnu.org>
30652         Restore EOL format testing in etags
30653         * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
30654         * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
30655         * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
30656         test-case changes below.
30657         * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
30658         * test/etags/cp-src/c.C (B): Add back stray CR character.
30659         * test/etags/c-src/dostorture.c: Add back.
30660         * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
30662 2015-05-30  Vitaly Takmazov  <vitalyster@gmail.com>  (tiny change)
30664         Declare Emacs on MS-Windows to be DPI-aware
30665         * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
30666         * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
30667         This avoids Windows entering compatibility mode for Emacs,
30668         which causes fonts to look less nice.
30670 2015-05-30  Michael Albinus  <michael.albinus@gmx.de>
30672         Improve Tramp traces
30673         * lisp/net/trampver.el (tramp-repository-get-version): New defun.
30674         * lisp/net/tramp.el (tramp-debug-message): Use it.
30676 2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>
30678         backup-buffer minor reworking of internals
30679         * lisp/files.el (backup-buffer): Rework to avoid a couple of
30680         unused locals inadvertently introduced in the previous change.
30682         backup-buffer now reports .emacs.d/%backup% ills
30683         * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
30684         fails due to disk space exhaustion or whatever, do not pretend
30685         that it succeeded.  More generally, do a better job of checking
30686         for I/O failures, and limit the scope of the condition-case to
30687         just the operations where file errors should be caught and ignored
30688         (Bug#20595).  Also, don't bother trying to delete later backups if
30689         an earlier deletion fails, as this is a sign of trouble and it's
30690         better to stop when there's trouble.
30692         copy-file now truncates output after writing
30693         * src/fileio.c (Fcopy_file): Truncate output after writing rather
30694         than before.  This is more likely to work than truncation before
30695         writing, if the file system is out of space or the user is over
30696         disk quota (Bug#20595).  Also, check for read errors.
30698 2015-05-29  Artur Malabarba  <bruce.connor.am@gmail.com>
30700         * lisp/emacs-lisp/package.el (package-load-all-descriptors):
30701         Don't load descriptors from directories above the package directories.
30703 2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>
30705         Merge from gnulib
30706         This incorporates the following (Bug#20681):
30707         2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
30708         2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
30709         * lib/set-permissions.c: Copy from gnulib.
30711 2015-05-29  Michael Albinus  <michael.albinus@gmx.de>
30713         Improve Tramp traces
30714         * lisp/net/tramp.el (tramp-call-process-region): New defun.
30715         * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
30717 2015-05-29  Glenn Morris  <rgm@gnu.org>
30719         * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
30721 2015-05-29  Wolfgang Jenkner  <wjenkner@inode.at>
30723         * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
30724         The signature was changed in the cairo branch, merged on 2015-05-23.
30725         This oversight broke compiling only the non-toolkit X version.
30727 2015-05-29  Samer Masterson  <samer@samertm.com>
30729         * doc/lispref/os.texi: Update initial-buffer-choice docs.
30731 2015-05-29  Glenn Morris  <rgm@gnu.org>
30733         * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
30734         Mark as an expected failure.
30736 2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>
30738         Change package test to look for curved quotes
30739         * test/automated/package-test.el (package-test-describe-package)
30740         (package-test-signed): Search for curved single quotes as well as
30741         for grave accent and apostrophe.
30743 2015-05-28  Katsumi Yamaoka  <yamaoka@jpl.org>
30745         * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
30746         cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
30748 2015-05-28  Samer Masterson  <samer@samertm.com>
30750         Show files when `initial-buffer-choice' is non-nil
30751         * lisp/startup.el (command-line-1): When Emacs is given a file as an
30752         argument and `initial-buffer-choice' is non-nil, display both the file
30753         and `initial-buffer-choice'.  For more than one file, show
30754         `initial-buffer-choice' and *Buffer List*.  Refactor display-changing
30755         commands out of the command line arg parser.
30756         (initial-buffer-choice): Clarify docstring.
30758 2015-05-28  Eli Zaretskii  <eliz@gnu.org>
30760         Fix last commit
30761         * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
30762         (gnulib module qcopy-acl): Add back, as it is harmless.  This
30763         minimizes differences wrt lib/gnulib.mk.
30765         Fix the MS-Windows build as followup to gnulib update
30766         * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
30767         set-permissions.c, as they don't compile on MinGW.
30768         (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
30770 2015-05-28  Paul Eggert  <eggert@cs.ucla.edu>
30772         Revert my change to gnus-art.el
30773         * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
30774         It wasn't that important, and it caused a Gnus build to fail.  See:
30775         http://www.randomsample.de:4456/builders/emacs-devel/builds/734
30777         New minor mode Electric Quote
30778         This lets you easily insert quotes ‘like this’ by typing
30779         quotes `like this', and similarly you can easily insert
30780         quotes “like this” by typing quotes ``like this'' (Bug#20545).
30781         * doc/emacs/basic.texi (Inserting Text):
30782         * doc/emacs/modes.texi (Minor Modes):
30783         * etc/NEWS: Document it.
30784         * doc/emacs/text.texi (Quotation Marks): New section.
30785         * lisp/electric.el (electric-quote-comment)
30786         (electric-quote-string, electric-quote-paragraph):
30787         New custom vars.
30788         (electric--insertable-p)
30789         (electric-quote-post-self-insert-function): New functions.
30790         (electric-quote-mode, electric-quote-local-mode): New minor modes.
30791         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
30792         Add curved single quotes to electric-pair-text-pairs.
30793         Set electric-quote-string in this buffer.
30795         A few more doc string fixes (Bug#20385)
30797         Accept curved quotes in doc strings
30798         * lisp/info-look.el (info-lookup-guess-custom-symbol):
30799         (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
30801         Generate curved quotes in pseudo-info nodes
30802         * lisp/info.el (Info-virtual-index-find-node)
30803         (Info-virtual-index, Info-apropos-find-node, info-apropos):
30804         Quote ‘like this’, not `like this', when generating pseudo-info nodes.
30806         Fix minor quoting problems in doc strings
30807         Most of these fixes involve escaping grave accents that are
30808         actually intended to be grave accents, not left quotes.
30809         (Bug#20385)
30811         Support curved quotes in doc strings
30812         Emacs's traditional doc string style has been to quote symbols
30813         `like this'.  This worked well on now-obsolete terminals where
30814         ` and ' were symmetric quotes, but nowadays curved quotes
30815         ‘like this’ look better.  Support quoting the new way too.
30816         (Bug#20385)
30817         * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
30818         ‘like-this’ as well as `like-this'.
30819         * etc/NEWS: Mention this.
30820         * lisp/cedet/mode-local.el (overload-docstring-extension)
30821         (mode-local-print-binding, mode-local-describe-bindings-2):
30822         * lisp/cus-theme.el (describe-theme-1):
30823         * lisp/descr-text.el (describe-text-properties-1, describe-char):
30824         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
30825         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
30826         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
30827         (eieio-help-constructor):
30828         * lisp/emacs-lisp/package.el (describe-package-1):
30829         * lisp/faces.el (describe-face):
30830         * lisp/help-fns.el (help-fns--key-bindings)
30831         (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
30832         (help-fns--interactive-only, describe-function-1):
30833         (describe-variable):
30834         * lisp/help.el (describe-mode):
30835         * lisp/international/mule-cmds.el (describe-input-method)
30836         (describe-language-environment):
30837         * lisp/international/mule-diag.el (describe-character-set)
30838         (print-coding-system-briefly, list-input-methods)
30839         (list-input-methods-1):
30840         Insert curved quotes rather than grave accent and apostrophe.
30841         * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
30842         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
30843         (checkdoc-proper-noun-region-engine):
30844         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
30845         (lisp-cl-font-lock-keywords-2):
30846         * lisp/finder.el (finder-font-lock-keywords):
30847         * lisp/gnus/gnus-art.el (gnus-button-alist):
30848         * lisp/help-fns.el (help-do-arg-highlight)
30849         (describe-function-1, describe-variable):
30850         * lisp/help-mode.el (help-xref-symbol-regexp)
30851         (help-xref-info-regexp, help-xref-url-regexp):
30852         * lisp/help.el (describe-mode):
30853         * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
30854         * lisp/wid-edit.el (widget-documentation-link-regexp):
30855         Parse symbols quoted ‘like-this’ as well as `like-this'.
30856         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
30857         Add "‘" and "’" to electric-pair-text-pairs.
30858         (elisp--form-quoted-p): Also allow "‘" as a quoting char.
30859         (elisp-completion-at-point, elisp--preceding-sexp):
30860         Also treat "‘" and "’" as quoting chars.
30862         substitute-command-keys now curves quotes
30863         So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
30864         * doc/lispref/help.texi (Keys in Documentation):
30865         * etc/NEWS: Document this.
30866         * src/doc.c (Fsubstitute_command_keys): Implement it.
30868 2015-05-28  Glenn Morris  <rgm@gnu.org>
30870         * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
30871         (rmail-summary-by-topic, rmail-summary-by-senders):
30872         No longer strip leading/trailing whitespace.
30874         * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
30875         (f90-no-block-limit): Add "enum".  (Bug#20680)
30876         * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
30877         New tests.
30879 2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
30881         * lisp/isearch.el (isearch--current-buffer): Give a default value.
30882         Un-revert changes mistakenly dropped by f9fabb2b.
30884 2015-05-27  Paul Eggert  <eggert@cs.ucla.edu>
30886         Merge from gnulib
30887         This incorporates:
30888         2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
30889         2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
30890         2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
30891         2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
30892         2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
30893         2015-05-26 stdio: fix probe on mingw under gcc 5.1
30894         * admin/merge-gnulib (GNULIB_MODULES):
30895         Replace qacl with qcopy-acl, since we don't need the rest of qacl.
30896         * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
30897         * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
30898         * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
30899         Get latest versions from gnulib.
30900         * lib/get-permissions.c, lib/set-permissions.c: New files.
30901         * lib/gnulib.mk, m4/gnulib-comp.m4:
30902         Regenerate.
30903         * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
30905 2015-05-27  Dmitry Gutov  <dgutov@yandex.ru>
30907         * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
30908         process here.
30909         (vc-do-command): Rather than here (bug#20608).
30911 2015-05-27  Ivan Shmakov  <ivan@siamics.net>
30913         Avoid gratuitous delete-dups in face-at-point
30914         * lisp/faces.el (face-at-point): Do not compute the properly
30915         ordered, duplicate-free list if only a single value is
30916         requested anyway.  (Bug#20519)
30918         Show the exact C-x 8 RET invocation in describe-char
30919         * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
30920         invocation instead of a template.  (Bug#20522)
30922 2015-05-27  Artur Malabarba  <bruce.connor.am@gmail.com>
30924         * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
30925         (package-menu--post-refresh): Call `tabulated-list-print' with the
30926         UPDATE argument.  This only affects the refresh action, the revert
30927         action still erases tags.
30928         (package-menu-get-status): Change `assq' to `assoc'.
30929         (package-menu--mark-upgrades-1): New function.
30930         (package-menu--mark-upgrades-pending): New variable.
30931         (package-menu-mark-upgrades): Use them to delay marking until
30932         after refresh is done.
30933         (package-menu--post-refresh): Call mark-upgrades-1 if
30934         mark-upgrades-pending is non-nil.
30936 2015-05-27  Michael Albinus  <michael.albinus@gmx.de>
30938         * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
30939         Fix typo in "Improve tramp-handle-make-auto-save-file-name"
30940         (commit 3953c4be2816537be95520605d45b866dc731f4b).
30942 2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
30944         * lisp/isearch.el (isearch--current-buffer): New var.
30945         (isearch-update): Set cursor-sensor-inhibit here.
30946         (isearch-done): Unset cursor-sensor-inhibit in the right buffer
30947         (bug#20532).
30949         Change inhibit-point-motion-hooks to t
30950         * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
30951         to t and document it as obsolete.
30953 2015-05-27  Eli Zaretskii  <eliz@gnu.org>
30955         Support ZIP files that use Zip64 extensions
30956         * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
30957         format of central directory offsets used by Zip64 extensions.
30958         (Bug#20665)
30960 2015-05-27  Michael Albinus  <michael.albinus@gmx.de>
30962         New test tramp-test30-make-auto-save-file-name
30963         * test/automated/tramp-tests.el
30964         (tramp-test30-make-auto-save-file-name): New test.
30965         (tramp-test31-special-characters)
30966         (tramp-test31-special-characters-with-stat)
30967         (tramp-test31-special-characters-with-perl)
30968         (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
30969         (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
30970         (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
30971         (tramp-test34-recursive-load, tramp-test35-unload): Rename.
30973         Improve tramp-handle-make-auto-save-file-name
30974         * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
30975         (tramp-handle-make-auto-save-file-name): Let native
30976         `make-auto-save-file-name' use `auto-save-file-name-transforms',
30977         if `tramp-auto-save-directory' is not set.
30979 2015-05-27  Glenn Morris  <rgm@gnu.org>
30981         No longer set dired-directory in eshell.  (Bug#16477)
30982         * lisp/eshell/esh-mode.el (eshell-mode):
30983         * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
30985         * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
30987         Make c-submit-bug-report file reports at debbugs.gnu.org.  (Bug#15784)
30988         * lisp/progmodes/cc-mode.el (c-mode-help-address):
30989         Change to submit@debbugs.
30990         (c-mode-bug-package): New constant.
30991         (mail-position-on-field): Declare.
30992         (c-submit-bug-report): Insert X-Debbugs-Package header.
30993         * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
30994         Mention debbugs.gnu.org.
30996 2015-05-26  Glenn Morris  <rgm@gnu.org>
30998         * lisp/mail/rmailsum.el: Commas no longer separate regexps.  (Bug#19026)
30999         (rmail-summary-by-recipients, rmail-summary-by-topic)
31000         (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
31001         * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
31003 2015-05-26  Paul Eggert  <eggert@cs.ucla.edu>
31005         Handle curved quotes in info files
31006         * lisp/calc/calc-help.el (calc-describe-thing):
31007         * lisp/info.el (Info-find-index-name)
31008         (Info-try-follow-nearest-node, Info-fontify-node):
31009         * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
31010         In info files, process quotes ‘like this’ the same way we process
31011         quotes `like this'.  This catches a few places we missed earlier.
31013 2015-05-26  Dmitry Gutov  <dgutov@yandex.ru>
31015         xref-prompt-for-identifier: Use a list value
31016         * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
31017         value, to be interpreted as a list of commands.
31018         (xref--prompt-p): New function.
31019         (xref--read-identifier): Use it.
31021 2015-05-26  Eli Zaretskii  <eliz@gnu.org>
31023         Teach MS-Windows font back-end return per-glyph ascent/descent
31024         * src/w32font.h (struct w32_metric_cache): Add ascent and descent
31025         values.
31026         * src/w32font.c (w32font_text_extents): Compute, cache, and
31027         accumulate per-glyph ascent and descent values, instead of copying
31028         global values from the font.  If the values are not available from
31029         the font data, i.e., non-TTF fonts, fall back on font-global values.
31030         (compute_metrics): Compute and return per-glyph ascent and descent
31031         values, if returned by GetGlyphOutlineW, falling back on
31032         font-global values.  (Bug#20628)
31033         * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
31034         height of rectangle to be drawn, to be compatible with
31035         XDrawRectangle.  Fixes glyphless-char display as hex codes in a
31036         box, when per-glyph ascent/descent values are used.
31038 2015-05-26  Artur Malabarba  <bruce.connor.am@gmail.com>
31040         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
31041         Don't sort if sorter is nil.
31043 2015-05-26  Michael Albinus  <michael.albinus@gmx.de>
31045         Fix Bug#20621
31046         * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it.  There
31047         are major modes which set `auto-save-mode' on their own rules;
31048         Tramp shall not overwrite such settings.
31050 2015-05-26  Glenn Morris  <rgm@gnu.org>
31052         * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
31053         (desktop-load-file): Guess that "foobar" defines "foobar-mode".
31054         (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
31055         Doc updates.
31056         (vc-dir-mode): Remove unnecessary autoload.
31058 2015-05-25  Philipp Stephani  <phst@google.com>
31060         * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
31061         (xterm--extra-capabilities-type): Add `getSelection'.
31062         (xterm--query): Add `no-async' argument.
31063         (xterm--init-activate-get-selection): New function.
31064         (terminal-init-xterm): Use it.
31065         (xterm--init-modify-other-keys): Rename from
31066         terminal-init-xterm-modify-other-keys.
31067         (xterm--init-bracketed-paste-mode): Rename from
31068         terminal-init-xterm-bracketed-paste-mode.
31069         (xterm--init-activate-set-selection): Rename from
31070         terminal-init-xterm-activate-set-selection.
31071         (xterm--selection-char): New function.
31072         (gui-backend-set-selection): Use it.  Use the &context to only apply
31073         this method in terminals where we enabled the feature.
31074         (gui-backend-get-selection): New method.
31076 2015-05-25  Daniel Colascione  <dancol@dancol.org>
31078         * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
31079         keyword constants to C++.
31081 2015-05-25  Paul Eggert  <eggert@cs.ucla.edu>
31083         Make TAGS files more portable to MS-Windows
31084         * etc/NEWS: Document this.
31085         * lib-src/etags.c (readline_internal) [DOS_NT]:
31086         Don't treat CRs differently from GNUish hosts.
31087         * lisp/progmodes/etags.el (etags-goto-tag-location):
31088         Adjust STARTPOS to account for the skipped CRs in dos-style files.
31090 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
31092         Improve fix of bug#20634 in tramp-sh.el
31094 2015-05-25  Eli Zaretskii  <eliz@gnu.org>
31096         Fix a typo in last commit
31097         * lib-src/etags.c (C_entries): Fix a typo.
31098         * test/etags/ETAGS.good_1:
31099         * test/etags/ETAGS.good_2:
31100         * test/etags/ETAGS.good_3:
31101         * test/etags/ETAGS.good_4:
31102         * test/etags/ETAGS.good_5:
31103         * test/etags/CTAGS.good: Update due to the change in etags.c.
31105         Fix tagging of class members in C-like OO languages
31106         * lib-src/etags.c (longopts): Add new option --class-qualify and
31107         its shorthand -Q.
31108         (print_help): Add help text for --class-qualify.
31109         (main): Add handling of -Q.
31110         (consider_token, C_entries) <omethodparm>: Append argument types
31111         to Objective C methods only if --class-qualify was specified.
31112         Qualify C++, Objective C, and Java class members with their class
31113         names only if --class-qualify was specified.
31114         (C_entries): If --class-qualify was not specified, remove the
31115         namespace and class qualifiers from tag names of C++ methods.
31116         This allows to use etags.el as xref back-end without the
31117         tag-symbol-match-p method, which greatly increases the number of
31118         potentially false positives.  (Bug#20629)
31119         * doc/man/etags.1: Update to document the new --class-qualify
31120         option.
31121         * test/etags/ETAGS.good_1:
31122         * test/etags/ETAGS.good_2:
31123         * test/etags/ETAGS.good_3:
31124         * test/etags/ETAGS.good_4:
31125         * test/etags/ETAGS.good_5:
31126         * test/etags/CTAGS.good: Update due to changes in etags.c.
31128 2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
31130         (cl-generic-define-method): Side effects are evil (bug#20644)
31131         * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
31132         cons-cells that might be used as keys in an `equal' hash-table.
31134 2015-05-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
31136         Make erc timestamps visible again
31137         * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
31138         Make timestamps visible again (if requested).
31140 2015-05-25  Eli Zaretskii  <eliz@gnu.org>
31142         Fix last change in etags.c that broke tagging compresed files
31143         * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
31144         quoting of decompression shell command for MS-Windows/MS-DOS.
31146 2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
31148         * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
31149         (Bug#20639)
31151 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
31153         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
31154         Fix typo in "Inhibit `epa-file-handler' in Tramp"
31155         (commit 89035e247591c8d688fce922b7079881aa110f33).
31157 2015-05-25  Orivej Desh  <orivej@gmx.fr>  (tiny change)
31159         Fix IPv6 addresses in Tramp
31160         * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
31161         Add square brackets around host name.
31163 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
31165         Inhibit `epa-file-handler' in Tramp (Bug#20634)
31166         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
31167         (tramp-sh-handle-insert-file-contents-literally): Inhibit also
31168         `epa-file-handler'.
31170 2015-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
31172         * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
31173         (pcase-let): Document the behavior in case the pattern doesn't match.
31175 2015-05-24  Artur Malabarba  <bruce.connor.am@gmail.com>
31177         * lisp/emacs-lisp/tabulated-list.el: New optional print method.
31178         (tabulated-list-print): New optional argument, UPDATE.  If
31179         non-nil, the list is printed by only adding and deleting the
31180         changed entries, instead of erasing the whole buffer.  This method
31181         is much faster when few or no entries have changed.
31182         * doc/lispref/modes.texi (Tabulated List Mode): Document it.
31183         * etc/NEWS: Document it.
31185         * lisp/emacs-lisp/tabulated-list.el: Improve printing.
31186         (tabulated-list--get-sorter): New function.
31187         (tabulated-list-print): Restore window-line when remember-pos is
31188         passed and optimize away the `nreverse'.
31190 2015-05-24  Paul Eggert  <eggert@cs.ucla.edu>
31192         Simpilify etags TEX mode scanning
31193         * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
31194         Remove static vars.
31195         (TeX_commands): Deduce escapes here instead.
31196         (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
31197         This removes the need for a reset_input call.
31199         Improve etags I/O error reporting
31200         * lib-src/etags.c:
31201         Don't include sys/types.h and sys/stat.h; no longer needed.
31202         (infilename): New static var.
31203         (process_file_name): Don't call 'stat'.  Instead, just open the
31204         file for reading and report any errors.  Don't bother making
31205         a copy of the file argument; it's not needed.  Be more careful to
31206         use the failing errno when reporting an error.
31207         Quote the real name better (though no perfectly)
31208         when passing it to the shell.
31209         (reset_input): New function, which reports I/O errors.
31210         All uses of 'rewind' changed to use this function.
31211         (perhaps_more_input): New function, which also checks for
31212         I/O errors.  All uses of 'feof' changed to use this function.
31213         (analyze_regex): Report an error if fclose fails.
31214         (readline_internal): Report an error if getc fails.
31215         (etags_mktmp): Return an error if close fails.
31217         etags.c: avoid side effects in 'if'
31218         * lib-src/etags.c (process_file_name, Perl_functions)
31219         (TEX_decode_env): Hoist side effects into previous statement.
31221         .gitignore tweaks
31222         * .gitignore: Ignore all *.stamp files.  Sort.
31223         Ignore [0-9]*.txt (commonly used name for git patches)
31224         and /vc-dwim-log-* (vc-dwim temporary).
31226 2015-05-24  Eli Zaretskii  <eliz@gnu.org>
31228         Fix last change in etags.c, which failed the test suite
31229         * lib-src/etags.c (intoken): Add '$' to the set, as it was there
31230         before the last change.
31232 2015-05-23  Glenn Morris  <rgm@gnu.org>
31234         Remove charset map files from repository, generate in first bootstrap
31235         * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
31236         (all): Create the stamp file.
31237         (extraclean): Delete the stamp file.
31238         * src/Makefile.in (lispintdir, charsets): New variables.
31239         (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
31240         New rules.
31241         (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
31242         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
31243         * etc/charsets/*.map: Remove from repository.
31245 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31247         Cleanup etags.c to use locale-independent code
31248         Although this doesn't alter behavior (as etags doesn't use
31249         setlocale), the new version is more clearly locale-independent and
31250         the executable is a bit smaller on my platform.
31251         * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
31252         Include <c-ctype.h> instead of <ctype.h>.
31253         (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
31254         (begtk, midtk):
31255         Remove; no longer needed.
31256         (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
31257         All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
31258         c_islower, c_tolower, respectively.
31259         (notinname, begtoken, intoken, endtoken): Rewrite as functions
31260         instead of macros, and initialize the tables at compile-time
31261         rather than at run-time.
31263         Put default action first in src/Makefile
31264         * src/Makefile.in (all): Put this rule before lisp.mk.
31265         That way, plain 'make' works in the src directory again.
31267 2015-05-23  Glenn Morris  <rgm@gnu.org>
31269         * Makefile.in: Fix extraclean rule.
31270         (extraclean_dirs): New.
31271         (extraclean): Use it.
31273 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
31275         Avoid compiler warning in image.c on MS-Windows
31276         * src/w32term.h (x_query_color): Add prototype, to avoid compiler
31277         warning in image.c.
31279 2015-05-23  Glenn Morris  <rgm@gnu.org>
31281         Fix --without-toolkit-scroll-bars builds.
31282         * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
31283         Add new argument to x_clear_area1.
31284         (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
31285         Update x_clear_area arguments.
31287         * admin/charsets/glibc/: New directory, imported from glibc 2.21.
31288         * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
31289         Change to included version.
31290         (LOCAL, local, totalclean): Remove.
31291         (extraclean): Delete all generated files.
31293 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
31295         * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
31296         CVS/Entries exists.
31298         * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
31300         * lisp/progmodes/etags.el (tags-completion-at-point-function):
31301         Don't trust the find-tag function.
31303 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31305         Pacify --enable-gcc-warnings
31306         * src/frame.h (x_query_color): Remove redundant extern decl.
31307         * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
31308         (ftcrfont_match, ftcrfont_open, ftcrfont_close)
31309         (ftcrfont_text_extents, ftcrfont_draw):
31310         * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
31311         (XTframe_up_to_date, x_clear_area1, x_clear_frame)
31312         (x_ins_del_lines, frame_highlight, frame_unhighlight)
31313         (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
31314         (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
31315         (x_update_window_begin, x_connection_closed)
31316         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
31317         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
31318         (*x_gc_get_ext_data, x_extension_initialize)
31319         (x_cr_accumulate_data):
31320         Remove redundant static decl.  Many of these GCC doesn't complain
31321         about, but we might as well clean out the duplication while we're
31322         in the neighborhood.
31323         * src/xterm.c (x_fill_trapezoid_for_relief):
31324         Remove decl of nonexistent function.
31326 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
31328         Replace gui-method macros with cl-generic with &context
31329         * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
31330         (gui-method-declare, gui-call): Remove.
31331         (frame-creation-function): Use cl-defgeneric.
31332         (make-frame): Adjust callers.
31333         * lisp/menu-bar.el (menu-bar-edit-menu):
31334         Use gui-backend-selection-exists-p.
31335         * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
31336         (gui-backend-get-selection): New cl-generic to replace
31337         gui-get-selection method.
31338         (gui-backend-set-selection): New cl-generic to replace
31339         gui-set-selection method.
31340         (gui-selection-owner-p): New cl-generic to replace
31341         gui-selection-owner-p method.
31342         (gui-backend-selection-exists-p): New cl-generic to replace
31343         gui-selection-exists-p method.  Adjust all callers.
31344         * lisp/server.el (server-create-window-system-frame): Don't ignore
31345         window-system spec even when unsupported.
31346         * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
31347         * lisp/startup.el (handle-args-function, window-system-initialization):
31348         Use cl-defgeneric.
31349         (command-line): Adjust calls accordingly.
31350         * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
31351         a window-system-initialization method.
31352         (handle-args-function, frame-creation-function): Use cl-defmethod.
31353         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
31354         (gui-get-selection): Use cl-defmethod on the new functions instead.
31355         * lisp/term/pc-win.el (w16-get-selection-value): Turn into
31356         a gui-backend-get-selection method.
31357         (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
31358         Use cl-defmethod on the new functions instead.
31359         (msdos-window-system-initialization): Turn into
31360         a window-system-initialization method.
31361         (frame-creation-function, handle-args-function): Use cl-defmethod.
31362         * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
31363         a window-system-initialization method.
31364         (handle-args-function, frame-creation-function): Use cl-defmethod.
31365         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
31366         (gui-get-selection): Use cl-defmethod on the new functions instead.
31367         * lisp/term/x-win.el (x-window-system-initialization): Turn into
31368         a window-system-initialization method.
31369         (handle-args-function, frame-creation-function): Use cl-defmethod.
31370         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
31371         (gui-get-selection): Use cl-defmethod on the new functions instead.
31372         * lisp/term/xterm.el (xterm--set-selection): Turn into
31373         a gui-backend-set-selection method.
31374         * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
31375         (Fns_selection_owner_p): Remove unused arg `terminal'.
31376         (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
31378 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
31380         Revert "Fix etags Bug#20629 that broke C++ support"
31381         This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
31383 2015-05-23  Jan D  <jan.h.d@swipnet.se>
31385         Fix etags Bug#20629 that broke C++ support
31386         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
31387         Revert commit from Sun May 10 (Bug#20629).
31389         Merge branch 'cairo'.
31390         Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
31391         Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
31393         Merge branch 'master' into cairo
31395         Fixes to compile cairo branch without cairo
31396         * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
31397         first argument.
31398         * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
31399         USE_CAIRO.
31401 2015-05-23  Artur Malabarba  <bruce.connor.am@gmail.com>
31403         * lisp/emacs-lisp/package.el: Always update selected-packages.
31404         (package--update-selected-packages): New function.
31405         (package-menu-execute): Use it before starting the transaction,
31406         this way the list of selected packages is updated even when the
31407         transaction fails.
31408         (package-menu--perform-transaction): Don't edit selected-packages.
31410 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
31412         Fix etags reading of compressed files
31413         * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
31414         Include fcntl.h, for O_CLOEXEC.
31415         (process_file_name): Don't use 'popen', whose streams cannot be
31416         rewound.  Instead, uncompress the file to a temporary file,
31417         created by 'etags_mktmp', and read from that as usual.
31418         (etags_mktmp): New function.
31419         * test/etags/ETAGS.good_1:
31420         * test/etags/ETAGS.good_2:
31421         * test/etags/ETAGS.good_3:
31422         * test/etags/ETAGS.good_4:
31423         * test/etags/ETAGS.good_5: Update to be consistent with latest
31424         changes in etags.c regarding reading compressed files.
31426         Improve documentation of 'set-fontset-font'
31427         * doc/lispref/display.texi (Fontsets): Document the value of nil
31428         for the 3rd argument of 'set-fontset-font'.
31430         Fix documentation of forward-line
31431         * src/cmds.c (Fforward_line): Clarify the return value if the line
31432         at end of accessible portion of the buffer has no newline.
31433         * doc/lispref/positions.texi (Text Lines): Document what happens
31434         if the line at end of accessible portion of buffer has no newline.
31435         (Bug#20587)
31437 2015-05-22  Glenn Morris  <rgm@gnu.org>
31439         * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
31441         * admin/charsets/mapconv (LC_ALL): Set to C.
31443         * Makefile.in: Add admin/charsets into top-level clean rules.
31444         (clean): Add admin/charsets.
31445         (maybeclean_dirs): New variable.
31446         (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
31448         * admin/charsets/Makefile.in (LOCAL, local): Fix members.
31450 2015-05-22  Artur Malabarba  <bruce.connor.am@gmail.com>
31452         * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
31454 2015-05-22  Glenn Morris  <rgm@gnu.org>
31456         Generate admin/charsets Makefile via configure, and make more portable
31457         * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
31458         (admin/charsets/Makefile): Generate it.
31459         * admin/charsets/Makefile.in: Rename from Makefile.
31460         (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
31461         New variables, set by configure.
31462         (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
31463         (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
31464         (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
31465         (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
31466         (TRANS_TABLE, CHARSETS): Add directory prefix to value.
31467         (all): Declare PHONY.
31468         (local): New PHONY target.
31469         (map_template): New template.  Use to define short PHONY aliases.
31470         (*.map): Add directory prefixes to targets and prerequisites.
31471         Respect make verbosity.
31472         (JISC6226.map): Replace non-portable sed append without newline.
31473         (install): Remove rule.
31474         (clean): Only delete temporary sedscript.
31475         (bootstrap-clean, distclean, maintainer-clean, extraclean)
31476         (totalclean): New PHONY rules.
31477         * admin/charsets/mapconv (BASE): Replace basename with expr.
31478         (FILE): Add "mapfiles" subdirectory.
31479         (AWK): New variable.  Use throughout in place of "awk".
31480         (main): Use "gunzip -c" in place of "zcat".
31481         Don't leave whitespace before "p", for older sed.
31482         * admin/charsets/mapfiles/PTCP154: Add final newline,
31483         to make older sed versions happy.
31485 2015-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
31487         * lisp/autorevert.el: Use lexical-binding.  Fix hook usage.
31488         (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
31489         (auto-revert-notify-watch-descriptor): Use defvar-local.
31490         (find-file-hook, auto-revert-tail-mode)
31491         (auto-revert-notify-add-watch): Use setq-local.
31492         (auto-revert-notify-add-watch): Don't call make-local-variable on
31493         kill-buffer-hook (bug#20601).
31495 2015-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
31497         Change defgeneric so it doesn't completely redefine the function
31498         * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
31499         previously defined methods.
31500         (cl-generic-define-method): Let-bind purify-flag instead of
31501         using `fset'.
31502         (cl--generic-prefill-dispatchers): Only define during compilation.
31503         (cl-method-qualifiers): Remove redundant alias.
31504         (help-fns-short-filename): Silence byte-compiler.
31505         * test/automated/cl-generic-tests.el:
31506         Adjust to new defgeneric semantics.
31508 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
31510         * lisp/emacs-lisp/package.el (package-menu-execute):
31511         Remove reference to remove-dups.
31513 2015-05-21  kwhite  <kwhite@gnu.org>
31515         * lisp/erc/erc.el: Hide network/channel messages.
31516         (erc-network-hide-list, erc-channel-hide-list): New lists to define
31517         message types per network/channel.
31518         (erc-add-targets): New function to parse list of targets.
31519         (erc-hide-current-message-p): Modify to check for new targets.
31521 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
31523         Don't quote nil and t in doc strings
31524         This is as per "Tips for Documentation Strings" in the elisp manual.
31525         For consistency, do the same in diagnostics and comments.
31527 2015-05-21  Eli Zaretskii  <eliz@gnu.org>
31529         Fix a minor problem with mouse-face on mode line
31530         * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
31531         mouse face also if the mouse pointer hovers above mode-line glyphs
31532         that don't come from any Lisp string.  (Bug#20620)
31534 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
31536         * lisp/emacs-lisp/package.el: Fix selected-package logic.
31537         (package-menu-execute): Mark as selected all non-upgrade packages
31538         being installed.
31539         (package-menu--perform-transaction): Don't mark anything.
31541         * lisp/emacs-lisp/package.el: Mode-line progress report.
31542         (package-menu--transaction-status): New variable.
31543         (package-menu-mode, package-menu--perform-transaction): Use it.
31545         * lisp/emacs-lisp/package.el: Better transaction messages.
31546         (package-menu--partition-transaction): New function.
31547         (package-menu--prompt-transaction-p, package-menu-execute):
31548         Use it.
31549         (package-menu--perform-transaction): Don't do any messaging.
31551         * lisp/emacs-lisp/package.el: Revert async package transactions.
31552         (package-menu-async): Update doc.
31553         (package-install-from-archive, package-download-transaction)
31554         (package-install, package-menu--perform-transaction)
31555         (package-menu-execute): Remove asynchronous functionality.
31557 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
31559         Revert doc string changes to f90.el
31560         Problem reported by Glenn Morris in:
31561         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
31562         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
31563         Revert recent changes to doc strings, as it's intended that they
31564         use grave accent, not quote.
31566 2015-05-20  Bozhidar Batsov  <bozhidar@batsov.com>
31568         * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
31569         Improve parameter name.
31571         * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
31573 2015-05-20  Paul Eggert  <eggert@cs.ucla.edu>
31575         Don't require help-fns when not needed
31576         * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
31577         * lisp/emacs-lisp/elint.el:
31578         Don't require help-fns at the top level
31579         * lisp/emacs-lisp/advice.el (ad-arglist):
31580         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
31581         Don't require help-fns.  (Bug#17001)
31583 2015-05-20  Eli Zaretskii  <eliz@gnu.org>
31585         Fix slash collapsing in etags on MS-Windows
31586         * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
31587         MS-Windows code from the Posix code, and support collapsing both
31588         forward- and back-slashes on MS-Windows.  Fixes a regression found
31589         by the test suite.
31591         Improve documentation of glyphless-char-display
31592         * doc/lispref/display.texi (Glyphless Chars): Improve
31593         documentation of glyphless character display.
31595         Fix "acronym" display of glyphless characters on w32
31596         * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
31597         ignore "acronym" substitutes of 1 character for glyphless characters.
31599 2015-05-20  Oleh Krehel  <ohwoeowho@gmail.com>
31601         Add an automated test for let-when-compile
31602         * test/automated/subr-tests.el (let-when-compile): New test.
31604         Add let-when-compile macro instead of using pcase-let
31605         * lisp/subr.el (let-when-compile): New let-like macro that makes its
31606         bindings known to macros like `eval-when-compile' in the body.
31607         * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
31608         a `let-when-compile'.  Also comment out the unused lexical var
31609         `el-kws-re'.
31610         The change greatly improves readability, while providing almost the
31611         same (even shorter) byte code: instead of pre-evaluating 10 variables,
31612         tossing them into a list, and destructuring that list a full screen
31613         page later, the variables are simply bound as they are evaluated,
31614         wrapped individually in `eval-when-compile'.
31616 2015-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>
31618         * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
31619         (package-delete-button-action): New function.
31620         (describe-package-1): Add Delete button.
31622         * lisp/emacs-lisp/package.el: Better dependency description.
31623         (package--used-elsewhere-p): New optional arg, ALL, and return
31624         package-desc objects instead of names.
31625         (package-delete): Update accordingly.
31626         (describe-package-1): Describe which packages require the package.
31628 2015-05-20  Martin Rudalics  <rudalics@gmx.at>
31630         Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
31631         * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
31632         Fix doc-string.
31634         Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
31635         * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
31636         (switch-to-buffer): If the selected window is strongly dedicated
31637         to its buffer, signal error before prompting for buffer name.
31638         Handle `switch-to-buffer-in-dedicated-window'.
31639         * doc/lispref/windows.texi (Switching Buffers):
31640         Document `switch-to-buffer-in-dedicated-window'.
31642 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31644         Prefer "this" to “this” in doc strings
31645         This mostly just straightens quotes introduced in my previous patch.
31646         Suggested by Dmitry Gutov in:
31647         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
31648         * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
31649         * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
31650         * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
31651         * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
31652         * lisp/vc/log-edit.el, lisp/xt-mouse.el:
31653         Prefer straight double quotes to curved double quotes in doc strings.
31655         Fix minor quoting problems in doc strings
31656         These were glitches regardless of how or whether we tackle the
31657         problem of grave accent in doc strings.
31658         * lisp/calc/calc-aent.el (math-restore-placeholders):
31659         * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
31660         * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
31661         * lisp/leim/quail/hebrew.el ("hebrew-new")
31662         ("hebrew-biblical-sil"):
31663         * lisp/leim/quail/thai.el ("thai-kesmanee"):
31664         * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
31665         Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
31666         * lisp/calendar/calendar.el (calendar-month-abbrev-array):
31667         * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
31668         * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
31669         * lisp/cedet/semantic/tag.el (semantic-tag-copy)
31670         (semantic-tag-components):
31671         * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
31672         * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
31673         * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
31674         * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
31675         * lisp/emacs-lisp/generator.el (iter-next):
31676         * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
31677         (gnus-article-mode-syntax-table):
31678         * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
31679         * lisp/net/soap-client.el (soap-wsdl-get):
31680         * lisp/net/telnet.el (telnet-mode):
31681         * lisp/org/org-compat.el (org-number-sequence):
31682         * lisp/org/org.el (org-remove-highlights-with-change)
31683         (org-structure-template-alist):
31684         * lisp/org/ox-html.el (org-html-link-org-files-as-html):
31685         * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
31686         (handwrite-12pt, handwrite-13pt):
31687         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
31688         * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
31689         * lisp/progmodes/verilog-mode.el (verilog-tool)
31690         (verilog-string-replace-matches, verilog-preprocess)
31691         (verilog-auto-insert-lisp, verilog-auto-insert-last):
31692         * lisp/textmodes/makeinfo.el (makeinfo-options):
31693         * src/font.c (Ffont_spec):
31694         Fix minor quoting problems in doc strings, e.g., missing quote,
31695         ``x'' where `x' was meant, etc.
31696         * lisp/erc/erc-backend.el (erc-process-sentinel-2):
31697         Fix minor quoting problem in other string.
31698         * lisp/leim/quail/ethiopic.el ("ethiopic"):
31699         * lisp/term/tvi970.el (tvi970-set-keypad-mode):
31700         Omit unnecessary quotes.
31701         * lisp/faces.el (set-face-attribute, set-face-underline)
31702         (set-face-inverse-video, x-create-frame-with-faces):
31703         * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
31704         * lisp/mail/supercite.el (sc-attribs-%@-addresses)
31705         (sc-attribs-!-addresses, sc-attribs-<>-addresses):
31706         * lisp/net/tramp.el (tramp-methods):
31707         * lisp/recentf.el (recentf-show-file-shortcuts-flag):
31708         * lisp/textmodes/artist.el (artist-ellipse-right-char)
31709         (artist-ellipse-left-char, artist-vaporize-fuzziness)
31710         (artist-spray-chars, artist-mode, artist-replace-string)
31711         (artist-put-pixel, artist-text-see-thru):
31712         * lisp/vc/ediff-util.el (ediff-submit-report):
31713         * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
31714         Use double-quotes rather than TeX markup in doc strings.
31715         * lisp/skeleton.el (skeleton-pair-insert-maybe):
31716         Reword to avoid the need for grave accent and apostrophe.
31717         * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
31718         Don't use grave and acute accents to quote.
31720 2015-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
31722         * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
31723         Silence compiler.
31725 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31727         Try to port new etags tests to MS-Windows
31728         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
31729         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
31730         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
31731         Adjust to test-case changes below.
31732         * test/etags/Makefile (CSRC): Remove dostorture.c.
31733         Whatever it was trying to test, wasn't working portably.
31734         (LC_ALL): Remove.  Apparently there wasn't an encoding problem,
31735         just a line-ending problem.
31736         * test/etags/c-src/dostorture.c: Remove.
31737         * test/etags/cp-src/c.C: Remove stray CR.
31738         * test/etags/html-src/algrthms.html: Remove trailing CRs.
31739         State UTF-8 as the encoding.  The file is ASCII so it doesn't matter,
31740         but if someone edits it later it should stay UTF-8-compatible.
31742 2015-05-19  Eli Zaretskii  <eliz@gnu.org>
31744         Fix display of overlapping window-specific overlays
31745         * src/keyboard.c (adjust_point_for_property): When adjusting point
31746         due to display strings, ignore overlays that are specific to
31747         windows other than the currently selected one.
31748         * src/xdisp.c (handle_single_display_spec): If the display
31749         property comes from an overlay, arrange for buffer iteration to
31750         resume only after the end of that overlay.  (Bug#20607)
31752 2015-05-19  Dmitry Gutov  <dgutov@yandex.ru>
31754         New command icomplete-force-complete-and-exit
31755         * lisp/icomplete.el (icomplete-force-complete-and-exit):
31756         New command
31757         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
31758         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
31759         (icomplete-minibuffer-map): Bind C-j to it.
31760         (icomplete-forward-completions, icomplete-backward-completions):
31761         Mention the new command in the docstring.
31762         * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
31763         Revert the previous fix for bug#17545.
31765 2015-05-19  Martin Rudalics  <rudalics@gmx.at>
31767         Fix last commit
31769         In Elisp manual explain how to override window manager positioning
31770         (Bug#20552)
31771         * doc/lispref/frames.texi (Position Parameters): Give example of
31772         how to override a window manager positioning decision.
31774         Clarify concept of "surrogate minibuffer frames" (Bug#20538)
31775         * src/frame.c (Fdelete_frame): In doc-string mention that frame
31776         can't be deleted if it has a surrogate minibuffer.
31777         * doc/lispref/frames.texi (Minibuffers and Frames)
31778         (Deleting Frames): Explain "surrogate minibuffer frames".
31780         * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
31782 2015-05-18  Glenn Morris  <rgm@gnu.org>
31784         Add option to ignore commit lines matching a pattern in ChangeLog
31785         * build-aux/gitlog-to-changelog: Add --ignore-line option.
31786         * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
31788 2015-05-18  Paul Eggert  <eggert@cs.ucla.edu>
31790         Don't skip new etags tests on non-UTF-8 hosts
31791         Problem reported by Eli Zaretskii for MS-Windows.
31792         * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
31793         (LC_ALL): Set to C if the current locale isn't UTF-8.
31794         (.PHONY): Remove ediff_1 thru ediff_5.
31795         (check): Always run.
31797 2015-05-18  Glenn Morris  <rgm@gnu.org>
31799         * lisp/calculator.el (calculator-funcall):
31800         * lisp/textmodes/artist.el (artist-spray-random-points):
31801         Use standard degree/radian conversion utilities.
31803         Further lisp-complete-symbol related cleanup.
31804         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
31805         Unadvertise non-functional argument.  Replace obsolete alias.
31807 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
31809         Add a test case for Maven warning ouput
31810         * test/automated/compile-tests.el
31811         (compile-tests--test-regexps-data): Add a case for Maven warning
31812         ouput.
31813         (compile--test-error-line): Check the compilation message type, if
31814         it's specified in the test data.
31816 2015-05-18  Paul Pogonyshev  <pogonyshev@gmail.com>
31818         Update Maven compilation-mode entry to distinguish warnings
31819         * lisp/progmodes/compile.el
31820         (compilation-error-regexp-alist-alist): Update Maven entry to
31821         distinguish warnings (bug#20556).
31823 2015-05-18  Przemysław Wojnowski  <esperanto@cumego.com>
31825         * test/automated/sgml-mode-tests.el: New file.
31827 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
31829         Improve handling of the first Git revision
31830         * lisp/vc/log-view.el (log-view-toggle-entry-display): When
31831         there's no next entry, delete until the end of the buffer.
31832         (log-view-end-of-defun-1): Stop at eob.
31833         * lisp/vc/vc-annotate.el
31834         (vc-annotate-show-diff-revision-at-line-internal): Don't give up
31835         when previous-revision is nil.
31836         * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
31837         with `--' to avoid ambiguity.
31838         (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
31839         returned revision string.
31840         (vc-git-annotate-time): Expect `^' before the first revision.
31841         * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
31842         REV1 is nil, and REV2 is not.
31843         * lisp/vc/vc.el: Update the description of the `diff' function.
31845 2015-05-18  Oleh Krehel  <ohwoeowho@gmail.com>
31847         Allow checkdoc to be called in batch
31848         * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
31849         is non-nil, echo the error with `warn'.
31850         How it can be used in -batch:
31851         (with-current-buffer (find-file "checkdoc.el")
31852           (checkdoc-current-buffer t))
31854 2015-05-18  Glenn Morris  <rgm@gnu.org>
31856         * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
31858 2015-05-17  Paul Eggert  <eggert@cs.ucla.edu>
31860         * admin/notes/unicode: New section "binary files".
31862         Change new etags test to use UTF-8 encoding
31863         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
31864         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
31865         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
31866         * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
31867         * test/etags/html-src/softwarelibero.html:
31868         Switch to UTF-8 encoding.
31869         * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
31870         Remove Makefile, as it's too incestuous to have the test input
31871         include the build procedure.
31872         (UTF8_LOCALE, UTF_ENCODING): New macros.
31873         (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
31874         (check): Skip if not UTF-8.
31875         (.PHONY): New rule.
31876         (FRC): Remove, as superseded by .PHONY.  All uses removed.
31877         (regexfile): Prefer printf to echo when outputting oddball chars.
31878         (.PRECIOUS): Remove, as these files are not built.
31880         Rename 'foo-gzipped' to 'foo.gz'
31881         * test/automated/data/decompress/foo.gz:
31882         Rename from test/automated/data/decompress/foo-gzipped,
31883         to make it easier for other tools to tell that it's compressed.
31884         * test/automated/zlib-tests.el (zlib--decompress):
31885         Adjust to renamed file.
31887 2015-05-17  Dmitry Gutov  <dgutov@yandex.ru>
31889         Set up default-directory
31890         * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
31891         binding for `v'.
31892         (vc-annotate-show-changeset-diff-revision-at-line): Set up an
31893         appropriate value for default-directory.
31895 2015-05-17  Samer Masterson  <samer@samertm.com>
31897         * lisp/eshell/em-term.el (eshell-term-sentinel):
31898         No-op by default, only kills term buffer if
31899         `eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
31900         (eshell-destroy-buffer-when-process-dies): New custom to preserve
31901         previous behavior.
31903         eshell: Introduce new buffer syntax
31904         The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
31905         buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
31906         needed (Bug#19319).
31907         * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
31908         (eshell-get-target): Remove shorthand-specific code.
31909         * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
31910         '#<buffer-name>'.
31912 2015-05-17  Jan D  <jan.h.d@swipnet.se>
31914         Merge branch 'master' into cairo
31916 2015-04-26  Jan D  <jan.h.d@swipnet.se>
31918         Merge branch 'master' into cairo
31920         Add PBM support for cairo
31921         * src/image.c (xcolor_to_argb32): New function.
31922         (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
31923         (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
31924         XImagePtr if ! USE_CAIRO.
31925         (pbm_load): Add cairo support.
31927 2015-04-12  Jan D  <jan.h.d@swipnet.se>
31929         * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
31930         (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
31931         (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
31932         x_free_cr_resources.
31934         Handle specified bg in images.  Use generic libpng code for PNGs.
31935         * src/image.c (get_spec_bg_or_alpha_as_argb)
31936         (create_cairo_image_surface): New functions when USE_CAIRO.
31937         (xpm_load): Call the above functions.  Handle XPM without mask
31938         when USE_CAIRO.
31939         (png_load_body): Handle USE_CAIRO case.
31940         (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
31941         instead.
31942         (jpeg_load_body): Call create_cairo_image_surface.
31943         (gif_load, svg_load_image): Handle specified background, call
31944         create_cairo_image_surface.
31945         * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
31947 2015-04-11  Jan D  <jan.h.d@swipnet.se>
31949         Support GIF and TIFF with cairo
31950         * configure.ac: Allow jpeg with cairo.
31951         Allow tiff and gif with cairo.
31952         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
31953         (tiff_load): Create cairo image surface if USE_CAIRO.
31954         (gif_load): Ditto.
31956         Support JPEG with USE_CAIRO
31957         * configure.ac: Allow jpeg with cairo.
31958         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
31960 2015-04-05  Jan D  <jan.h.d@swipnet.se>
31962         Support RSVG and cairo
31963         * configure.ac: Allow rsvg with cairo.  Move back HAVE_RSVG.
31964         * src/dispextern.h (struct image): Add cr_data2 if cairo.
31965         * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
31966         (x_clear_image): Free cr_data and cr_data2 if set.
31967         (xpm_load): Assign data to cr_data2.
31968         (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
31970 2015-04-03  Jan D  <jan.h.d@swipnet.se>
31972         Introduce limited Xpm support (32 bit ZPixmap) for Cairo
31973         * configure.ac (HAVE_RSVG): Move after cairo.
31974         (USE_CAIRO): Disable rsvg, don't disable Xpm.
31975         * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
31976         (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
31977         don't return early.
31978         (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
31979         (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
31980         and create a surface.
31982         Tool tips for menus did not show any text.
31983         * src/xterm.c (x_update_begin): Don't create any surface for non-visible
31984         tip frames, the geometry may be wrong.
31986         Merge branch 'master' into cairo, fixes tooltips not shown.
31988         Merge branch 'master' into cairo
31990         Add CAIRO_CFLAGS to lwlib/Makefile.in
31991         * Makefile.in (CAIRO_CFLAGS): Add.
31993 2015-02-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
31995         * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
31997 2015-02-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
31999         Draw outermost line using black relief and erase corners also for cairo.
32000         * src/xterm.c [USE_CAIRO]: Include math.h.
32001         (enum corners) [USE_CAIRO]: New enum.
32002         (x_erase_corners_for_relief) [USE_CAIRO]: New function.
32003         (x_draw_relief_rect) [USE_CAIRO]: Use it.  If box width is larger
32004         than 1, draw the outermost line using the black relief.
32006         * src/xterm.c (x_fill_trapezoid_for_relief):
32007         Remove unnecessary cairo_close_path.
32009 2015-02-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
32011         * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
32013         * src/xterm.c (x_draw_stretch_glyph_string):
32014         Call x_reset_clip_rectangles instead of XSetClipMask.
32016         Use int instead of unsigned int for width and height args.
32017         * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
32018         (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
32019         width and height args.
32021         Modernize k&r cairo-related function declarations.
32022         * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
32023         (xg_print_frames_dialog): Modernize k&r declarations.
32024         * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
32025         (Fx_print_frames_dialog): Modernize k&r declarations.
32026         * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
32027         (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
32028         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
32029         (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
32030         (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
32031         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
32032         (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
32033         (x_clear_area): Modernize k&r declarations.
32035         Implement wave-style variant of underlining for cairo.
32036         * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
32037         (x_draw_underwave) [USE_CAIRO]: Use it.
32039         * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
32040         instead of XFillRectangle.
32042 2015-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
32044         Fix fringe bitmap initialization for cairo
32045         * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
32046         data for cairo image surface.
32047         * src/xterm.c (x_cr_define_fringe_bitmap):
32048         Call cairo_surface_mark_dirty.
32050 2015-02-11  Jan D  <jan.h.d@swipnet.se>
32052         Add cairo drawing
32053         * configure.ac (with-cairo): New option.
32054         (USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
32055         set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
32056         Output "Does Emacs use cairo?".
32057         * lisp/version.el (emacs-version): Add cairo version.
32058         * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
32059         (FONT_OBJ): Add comment about ftcrfont.
32060         (ALL_CFLAGS): Add CAIRO_CFLAGS.
32061         (LIBES): Add CAIRO_LIBS.
32062         * src/dispextern.h (struct image): Add cr_data for cairo.
32063         (x_cr_init_fringe): Declare.
32064         * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
32065         * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
32066         * src/fringe.c (x_cr_init_fringe): New function name that shares code
32067         with w32_init_fringe.
32068         * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
32069         * src/ftfont.c (ftfont_info_size); New global variable.
32070         (ftfont_open2): New extern function almost the same as old ftfont_open,
32071         but takes the font_object as argument.
32072         (ftfont_open): Build font object and call ftfont_open2.
32073         * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
32074         * src/gtkutil.c (xg_clear_under_internal_border)
32075         (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
32076         Only queue_draw if not cairo.  Change args to x_clear_area.
32077         (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
32078         (xg_page_setup_dialog, xg_get_page_setup, draw_page)
32079         (xg_print_frames_dialog): New functions for printing.
32080         * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
32081         (xg_print_frames_dialog): Declare.
32082         * src/image.c: Add defined (USE_CAIRO) for PNG.
32083         Add !defined USE_CAIRO for W32 PNG code.
32084         (x_clear_image): If cairo, destroy the surface in cr_data.
32085         (png_load): Add new cairo compatible implementation.
32086         (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
32087         * src/xfns.c: New section Printing.
32088         (x-export-frames, x-page-setup-dialog, x-get-page-setup)
32089         (x-print-frames-dialog): New printing functions.
32090         (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
32091         (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
32092         Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
32093         (syms_of_xfns): Provide cairo and defvar cairo-version-string.
32094         defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
32095         * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
32096         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
32097         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
32098         (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
32099         Declare.
32100         (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
32101         (max_fringe_bmp, fringe_bmp): New variables.
32102         (x_gc_get_ext_data, x_extension_initialize)
32103         (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
32104         (x_set_cr_source_with_gc_foreground)
32105         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
32106         (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
32107         (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
32108         (x_prepare_for_xlibdraw, x_set_clip_rectangles)
32109         (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
32110         (x_clear_window, x_fill_trapezoid_for_relief): New functions.
32111         (x_update_begin): Create cairo surface if needed.
32112         (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
32113         (x_update_end): Paint cairo drawing surface to xlib surface.
32114         (x_clear_under_internal_border, x_after_update_window_line): Adjust
32115         arguments to x_clear_area.
32116         (x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
32117         call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
32118         of XSetClipMask.
32119         (x_set_glyph_string_clipping)
32120         (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
32121         instead of XSetClipRectangles.
32122         (x_clear_glyph_string_rect, x_draw_glyph_string_background):
32123         Use x_fill_rectangle instead of XFillRectangle.
32124         (x_draw_glyph_string_foreground)
32125         (x_draw_composite_glyph_string_foreground)
32126         (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
32127         instead of XDrawRectangle.
32128         (x_draw_relief_rect): Add code for USE_CAIRO.
32129         Call x_reset_clip_rectangles instead of XSetClipMask.
32130         (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
32131         x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
32132         instead of XSetClipMask.
32133         (x_draw_image_foreground, x_draw_image_foreground_1):
32134         x_draw_rectangle instead of XDrawRectangle.
32135         (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
32136         XFillRectangle.
32137         (x_draw_image_glyph_string): If img has cr_data, use it as
32138         a cairo surface.
32139         (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
32140         XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
32141         (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
32142         x_reset_clip_rectangles instead of XSetClipMask.
32143         (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
32144         (x_clear_area1): New function that calls XClearArea.
32145         (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
32146         non-cairo.
32147         (x_clear_frame): x_clear_window instead of XClearWindow.
32148         (x_scroll_run): Set frame garbaged if cairo.
32149         (XTmouse_position): Initialize *part to 0.
32150         (x_scroll_bar_create): Adjust arguments to x_clear_area.
32151         (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
32152         x_fill_rectangle instead of XFillRectangle.
32153         (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
32154         arguments to x_clear_area.
32155         (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
32156         (handle_one_xevent): Adjust arguments to x_clear_area.
32157         Destroy cairo surface for frame if ConfigureNotify.
32158         (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
32159         (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
32160         x_reset_clip_rectangles instead of XSetClipMask.
32161         (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
32162         x_reset_clip_rectangles instead of XSetClipMask.
32163         (x_clear_frame_area): Adjust arguments to x_clear_area.
32164         (x_free_frame_resources): Call x_prepare_for_xlibdraw.
32165         (x_term_init): Call x_extension_initialize if cairo.
32166         (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
32167         x_cr_destroy_fringe_bitmap for cairo.
32168         (x_initialize): Call x_cr_init_fringe for cairo.
32169         * src/xterm.h: Add include of cairo header files.
32170         (x_bitmap_record): Add img if cairo.
32171         (x_gc_ext_data): New struct for cairo.
32172         (x_display_info): Add ext_codes for cairo.
32173         (x_output): Add cr_context and cr_surface for cairo.
32174         (x_clear_area): Change arguments from Display*/Window to frame pointer.
32175         (x_query_color, x_begin_cr_clip, x_end_cr_clip)
32176         (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
32177         (x_cr_draw_frame, x_cr_export_frames): Declare.
32179 2015-05-17  Johan Bockgård  <bojohan@gnu.org>
32181         Fix integer-valued `mouse-highlight' (Bug#20590)
32182         * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
32184 2015-05-17  Eli Zaretskii  <eliz@gnu.org>
32186         MS-Windows followup for ASCIIfication of curved quotes
32187         * lisp/term/w32console.el (terminal-init-w32console): Repeat the
32188         test for curved quotes being displayable, after switching the
32189         terminal encoding.  (Bug#20545)
32191 2015-05-17  Jan D  <jan.h.d@swipnet.se>
32193         Add comment that x_shift_glyphs_for_insert is never called
32194         * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
32195         Add comment that this function is never called.
32197 2015-05-16  Glenn Morris  <rgm@gnu.org>
32199         * src/lisp.mk: Remove from repository and generate at build-time.
32200         * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
32201         (shortlisp_filter): New variable.
32202         (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
32203         (distclean): Remove lisp.mk.
32204         * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
32205         * lisp/loadup.el: Tweak layout to make it easier to parse.
32206         * make-dist: Do not distribute src/lisp.mk.
32208 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
32210         Display shorter dates in Git annotate output
32211         * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
32212         format (when not overridden with vc-git-annotate-switches).
32213         (vc-git-annotate-time): Support the short format, as well as ISO
32214         8601 that has been used until now (bug#5428).
32216 2015-05-16  Paul Eggert  <eggert@cs.ucla.edu>
32218         ASCIIfy curved quotes on displays lacking them
32219         * lisp/international/mule-cmds.el (set-locale-environment):
32220         If curved quotes don't work, display straight ASCII approximations
32221         (Bug#20545).
32223 2015-05-16  Glenn Morris  <rgm@gnu.org>
32225         Small src/Makefile simplification
32226         * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
32227         * src/Makefile.in (lisp): Derive from shortlisp.
32228         ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
32230 2015-05-16  Eli Zaretskii  <eliz@gnu.org>
32232         * lisp/help-mode.el (help-go-forward): Doc fix.
32233         (Bug#20577)
32235         * doc/lispref/debugging.texi (Profiling): Improve indexing.
32236         (Bug#20576)
32238 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
32240         * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
32241         have one fewer `not'.
32243         * lisp/vc/vc-git.el (vc-git-diff-switches)
32244         (vc-git-annotate-switches, vc-git-resolve-conflicts)
32245         (vc-git-program, vc-git-root-log-format): Remove the redundant
32246         :group declarations.
32248 2015-05-16  Nicolas Petton  <nicolas@petton.fr>
32250         Removes the predicate from lisp-complete-symbol (Bug#20456)
32251         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
32252         and remove it from the docstring.
32254 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
32256         Add new option vc-git-resolve-conflicts
32257         * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
32258         (vc-git-find-file-hook): Add to after-save-hook only when the
32259         above is non-nil.
32260         (vc-git-resolve-when-done): Update to honor the new variable.
32261         (Bug#20292)
32263 2015-05-16  Artur Malabarba  <bruce.connor.am@gmail.com>
32265         * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
32266         (tabulated-list-init-header): Document new behavior.
32267         (tabulated-list-print-fake-header): Do nothing if
32268         `tabulated-list--header-string' is nil.
32269         (tabulated-list--header-string): Add a docstring.
32270         * doc/lispref/modes.texi (Tabulated List Mode): Document it.
32271         * etc/NEWS: Document it.
32273 2015-05-15  Leo Liu  <sdl.web@gmail.com>
32275         Revert "Fix cps--gensym"
32276         * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
32277         fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
32279 2015-05-15  Glenn Morris  <rgm@gnu.org>
32281         Replace AC_SUBST_FILE in configure with include in Makefiles
32282         * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
32283         (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
32284         (AUTO_DEPEND): New output variable.
32285         * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
32286         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
32287         (lwlib_deps_frag): Replace by conditional include.
32288         * lwlib/autodeps.mk: Remove file.
32289         * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
32290         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
32291         (oldxmenu_deps_frag): Replace by conditional include.
32292         * oldXMenu/autodeps.mk: Remove file.
32293         * src/Makefile.in (AUTO_DEPEND): New, set by configure.
32294         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
32295         (lisp_frag): Replace by an include.
32296         (deps_frag): Replace by conditional include.
32297         * src/autodeps.mk: Remove file.
32299         Tweak japanese.el's loading of dependencies
32300         * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
32301         * lisp/language/japanese.el: Use require rather than load.
32302         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
32303         Provide a feature.
32304         * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
32305         Provide a feature in the generated file.
32307 2015-05-15  Jan D  <jan.h.d@swipnet.se>
32309         Fix NS warnings
32310         * src/nsmenu.m (ns_popup_dialog)
32311         * src/nsimage.m (initFromXBM:width:height:fg:bg:)
32312         * src/nsfns.m (Fx_create_frame): Remove unused variables.
32313         (Fns_read_file_name): Initialize fname, remove ret.
32314         * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
32315         (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
32316         Remove unused variable.
32317         (init): Add parantesis in if.
32318         (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
32320 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
32322         Fix a enum conversion warning in macfont.m
32323         * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
32324         (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
32326 2015-05-15  Eli Zaretskii  <eliz@gnu.org>
32328         * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
32329         Support Aspell dictionaries with names like "de-alt".  (Bug#20581)
32331 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
32333         * lisp/cus-start.el: Add ns-confirm-quit.
32335         Fix warnings on OSX 10.10
32336         * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
32337         OSX versions.
32338         (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
32339         (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
32340         * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
32341         * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
32342         setScalesWhenResized for OSX < 10.6.
32343         * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
32344         * src/nsterm.m (ns_copy_bits): New function that does not use
32345         deprecated NSCopyBits.
32346         (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
32347         (runAlertPanel): New function.
32348         (applicationShouldTerminate:): Call runAlertPanel.
32349         (initFrameFromEmacs, toggleFullScreen:): Only call
32350         useOptimizedDrawing for OSX < 10.10.
32351         (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
32352         (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
32353         (draggingEntered:): Returns NSDragOperation.
32354         (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
32356 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
32358         * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
32359         (package--init-file-ensured): New variable.
32360         (package-initialize, package--ensure-init-file): Use it.
32362 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
32364         Honor :fore/background for XBM on NS (Bug#14969)
32365         * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
32366         initFromXBM takes bg, fg args, remove flip arg.
32367         (ns_image_from_XBM): Add bg, fg args.
32368         * src/image.c (x_create_bitmap_from_data)
32369         (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
32370         * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
32371         initFromXBM.  Remove flip arg.
32372         (initFromSkipXBM): Move code to initFromXBM.
32373         (initFromXBM): Actually set fg and bg, instead of playing alpha games.
32374         Use fg, bg from args (Bug#14969).  Remove if (length) section, was
32375         always false.
32376         Remove bit flipping (bitPat, swt), generated incorrect images when
32377         width/height wasn't a multiple of 8.
32378         (setXBMColor:): Modify planes by comparing to saved xbm_fg.
32379         * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
32380         remove flip arg.
32382 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
32384         * lisp/emacs-lisp/package.el: Be more careful with the init file.
32385         (package--ensure-init-file): Check that user-init-file is set,
32386         exists, is readable, and is writable.  (Bug#20584)
32387         Also expand the docstring.
32389 2015-05-14  Wilson Snyder  <wsnyder@wsnyder.org>
32391         Sync with upstream verilog-mode revision 6232468
32392         * lisp/progmodes/verilog-mode.el
32393         (verilog-font-lock-grouping-keywords-face)
32394         (verilog-highlight-grouping-keywords): Fix use of face when
32395         `verilog-highlight-grouping-keywords' set.  Reported by Jeff Pompa.
32396         (verilog-auto-reset): Fix AUTORESET to ignore member resets if
32397         parent is reset, bug906.  Reported by Ken Schmidt.
32398         (verilog-auto-inout-module): Add fourth regexp argument to
32399         AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
32400         Reported by John Tillema.
32401         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
32402         modport if signal attachment is itself a modport.  Reported by
32403         Matthew Lovell.
32404         (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
32405         always_comb and always_latch, bug844.  Reported by Greg Hilton.
32406         (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
32407         with many curly-bracket pairs, bug663.
32408         (verilog-set-auto-endcomments): Fix end comments for functions of
32409         type void, etc.  Reported by Alex Reed.
32410         (verilog-do-indent): Fix electric tab deleting form-feeds.  Note
32411         caused by indent-line-to deleting tabls pre 24.5.
32412         (verilog-nameable-item-re): Fix nameable items that can have an
32413         end-identifier to include endchecker, endgroup, endprogram,
32414         endproperty, and endsequence.  Reported by Alex Reed.
32415         (verilog-label-be): When auto-commenting a buffer, consider
32416         auto-comments on all known keywords (not just a subset thereof).
32417         Reported by Alex Reed.
32418         (verilog-auto-end-comment-lines-re)
32419         (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
32420         Automatically comment property/endproperty blocks to match other
32421         similar blocks like sequence/endsequence, function/endfunction, etc.
32422         Reported by Alex Reed.
32423         (verilog-set-auto-endcomments): Detect the function- or task-name
32424         when auto-commenting blocks that lack an explicit portlist.
32425         Reported by Alex Reed.
32426         (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
32427         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
32428         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
32429         is nil, fix indenting initial/final to match always statements,
32430         bug825.  Reported by Tim Clapp.
32431         (verilog-extended-complete-re): Fix indentation of DPI-C imports
32432         with c_identifiers, and DPI-C imports, bug557.  Reported by ZeDong
32433         Mao and Jason Forkey.
32434         (verilog-read-decls): Fix parsing typed interfaces.  Fix
32435         AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
32436         Fix localparam not being ignored in AUTOINSTPARAM,
32437         bug889.  Reported by Shannon Hill.
32438         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
32439         bug793.  Reported by Pierre-David Pfister.
32440         (verilog-auto-arg-format, verilog-auto-arg-ports):
32441         Add verilog-auto-arg-format to support newlines in AUTOARG.
32442         Reported by Jie Xiao.
32443         (verilog-batch-execute-func): Do not batch re-auto files loaded by
32444         Local Variables.  Fix printing "no changes to be saved" with
32445         verilog-batch.  Reported by Dan Dever.
32446         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
32447         interface-only modules, bug721.  Reported by Dean Hoyt.
32448         Author: Alex Reed <acreed4@gmail.com>
32449         * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
32450         Don't treat '<keyword>:<identifier>' as the start of a labeled
32451         statement, bug905.  Reported by Enzo Chi.
32452         (verilog-directive-re, verilog-compiler-directives)
32453         (verilog-keywords): Match full set of IEEE 2012-1800 compiler
32454         directives (plus some extras) when determining indentation, bug
32455         901.  Reported by Bernd Beuster.
32456         (verilog-at-constraint-p): Fix indentation of coverpoint bins if
32457         iff expression doesn't start with word-character, bug900.
32458         (verilog-optional-signed-range-re, verilog-optional-signed-re):
32459         Fix incorrect indentation/alignment of unsigned declarations,
32460         bug897.
32461         (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
32462         always constructs, bug895.
32463         (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
32464         Reported by Eric Mastromarchi.
32465         (verilog-beg-of-statement): Fix indenting for some forms of
32466         constraintsm bug433.  Reported by Brad Parker.  Fix indentation of
32467         continued assignment incorrect if first line ends with ']', bug437.
32468         Reported by Dan Dever.  Fix indention of cover inside an
32469         ifdef, bug 862.  Reported by Bernd Beuster.  Fix labeling do-while
32470         blocks, bug842.
32471         (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
32472         Reported by Kaushal Modi.
32473         (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
32474         (verilog-backward-token): Fix indenting sensitivity lists with
32475         named events, bug840.  Reed.
32476         (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
32477         nil not honoring 'forever', 'foreach', and 'do' keywords.
32479 2015-05-14  Paul Eggert  <eggert@cs.ucla.edu>
32481         Check for invalid GTK+ monitor scales
32482         * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
32483         INT_MAX for too-large scales.  All callers changed to assume the
32484         result is valid (Bug#20432).
32485         (xg_frame_set_char_size, xg_update_scrollbar_pos):
32486         Calculate scale only if needed.
32487         Show ASCII approximations instead.
32489 2015-05-14  Eli Zaretskii  <eliz@gnu.org>
32491         Fix daemon crashes when linum-mode is turned on early on
32492         * src/window.c (Fwindow_end): Don't try calling display engine
32493         functions on initial-frame frame.  (Bug#20565)
32495         Fix selective diff browsing in Ediff
32496         * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
32497         Go to the beginning of the region before searching for the
32498         ediff-regexp-focus-* regexps.  (Bug#20568)
32500 2015-05-14  Jan D  <jan.h.d@swipnet.se>
32502         Fixes bug#20142
32503         * src/gtkutil.c (delete_cb): Don't send delete event here, it does
32504         arrive in the main loop, even for Gtk 3 (Bug#20142).
32506         Don't access display after i/o error (Bug#19147).
32507         * src/xterm.c (x_connection_closed): Add third arg ioerror.
32508         If ioerror, set display to 0 (Bug#19147).
32509         (x_error_quitter): Call x_connection_closed with third arg false.
32510         (x_io_error_quitter): Call x_connection_closed with third arg true.
32512         Handle GTK_SCALE, fixes Bug#20432.
32513         * src/gtkutil.c (xg_get_gdk_scale): New function.
32514         (xg_frame_set_char_size)
32515         (x_wm_set_size_hint, xg_get_default_scrollbar_width)
32516         (xg_get_default_scrollbar_height)
32517         (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
32518         when setting sizes (Bug#20432).
32520 2015-05-13  Leo Liu  <sdl.web@gmail.com>
32522         * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
32524 2015-05-13  Glenn Morris  <rgm@gnu.org>
32526         Fix bootstrap (void function cl-member).
32527         * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
32528         * lisp/emacs-lisp/cl-seq.el: Provide a feature.
32530 2015-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
32532         * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
32533         * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
32534         * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
32535         Avoid defalias for closures which are not immutable.
32536         (cl--generic-prefill-dispatchers): New macro.  Use it to prefill
32537         the dispatchers table with various entries.
32538         * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
32539         * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
32541 2015-05-13  Eli Zaretskii  <eliz@gnu.org>
32543         Improve tagging of C bindings in DEFVAR_*
32544         * src/Makefile.in (TAGS): Add --regex options to tag the C binding
32545         from DEFVAR_*.
32547 2015-05-13  Paul Eggert  <eggert@cs.ucla.edu>
32549         * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
32551 2015-05-12  Glenn Morris  <rgm@gnu.org>
32553         * lisp/progmodes/tcl.el (tcl-filter):
32554         Handle comint-prompt-read-only like gud.el does.  (Bug#20549)
32556         Add basic VC push support
32557         * lisp/vc/vc.el (vc-push): New autoloaded command.
32558         * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
32559         * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
32560         (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
32561         (vc-bzr-push): New.
32562         * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
32563         (vc-git-pull): Reimplement using vc-git--pushpull.
32564         (vc-git-push): New.
32565         * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
32566         (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
32567         * doc/emacs/maintaining.texi (Pulling / Pushing):
32568         Rename from "VC Pull".  Mention pushing.
32569         (VC With A Merging VCS, VC Change Log): Update xrefs.
32570         (Branches): Update menu.
32571         * doc/emacs/emacs.texi: Update menu.
32572         * etc/NEWS: Mention this.
32574 2015-05-12  Nicolas Petton  <nicolas@petton.fr>
32576         Improve the seq pcase pattern and the `seq-let' macro
32577         * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
32578         object is a sequence, and binds each element of ARGS to the
32579         corresponding element of the sequence.
32581 2015-05-12  Eli Zaretskii  <eliz@gnu.org>
32583         Fix tags created from DEFVAR_* declarations in C
32584         * src/Makefile.in (TAGS): Improve the --regex argument to etags,
32585         to make tags extracted from DEFVAR_* declarations more accurate.
32587         Add a test suite for etags
32588         * test/etags/: New test suite, adapted from
32589         http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
32590         whose original author is Francesco Potortì <pot@gnu.org>.
32592         Fix tagging of symbols in C enumerations
32593         * lib-src/etags.c (consider_token): Don't tag symbols in
32594         expressions that assign values to enum constants.  See
32595         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
32596         for details.
32597         (C_entries): Reset fvdef to fvnone after processing a preprocessor
32598         conditional and after a comma outside of parentheses.
32600 2015-05-12  Glenn Morris  <rgm@gnu.org>
32602         * lisp/url/url-handlers.el (url-file-name-completion)
32603         (url-file-name-all-completions): Silence compiler.
32605         * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
32607         * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time.  (Bug#20554)
32609 2015-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
32611         * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
32612         (cl--generic-mandatory-args): Remove.
32613         (cl--generic-split-args): New function.
32614         (cl-generic-define, cl--generic-lambda): Use it.
32615         (cl-generic-define-method): Use it as well, and add support for
32616         context args.
32617         (cl--generic-get-dispatcher): Handle &context dispatch.
32618         (cl--generic-cache-miss): `dispatch-arg' can now be a
32619         context expression.
32620         (cl--generic-dispatchers): Pre-fill.
32621         * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
32622         New test.
32624 2015-05-11  Glenn Morris  <rgm@gnu.org>
32626         * make-dist: Abort if "make ChangeLog" fails.  Add "--no-changelog".
32628 2015-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
32630         * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
32631         * lisp/term/rxvt.el: Require term/xterm.
32632         (rxvt-function-map): Use xterm-rxvt-function-map.
32633         (rxvt-standard-colors): Move before first use.
32634         (terminal-init-rxvt): Use xterm--push-map and
32635         xterm-register-default-colors.
32636         (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
32637         * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
32638         Move shared bindings between rxvt and xterm to it.
32639         (xterm-function-map): Use it.  Move the xterm-paste binding to
32640         xterm-rxvt-function-map (bug#20444).
32641         (xterm-standard-colors): Move before first use.
32642         (xterm--push-map): New function.
32643         (xterm-register-default-colors): Take standard colors as argument.
32644         (terminal-init-xterm): Use it.  Adjust call to
32645         xterm-register-default-colors.
32647 2015-05-11  Glenn Morris  <rgm@gnu.org>
32649         * lisp/term/x-win.el: Quieten --without-x compilation.
32650         (x-own-selection-internal, x-disown-selection-internal)
32651         (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
32652         Declare.
32654         * Makefile.in (emacslog): Remove srcdir.
32655         (ChangeLog): Update for the above.
32657 2015-05-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
32659         python.el: better limit for looking-back calls
32660         * lisp/progmodes/python.el (python-shell-accept-process-output):
32661         Use last comint prompt start as limit for looking-back.
32663 2015-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
32665         CEDET (srecode-insert-fcn): Fix use of oref on a class
32666         * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
32667         on a class.  Reported by Pierre Lorenzon.
32668         (srecode-template-inserter-point): Remove declaration.
32670         CEDET (srecode-create-dictionary): Avoid obsolete object name
32671         * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
32672         Don't use a symbol as an object name.  Reported by Pierre Lorenzon.
32674 2015-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32676         C-x 8 shorthands for curved quotes, Euro, etc.
32677         Although C-x 8 lets you insert arbitrary Unicode characters,
32678         it's awkward to use this to insert commonly used symbols such as curved
32679         quotes, the Euro symbol, etc.  This patch adds simpler sequences for
32680         characters commonly found in English text and in basic math.
32681         For example, assuming the Alt key works on your keyboard and iso-transl
32682         is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
32683         to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
32684         (Bug#20499)
32685         * doc/emacs/mule.texi (Unibyte Mode):
32686         A few other printing characters now work too.
32687         * etc/NEWS: Document this.
32688         * lisp/international/iso-transl.el (iso-transl-char-map):
32689         Also support the following characters:
32690         ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
32692 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
32694         Add xref-find-regexp
32695         * lisp/progmodes/xref.el (xref-find-function): Describe the
32696         `matches' action.
32697         (xref-find-regexp): New command, using it.
32698         (xref-collect-references): Rename to xref-collect-matches.
32699         (xref--collect-reference): Rename to xref--collect-match.
32700         (xref-collect-matches, xref--collect-match): Accept new argument,
32701         KIND.  Update accordingly.
32702         (xref--regexp-to-extended): New function.
32703         * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
32704         `matches' action.
32705         (elisp--xref-find-matches): Accept new argument.  Resolve a FIXME.
32706         * lisp/progmodes/etags.el (etags-xref-find):
32707         Support the `matches' action.
32708         (etags--xref-find-matches): New function.
32710 2015-05-10  Glenn Morris  <rgm@gnu.org>
32712         * Makefile.in: Fixes for recent change-history changes.
32713         (change-history-nocommit): Update footer regexp.
32714         Ensure output script stays executable.
32716 2015-05-10  Nicolas Petton  <nicolas@petton.fr>
32718         New version of `seq-let' based on a pcase pattern
32719         * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
32720         pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
32722 2015-05-10  Przemysław Wojnowski  <esperanto@cumego.com>
32724         Add basic HTML5 tags and a template
32725         * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
32726         (html-tag-alist): Add HTML5 tags.
32727         (html-tag-help): Add new tags descriptions.
32728         (html-navigational-links): Template for nav links.
32729         (html-html5-template): Template for a HTML5 page.
32731 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
32733         semantic/symref/grep: Don't use word boundaries
32734         * lisp/cedet/semantic/symref/grep.el
32735         (semantic-symref-perform-search): Instead of wrapping input in
32736         word boundaries, check that the characters before and after are
32737         not word constituents.
32739         semantic/symref/grep: Support regexp search
32740         * lisp/cedet/semantic/symref.el
32741         (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
32742         the search type is regexp.
32743         * lisp/cedet/semantic/symref/grep.el
32744         (semantic-symref-perform-search): Support the regexp search type.
32745         Pass -E to Grep when it's used.
32747         semantic-symref-regexp: Allow to input an arbitrary string
32748         * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
32749         Allow to input an arbitrary string interactively.
32751         Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
32752         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
32753         Remove tag-symbol-match-p from the default value
32754         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
32756         Declare find-tag obsolete
32757         * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
32758         xref-find-definitions.
32760 2015-05-10  Jan D  <jan.h.d@swipnet.se>
32762         Draw composite string correctly (Bug#20537)
32763         * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
32764         New function.
32765         (ns_draw_glyph_string): Call it.
32767 2015-05-09  Eli Zaretskii  <eliz@gnu.org>
32769         Avoid infloop in ERC
32770         * lisp/simple.el (line-move-to-column): Ignore field boundaries
32771         while computing line beginning position.  (Bug#20498)
32773 2015-05-08  Glenn Morris  <rgm@gnu.org>
32775         * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
32776         * build-aux/gitlog-to-emacslog: Check called from right directory.
32777         (srcprefix): Remove.
32779         * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
32780         * Makefile.in (ChangeLog): No longer pass "distprefix".
32781         * make-dist: Update "make ChangeLog" syntax for the above change.
32783         * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
32784         * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
32786         * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
32788         Add command-line option-parsing to gitlog-to-emacslog
32789         * build-aux/gitlog-to-emacslog: Add command-line options.
32790         By default, refuse to remove an existing output file.
32791         * Makefile.in (CHANGELOG): Update default.
32792         (ChangeLog): Do not test for existing file.
32793         (change-history-nocommit): Ensure temp file does not exist.
32795         Quieten --without-x compilation
32796         * lisp/term/common-win.el: Provide a feature.
32797         * lisp/term/x-win.el (term/common-win): Require it.
32799         * lisp/dired-aux.el (dired-do-print): Require lpr.
32801         Quieten compilation, eg in --without-x builds
32802         * lisp/dired-aux.el (lpr-printer-switch):
32803         * lisp/frame.el (tool-bar-height):
32804         * lisp/linum.el (font-info):
32805         * lisp/window.el (font-info, overflow-newline-into-fringe)
32806         (tool-bar-height):
32807         * lisp/emacs-lisp/package-x.el (tar-data-buffer):
32808         * lisp/gnus/gnus-util.el (iswitchb-mode):
32809         * lisp/mail/rmailmm.el (libxml-parse-html-region):
32810         * lisp/net/nsm.el (gnutls-peer-status)
32811         (gnutls-peer-status-warning-describe):
32812         * lisp/net/shr.el (libxml-parse-xml-region):
32813         * lisp/url/url-http.el (gnutls-peer-status): Declare.
32815 2015-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
32817         CEDET (srecode-pop, srecode-peek): Don't use `subclass'
32818         * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
32819         `subclass' since they're never called with a class.
32820         (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
32821         srecode-dictionary-child-p.
32823 2015-05-08  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
32825         * lisp/help.el (help--binding-locus): Document argument POSITION.
32826         (Bug#20530)
32828 2015-05-08  Paul Eggert  <eggert@cs.ucla.edu>
32830         Merge from gnulib
32831         * doc/misc/texinfo.tex: Get latest version.
32833 2015-05-08  Oleh Krehel  <ohwoeowho@gmail.com>
32835         ffap.el (ffap-read-file-or-url): Fix completing-read call
32836         * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
32837         `completing-read' should be a symbol.
32839 2015-05-08  Eli Zaretskii  <eliz@gnu.org>
32841         Verify file modifications by other programs
32842         * src/filelock.c (lock_file): Check whether the file was modified
32843         since it was visited even if 'create-lockfiles' is nil.  (Bug#18828)
32845         Fix keyboard macros that include function keys
32846         * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
32847         keys in the macro before returning.  (Bug#20454)
32849 2015-05-08  Glenn Morris  <rgm@gnu.org>
32851         * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
32852         "Copyright-paperwork-exempt".  (Bug#20324)
32854         * lisp/vc/log-edit.el: Handle "(tiny change)".  (Bug#20324)
32855         (log-edit-rewrite-tiny-change): New variable.
32856         (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
32857         (log-edit-changelog-ours-p): Set log-edit-author to a cons.
32858         * etc/NEWS: Mention this.
32860         * lisp/calc/calc.el (math-zerop): Declare.
32862         * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
32864 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
32866         * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
32867         Support the case when BINDINGS is a single tuple.  (Bug#20525)
32869         * etc/NEWS: Fix typo in previous commit
32870         (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
32872 2015-05-07  Jan D  <jan.h.d@swipnet.se>
32874         * configure.ac: Warn for multiple display crash for all Gtk+ versions.
32875         Output URL to Gtk+ bug (Bug#20452).
32877         * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
32879 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
32881         * lisp/emacs-lisp/package.el: New "external" package status.
32882         An external package is any installed package that's not built-in
32883         and not from `package-user-dir', which usually means it's from an
32884         entry in `package-directory-list'.  They are treated much like
32885         built-in packages, in that they cannot be through the Package Menu
32886         deleted and are not considered for upgrades.
32887         (package-desc-status): Identify if a package is installed outside
32888         `package-user-dir'.
32889         (package-menu--print-info-simple)
32890         (package-menu--status-predicate): Add support for it.
32891         * etc/NEWS: Document it.
32893 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
32895         * lisp/mail/rmail.el: Use lexical-binding.
32896         (rmail-bury): Remove unused var `buffer-to-bury'.
32897         (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
32898         (rmail-parse-url): Remove unused var `proto', `user', and `host'.
32899         (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
32900         (rmail-insert-inbox-text): Remove unused var `movemail'.
32901         (rmail-add-mbox-headers): Remove unused var `limit'.
32902         (rmail-undelete-previous-message): Remove unused var `value'.
32903         (rmail-reply): Remove unused vars `resent-to', `resent-cc',
32904         `resent-reply-to'.
32905         (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
32906         (rmail-restore-desktop-buffer): Rename arguments.
32908 2015-05-06  Glenn Morris  <rgm@gnu.org>
32910         * Makefile.in (change-history-commit): Add missing piece of previous.
32912         Avoid unnecessary bumping of Makefile.in's timestamp
32913         * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
32914         (emacslog): New variable.
32915         (ChangeLog): Use $emacslog.  Don't pass $gen_origin.
32916         (unchanged-history-files): Use $emacslog rather than Makefile.in.
32917         (change-history-nocommit): Store hash in $emacslog.
32918         * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
32919         * admin/update_autogen (changelog_files): Update for the above.
32921         * Makefile.in: Don't always insist on removing existing "ChangeLog".
32922         (CHANGELOG): New variable.
32923         (no-ChangeLog): Remove.
32924         (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
32925         (change-history-nocommit): Use a temp file rather than insisting
32926         on deletion of any existing "ChangeLog".
32928         * build-aux/gitlog-to-emacslog: Allow specification of output.
32930         * admin/update_autogen: Add option to update ChangeLog.
32931         (usage): Mention -H.
32932         (changelog_flag, changelog_n, changelog_files): New variables.
32933         (main): Check for -H, and maybe run change-history-nocommit.
32935 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
32937         * lisp/subr.el (delete-dups): Pre-size the hashtable.
32939         * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
32940         cl--arglist-args is defined (bug#20517).
32942 2015-05-06  Glenn Morris  <rgm@gnu.org>
32944         * Makefile.in (change-history-nocommit): New.
32946 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
32948         * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
32949         timer when it is non-nil
32950         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
32952 2015-05-06  Glenn Morris  <rgm@gnu.org>
32954         Quieten CEDET compilation
32955         * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
32956         Invert fboundp test to quieten on current Emacs.
32957         * lisp/cedet/ede/config.el (ede-shell-run-something)
32958         (semanticdb-file-table-object, semanticdb-needs-refresh-p)
32959         (semanticdb-refresh-table): Declare.
32960         (ede-preprocessor-map): Require semantic/db.
32962         Quieten cc-mode compilation
32963         * lisp/progmodes/cc-awk.el (c-forward-sws):
32964         * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
32965         Declare.
32967 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
32969         * lisp/subr.el (delete-dups): Avoid nreverse.
32971 2015-05-06  Artur Malabarba  <bruce.connor.am@gmail.com>
32973         * lisp/subr.el (delete-dups): Make it destructive again.
32975 2015-05-06  Paul Eggert  <eggert@cs.ucla.edu>
32977         * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
32979 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
32981         * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
32982         * lisp/emacs-lisp/testcover.el: Use lexical-binding.
32983         (testcover--read): Rename from testcover-read.  Change calling
32984         convention.  Use edebug-read-and-maybe-wrap-form now that edebug-read
32985         is gone.
32986         (testcover-start): Use add-function.  Move edebug-all-defs binding to
32987         testcover--read.
32988         (testcover-this-defun): Tighten scope of edebug-all-defs binding.
32989         (testcover-mark): Remove unused var `item'.
32990         * src/lread.c (syms_of_lread): Default load-read-function to `read'.
32992 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
32994         * lisp/subr.el (delete-dups): When there are more than 100 candidates,
32995           use a hash table.  This can result in ~500 times speed-up for typical
32996           collections of size 5000, like that of `load-library'.
32998 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
33000         CEDET: Avoid `oref' on classes in a few more cases
33001         * lisp/cedet/ede/generic.el (ede-find-target):
33002         * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
33003         * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
33004         var `prefix'.
33006         * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
33007         (grepflags, greppattern): Declare.
33008         (semantic-symref-perform-search): Remove unused var `pat'.
33010         CEDET (srecode-compile-inserter): Avoid `oref' on classes
33011         * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
33012         Avoid `oref' on classes (bug#20491).
33013         (srecode-compile-split-code): Remove unused var `key'.
33015 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
33017         Clean up pulse.el a little
33018         * lisp/cedet/pulse.el (pulse): Remove.
33019         (pulse-momentary-timer): Save instead of the stop time.
33020         (pulse-momentary-highlight-overlay):
33021         Call pulse-momentary-unhighlight first thing.
33022         Treat pulse-momentary-overlay as a single value, not a list.
33023         Save the created timer.  Only pass the stop time to the timer.
33024         (pulse-tick): Update accordingly.
33025         (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
33026         single value.  Cancel the timer.
33028 2015-05-06  Tassilo Horn  <tsdh@gnu.org>
33030         * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
33031         Support the biblatex journaltitle field.
33033 2015-05-05  Glenn Morris  <rgm@gnu.org>
33035         Minor declare-function improvement
33036         * lisp/emacs-lisp/bytecomp.el
33037         (byte-compile-macroexpand-declare-function):
33038         Handle declarations after calls.  (Bug#20509)
33040         * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
33042         * lisp/w32-fns.el (w32-shell-name): Silence compiler.
33044 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
33046         Pulse using a timer
33047         * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
33048         (pulse-momentary-highlight-overlay): Set up the timer instead of
33049         calling `pulse'
33050         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
33051         (pulse-tick): New function.
33052         (pulse-momentary-unhighlight): Cut off the stop time.
33053         (pulse-delay): Update the docstring WRT to not using sit-for.
33055         Add semantic/symref/grep file patterns for ruby-mode
33056         * lisp/cedet/semantic/symref/grep.el
33057         (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
33058         Clarify the docstring.
33060         Don't require match
33061         * lisp/progmodes/xref.el (xref--read-identifier): Don't require
33062         match.  That doesn't work for every command, and some identifier
33063         completion tables are bound to be imperfect anyway.
33065 2015-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
33067         * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
33068         (semantic-grammar--template-expand): New function.
33069         (semantic-grammar-header, semantic-grammar-footer): Use it.
33070         (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
33071         (semantic-grammar-file-regexp): Refine regexp.
33072         (semantic-grammar-eldoc-get-macro-docstring):
33073         Use elisp-get-fnsym-args-string when available.
33074         (semantic-idle-summary-current-symbol-info): Use new elisp-* names
33075         instead of the old eldoc-* names.
33076         * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
33077         from elisp-mode.el.  Tweak calling convention.
33078         * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
33079         (elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
33080         elisp--get-fnsym-args-string.
33081         (elisp--highlight-function-argument): Add `prefix' arg.
33082         (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
33083         (elisp--docstring-format-sym-doc): Move back to eldoc.el.
33085 2015-05-05  Glenn Morris  <rgm@gnu.org>
33087         * lisp/help-fns.el (describe-function-1):
33088         Handle builtins with advertised calling conventions.  (Bug#20479)
33090 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
33092         Merge branch 'seq-let'
33094         Update `seq-let' documentation
33095         * doc/lispref/sequences.texi: Update the documentation of `seq-let'
33096         with the support of  `&rest'.
33098         Add support for &rest in `seq-let'
33099         * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
33100         in the argument list.
33101         * test/automated/seq-tests.el: Add a test for parsing and binding
33102         `&rest' in `seq-let'.
33104 2015-05-05  Pierre Lorenzon  <devel@pollock-nageoire.net>  (tiny change)
33106         * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
33107         Add missing increment (Bug#20467).
33108         (eieio-object-value-create): Adjust to new slots representation
33109         (Bug#20467).
33110         (eieio-object-value-create): Fix missed adjustment to new
33111         representation of slots metadata.
33113 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
33115         * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
33117 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
33119         Work around "Attempt to modify read-only object"
33120         * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
33121         elisp--xref-find-definitions, to work around "Attempt to modify
33122         read-only object" error.
33124         Only skip some variables that have function counterparts
33125         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
33126         Only skip minor-mode-named variable if it's defined in a Lisp
33127         file, and it's in minor-mode-list (bug#20506).
33128         * test/automated/elisp-mode-tests.el
33129         (elisp-xref-finds-both-function-and-variable)
33130         (elisp-xref-finds-only-function-for-minor-mode): New tests.
33132 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
33134         * lisp/progmodes/xref.el (xref--location-at-point): Revert the
33135         previous change.
33136         (xref--insert-xrefs): Buttonize the whole line, including the
33137         number at the beginning.
33139         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
33140         Make sure we're inside the let bindings.
33141         * test/automated/elisp-mode-tests.el
33142         (elisp-completes-functions-after-let-bindings): New test.
33144 2015-05-04  Glenn Morris  <rgm@gnu.org>
33146         * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
33147         (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
33148         (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
33149         Remove outdated declarations.
33151         Replace instances of "(eval-when-compile (autoload ...))"
33152         * lisp/gnus/gnus-art.el (nneething-get-file-name):
33153         Declare rather than autoload.
33154         * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
33155         Remove pointless autoload.
33156         * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
33157         (gnus-topic-create-topic, gnus-topic-enter-dribble):
33158         Declare rather than autoload.
33159         * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
33160         (mailcap-extension-to-mime): Autoload at run-time.
33161         * lisp/gnus/mm-util.el (latin-unity-massage-name)
33162         (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
33163         (latin-unity-representations-present-region):
33164         Declare rather than autoload.
33165         * lisp/gnus/mml-smime.el (epg-make-context)
33166         (epg-passphrase-callback-function): Autoload at run-time.
33167         (epg-context-set-signers, epg-context-result-for)
33168         (epg-new-signature-digest-algorithm)
33169         (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
33170         (epg-sign-string, epg-encrypt-string)
33171         (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
33172         (epg-configuration, epg-expand-group, epa-select-keys):
33173         Declare rather than autoload.
33174         * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
33175         Autoload at run-time.
33176         (gnus-group-topic-name, nnimap-buffer, nnimap-command)
33177         (gnus-registry-get-id-key, gnus-registry-action):
33178         Declare rather than autoload.
33179         * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
33180         * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
33181         (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
33182         (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
33183         (spam-stat-split-fancy): Remove pointless autoloads.
33184         * lisp/net/mairix.el: Load gnus-util when compiling.
33185         (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
33186         (message-field-value): Declare rather than autoload.
33187         (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
33188         Check gnus-alive-p is fbound.
33189         (vm-quit, vm-visit-folder, vm-select-folder-buffer)
33190         (vm-check-for-killed-summary, vm-error-if-folder-empty)
33191         (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
33192         Declare rather than autoload.
33194         * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
33196         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
33197         (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
33199         * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
33201         * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
33203         * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
33204         * lisp/emacs-lisp/package.el (epg-signature-status):
33205         Fix declarations.
33207         * lisp/play/gametree.el (gametree-show-children-and-entry)
33208         (gametree-apply-layout, gametree-mouse-show-subtree)
33209         (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
33211         * lisp/emacs-lisp/check-declare.el (check-declare-verify):
33212         Handle cl-defgeneric, cl-defmethod.
33214 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
33216         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
33217         Highlight both type and symbol name.
33219         Insert, highlight and align line numbers in xref output
33220         * lisp/progmodes/etags.el (xref-location-line): Specialize for
33221         xref-etags-location.
33222         * lisp/progmodes/xref.el (xref-location-line): New generic method.
33223         (xref-file-location): Add reader for the line slot.
33224         (xref--location-at-point): Skip to the `xref-location' property.
33225         (xref--collect-reference): Drop the line number from description.
33226         (xref--insert-xrefs): Insert, highlight and align line numbers.
33228 2015-05-04  Daniel Colascione  <dancol@dancol.org>
33230         * lisp/simple.el (save-mark-and-excursion--save)
33231         (save-mark-and-excursion--restore): Fix previous commit
33232         (255a011f0ecf004b31c59945b10154b10fac3af1).
33234 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
33236         Don't pulse the indentation, or the newline
33237         * lisp/cedet/pulse.el (pulse-lighten-highlight)
33238         (pulse-reset-face): Fall back to the inherited background
33239         attribute in FACE.
33240         (pulse-momentary-highlight-region): Add autoload cookie.
33241         * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
33242         indentation, or the newline, if the line's non-empty
33243         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
33245 2015-05-04  Daniel Colascione  <dancol@dancol.org>
33247         Add `save-mark-and-excursion', which has the old
33248         `save-excursion' behavior
33249         * doc/lispref/positions.texi (Excursions):
33250         Document `save-mark-and-excursion'.
33251         * lisp/font-lock.el (font-lock-fontify-block):
33252         Use `save-mark-and-excursion' instead of `save-excursion',
33253         restoring Emacs 24 behavior.
33254         * lisp/simple.el (save-mark-and-excursion--save)
33255         (save-mark-and-excursion--restore): New functions.
33256         (save-mark-and-excursion): New user macro.
33257         * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
33258         in `save-excursion' documentation.
33260 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
33262         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
33263         Classify lone symbol inside let varlist as variable.
33264         * test/automated/elisp-mode-tests.el
33265         (completest-variables-in-let-bindings): New test.
33267         Add xref-pulse-on-jump
33268         * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
33269         Add autoload cookie.
33270         * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
33271         (xref--maybe-pulse): New function.
33272         (xref-pop-marker-stack, xref--pop-to-location)
33273         (xref--display-position): Use it.
33274         (xref--location-at-point): Use back-to-indentation.
33276 2015-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
33278         lisp/org/org-{macs,list}.el: Fix lexical warnings
33279         * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
33280         (org-list-get-next-item, org-list-get-prev-item)
33281         (org-list-get-children): Mark unused arg `struct'.
33282         (org-list-use-alpha-bul-p): Remove unused var `bul'.
33283         (org-toggle-checkbox): Mark unused var.
33284         (org-update-checkbox-count): Remove unused var `box-num'.
33285         (org-adapt-indentation): Declare.
33286         (org-list-parse-list): Declare var instead of adding a dummy duplicate.
33287         (org-list-send-list): Remove unused var `txt'.
33288         (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
33289         (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
33290         * lisp/org/org-macs.el: Use `declare'.
33291         (org-with-limited-levels): Declare dyn-bound vars.
33293 2015-05-04  Eli Zaretskii  <eliz@gnu.org>
33295         Fix minor issues with CEDET on MS-Windows
33296         * lisp/cedet/semantic/symref/idutils.el
33297         (semantic-symref-parse-tool-output-one-line): Fix the search
33298         regexp to match MS-Windows file names with drive letters.
33299         (Bug#19468)
33300         * lisp/cedet/semantic/symref/grep.el
33301         (semantic-symref-grep-use-template): Remove "--color=always" from
33302         Grep switches on MS-Windows.
33303         (semantic-symref-grep-shell): Use shell-file-name as the default
33304         value, so this works not only on Posix platforms.
33305         (semantic-symref-perform-search): Use shell-quote-argument instead
33306         of literal '..' for portable quoting of Grep command-line
33307         argument.  Use shell-command-switch instead of a literal "-c".
33308         * lisp/cedet/semantic/bovine/gcc.el
33309         (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
33310         for an absolute file name in a portable way.
33312 2015-05-04  Artur Malabarba  <bruce.connor.am@gmail.com>
33314         * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
33315         (package-import-keyring, package-refresh-contents)
33316         (package-compute-transaction, package--save-selected-packages)
33317         (package-install-from-archive, package-delete)
33318         (package-menu--perform-transaction): Use `inhibit-message' instead.
33319         (package--compile): Set `warning-minimum-level' to :error.
33321 2015-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
33323         * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
33324         (terminal-init-screen): Use it (bug#20356).
33325         * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
33326         (xterm--extra-capabilities-type): New const.
33327         (xterm-extra-capabilities): Use it.
33328         (xterm--version-handler): Lower the pseudo-version for `screen'.
33330 2015-05-03  Dmitry Gutov  <dgutov@yandex.ru>
33332         * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
33333         Always insert a newline at the end (to avoid mouse-face background
33334         tail at the last line).
33336         elisp-completion-at-point: Prioritize being quoted over funpos
33337         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
33338         Only consider function position when not inside quoted form
33339         (bug#20425).
33340         * test/automated/elisp-mode-tests.el: New file.
33342         Stop vc-print-log from jumping to the top
33343         * lisp/vc/vc.el (vc-print-log-internal): Pass nil
33344         GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
33345         is not specified.
33346         (vc-incoming-outgoing-internal): Always pass nil.
33347         (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
33348         call it, and don't set vc-sentinel-movepoint (bug#15322).
33349         (vc-print-root-log): Don't fetch the root working revision, nor
33350         pass it to vc-print-log-internal.
33352 2015-05-02  Michael Vehrs  <Michael.Burschik@gmx.de>
33354         Fix display of keyboard layouts for right-to-left scripts
33355         * lisp/international/quail.el (quail-insert-kbd-layout):
33356         Force left-to-right paragraph direction.
33358 2015-05-02  K. Handa  <handa@gnu.org>
33360         * src/cmds.c (internal_self_insert): When we insert spaces for
33361         padding, set point before the padding spaces, not after them.
33363 2015-05-02  Nicolas Petton  <nicolas@petton.fr>
33365         * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
33367 2015-05-02  Dmitry Gutov  <dgutov@yandex.ru>
33369         Fix etags-xref-find for references
33370         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
33371         Use `cl-mapcan'.
33372         * lisp/progmodes/etags.el (etags-xref-find): Ditto.  Prompt for
33373         directory if no tags tables are loaded (bug#19468).
33375 2015-05-02  Philipp Stephani  <phst@google.com>
33377         Update the options in whitespace-style defcustom
33378         * lisp/whitespace.el (whitespace-style): Use `set' instead of a
33379         `repeat' because the option is really set-like.  Add missing
33380         options.  Reorder options to match the order in the
33381         documentation.  (Bug#20346)
33383 2015-05-02  Eli Zaretskii  <eliz@gnu.org>
33385         Fix error diagnostics of c-macro-expand
33386         * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
33387         too early if no start-marker string was found -- that generally
33388         means cpp exited abnormally, and we still want to show its error
33389         messages to the user.
33391         Don't require Texinfo 5.0 for Emacs documentation
33392         * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
33393         "@set txicodequotebacktick" instead of "@codequotebacktick on" and
33394         "@codequoteundirected on", respectively, to avoid requiring
33395         Texinfo 5.x for Emacs documentation.
33397 2015-05-01  Simen Heggestøyl  <simenheg@gmail.com>
33399         * lisp/files.el (pwd):
33400         When called with a prefix argument, insert the current default
33401         directory at point.
33403 2015-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
33405         * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
33406         * lisp/isearch.el (isearch-mode-map): Don't inhibit
33407         function-key-map remapping for backspace (bug#20466).
33409 2015-05-01  Dmitry Gutov  <dgutov@yandex.ru>
33411         Implement xref-find-references in etags and elisp-mode
33412         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
33413         (elisp-xref-find): Use it.
33414         * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
33415         * lisp/progmodes/xref.el (xref-collect-references):
33416         (xref--collect-reference): New functions.
33418 2015-05-01  Paul Eggert  <eggert@cs.ucla.edu>
33420         Prefer plain characters to Texinfo circumlocutions
33421         For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
33422         'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
33424         Fix single-quoting style in PDF manuals
33425         The PDF versions of the GNU manuals used curved single quotes to
33426         represent grave accent and apostrophe, which made it a pain to cut
33427         and paste code examples from them.  Fix the PDF versions to use
33428         grave accent and apostrophe for Lisp source code, keystrokes, etc.
33429         This change does not affect the info files, nor does it affect
33430         ordinary uses of curved single quotes in PDF.
33431         * doc/emacs/docstyle.texi: New file, which specifies treatment for
33432         grave accent and apostrophe, as well as the document encoding.
33433         * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
33434         * doc/lispintro/emacs-lisp-intro.texi:
33435         * doc/lispref/back.texi, doc/lispref/book-spine.texi:
33436         * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
33437         * doc/misc/ada-mode.texi, doc/misc/auth.texi:
33438         * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
33439         * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
33440         * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
33441         * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
33442         * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
33443         * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
33444         * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
33445         * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
33446         * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
33447         * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
33448         * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
33449         * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
33450         * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
33451         * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
33452         * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
33453         * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
33454         * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
33455         * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
33456         * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
33457         * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
33458         * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
33459         * doc/misc/woman.texi:
33460         Use it instead of '@documentencoding UTF-8', to lessen the need for
33461         global changes like this in the future.
33462         * doc/emacs/Makefile.in (EMACS_XTRA):
33463         * doc/lispintro/Makefile.in (srcs):
33464         * doc/lispref/Makefile.in (srcs):
33465         Add dependency on docstyle.texi.
33466         * doc/misc/Makefile.in (style): New macro.
33467         (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
33468         (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
33469         Use it.
33471 2015-05-01  Glenn Morris  <rgm@gnu.org>
33473         * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
33475         * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
33476         (help-fns--signature): Declare.
33478         * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
33480 2015-05-01  Nicolas Petton  <nicolas@petton.fr>
33482         New macro seq-let, providing destructuring support to seq.el
33483         * lisp/emacs-lisp/seq.el (seq-let): New macro.  `seq-let' is similar
33484         to `cl-destructuring-bind' but works on all sequence types supported
33485         by `seq.el'.  Bump version number to 1.6.
33486         * test/automated/seq-tests.el: Add tests for seq-let.
33487         * doc/lispref/sequences.texi: Add documentation for seq-let.
33489 2015-05-01  Pontus Michael  <m.pontus@gmail.com>
33491         * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
33493 2015-05-01  Glenn Morris  <rgm@gnu.org>
33495         * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
33497 2015-05-01  Artur Malabarba  <bruce.connor.am@gmail.com>
33499         * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
33500         This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
33501         This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
33502         With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
33503         (Bug#20445).
33505 2015-05-01  K. Handa  <handa@gnu.org>
33507         * lisp/international/mule-cmds.el (input-method-use-echo-area):
33508         Change :type to 'boolean.
33510 2015-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
33512         Start using proportional fonts in eww by default
33513         * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
33514         it seems to work well.
33516         Fix links in tables in shr
33517         * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
33518         makes (some) links in tables not work.
33520 2015-05-01  Jan D  <jan.h.d@swipnet.se>
33522         * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
33524 2015-04-30  Glenn Morris  <rgm@gnu.org>
33526         * lisp/emacs-lisp/ert.el (ert--special-operator-p):
33527         Update for 2015-02-08 change to indirect-function.
33529         * lisp/term/ns-win.el (ns-get-selection-internal):
33530         Remove declaration for function deleted 2014-10-21.
33532         * lisp/dom.el: Load subr-x when compiling, for when-let.
33534         Silence some compilation warnings
33535         * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
33536         * lisp/emulation/cua-base.el (delete-active-region):
33537         * lisp/net/net-utils.el (w32-get-console-output-codepage):
33538         * lisp/term/ns-win.el (ns-own-selection-internal)
33539         (ns-disown-selection-internal, ns-selection-owner-p)
33540         (ns-selection-exists-p, ns-get-selection):
33541         Declare for compiler.
33543         Function declaration updates prompted by 'make check-declare'
33544         * lisp/emacs-lisp/package.el (lm-homepage):
33545         * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
33546         * lisp/gnus/mm-decode.el (libxml-parse-html-region):
33547         * lisp/gnus/mml.el (libxml-parse-html-region):
33548         * lisp/gnus/nnrss.el (libxml-parse-html-region):
33549         * lisp/net/eww.el (libxml-parse-html-region):
33550         * lisp/net/shr.el (libxml-parse-html-region):
33551         * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
33552         * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
33553         * lisp/vc/vc-git.el (vc-annotate-convert-time):
33554         * lisp/vc/vc-hg.el (vc-annotate-convert-time):
33555         * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
33556         * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
33557         Update declaration.
33559         Remove compatibility code for 20-year old function renaming
33560         * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
33561         Make it an obsolete alias.
33562         (idlwave-shell-filter): Change all uses to comint-output-filter.
33564 2015-04-30  Tassilo Horn  <tsdh@gnu.org>
33566         Add ace-window face config
33567         * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
33568         configuration.
33570 2015-04-30  Paul Eggert  <eggert@cs.ucla.edu>
33572         Unclutter 'make doc' output a bit
33573         * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
33574         Use make subst rather than sh IFS to split target string apart.
33575         This makes 'make' output easier to follow.
33577         Merge from gnulib
33578         * doc/misc/texinfo.tex: Update from gnulib.
33580 2015-04-30  Artur Malabarba  <bruce.connor.am@gmail.com>
33582         * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
33583         (package-menu--print-info): Obsolete.
33584         (package-menu--print-info-simple): New function.
33585         (package-menu--refresh): Use it, simplify code, and improve
33586         performance.
33587         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
33588         Tiny performance improvement.
33590         * lisp/emacs-lisp/package.el (package--message): inhibit-message.
33592 2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
33594         Omit -Wstrict-overflow workaround in GCC 5
33595         * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
33596         if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
33598         Merge from gnulib
33599         This incorporates:
33600         2015-04-29 extern-inline: no need for workaround in GCC 5.1
33601         2015-04-26 file-has-acl: port to CentOS 6
33602         * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
33604 2015-04-29  Helmut Eller  <eller.helmut@gmail.com>
33606         Set next-error-* in xref--xref-buffer-mode
33607         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
33608         Set `next-error-function' and `next-error-last-buffer'.
33609         (xref--next-error-function): New function.
33610         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
33612 2015-04-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
33614         python.el: Fix warnings on looking-back calls missing LIMIT
33615         * lisp/progmodes/python.el (python-shell-accept-process-output):
33616         Pass LIMIT arg to looking-back.
33618 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
33620         * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
33621         (package--download-and-read-archives): Use pushnew instead of
33622         append.  If something terrible happened during a previous
33623         download, simply refreshing should now make things work again.
33625 2015-04-29  Dmitry Gutov  <dgutov@yandex.ru>
33627         Introduce etags-xref-find-definitions-tag-order
33628         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
33629         New variable.
33630         (etags--xref-find-definitions): Use it (bug#19468).
33632 2015-04-29  Eli Zaretskii  <eliz@gnu.org>
33634         PATH- and completion-related fixes in Eshell on MS-Windows
33635         * lisp/eshell/esh-ext.el (eshell-search-path): When running on
33636         MS-Windows, prepend "." to list of directories produced from PATH,
33637         as Windows always implicitly searches the current directory first.
33638         (eshell-force-execution): Make it have a non-nil default value on
33639         MS-Windows and MS-DOS.
33640         * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
33641         eshell-force-execution is non-nil, complete on readable files and
33642         directories, not only executables.  When running on MS-Windows,
33643         prepend "." to list of directories produced from PATH, as Windows
33644         always implicitly searches the current directory first.
33646 2015-04-29  Sam Steingold  <sds@gnu.org>
33648         Bury RCIRC buffers when there is no activity
33649         * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
33650         (rcirc-bury-buffers): New function.
33651         (rcirc-next-active-buffer): When there is no new activity, use
33652         `rcirc-bury-buffers' to hide all RCIRC buffers.
33654 2015-04-29  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
33656         Fix DBUS query result parsing for secrets-search-items
33657         * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
33658         parsing.  The function assumed that return value of the
33659         SearchItems method called on a collection is a list of two lists,
33660         however this is true only when no collection is specified.  GNOME
33661         had used to incorrectly return a list of two lists in both cases,
33662         but this was already fixed:
33663         https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
33664         incorrect information in the secrets-search-items’ docstring.
33665         (Bug#20449)
33667 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
33669         * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
33670         Use `inhibit-message' instead of hiding the previous message
33671         with (message nil).
33673 2015-04-29  Oleh Krehel  <ohwoeowho@gmail.com>
33675         Remove the deprecated INTERNAL_FIELD macro by expanding it
33676         * src/lisp.h (INTERNAL_FIELD): Remove.
33677         (DEFVAR_KBOARD): Modify accordingly.
33678         * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
33679         * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
33680         * src/buffer.c (compact_buffer): Use BVAR.
33682 2015-04-29  Glenn Morris  <rgm@gnu.org>
33684         Replace an obsolete function alias
33685         * lisp/isearch.el (isearch-yank-x-selection):
33686         * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
33687         (mouse-drag-secondary-moving):
33688         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
33689         Replace obsolete alias x-get-selection with gui-get-selection.
33691 2015-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
33693         * lisp/mail/rmailsum.el: Use lexical-binding.
33695 2015-04-29  Glenn Morris  <rgm@gnu.org>
33697         * test/automated/package-test.el (package-test-update-archives-async):
33698         Skip test on hydra.nixos.org.
33700 2015-04-28  Glenn Morris  <rgm@gnu.org>
33702         * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
33703         (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
33704         (foldout-mouse-hide-or-exit): Use new names for outline functions.
33706         * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
33707         Update for 2014-06-26 hideif.el change.
33709         * lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)
33710         (rmail--decode-and-apply): New function.
33711         (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
33713         * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
33715 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
33717         * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
33718         (package-menu--refresh): Delegate obsolete-hiding to
33719         `package--remove-hidden'.
33720         (package--remove-hidden): Disregard high-priority package if it is
33721         older than the installed one.
33723 2015-04-28  Paul Eggert  <eggert@cs.ucla.edu>
33725         Update source file encoding list
33726         Update admin/notes/unicode, along with coding system cookies in
33727         other files, so that the two match each other better.
33728         * admin/notes/unicode: lisp/language/ethio-util.el and
33729         lisp/language/ethiopic.el also use utf-8-emacs.
33730         * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
33731         * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
33732         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
33733         * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
33734         * etc/refcards/sk-survival.tex:
33735         Add "coding: utf-8" so that this file is not mishandled in a
33736         Latin-1 or Big-5 locale.
33737         * lisp/international/robin.el, lisp/org/ox-ascii.el:
33738         Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
33739         * lisp/language/ethio-util.el: Fix trailer.
33741 2015-04-28  Eli Zaretskii  <eliz@gnu.org>
33743         Fix synchronous invocation of Ispell
33744         * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
33745         value to ispell-process-directory before calling ispell-init-process.
33746         Don't call set-process-coding-system if ispell-async-processp is nil.
33747         (Bug#20448)
33749 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
33751         * lisp/emacs-lisp/package.el: Skip space and comments in init file
33752         (package--ensure-init-file): Insert snippet at first
33753         non-whitespace non-comments line.  Respects local-vars at the top
33754         of the file.
33756 2015-04-28  Glenn Morris  <rgm@gnu.org>
33758         * lisp/mail/rmail.el (rmail-copy-headers):
33759         Handle rmail-nonignored-headers being nil.  (Bug#18878)
33761         * lisp/subr.el (delay-mode-hooks): Fix doc typo.
33763         * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
33764         Don't get confused by a bzrlib version mismatch warning.
33766 2015-04-27  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
33768         Change default location of EUDC options file
33769         * etc/NEWS: Document change to EUDC options file's default location.
33770         * lisp/net/eudc-vars.el (eudc-options-file): Use
33771         `locate-user-emacs-file' to change default options file location.
33773 2015-04-27  Glenn Morris  <rgm@gnu.org>
33775         * test/automated/package-test.el (package-test-update-archives-async):
33776         Try to handle the test server script dying.
33778 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
33780         * lisp/saveplace.el (save-place-mode): New minor mode.
33781         (save-place): Redefine as an obsolete alias.
33783         * lisp/midnight.el: Make it a minor mode.  Allow predicates.
33784         * lisp/midnight.el: Use lexical-binding.
33785         (midnight-mode): Make it a proper minor mode.
33786         (midnight-buffer-display-time): Make arg non-optional.
33787         (midnight-find): Remove.
33788         (clean-buffer-list-kill-never-regexps)
33789         (clean-buffer-list-kill-regexps): Tweak type for new function choice.
33790         (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
33791         contain functions.
33792         (clean-buffer-list): Use cl-find.
33793         Allow clean-buffer-list-kill-never-regexps to contain functions.
33795 2015-04-27  Nicolas Petton  <nicolas@petton.fr>
33797         Bump version of seq.el to 1.5
33798         * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
33799         from seq-doseq.  Bump version number of seq.el.
33801 2015-04-27  Glenn Morris  <rgm@gnu.org>
33803         * lisp/mail/rmail.el (rmail-reply):
33804         Decode subject before matching "Re:" prefix.  (Bug#20396)
33806 2015-04-27  Artur Malabarba  <bruce.connor.am@gmail.com>
33808         * lisp/emacs-lisp/package.el: Small improvements
33809         (package--with-work-buffer-async): More informative error.
33810         (package-install-user-selected-packages): Rename to
33811         `package-install-selected-packages'.
33813 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
33815         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
33816         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
33817         (eieio--class-make): Remove leftover `tag'.
33819 2015-04-27  Glenn Morris  <rgm@gnu.org>
33821         * lisp/gnus/message.el (gnus-extract-address-components):
33822         Remove bogus declaration that was masking previous problem.
33824 2015-04-27  Nicolas Graner  <nicolas.graner@u-psud.fr>  (tiny change)
33826         * lisp/gnus/message.el (message-insert-formatted-citation-line):
33827         Fix typo.  (Bug#20318)
33829 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
33831         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
33833         * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
33834         * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
33835         the buffer in yet another frame.
33836         (reftex-toc-visit-location): Make sure toc-window has focus at the end
33837         when `final' is nil.
33838         (reftex--rebuilding-toc): Defvar to avoid `boundp' and
33839         silence warnings.  Use `--' to clarify that it's internal.
33840         (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
33841         (reftex-toc-promote): Clarify unused argument.
33842         (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
33843         Add `reftex--' prefix.  Fix all users.
33844         (reftex-toc-promote-prepare): Use _ for dummy variable.
33845         (reftex-toc-restore-region): Rename `m.
33847 2015-04-27  Eli Zaretskii  <eliz@gnu.org>
33849         Fix a typo in bibtex.el
33850         * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
33851         last change.  (Bug#20429)
33853         Fix redisplay of frame after loading new fonts
33854         * src/xdisp.c (redisplay_internal): When retrying redisplay of
33855         a frame because new fonts were loaded, disable all redisplay
33856         optimizations on that frame by calling SET_FRAME_GARBAGED.
33857         (Bug#20410)
33859 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
33861         * lisp/info.el (Info-menu): Properly provide the `default'
33862         (Bug#20391)
33864         * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
33865         Catch errors from documentation (bug#20418).
33866         (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
33868 2015-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
33870         * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
33871         Remove redundant ":group 'package".
33873 2015-04-26  Eli Zaretskii  <eliz@gnu.org>
33875         Fix a typo in rmail.el
33876         * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
33877         last commit.  (Bug#20429)
33879 2015-04-26  Dmitry Gutov  <dgutov@yandex.ru>
33881         Introduce xref-prompt-for-identifier
33882         * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
33883         (xref--read-identifier): Use it
33884         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
33886 2015-04-26  João Távora  <joaotavora@gmail.com>
33888         `tex-insert-quote' after single `'' opens quotes instead of closing
33889         Without this, it's very hard to precede double quotes with the
33890         apostrophe character, i.e. insert the sequence '``
33891         (quote-backquote-backquote), commonly useful in portuguese, for
33892         instance.
33893         * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
33894         preceding chars making `tex-insert-quote' be in the "opening" context.
33896 2015-04-25  Dmitry Gutov  <dgutov@yandex.ru>
33898         Pass `id' to `completing-read' as def instead of initial input
33899         * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
33900         `completing-read' as the default value instead of initial input
33901         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
33903 2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>
33905         Don't freeze with unreadable processes
33906         Don't freeze if an exiting process can't be read from.  (Bug#19860).
33907         This fixes a bug I introduced in
33908         2014-07-08T07:24:07Z@eggert@cs.ucla.edu
33909         "* process.c: Add sanity checks for file descriptors."
33910         Dmitry Gutov did most of the legwork in finding the problem.
33911         * src/process.c (wait_reading_process_output):
33912         Treat non-running processes that can't be read from
33913         the same as other non-running processes.
33915 2015-04-25  Alan Mackenzie  <acm@muc.de>
33917         Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
33918         * lisp/subr.el (remove-yank-excluded-properties): Put
33919         `with-silent-modifications' around only the last three lines of code.
33921 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
33923         * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
33924         (package--all-keywords): Deleted variable.
33926         * etc/NEWS: Document package-hiding functionality.
33928 2015-04-25  Eli Zaretskii  <eliz@gnu.org>
33930         * lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)
33932         Clarify the doc string of 'replace-regexp-in-string'
33933         * lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
33935         Improve doc string of 'insert-buffer-substring'
33936         * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
33938         MS-Windows followup for the recent gnulib update
33939         * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
33940         acl-internal.c.
33942 2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>
33944         Spelling fixes
33946         Merge from gnulib
33947         This incorporates:
33948         2015-04-24 file-has-acl: new module, split from acl
33949         2015-04-24 manywarnings: add GCC 5.1 warnings
33950         2015-04-21 lstat: fix cross-compilation 'ln -s' problem
33951         2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
33952         2015-04-15 acl: On Linux, check for acls without libacl
33953         2015-04-14 tempname: avoid unused parameter warnings (trivial)
33954         * lib/acl-internal.c: New file, from gnulib.
33955         * lib/file-has-acl.c: Remove; no longer imported from gnulib.
33956         * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
33957         * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
33958         Update from gnulib.
33960         Port --enable-gcc-warnings to GCC 5.1 x86-64
33961         * lib-src/ebrowse.c (dump_sym):
33962         * lib-src/hexl.c (main):
33963         * src/ccl.c (ccl_driver):
33964         * src/character.c (string_escape_byte8):
33965         * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
33966         * src/gnutls.c (Fgnutls_boot):
33967         * src/gtkutil.c (xg_check_special_colors):
33968         * src/image.c (x_build_heuristic_mask):
33969         * src/print.c (safe_debug_print, print_object):
33970         * src/term.c (produce_glyphless_glyph):
33971         * src/xdisp.c (get_next_display_element)
33972         (produce_glyphless_glyph):
33973         * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
33974         Don't use a signed format to print an unsigned integer, or vice
33975         versa.  GCC 5.1's new -Wformat-signedness option warns about this.
33976         * src/image.c (png_load_body, jpeg_load_body):
33977         Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
33979 2015-04-24  Tassilo Horn  <tsdh@gnu.org>
33981         Add new faces to tsdh-light-theme
33982         * etc/themes/tsdh-light-theme.el (tsdh-light): New face
33983         definitions for Info-quoted, ace-jump-face-foreground,
33984         hl-paren-face, show-paren-match, and show-paren-mismatch.
33986 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
33988         * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
33990 2015-04-24  Glenn Morris  <rgm@gnu.org>
33992         * build-aux/gitlog-to-emacslog:
33993         Use raw log format rather than wrapped one.
33995 2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
33997         * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
33998         (seq-doseq): Fix out-of-scope binding.
33999         Don't call `seq-length at every iteration.
34000         Reduce `if's from 3 to 2 per iteration.
34001         (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
34003 2015-04-24  Glenn Morris  <rgm@gnu.org>
34005         * lisp/textmodes/text-mode.el (text-mode-hook):
34006         Move text-mode-hook-identify to default.
34008         * lisp/mouse.el (minor-mode-menu-from-indicator):
34009         Handle non-function members of minor-mode-map-alist.  (Bug#20201)
34011         * lisp/help-fns.el (describe-function): More type checking.
34012         (describe-function-1): Handle changed symbol-function.  (Bug#20201)
34014         * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
34015         (Bug#20325)
34017 2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>
34019         shr: strip leading whitespace when expanding URLs
34020         * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
34022 2015-04-24  Eli Zaretskii  <eliz@gnu.org>
34024         Clarify "co-authored" some more
34026         * CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)
34028         Clarify doc strings of functions that search for properties
34029         * src/textprop.c (Fnext_char_property_change)
34030         (Fprevious_char_property_change)
34031         (Fnext_single_char_property_change)
34032         (Fprevious_single_char_property_change, Fnext_property_change)
34033         (Fnext_single_property_change, Fprevious_property_change)
34034         (Fprevious_single_property_change): Clarify doc strings wrt return
34035         value and the optional LIMIT argument.  (Bug#20411)
34037 2015-04-24  Glenn Morris  <rgm@gnu.org>
34039         * test/automated/message-mode-tests.el (message-mode-propertize):
34040         Handle non-writable HOME; eg on hydra.nixos.org.
34042 2015-04-23  Eli Zaretskii  <eliz@gnu.org>
34044         Avoid starting threads by w32-shell-execute
34045         * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
34046         local file names, before invoking ShellExecute.  (Bug#20220)
34048 2015-04-23  Martin Rudalics  <rudalics@gmx.at>
34050         Fix following doc-links in `widget-documentation-link-action'
34051         * lisp/wid-edit.el (widget-documentation-link-action): Make
34052         following doc-links less simplistic (Bug#20398).
34054 2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
34056         Improve EUDC manual
34057         * doc/misc/eudc.texi (Troubleshooting):
34058         New LDAP troubleshooting subsection.
34060 2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>
34062         Omit needless "\ " after multibyte then newline
34063         * src/print.c: Include <c-ctype.h>, for c_isxdigit.
34064         (print_object): When print-escape-multibyte is non-nil and a
34065         multibyte character is followed by a newline or formfeed, followed
34066         by a hex digit, don't output a needless "\ " before the hex digit.
34067         * test/automated/print-tests.el (print-hex-backslash): New test.
34069 2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>
34071         Add a new `inhibit-message' variable
34072         * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
34073         (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
34074         `inhibit_message' is non-zero.
34075         * etc/NEWS: Add an entry.
34076         * doc/lispref/display.texi: Add an entry for `inhibit-message',
34077         mention it in `message'.
34079 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
34081         Fix last fix in `display-buffer-record-window'.
34082         * lisp/window.el (display-buffer-record-window): Fix last fix.
34084 2015-04-22  Eli Zaretskii  <eliz@gnu.org>
34086         Minor edits in CONTRIBUTE
34087         * CONTRIBUTE: Rearrange instructions about log messages.
34088         Use "Git" capitalized all over.
34089         Use 2 spaces between sentences.
34091 2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>
34093         * lisp/files.el (basic-save-buffer): Fix argument.
34095         * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
34096         In case `(and (null custom-file) init-file-had-error)' do the same
34097         thing we'd do if `(null user-init-file)', which is to either error out
34098         or return nil.  This is in line with `custom-save-all' which would
34099         throw an error in that situation.  (Bug#20355)
34101         * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
34102         (package-menu-hide-low-priority): New variable, see its doc.
34103         (package-archive-priorities): Update doc.
34104         (package-desc-priority): New function.
34105         (package-desc-priority-version): Use it.
34106         (package--remove-hidden): New function.
34107         (package-menu--refresh): Use it.
34109         * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
34110         (package-menu--hide-obsolete): New variable.
34111         (package--remove-hidden): Use it.
34112         (package-menu-hide-obsolete): New interactive function to toggle
34113         the variable.
34114         (package--quick-help-keys): Document it.
34115         (package-menu-async): Add :version tag.
34116         (package-menu-mode-map): Bind package-menu-hide-obsolete.
34117         (package-desc-status): Indicate non-installed obsolete packages as
34118         avail-obso.
34119         (package-menu-mark-install): Allow installation of avail-obso.
34120         (package-menu--status-predicate): Sort avail-obso with available.
34122 2015-04-22  Alan Mackenzie  <acm@muc.de>
34124         On C-y, stop some text property entries being written into buffer-undo-list
34125         * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
34126         `with-silent-modifications'.
34128 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
34130         In display-buffer-record-window record selected window if necessary
34131         * lisp/window.el (display-buffer-record-window): Store selected window
34132         if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
34134 2015-04-22  Tassilo Horn  <tsdh@gnu.org>
34136         Fix reftex-citation bug
34137         * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
34138         Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
34139         integration is enabled and there are no citations in the document
34140         so far.
34142 2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>
34144         Add or reset based on the presence of MERGE_HEAD
34145         * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
34146         `vc-git-resolve-when-done' to `after-save-hook' in either case.
34147         (vc-git-conflicted-files): Add a TODO.
34148         (vc-git-resolve-when-done): Depending on the presence of
34149         MERGE_HEAD, either update the resolved file in the index, or
34150         remove it from there.  (Bug#20292)
34152 2015-04-21  Glenn Morris  <rgm@gnu.org>
34154         * lisp/custom.el (custom-declare-group): No need to purecopy
34155         custom-current-group-alist members following recent change to set
34156         it to nil before dumping.
34158         * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
34159         (Bug#20399)
34161 2015-04-21  Daniel Colascione  <dancol@dancol.org>
34163         Unbreak no-op buffer save message
34164         * lisp/files.el (basic-save-buffer): Accept called-interactively as
34165         an argument instead of directly invoking called-interactively-p,
34166         which will always yield nil in that context.
34168 2015-04-21  Alan Mackenzie  <acm@muc.de>
34170         CC Mode: Do nothing in before/after-change-functions for text
34171         property changes
34172         Fixes bug#20266.
34173         * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
34174         yank-handled-properties buffer local, and remove 'category from it.
34175         (c-called-from-text-property-change-p): New function.
34176         (c-before-change): Don't do anything if a call of the new function
34177         returns non-nil.
34178         (c-after-change): Don't do much if a call of the new function returns
34179         non-nil.
34180         (c-extend-after-change-region): Put changes to text property 'fontified
34181         inside c-save-buffer-state.
34183 2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
34185         Fix byte-compiler warnings about looking-back
34186         * lisp/vc/log-view.el (log-view-end-of-defun-1):
34187         * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
34188         * lisp/textmodes/reftex-ref.el (reftex-goto-label):
34189         * lisp/textmodes/bibtex.el (bibtex-insert-kill):
34190         * lisp/progmodes/sh-script.el (sh--maybe-here-document):
34191         * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
34192         * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
34193         * lisp/org/org.el (org-insert-heading, org-sort-entries):
34194         * lisp/org/org-mouse.el (org-mouse-end-headline)
34195         (org-mouse-context-menu):
34196         * lisp/org/org-clock.el (org-clock-cancel):
34197         * lisp/man.el (Man-default-man-entry):
34198         * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
34199         (rmail-ensure-blank-line):
34200         * lisp/mail/footnote.el (Footnote-delete-footnote):
34201         * lisp/mail/emacsbug.el (report-emacs-bug):
34202         * lisp/info.el (Info-follow-reference, Info-fontify-node):
34203         * lisp/info-look.el (info-lookup-guess-custom-symbol):
34204         * lisp/help-fns.el (help-fns--key-bindings):
34205         * lisp/files.el (hack-local-variables):
34206         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
34207         (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
34208         (viper-complete-filename-or-exit):
34209         * lisp/emulation/viper-cmd.el (viper-backward-indent):
34210         * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
34211         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
34212         * lisp/cus-edit.el (custom-face-edit-value-create):
34213         * lisp/calendar/todo-mode.el (todo-set-item-priority)
34214         (todo-filter-items-1, todo-convert-legacy-files)
34215         (todo-prefix-overlays): Add explicit second arg to looking-back.
34217 2015-04-20  Glenn Morris  <rgm@gnu.org>
34219         Avoid non-nil current-load-list at startup
34220         * src/process.c (init_process_emacs): Move Fprovide statement...
34221         (syms_of_process): ... to here.
34223         * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
34225         * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
34226         in emacs -Q.
34228 2015-04-20  Ludovic Courtès  <ludo@gnu.org>
34230         * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
34231         (Bug#20330)
34233 2015-04-20  Glenn Morris  <rgm@gnu.org>
34235         * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
34237         Tweak exec-path in uninstalled case
34238         * src/callproc.c (init_callproc): If running uninstalled, do not
34239         include eventual installation libexec directory in exec-path.
34241 2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>
34243         * lisp/emacs-lisp/package.el: Filter by multiple keywords and
34244         cache keywords.
34245         (package-menu-filter): Accept a list of keywords.
34246         (package--all-keywords): New variable to cache known keywords.
34247         (package-all-keywords): Populate it if necessary.
34248         (package-refresh-contents): Reset it.
34250         * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
34251         (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
34252         as special keywords which match agains package archive and status
34253         respectively.
34254         * etc/NEWS: Document it.
34256 2015-04-20  Eli Zaretskii  <eliz@gnu.org>
34258         Describe and index "empty overlays".
34259         * doc/lispref/display.texi (Overlays): Improve indexing.
34260         (Managing Overlays): Describe "empty" overlays.
34261         (Overlay Properties, Finding Overlays): Add cross-reference to
34262         where empty overlays are described.
34264 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34266         Spelling fixes
34268         Quote 'like this' in top-level files
34269         * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
34270         Prefer to single-quote 'like this' (instead of the older style
34271         `like this').
34272         * configure.ac: Fix some space-before-tab problems that 'git commit'
34273         complained about.
34275         Use bool for boolean in textprop.c, undo.c
34276         * src/textprop.c (soft, hard): Now constants instead of macros.
34277         (validate_plist): Rewrite to avoid need for boolean local.
34278         (interval_has_all_properties, interval_has_some_properties)
34279         (interval_has_some_properties_list, add_properties)
34280         (remove_properties, get_char_property_and_overlay)
34281         (Fnext_single_char_property_change)
34282         (Fprevious_single_char_property_change, add_text_properties_1)
34283         (Fremove_text_properties, Fremove_list_of_text_properties)
34284         (copy_text_properties):
34285         * src/tparam.c (tparam1):
34286         * src/undo.c (record_change, record_property_change)
34287         (syms_of_undo):
34288         Use 'true' and 'false' for booleans.
34290 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
34292         * lisp/vc/vc-git.el (vc-git-find-file-hook):
34293         Call `smerge-start-session' even when dealing with a stash
34294         conflict (bug#20292).
34296 2015-04-19  Vibhav Pant  <vibhavp@gmail.com>
34298         Add option to eshell/clear to clear scrollback.
34299         * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
34300         (eshell/clear): Add an optional SCROLLBACK argument.  If non-nil,
34301         scrollback contents are cleared.
34302         * etc/NEWS: Describe change.
34303         * doc/misc/eshell.texi: Add entry for `clear'.
34305 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34307         * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
34308         where either will do.
34310 2015-04-19  Steve Purcell  <steve@sanityinc.com>
34312         Assume package archive-contents are UTF8-encoded
34313         * lisp/emacs-lisp/package.el (package--read-archive-file):
34314         Set `coding-system-for-read' explicitly to 'utf-8 when reading the
34315         downloaded and cached archive-contents files, so that non-ASCII
34316         characters in package descriptions are displayed correctly in the
34317         `list-packages' menu.  (Bug#20231)
34319 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
34321         Abort when looking at stashed changes
34322         * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
34323         stashed changes (bug#20292).
34325 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34327         Refactor low-level printing for simplicity
34328         * src/print.c (PRINTDECLARE): Remove.  Move its contents into
34329         PRINTPREPARE; doable now that we assume C99.  All callers changed.
34330         (PRINTCHAR): Remove, as it adds more mystery than clarity.
34331         All callers changed.
34332         (strout): Assume that caller computes length.  All callers changed.
34333         (print_c_string): New function.
34334         (write_string, write_string_1): Compute length instead of asking
34335         the caller to compute it.  All callers changed.
34336         (write_string): Simplify by using write_string_1.
34337         (write_string_1): Simplify by using print_c_string.
34338         (Fterpri): Compute default val more clearly.
34339         (Fprin1_to_string, print_object):
34340         Assume C99 to avoid unnecessary nesting.
34341         (print_object): Prefer print_c_string to multiple printchar, or
34342         to calling strout with -1 length.  Coalesce into sprintf when
34343         this is easy.
34345 2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>
34347         Prefer "Bug#1234" in commit messages (Bug#20325)
34348         * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
34349         as this isn't useful for Git.
34350         * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
34352 2015-04-18  Glenn Morris  <rgm@gnu.org>
34354         * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
34355         (Bug#19506)
34357 2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)
34359         * lisp/elec-pair.el (electric-pair-post-self-insert-function):
34360         Do not use `chomp' as a function.  (Bug#19505)
34362 2015-04-18  Glenn Morris  <rgm@gnu.org>
34364         * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
34366         * doc/emacs/misc.texi (Sorting): Small edit.
34367         (Bug#19896)
34369         * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
34371 2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>
34373         css-mode.el: Support multi-line comment filling
34374         (Bug#20256)
34375         * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
34376         comment filling.
34377         (css-adaptive-fill): New function.
34378         (css-mode): Set `adaptive-fill-function'.
34379         (scss-mode): Set `comment-continue'.
34381 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
34383         * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
34384         Better error messages.
34386 2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)
34388         Minor improvements in Bulgarian input methods
34389         * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
34390         Replace U+042C with U+045D, as the former character is not used in
34391         the modern Bulgarian language.
34392         (Bug#20350)
34394 2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
34396         Improve EUDC manual
34397         * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
34398         authentication schemes.  Add index items.  Shorten example server
34399         name.
34401 2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>
34403         Don't show both feature and function with the same name
34404         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
34405         Don't show both feature and function with the same name.
34407         (elisp--xref-identifier-location): Skip variable, if it's also
34408         a function
34409         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
34410         Avoid returning both the variable and the function for the same
34411         minor mode.
34413 2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>
34415         Fix fontification of keywords clobbered by the prompt
34416         * lisp/comint.el (comint-output-filter): Remove the uses of
34417         with-silent-modifications I introduced as part of the last change.
34418         This fixes, e.g., erratically missing highlighting when running
34419         ./configure --help; ./configure in a shell-mode buffer with
34420         compilation-shell-minor-mode turned on.
34422 2015-04-17  Glenn Morris  <rgm@gnu.org>
34424         * admin/authors.el (authors-valid-file-names)
34425         (authors-renamed-files-alist): Additions.
34427 2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
34429         * lisp/indent.el (indent-region): Don't deactivate the mark.
34430         (Bug#20357)
34432 2015-04-17  Sam Steingold  <sds@gnu.org>
34434         * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
34436 2015-04-16  Leo Liu  <sdl.web@gmail.com>
34438         * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
34440 2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
34442         * lisp/erc/erc-pcomplete.el (erc-pcomplete):
34443         Don't use `pcomplete' any more.
34445 2015-04-16  Glenn Morris  <rgm@gnu.org>
34447         * admin/authors.el (authors-lax-changelogs): Update for erc changes.
34449 2015-04-16  Eli Zaretskii  <eliz@gnu.org>
34451         Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
34452         * configure.ac (LIBJPEG): Leave it empty for MinGW.
34454 2015-04-16  Glenn Morris  <rgm@gnu.org>
34456         * lisp/replace.el (query-replace-from-to-separator):
34457         Delay initialization to avoid rogue setting after startup.
34459 2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>
34461         Pre-4.6 GCC succeeds with unknown option
34462         * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
34463         (Bug#20338)
34465 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
34467         '[:graph:]' now excludes whitespace, not just ' '
34468         * doc/lispref/searching.texi (Char Classes):
34469         * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
34470         sans whitespace (not sans space).
34471         * src/character.c (graphicp): Exclude all Unicode whitespace chars,
34472         not just space.
34473         * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
34475 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
34477         * lisp/subr.el (substitute-key-definition-key, special-form-p)
34478         (macrop): Drop deprecated second arg to indirect-function.
34479         (looking-back): Make the second arg non-optional.
34481         * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
34482         command is actually sent to the shell.
34484 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
34486         Port jpeg configuration to Solaris 10 with Sun C
34487         * configure.ac: Check for jpeglib 6b by trying to link it, instead
34488         of relying on cpp magic that has problems in practice.  Check for
34489         both jpeglib.h and jerror.h features.  Remove special case for
34490         mingw32, which should no longer be needed (and if it were needed,
34491         should now be addressable by hotwiring emacs_cv_jpeglib).
34492         (Bug#20332)
34494 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
34496         Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
34497         * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
34498         Move to elisp-mode.el.
34499         (lisp-mode-variables): (Re)move elisp-specific settings.
34500         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
34501         from lisp-mode-variables.
34502         (elisp--font-lock-flush-elisp-buffers): New function, moved from
34503         lisp-mode.el.
34505         * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
34506         Avoid pathological slowdown at top-level in large file.
34508 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
34510         Standardize names of ChangeLog history files
34511         Suggested by Glenn Morris in:
34512         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
34513         * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
34514         * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
34515         * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
34516         * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
34517         * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
34518         * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
34519         Remove.
34521         Split top-level entries into pre- and post-April 7
34522         This more clearly distingiushes pre-April-7 ChangeLog entries (which
34523         are for top-level files only) from post-April-7 entries (which are
34524         about files at all levels.  Problem reported by Glenn Morris in:
34525         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
34526         * ChangeLog.1: Move post-April-7 entries from here ...
34527         * ChangeLog.2: ... to this new file.
34528         * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
34530 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
34532         Fix recent cus-start changes that added customize-rogues
34533         * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
34534         vars early.
34535         * lisp/loadup.el ("cus-start"): Move to the end to reduce
34536         customize-rogue.
34538 2015-04-15  Nicolas Petton  <nicolas@petton.fr>
34540         Define cl-concatenate as an alias to seq-concatenate
34541         * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
34542           code by making cl-concatenate an alias to seq-concatenate.
34544 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
34546         * src/lread.c (intern_1): Make sure we'd find the symbol we add
34547         (Bug#20334)
34548         * src/xfaces.c (resolve_face_name): Don't use `intern' with
34549         Lisp_Strings.
34551 2015-04-15  Glenn Morris  <rgm@gnu.org>
34553         * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
34555 2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
34557         Clean up gnus-uu saving code slightly
34558         * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
34559         save-restriction/widen calls make more sense.
34561 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
34563         Make [:graph:] act like [:print:] sans space
34564         In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
34565         [:graph:] so that it matches everything that [:print:] does,
34566         except for space.
34567         * doc/lispref/searching.texi (Char Classes):
34568         * etc/NEWS:
34569         * lisp/emacs-lisp/rx.el (rx):
34570         Document [:graph:] to be [:print:] sans ' '.
34571         * src/character.c, src/character.h (graphicp): New function.
34572         * src/regex.c (ISGRAPH) [emacs]: Use it.
34573         (BIT_GRAPH): New macro.
34574         (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
34575         (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
34576         Return BIT_GRAPH for RECC_GRAPH.
34577         (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
34578         and ISPRINT if BIT_PRINT.
34580 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
34582         automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
34583         Don't use call-next-method in a cl-defmethod.
34585         * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
34586         (eieio--class-p): Remove, provided by cl-defstruct.
34588 2015-04-14  Nicolas Petton  <nicolas@petton.fr>
34590         Add seq-intersection and seq-difference to the seq library
34591         * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
34592         New functions.
34593         * test/automated/seq-tests.el: Add tests for seq-intersection and
34594         seq-difference.
34595         * doc/lispref/sequences.texi: Add documentation for seq-intersection
34596         and seq-difference.
34598 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
34600         * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
34601         to avoid leaking internals.
34603 2015-04-14  Sam Steingold  <sds@gnu.org>
34605         package--ensure-init-file: widen requires save-restriction
34607 2015-04-14  Eli Zaretskii  <eliz@gnu.org>
34609         Improve the commit-msg Git hook for unibyte environments
34610         * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
34611         in unibyte environments.  (Suggested by Paul Eggert
34612         <eggert@cs.ucla.edu>.)  Use a more accurate approximation to
34613         [:print:], based on UTF-8 sequences of the unprintable characters.
34615         Describe problems with cursor caused by Windows Magnifier
34616         * etc/PROBLEMS: Describe the problem with cursor shape on
34617         MS-Windows due to Windows Magnifier.
34618         (Bug#20271)
34620         Make [:print:] support non-ASCII characters correctly
34621         * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
34622         (BIT_PRINT): New bit mask.
34623         (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
34624         * src/character.c (printablep): New function.
34625         * src/character.h (printablep): Add prototype.
34626         * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
34627         of 'print', 'alnum', and 'alphabetic'.
34628         * doc/lispref/searching.texi (Char Classes): Document the new
34629         behavior of [:print:].
34630         * etc/NEWS: Mention the new behavior of [:print:].
34632         Assign correct general-category and names to surrogates
34633         * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
34634         surrogates.  This avoids assigning them the default
34635         general-category of 'Cn', i.e. unassigned codepoints.
34636         (unidata-get-name): Give surrogates synthetic names.
34638 2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>
34640         Assume C89 offsetof in xterm.c, xlwmenu.c
34641         * lwlib/xlwmenu.c (offset):
34642         * src/xterm.c (cvt_string_to_pixel_args):
34643         Use offsetof, not XtOffset.
34645 2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
34647         Assume C89 offsetof in widget.c
34648         * src/widget.c (XtOffset): Remove; no longer needed.
34649         (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
34651         Fix think-o in previous patch
34652         * src/window.c (count_windows, get_leaf_windows):
34653         Don't optimize count_windows incorrectly.
34655 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
34657         Avoid some int overflows in window.c
34658         * src/print.c (print_object):
34659         * src/window.c (sequence_number):
34660         * src/window.h (struct window.sequence_number):
34661         Don't assume window sequence number fits in int.
34662         * src/window.c (window_select_count):
34663         * src/window.h (struct window.use_time, window_select_count):
34664         Don't assume window use time fits in int.
34665         * src/window.c (Fsplit_window_internal):
34666         Don't assume user-supplied integer, or sum, fits in int.
34667         (Fset_window_configuration, count_windows, get_leaf_windows)
34668         (save_window_save, Fcurrent_window_configuration):
34669         Use ptrdiff_t for object counts.
34670         (Fset_window_configuration): Omit unused local 'n'.
34671         (count_windows): Simplify by writing in terms of get_leaf_windows.
34672         (get_leaf_windows): Don't store through FLAT if it's null.
34673         (extract_dimension): New static function.
34674         (set_window_margins, set_window_fringes, set_window_scroll_bars):
34675         Use it to avoid undefined behavior when converting user-supplied
34676         integer to 'int'.
34678 2015-04-13  Glenn Morris  <rgm@gnu.org>
34680         Minor doc copyedits
34681         * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
34682         * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
34684 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
34686         [Gnus] Catch the invalid-operation that idna.el will issue
34687         * lisp/gnus/gnus-art.el (gnus-use-idna):
34688         * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
34689         * lisp/gnus/message.el (message-use-idna):
34690         Catch the invalid-operation that idna.el will issue.
34692 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
34694         * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
34696 2015-04-13  Sam Steingold  <sds@gnu.org>
34698         package--ensure-init-file: widen before looking for
34699         "(package-initialize)"
34701 2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>
34703         Change diff-switches default to `-u' (Bug#20290)
34704         * doc/emacs/files.texi (Comparing Files): Document the new default
34705         value of `diff-switches'.
34706         * doc/emacs/trouble.texi (Sending Patches): Document the preference
34707         for unified diff format.  Escape the plus in the suggested `-F' regexp
34708         value.
34709         * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
34711 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34713         (gnus-group--setup-tool-bar-update): Fix last change
34714         * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
34715         cursor-sensor-functions should be a list of functions.
34717 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
34719         * lisp/gnus/gnus-topic.el (gnus-topic-mode):
34720         Use gmm-called-interactively-p.
34722 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34724         * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
34725         (Bug#20321)
34726         * lisp/cus-start.el (read-buffer-function): Don't advertise
34727         iswitchb-read-buffer any more.
34728         (iswitchb): Don't tweak this obsolete group any more.
34730 2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>
34732         * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
34734         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
34735         Adding a string after a constructor's argument list will use
34736         that string as the constructor function docstring.  If this string
34737         is absent but the struct itself was given a docstring, use that as
34738         the constructor's docstring.
34739         Fixes bug#17284.
34741 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34743         Deprecate `intangible' and `point-entered' properties
34744         * lisp/emacs-lisp/cursor-sensor.el: New file.
34745         * lisp/simple.el (pre-redisplay-functions): New hook.
34746         (redisplay--pre-redisplay-functions): New function.
34747         (pre-redisplay-function): Use it.
34748         (minibuffer-avoid-prompt): Mark obsolete.
34749         (redisplay--update-region-highlight): Adapt it to work as a function on
34750         pre-redisplay-functions.
34751         * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
34752         (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
34753         than point-entered to make the prompt intangible.
34754         * lisp/forms.el: Move `provide' calls to the end.
34755         (forms-mode): Don't use `run-hooks' on a local var.
34756         (forms--make-format, forms--make-format-elt-using-text-properties):
34757         Use cursor-intangible rather than `intangible'.
34758         (forms-mode): Enable cursor-intangible-mode.
34759         * lisp/isearch.el (isearch-mode): Use defvar-local.
34760         (cursor-sensor-inhibit): Declare.
34761         (isearch-mode): Set cursor-sensor-inhibit.
34762         (isearch-done): Set it back.
34763         (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
34764         (isearch-close-unnecessary-overlays): Don't bother with `intangible'
34765         any more.
34766         * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
34767         (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
34768         Add Edebug spec.
34769         (ses-goto-print, ses-print-cell, ses-adjust-print-width)
34770         (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
34771         inhibit-point-motion-hooks any more.
34772         (ses--cell-at-pos, ses--curcell): New functions, extracted from
34773         ses-set-curcell.
34774         (ses-set-curcell): Use them.
34775         (ses-print-cell, ses-setup): Use cursor-intangible instead of
34776         `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
34777         (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
34778         Use ses--cell-at-pos.
34779         (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
34780         extracted from ses-command-hook.  Make them work with multiple windows
34781         displaying the same buffer.
34782         (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
34783         Enable cursor-intangible-mode.
34784         (ses-command-hook): Remove cell highlight and mode-line update code.
34785         (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
34786         Update for new name of text-property holding the cell name.
34787         (ses-rename-cell): Don't mess with mode-line-process.
34788         * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
34789         cursor-sensor-functions property instead of point-entered.
34790         (erc-insert-timestamp-right, erc-format-timestamp):
34791         Use cursor-intangible rather than `intangible'.
34792         (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
34793         remove-from-invisibility-spec.  Enable cursor-intangible-mode and
34794         cursor-sensor-mode if needed.
34795         (erc-echo-timestamp): Adapt to calling convention of
34796         cursor-sensor-functions.
34797         (erc-insert-timestamp-right): Remove unused vars `current-window' and
34798         `indent'.
34799         * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
34800         (gnus-update-group-mark-positions): Remove unused `topic' var.
34801         (gnus-group-insert-group-line): Remove unused var `header'.
34802         (gnus-group--setup-tool-bar-update): New function.
34803         (gnus-group-insert-group-line): Use it.
34804         (gnus-group-update-eval-form): Declare local
34805         dynamically-bound variables.
34806         (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
34807         * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
34808         (gnus-group-prepare-topics, gnus-topic-update-topic)
34809         (gnus-topic-change-level, gnus-topic-catchup-articles)
34810         (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
34811         Use inhibit-read-only.
34812         (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
34813         (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
34814         * lisp/textmodes/reftex-index.el (reftex-display-index):
34815         Use cursor-intangible-mode if available.
34816         (reftex-index-post-command-hook): Check cursor-intangible.
34817         * lisp/textmodes/reftex-toc.el (reftex-toc):
34818         Use cursor-intangible-mode if available.
34819         (reftex-toc-recenter, reftex-toc-post-command-hook):
34820         Check cursor-intangible.
34821         * lisp/textmodes/sgml-mode.el: Use lexical-binding.
34822         (sgml-tag): Use cursor-sensor-functions instead of point-entered.
34823         (sgml-tags-invisible): Use with-silent-modifications and
34824         inhibit-read-only.  Enable cursor-sensor-mode.
34825         (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
34826         calling convention of cursor-sensor-functions.
34827         * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
34828         (table-point-entered-cell-hook, table-point-left-cell-hook):
34829         Don't autoload.
34830         (table-cell-entered-state): Remove var.
34831         (table--put-cell-point-entered/left-property)
34832         (table--remove-cell-properties):
34833         Use cursor-sensor-functions rather than point-entered/left.
34834         (table--point-entered/left-cell-function): Merge
34835         table--point-entered-cell-function and table--point-left-cell-function
34836         and adjust to calling convention of cursor-sensor-functions.
34838         Update ldef-boots.el
34840         * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
34842         * doc/misc/eieio.texi: Don't advertise now obsolete constructs
34844         Collapse successive char deletions in the undo log
34845         * src/cmds.c (remove_excessive_undo_boundaries): New function,
34846         extracted from Fself_insert_command.
34847         (Fdelete_char, Fself_insert_command): Use it.
34848         * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
34849         * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
34851         xterm and OSC 52: Add NEWS entry, and tweak the code
34852         * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
34853         to top-level.
34854         (terminal-init-xterm-activate-set-selection): Set a terminal property.
34855         (xterm--set-selection): Use it instead of checking the value of
34856         `terminal-initted'.  Don't use string-bytes.
34858 2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>
34860         xterm.el: Implement OSC-52 functionality for setting the X selection
34861         * lisp/term/xterm.el (xterm-max-cut-length): New var.
34862         (xterm--set-selection, terminal-init-xterm-activate-set-selection):
34863         New funs.
34864         (terminal-init-xterm, xterm--version-handler): Use them.
34866 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34868         Remove left over code from when we used an obsolete/loaddefs.el file
34869         * lisp/subr.el (do-after-load-evaluation): Remove left over code from
34870         when we used an obsolete/loaddefs.el file.
34872         * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
34873         (semanticdb-without-unloaded-file-searches): Use declare.
34874         (semantic-fw-add-edebug-spec): Remove.
34876         * lisp/completion.el (completion-lisp-mode-hook):
34877         Use completion-separator-chars rather than local key binding.
34879         * src/*.c: Set deactivate_mark buffer-locally
34880         (Bug#20260)
34881         * src/insdel.c (prepare_to_modify_buffer_1):
34882         * src/fileio.c (Finsert_file_contents): Set deactivate_mark
34883         buffer-locally.
34885 2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
34887         python.el: Keep symmetry on sexp navigation with parens
34888         (Bug#19954)
34889         * lisp/progmodes/python.el
34890         (python-nav--forward-sexp): Add argument skip-parens-p.
34891         (python-nav-forward-sexp, python-nav-backward-sexp)
34892         (python-nav-forward-sexp-safe)
34893         (python-nav-backward-sexp-safe): Use it.
34894         * test/automated/python-tests.el
34895         (python-nav-forward-sexp-1): Fix test.
34897 2015-04-12  João Távora  <joaotavora@gmail.com>
34899         Don't use `setq-local' in Gnus code
34900         This might break upstream builds with older Emacsen
34901         * lisp/gnus/message.el (message-mode): Use `set' and
34902         `make-local-variable' instead of `setq-local'.
34904 2015-04-12  Paul Eggert  <eggert@cs.ucla.edu>
34906         Update Makefile.in's .PHONY dependencies
34907         * Makefile.in (change-history-commit, master-branch-is-current)
34908         (no-ChangeLog): Now phony.
34910         Remove configure's --with-mmdf option
34911         * configure.ac (MAIL_USE_MMDF): Remove.
34912         * etc/NEWS: Document this.
34913         * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
34914         (Bug#20308)
34916         * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
34917         That way, 'make install' won't think it's a man page.
34918         Reported by Ashish SHUKLA in:
34919         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
34921         Improve 'make change-history' prereq tests
34922         * Makefile.in (gen_origin): Fix to match what's in the master branch.
34923         (no-ChangeLog, master-branch-is-current): New rules.
34924         (change-history): Depend on them, to avoid similar future problems.
34925         Escape the local-variables string to pacify Emacs when editing
34926         Makefile.in.
34928 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
34930         * test/automated/package-test.el (with-package-test):
34931         Kill Packages buffer.
34933         * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
34934         (package-menu--prompt-transaction-p): Prompt for "Delete" first,
34935         "Upgrade" last, and use capitalized instead of all-caps.
34937         * lisp/emacs-lisp/package.el: Completely silence async operations.
34938         (package--make-autoloads-and-stuff): Silence autoloads.
34939         (package--save-selected-packages): New function, silences
34940         `customize-save-variable'.
34941         (package--user-selected-p, package-install-from-buffer)
34942         (package-delete, package-install): Use it.
34943         (package-install-from-archive)
34944         (package-menu--perform-transaction): Silence.
34945         (package-menu-execute): Feedback when operation starts.
34947         Use delay-mode-hooks when visiting the init-file
34948         * lisp/emacs-lisp/package.el (package--ensure-init-file):
34949         delay-mode-hooks.
34950         * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
34952         * lisp/files.el: Only message when saving if save-silently is nil.
34953         (save-silently): New variable.
34954         (files--message): New function.
34955         (find-file-noselect, save-buffer, basic-save-buffer)
34956         (basic-save-buffer-2, save-some-buffers, not-modified)
34957         (append-to-file): Use them.
34959 2015-04-12  Johan Bockgård  <bojohan@gnu.org>
34961         Support debug declarations in pcase macros
34962         * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
34963         (pcase-UPAT): Use it.  Remove "`".
34964         (pcase--edebug-match-macro): New function.
34965         (pcase-defmacro): Support debug declarations.
34966         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
34967         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
34968         * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
34969         Add debug declaration.
34971         pcase.el: Edebug support for `app' and vector patterns
34972         * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
34973         (pcase-UPAT): Use it.  Support `app' patterns.
34974         (pcase-QPAT): Support vector patterns.
34976         edebug.el: Disambiguate vector specifications
34977         * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
34978         `(vector ...)' as a vector specification, not as a sublist.
34980         (gnus-summary-refer-thread): Don't clobber unread articles
34981         This fixes a bug where `A T' causes "random" articles to become marked
34982         as read.
34983         * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
34984         gnus-newsgroup-unreads remains sorted.
34986         mouse-sel.el: Fix mouse-sel-get-selection-function
34987         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
34988         Use gui--last-selected-text-primary instead of no longer existing
34989         gui-last-selected-text.
34991         * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
34993         * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
34995 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
34997         * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
34999         * lisp/emacs-lisp/package.el (list-packages): Call refresh in
35000         right buffer.
35002         * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
35003         (byte-compile--interactive): New var.
35004         (byte-compile--message): New function.
35005         (byte-compile-log-1, byte-force-recompile)
35006         (byte-recompile-directory, byte-recompile-file)
35007         (byte-compile-file, compile-defun)
35008         (byte-compile-file-form-defmumble, byte-compile)
35009         (byte-compile-file-form-defalias, display-call-tree): Use it.
35011         * lisp/files.el: Don't message when nothing happened.
35012         (save-some-buffers, basic-save-buffer): Before messaging to say
35013         "nothing was saved" check if (called-interactively-p 'any).
35015 2015-04-12  João Távora  <joaotavora@gmail.com>
35017         Summary: Improve sexp-based movement in message-mode
35018         Works by giving citations and smileys a different syntax.  This helps
35019         modes like `show-paren-mode', `electric-pair-mode', and C-M-*
35020         sexp-based movement.
35021         * lisp/gnus/message.el (message--syntax-propertize): New function.
35022         (message-mode): Set syntax-related vars.
35023         (message-smileys): New variable.
35024         * test/automated/message-mode-tests.el: New file
35026 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
35028         Use bool for boolean in window.c
35029         * src/window.c: Omit unnecessary static function decls.
35030         (adjust_window_count, select_window, Fselect_window)
35031         (window_body_width, Fwindow_body_height, Fwindow_body_width)
35032         (set_window_hscroll, check_window_containing, Fwindow_at)
35033         (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
35034         (unshow_buffer, replace_window, recombine_windows)
35035         (add_window_to_list, candidate_window_p, next_window)
35036         (Fnext_window, Fprevious_window, window_loop, check_all_windows)
35037         (Fget_buffer_window, Fdelete_other_windows_internal)
35038         (replace_buffer_in_windows_safely, set_window_buffer)
35039         (Fset_window_buffer, Fforce_window_update)
35040         (temp_output_buffer_show, make_parent_window)
35041         (window_resize_check, window_resize_apply, Fwindow_resize_apply)
35042         (resize_frame_windows, Fsplit_window_internal)
35043         (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
35044         (Fresize_mini_window_internal, mark_window_cursors_off)
35045         (window_scroll, window_scroll_pixel_based)
35046         (window_scroll_line_based, scroll_command, Fscroll_other_window)
35047         (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
35048         (Fmove_to_window_line, Fset_window_configuration)
35049         (delete_all_child_windows, apply_window_adjustment)
35050         (set_window_fringes, set_window_scroll_bars)
35051         (Fset_window_vscroll, foreach_window, foreach_window_1)
35052         (compare_window_configurations, Fcompare_window_configurations):
35053         Prefer 'bool', 'true', and 'false' for booleans.
35054         * src/window.h (WINDOW_MODE_LINE_LINES)
35055         (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
35057 2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>
35059         Speed up byte-compilation and autoload generation by avoiding mode-hooks
35060         This prevents emacs-lisp-mode-hook from being run everytime an
35061         autoload file is generated, which can account for a fraction of
35062         package installation time depending on the hooks the user has
35063         configured.
35064         * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
35065         * lisp/emacs-lisp/autoload.el (autoload-find-file)
35066         (autoload-find-generated-file): Use delay-mode-hooks.
35068         * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
35069         (package-menu-refresh): Respect async and do new package checking.
35070         (list-packages): Use `package-menu-refresh' instead of repeating code.
35072         * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
35073         (package--quick-help-keys): New variable.
35074         (package--prettify-quick-help-key): New function.
35075         (package-menu-quick-help): Use it.
35077         * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
35078         (package--build-compatibility-table): Require finder.
35080         * test/automated/package-test.el: Fix new test.
35082         * lisp/emacs-lisp/package.el: Silence async operations.
35083         (package--silence): New variable.
35084         (package--message): New function.
35085         (package-import-keyring, package-refresh-contents)
35086         (package-compute-transaction, package-install, package-delete)
35087         (package-menu--perform-transaction, package-menu-execute): Use it.
35089         * test/automated/package-test.el: Test async functionality.
35090         (package-test-update-archives-async): New test.
35092 2015-04-11  Daiki Ueno  <ueno@gnu.org>
35094         Utilize `make-process' in epg.el
35095         * lisp/epg.el (epg-error-output): Abolish.
35096         (epg-context): New slot `error-buffer'.
35097         (epg--start): Use `make-process' and `make-pipe-process'.
35098         (epg--process-filter): Remove code separating stderr from stdout.
35099         (epg-wait-for-completion): Simplify `error-output' handling.
35100         (epg-reset): Dispose error buffer.
35102 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
35104         * .gitignore: Ignore doc temps and outputs.
35106         Port commit-msg to MSYS Bash+Gawk
35107         See Eli Zaretskii in:
35108         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
35109         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
35110         (cent_sign, print_at_sign, at_sign): Revert previous change.
35111         (print_at_sign): Prepend "BEGIN".
35112         (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
35114         Port commit-msg to broken MS-Windows shell
35115         * build-aux/git-hooks/commit-msg (cent_sign):
35116         Just use UTF-8 here rather than ASCII + printf, as the latter fails
35117         on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
35118         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
35120 2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
35122         Support GnuTLS v3.4 and later on MS-Windows
35123         * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
35124         * lisp/term/w32-win.el (dynamic-library-alist): Determine which
35125         GnuTLS DLL to load according to value of libgnutls-version.
35126         (Bug#20294)
35128 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
35130         Minor quoting etc. fixes to misc manuals
35131         Fix some minor quoting and spacing issues.  Distinguish more
35132         clearly among grave accent and apostrophe (which are ASCII) and
35133         single quote (which is not).  Prefer the standard terms
35134         "apostrophe" and "grave accent" to alternative names that can be
35135         confusing.  Use apostrophes to single-quote ASCII text.
35136         * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
35137         rather than approximating it in ASCII with grave accent.
35139 2015-04-11  Daiki Ueno  <ueno@gnu.org>
35141         Respect more keyword args in `make-process'
35142         * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
35143         keywords as documented.
35145 2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>
35147         Extract ChangeLog entries when committing a directory
35148         * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
35149         * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
35150         Add a FIXME comment.
35151         (log-edit-changelog-entries): Extract from
35152         `log-edit-changelog-entries', handle FILE being a directory
35153         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
35155 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
35157         Fix problems found by --enable-gcc-warnings
35158         * src/process.c (create_process, Fmake_pipe_process)
35159         (Fmake_network_process): Omit unused locals.
35161         Fix commit-msg to handle scissors lines
35162         * build-aux/git-hooks/commit-msg:
35163         Ignore every line after a scissors line, such as a line generated
35164         by 'git commit -v'.  Problem reported by Johan Bockgård in:
35165         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
35167         port commit-msg to Gawk 3.0.4 (1999)
35168         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
35169         (print_at_sign, at_sign): New vars.  Use them to avoid problems
35170         Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
35171         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
35173         Have commit-msg report commit failure
35174         * build-aux/git-hooks/commit-msg: If the commit is aborted,
35175         say so.  Simplify by doing this at the end.  Problem reported
35176         by Eli Zaretskii in:
35177         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
35179 2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
35181         Clean up LDAP Configuration section of EUDC manual
35182         * doc/misc/eudc.texi: Combine indices.
35183         (LDAP Configuration): Use command markup.  Add index entries.
35184         Change formatting.  Wrap long lines.  Add noindent markup.
35186 2015-04-10  Daiki Ueno  <ueno@gnu.org>
35188         Add facility to collect stderr of async subprocess
35189         * src/w32.h (register_aux_fd): New function declaration.
35190         * src/w32.c (register_aux_fd): New function.
35191         * src/process.h (struct Lisp_Process): New member stderrproc.
35192         * src/process.c (PIPECONN_P): New macro.
35193         (PIPECONN1_P): New macro.
35194         (Fdelete_process, Fprocess_status, Fset_process_buffer)
35195         (Fset_process_filter, Fset_process_sentinel, Fstop_process)
35196         (Fcontinue_process): Handle pipe process specially.
35197         (create_process): Respect p->stderrproc.
35198         (Fmake_pipe_process): New function.
35199         (Fmake_process): Add new keyword argument :stderr.
35200         (wait_reading_process_output): Specially handle a pipe process when
35201         it gets an EOF.
35202         (syms_of_process): Register Qpipe and Smake_pipe_process.
35203         * doc/lispref/processes.texi (Asynchronous Processes): Document
35204         `make-pipe-process' and `:stderr' keyword of `make-process'.
35205         * lisp/subr.el (start-process): Suggest to use `make-process' handle
35206         standard error separately.
35207         * test/automated/process-tests.el (process-test-stderr-buffer)
35208         (process-test-stderr-filter): New tests.
35209         * etc/NEWS: Mention new process type `pipe' and its usage with the
35210         `:stderr' keyword of `make-process'.
35212 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
35214         Minor quoting etc. fixes to lispref manual
35215         * doc/lispref/tips.texi (Documentation Tips):
35216         Distinguish more clearly among grave accent, apostrophe,
35217         and single quote.
35218         * doc/lispref/README, doc/lispref/buffers.texi:
35219         * doc/lispref/commands.texi, doc/lispref/control.texi:
35220         * doc/lispref/customize.texi, doc/lispref/display.texi:
35221         * doc/lispref/elisp.texi, doc/lispref/files.texi:
35222         * doc/lispref/frames.texi, doc/lispref/hash.texi:
35223         * doc/lispref/help.texi, doc/lispref/internals.texi:
35224         * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
35225         * doc/lispref/markers.texi, doc/lispref/modes.texi:
35226         * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
35227         * doc/lispref/os.texi, doc/lispref/positions.texi:
35228         * doc/lispref/strings.texi, doc/lispref/syntax.texi:
35229         * doc/lispref/text.texi, doc/lispref/tips.texi:
35230         * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
35231         Use American-style double quoting in ordinary text,
35232         and quote 'like this' when single-quoting in ASCII text.
35233         Also, fix some minor spacing issues.
35235 2015-04-10  Michael Albinus  <michael.albinus@gmx.de>
35237         Handle symlinked test directory in tramp-tests.el
35238         * test/automated/tramp-tests.el (tramp-test18-file-attributes)
35239         (tramp--test-check-files): Use `file-truename' for directories.
35241 2015-04-10  Eli Zaretskii  <eliz@gnu.org>
35243         Fix 'recenter' when visual-line-mode is turned on
35244         * src/window.c (Frecenter): Use the same code for GUI and TTY
35245         frames alike; use vmotion only for "initial" frames.  This is
35246         because vmotion doesn't support visual-line-mode.  Rewrite the
35247         'iarg >= 0' case to use move_it_* functions instead of using
35248         vmotion, for the same reason.  Fix the clipping of the argument
35249         value to support scroll-margin in all cases and avoid unwarranted
35250         recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
35251         http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
35252         which see.
35254 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
35256         * lisp/abbrev.el (define-abbrev-table): Refine last change.
35258         * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
35259         use of c[ad]+r", so as to keep the "cl-" prefix on all
35260         cl-lib definitions.
35262         * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
35263         Use inhibit-point-motion-hooks.
35265         * lisp/cedet/semantic: Remove some dead code.
35266         * lisp/cedet/semantic/util-modes.el
35267         (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
35268         any more.
35269         * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
35270         not supported any more.
35271         (semantic-safe): Use `declare'.
35272         * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
35273         (semantic-tag-intangible-p): Remove unused functions.
35274         * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
35275         Remove unused function.
35277         * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
35278         (gnus-article-hide-text, gnus-article-unhide-text)
35279         (gnus-article-unhide-text-type): Remove special handling of
35280         `intangible' since that property is not used any more.
35281         (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
35283 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
35285         Use the VC root in `log-edit-listfun'
35286         * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
35287         `log-edit-listfun'.
35289 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
35291         Fix description of Unix time, mention new function.
35292         * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
35293         Unix time.
35294         * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
35295         (Basic Operations on Units): Mention `calc-convert-exact-units'.
35297 2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>
35299         * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
35301 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
35303         * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
35304         Don't add newline after the last entry.
35306 2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>
35308         css-mode.el: Add "not" pseudo-class
35309         (Bug#20267)
35310         * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
35311         list of CSS pseudo-classes.
35313 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
35315         * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
35317 2015-04-09  Michael Albinus  <michael.albinus@gmx.de>
35319         Stop messing with the EMACS env var
35320         * doc/emacs/misc.texi (Interactive Shell): Remove description of
35321         EMACS env var.
35323 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
35325         Adapt 'make change-history' to coding cookie
35326         * Makefile.in (change-history): Adjust to change of format of
35327         ChangeLog file, which now has a coding cookie before an indented
35328         copyright notice.
35330 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
35332         Adapt 'make change-history' to coding cookie
35333         * Makefile.in (change-history): Adjust to change of format of
35334         ChangeLog file, which now has a coding cookie before an indented
35335         copyright notice.
35337         gitlog-to-changelog coding cookie and mv -i
35338         * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
35339         for copyright notice prototype, so that we get a proper "coding:"
35340         cookie.  Use 'mv -i' to avoid unconditionally overwriting an
35341         existing ChangeLog.  Problems reported by Eli Zaretskii in:
35342         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
35344         Merge from gnulib
35345         * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
35346         2015-04-09 gitlog-to-changelog: port to MS-Windows
35348 2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
35350         * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
35351         (Bug#20212)
35353 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
35355         Stop messing with the EMACS env var
35356         (Bug#20202)
35357         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
35358         * lisp/comint.el (comint-exec-1):
35359         * lisp/term.el (term-exec-1): Don't set EMACS envvar.
35360         * lisp/progmodes/compile.el (compilation-start): Same and bring
35361         INSIDE_EMACS's format in line with other users.
35363         css-mode.el (css-smie-rules): Fix indentation after complex selectors
35364         (Bug#20282)
35365         * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
35366         inner structure of selectors.
35368 2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
35370         python.el: Indent docstring lines to base-indent
35371         (Bug#19595)
35372         Thanks to immerrr <immerrr@gmail.com> for reporting and providing
35373         an initial patch.
35374         * lisp/progmodes/python.el
35375         (python-indent-context): Add :inside-docstring context.
35376         (python-indent--calculate-indentation): Handle :inside-docstring.
35377         (python-indent-region): Re-indent docstrings.
35378         * test/automated/python-tests.el (python-indent-region-5)
35379         (python-indent-inside-string-2): Fix tests.
35381         python.el: Increase native completion robustness
35382         (Bug#19755)
35383         Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
35384         this and providing useful ideas.
35385         * lisp/progmodes/python.el
35386         (python-shell-completion-native-output-timeout): Increase value.
35387         (python-shell-completion-native-try-output-timeout): New var.
35388         (python-shell-completion-native-try): Use it.
35389         (python-shell-completion-native-setup): New readline setup avoids
35390         polluting current context, ensures output when no-completions are
35391         available and includes output end marker.
35392         (python-shell-completion-native-get-completions): Trigger with one
35393         tab only.  Call accept-process-output until output end is found or
35394         python-shell-completion-native-output-timeout is exceeded.
35396 2015-04-08  Samer Masterson  <samer@samertm.com>
35398         * lisp/eshell: Make backslash a no-op in front of normal chars
35399         (Bug#8531)
35400         * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
35401         (eshell-parse-backslash): Return escaped character after backslash
35402         if it is special.  Otherwise, if the backslash is not in a quoted
35403         string, ignore the backslash and return the character after; if
35404         the backslash is in a quoted string, return the backslash and the
35405         character after.
35406         * test/automated/eshell.el (eshell-test/escape-nonspecial)
35407         (eshell-test/escape-nonspecial-unicode)
35408         (eshell-test/escape-nonspecial-quoted)
35409         (eshell-test/escape-special-quoted): Add tests for new
35410         `eshell-parse-backslash' behavior.
35412 2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
35414         * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
35415         after the file name.
35416         (Bug#20276)
35418 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
35420         Minor quoting etc. fixes to Emacs manual
35421         * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
35422         * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
35423         * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
35424         * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
35425         * doc/emacs/indent.texi, doc/emacs/macos.texi:
35426         * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
35427         * doc/emacs/programs.texi, doc/emacs/rmail.texi:
35428         * doc/emacs/search.texi, doc/emacs/trouble.texi:
35429         * doc/emacs/vc1-xtra.texi:
35430         Use American-style double quoting in ordinary text,
35431         and quote 'like this' when single-quoting in ASCII text.
35432         Also, fix some minor spacing issues.
35434         Minor quoting etc. fixes to elisp intro
35435         * doc/lispintro/emacs-lisp-intro.texi: Consistently use
35436         American-style double quoting in ordinary text.  In ASCII text,
35437         consistently quote 'like this' instead of `like this', unless
35438         Emacs requires the latter.
35440 2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>
35442         * CONTRIBUTE: Mention log-edit-insert-changelog.
35444         * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
35446 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
35448         * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
35450 2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
35452         * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
35453         Fix inheritance of initargs.  (Bug#20270)
35455 2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>
35457         * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
35458         while dowloading information.
35460         * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
35461         (package--ensure-init-file): Check file contents before visiting.
35462         (package-initialize): Call it.
35463         (package-install-from-buffer, package-install): Don't call it.
35465 2015-04-08  Eli Zaretskii  <eliz@gnu.org>
35467         * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
35468         (Bug#17517)
35470 2015-04-08  Michael Albinus  <michael.albinus@gmx.de>
35472         * lisp/net/tramp-cache.el (tramp-flush-file-property):
35473         Fix nasty scoping bug.
35475 2015-04-08  Tassilo Horn  <tsdh@gnu.org>
35477         Add notice to visual commands section
35478         * doc/misc/eshell.texi (Input/Output): Add notice that some tools
35479         such as git call less with its -F option which omits pagination if
35480         the contents is less than one page long.  This interferes with
35481         eshell's visual (sub-)commands.
35483 2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>
35485         * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
35486         environment variable expansion in file names.  (Bug#19839)
35488 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
35490         Prefer double-quote to accent-grave in man pages
35492 2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
35494         (Bug#20257)
35495         * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
35497 2015-04-07  Ivan Shmakov  <ivan@siamics.net>
35499         Update etc/PROBLEMS.
35500         * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
35501         ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
35502         'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
35503         respectively); other minor updates and tweaks.  (Bug#20011)
35505 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
35507         Add doc strings for some Isearch state vars
35508         * lisp/misearch.el (multi-isearch-buffer-list)
35509         (multi-isearch-file-list): Add doc strings.
35510         (Bug#20232)
35512 2015-04-07  Alan Mackenzie  <acm@muc.de>
35514         Always mark "<" and ">" in #include directives with text properties.
35515         * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
35516         "anchored matcher" with an invocation of
35517         c-make-font-lock-search-function to allow fontification when there's
35518         no trailing space on an "#include <..>" line.
35520 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
35522         Generate a ChangeLog file from commit logs
35523         * .gitignore: Add 'ChangeLog'.
35524         * build-aux/gitlog-to-changelog: New file, from Gnulib.
35525         * build-aux/gitlog-to-emacslog: New file.
35526         * CONTRIBUTE: Document the revised workflow.
35527         * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
35528         instead of just special cases.
35529         (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
35530         (ChangeLog, unchanged-history-files, change-history)
35531         (change-history-commit): New rules.
35532         * admin/admin.el (make-manuals-dist--1):
35533         Don't worry about doc/ChangeLog.
35534         * admin/authors.el: Add a FIXME.
35535         * admin/make-tarball.txt:
35536         * lisp/calendar/icalendar.el:
35537         * lisp/gnus/deuglify.el:
35538         * lisp/obsolete/gulp.el:
35539         * lwlib/README:
35540         Adjust to renamed ChangeLog history files.
35541         * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
35542         * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
35543         Remove obsolete discussion of merging ChangeLog files.
35544         New section "Maintaining ChangeLog history".
35545         * build-aux/git-hooks/pre-commit:
35546         Reject attempts to commit files named 'ChangeLog'.
35547         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
35548         * make-dist: Make and distribute top-level ChangeLog if there's a
35549         .git directory.  Distribute the new ChangeLog history files
35550         instead of scattered ChangeLog files.  Distribute the new files
35551         gitlog-to-changelog and gitlog-to-emacslog.
35552         (Bug#19113)
35554         Rename ChangeLogs for gitlog-to-changelog
35555         This patch was implemented via the following shell commands:
35556         find * -name ChangeLog |
35557         sed 's,.*,git mv & &.1,
35558         s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
35559         s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
35560         s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
35561         s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
35562         s, src/ChangeLog\.1$, src/ChangeLog.13,' |
35563         sh
35564         git commit -am"[this commit message]"
35566 This file records repository revisions from
35567 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
35568 commit e1171de6d1922af4bb8e9b4eae2becf1b7b597d4 (inclusive).
35569 See ChangeLog.1 for earlier changes.
35571 ;; Local Variables:
35572 ;; coding: utf-8
35573 ;; End:
35575   Copyright (C) 2015-2017 Free Software Foundation, Inc.
35577   This file is part of GNU Emacs.
35579   GNU Emacs is free software: you can redistribute it and/or modify
35580   it under the terms of the GNU General Public License as published by
35581   the Free Software Foundation, either version 3 of the License, or
35582   (at your option) any later version.
35584   GNU Emacs is distributed in the hope that it will be useful,
35585   but WITHOUT ANY WARRANTY; without even the implied warranty of
35586   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35587   GNU General Public License for more details.
35589   You should have received a copy of the GNU General Public License
35590   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.