Rename option to shell-command-dont-erase-buffer
[emacs.git] / ChangeLog.2
blob4e792955e7b6ef535400204f1b30ed1e8b8470f5
1 2016-08-22  Philipp Stephani  <phst@google.com>
3         Some assorted documentation clarifications
5         * src/fileio.c (Fwrite_region): Clarify that END is ignored if
6         START is nil.
7         * src/editfns.c (Fbuffer_size): Add short discussion about
8         narrowing.
9         * src/callproc.c (Fcall_process_region): Discuss behavior when
10         START and END are not buffer positions.
12 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
14         Improve commentary in src/character.h
16         * src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
17         (MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
18         info from commentary and improve it.
20 2016-08-22  Dmitry Gutov  <dgutov@yandex.ru>
22         * etc/NEWS: Mention the change in json-encode-string.
24         The change was made to fix bug#20154, and came up again in bug#24239.
26 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
28         * src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
30         (Bug#24206)
32 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
34         Avoid segfaults due to quoting in 'substitute-command-keys'
36         * src/doc.c (Fsubstitute_command_keys): Correct character counts
37         when the input string is unibyte.  (Bug#24206)
39 2016-08-22  Martin Rudalics  <rudalics@gmx.at>
41         In NEWS describe new handling of window margins (Bug#24193)
43         * etc/NEWS: Describe new handling of margins when splitting or
44         resizing windows (Bug#24193).
46 2016-08-22  Martin Rudalics  <rudalics@gmx.at>
48         Facultatively ignore margins when splitting and resizing windows (Bug#24193)
50         Provide a new window parameter 'min-margins' which allows to
51         ignore the actual widths of a window's margins when splitting or
52         resizing that window horizontally.  This should serve as a
53         workaround for handling the problems raised by Bug#24193.
55         * lisp/window.el (window--min-size-1): Handle new window
56         parameter 'min-margins'.
57         (split-window): Fix text of error messages.
58         * doc/lispref/windows.texi (Window Parameters): Describe new
59         parameter 'min-margins'.
61 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
63         Document CATEGORY arg to modify-category-entry
65         * src/category.c (Fmodify_category_entry): Document CATEGORY argument.
67 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
69         Document char-script-table's effect on word motion
71         * doc/lispref/positions.texi (Word Motion): Talk about
72         char-script-table (Bug #10494).
74 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
76         Further fix for 'url-http-create-request' and multibyte strings
78         * lisp/url/url-http.el (url-http-create-request): Run
79         url-mime-charset-string through url-http--encode-string.
80         (Bug#24117)
82 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
84         Fix docstring of eval-expression
86         * lisp/simple.el (eval-expression): Fix the docstring to reflect the
87         fact that the prefix argument does not affect formatting for
88         integers (Bug #20691).
90 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
92         Clarify when 'cursor' property is in effect
94         * doc/lispref/text.texi (Special Properties): Minor copyedits.
95         (Bug#24179)
97 2016-08-22  Dmitry Gutov  <dgutov@yandex.ru>
99         Convert the remaining strings to unibyte before concatenating
101         * lisp/url/url-http.el (url-http--encode-string): New function.
102         (url-http-create-request): Use it to convert ASCII to unibyte.
103         (Bug#24117)
105 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
107         Fix bug with handling the bidi cache
109         * src/xdisp.c (redisplay_window): Save and restore the state of
110         the bidi cache before reusing the iterator after calls to
111         try_window and try_window_reusing_current_matrix.
113 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
115         * doc/lispref/text.texi (Change Hooks): Minor copyedits.
117 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
119         Clarify documentation of before/after-change-functions
121         * doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
122         not called in balanced pairs.
124 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
126         Document use of vectors in keymaps
128         * doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
129         format (Bug #14797).
131 2016-08-22  Alan Third  <alan@idiocy.org>
133         Post AppDefined events from the main thread ONLY (bug#23934)
135         * src/nsterm.h: Make nextappdefined var not just GNUStep.
136         * src/nsterm.m (ns_send_appdefined, sendFromMainThread): Remove GNUStep
138 2016-08-22  John Wiegley  <johnw@newartisans.com>
140         Update to the AUTHORS file for Bob Weiner
142                 * etc/AUTHORS: Update the packages attributed to Bob Weiner
144 2016-08-22  John Wiegley  <johnw@newartisans.com>
146         Revert "Fix local printer set to left aligned string formatter."
148         This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.
150 2016-08-22  John Wiegley  <johnw@newartisans.com>
152         Revert "Fix ses-delete-blanks to delete only blanks + documentation."
154         This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.
156 2016-08-22  John Wiegley  <johnw@newartisans.com>
158         Revert "Fix English."
160         This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.
162 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
164         Improve doc strings of 'gud-gdb' and 'gdb'
166         * lisp/progmodes/gdb-mi.el (gdb):
167         * lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)
169 2016-08-22  Eli Zaretskii  <eliz@gnu.org>
171         Fix doc string of 'minibuffer-message-timeout'
173         * src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
174         Doc fix.  (Bug#24123)
176 2016-08-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
178         Fix English.
180         * doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
181           incorrect English.
183 2016-08-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
185         Fix ses-delete-blanks to delete only blanks + documentation.
187         * doc/misc/ses.texi (Quick Tutorial): Mention the '!'
188         'ses-range' modifier as an alternative to 'ses+'.
189         (Advanced Features): Add a refernce to node 'Nonrelocatable
190         references' concerning function 'ses-rename-cell'.
191         (Standard formula functions): Mention the '!' 'ses-range'
192         modifier as an alternative to 'ses-delete-blanks'.
193         (More on cell printing): Fix fallback printer
194         definition.  Minor editorial formatting changes.
195         (Nonrelocatable references): Document the use of
196         'ses-rename-cell' as a better way to make cell reference
197         non-relocatable.
198         (The data area): Document the presence of local printer
199         definitions in the data area.
201         * lisp/ses.el (ses-delete-blanks): Do not remove
202         *error*.  Any error in an argument should propagate into the
203         using formula rather than being silently hidden !
205 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
207         profiler: document prefix arg for tree expansion
209         * doc/lispref/debugging.texi (Profiling):
210         * lisp/profiler.el (profiler-report-toggle-entry): Document use of
211         prefix argument to expand whole call trees.
213 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
215         Clarify usage of eshell-visual-options
217         * lisp/eshell/em-term.el (eshell-visual-options): Add second option to
218         example usage (Bug #19627).
220 2016-08-22  Noam Postavsky  <npostavs@gmail.com>
222         Fix comment in files-in-below-directory
224         * doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
225         say append, since the code is adding to front of list (Bug #21589).
227 2016-08-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
229         Fix local printer set to left aligned string formatter.
231         * lisp/ses.el (ses-local-printer-compile): Add missing case
232         for left-aligned string formatter.
234 2016-08-22  Nicolas Petton  <nicolas@petton.fr>
236         Bump Emacs version to 25.1 for the first RC
238         * README:
239         * configure.ac:
240         * lisp/ldefs-boot.el:
241         * msdos/sed2v2.inp: Bump Emacs version to 25.1.
243 2016-08-22  Nicolas Petton  <nicolas@petton.fr>
245         * etc/AUTHORS: Update the AUTHORS file
247         ;; * ChangeLog.2: ChangeLog update.
249 2016-08-22  Nicolas Petton  <nicolas@petton.fr>
250 2016-08-05  Nicolas Petton  <nicolas@petton.fr>
252         * admin/authors.el (authors-valid-file-names): Addition.
254 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
256         Warn about Cairo-related problems
258         * etc/NEWS: Warn about known problems in the Cairo build.
259         (Bug#23925)
261 2016-08-05  Paul Pogonyshev  <pogonyshev@gmail.com>
263         Don't let completion break `declare' handling
265         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Fix to not alter
266         `defun-declarations-alist' by side effect (Bug #23648).
268 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
270         Adjust match data before calling after-change-funs
272         It's important to adjust the match data in between calling
273         before-change-functions and after-change-functions, so that buffer
274         change hooks will always see match-data consistent with buffer content.
275         (Bug #23917)
277         * src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
278         true call update_search_regs.  Update all callers (except
279         Freplace_match) to pass 0 for the new parameter.
280         * src/search.c (update_search_regs): New function, extracted from
281         Freplace_match.
282         (Freplace_match): Remove match data adjustment code, pass 1 for
283         ADJUST_MATCH_DATA to replace_range instead.
285 2016-08-05  Mark Oteiza  <mvoteiza@udel.edu>
287         Do not show string-rectangle preview if minibuffer is empty
289         * lisp/rect.el (rectangle--string-preview): Remove condition that sets
290         preview string to the default replacement string.
292 2016-08-05  Achim Gratz  <Stromeko@nexgo.de>
294         * etc/PROBLEMS: Add entry about selection problems under Plasma 5.
296         Bug#24013
298 2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>
300         Port to glibc 2.24 (pre-release) + ppc64
302         Backport from master (Bug#24033).
303         Inspired by a suggestion by Florian Weimer in:
304         https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
305         * src/emacs.c (main) [__PPC64__]:
306         Special case for __PPC64__, which needs ASLR disabled in
307         dumped Emacs too.
309 2016-08-05  Katsumi Yamaoka  <yamaoka@jpl.org>
311         * lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
313         * lisp/net/shr.el (shr-fill-line):
314         Preserve text properties in folded lines (bug#24034).
316 2016-08-05  Robert Cochran  <robert-git@cochranmail.com>  (tiny change)
318         Expand FIXME near definition of fboundp
320         This expansion of the FIXME is so that future developers are aware of
321         the potential problems of aliasing fboundp to symbol-function without
322         taking backwards compatibility into account.
324         * src/data.c (fboundp): Note potential backwards compatibility issues in
325         FIXME.
327 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
329         kill-rectangle should mention killed-rectangle
331         * lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
332         and warning message, rather than kill ring (Bug#19773).
334 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
336         Avoid assertion violations in nhexl-mode
338         * src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
339         code executed in all builds.  (Bug#24001)
341 2016-08-05  Fredrik Bergroth  <fbergroth@gmail.com>  (tiny change)
343         Use memmove instead of memcpy on overlapping regions
345         * src/editfns.c (Ftranspose_regions): Regions may overlap, so
346         use memmove instead of memcpy (bug#19213).
349         This is a backport from trunk.
350         (cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)
352 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
354         Document buffer-swap-text+save-excursion interaction
356         * doc/lispref/buffers.texi (Swapping Text):
357         * src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
358         `buffer-swap-text' and `save-excursion' (Bug #4655).
360 2016-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
362         Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
364         * lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
365         * lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
366         mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
367         * lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
368         `class' is not a symbol but a class object.
370 2016-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
372         Include cl-generic in package--builtin-versions (bug#22817)
374         * lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
375         Add ourselves manually.  Don't merge since there's a better fix on master.
377 2016-08-05  Michael Albinus  <michael.albinus@gmx.de>
379         Improve timing in `tramp-test29-environment-variables'
381         * test/automated/tramp-tests.el
382         (tramp-test--shell-command-to-string-asynchronously):
383         Add additional `accept-process-output' call.
384         (tramp-test29-environment-variables): Remove additional sleep calls.
386 2016-08-05  Michael Albinus  <michael.albinus@gmx.de>
388         Add test for handling environment variables in Tramp
390         * test/automated/tramp-tests.el
391         (tramp-test--shell-command-to-string-asynchronously): New defun.
392         (tramp-test29-environment-variables): New test.
393         (tramp-test30-vc-registered)
394         (tramp-test31-make-auto-save-file-name)
395         (tramp-test32-special-characters)
396         (tramp-test32-special-characters-with-stat)
397         (tramp-test32-special-characters-with-perl)
398         (tramp-test32-special-characters-with-ls, tramp-test33-utf8)
399         (tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
400         (tramp-test33-utf8-with-ls)
401         (tramp-test34-asynchronous-requests)
402         (tramp-test35-recursive-load, tramp-test36-unload): Rename.
404 2016-08-05  Glenn Morris  <rgm@gnu.org>
406         * lisp/emacs-lisp/package.el (describe-package-1)
407         (package-status-external): Fix face references.  (Bug#23927)
409 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
411         Improve documentation of search functions
413         Make the documentation of the search functions more accurate,
414         complete, and uniform; in particular, extend the description of
415         the effect when the 'count' parameter is a negative number to all
416         of these functions.
418         * src/search.c (Fsearch_backward, Fsearch_forward)
419         (Fre_search_backward, Fre_search_forward)
420         (Fposix_search_backward, Fposix_search_forward):
421         * lisp/isearch.el (word-search-backward, word-search-forward)
422         (word-search-backward-lax, word-search-forward-lax): Improve doc
423         strings as described above.
425         * doc/lispref/searching.texi (String Search, Regexp Search)
426         (POSIX Regexps): Use 'count' instead of 'repeat' as the name of
427         the fourth parameter of the *-search-{forward,backward} functions
428         and improve documentation as described above.
430 2016-08-05  Michael Albinus  <michael.albinus@gmx.de>
432         Delete environment variables in Tramp when needed
434         * lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
435         (tramp-sh-handle-start-file-process)
436         (tramp-sh-handle-process-file, ): Use it.  (Bug#23952)
438 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
440         Add "New in Emacs 25" section to the FAQ
442         * doc/misc/efaq.texi (Latest version of Emacs): Update for later
443         versions.
444         (New in Emacs 25): New node.
445         (Status of Emacs): Add it to the menu.
447 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
449         Fix 'vertical-motion' in non-interactive sessions
451         * src/indent.c (Fvertical_motion): Don't return uninitialized
452         value in non-interactive session.  This fixes random errors in
453         batch mode, see
454         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
455         and
456         http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
457         for the details.
459 2016-08-05  Andreas Schwab  <schwab@linux-m68k.org>
461         Fix memory leak in imagemagick-types
463         * src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
464         avoid memory leak.
466 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
468         Update ELisp manual to match 'string-collate-equalp' doc string
470         * doc/lispref/strings.texi (Text Comparison): Remove reference to
471         sorting from the description of 'string-collate-equalp'.  (Bug#23902)
473 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
475         Clarify docstring of find-feature-regexp
477         * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
478         is optional (Bug #23520).
480 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
482         Add details to cl-lib defining macros' docstrings
484         * lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
485         of supported arglist forms (Bug #22462).
487 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
489         Clarify doc string of 'save-buffer'
491         * lisp/files.el (save-buffer): Clarify that backups might not be
492         made even if this command is invoked with 2 or 3 "C-u"s.
493         (Bug#3702)
495 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
497         Un-confuse doc string of 'string-collate-equalp'
499         * src/fns.c (Fstring_collate_equalp): Remove confusing text from
500         doc string.  (Bug#23902)
502 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
504         Clarify documentation of 'mouse-on-link-p'
506         * lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
507         argument.  (Bug#23899)
509 2016-08-05  Phillip Lord  <phillip.lord@russet.org.uk>
511         Fix missing undo-boundary on revert-buffer.
513         * lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
514         * src/fileio.c (insert-buffer-contents): Call
515           undo-auto--undoably-changed-buffers before changes.
517         Addresses Bug#23785.
519         Do not merge to master as c98bc98 also addresses the same bug.
521 2016-08-05  Martin Rudalics  <rudalics@gmx.at>
523         Amend last addition to etc/PROBLEMS
525         * etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings
527 2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>
529         Fix open-network-stream responsiveness
531         Problem reported by Christer Ekholm (Bug#23864).
532         Backport from master.
533         * src/process.c (wait_reading_process_output):
534         Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
535         when wait == INFINITY and got_output_end_time is invalid.
536         In this case the code should break, not continue.
538 2016-08-05  Phillip Lord  <phillip.lord@russet.org.uk>
540         Fix missing point information in undo
542         * src/undo.c (record_insert): Use record_point instead of
543           prepare_record, and do so unconditionally.
544           (prepare_record): Do not record first change.
545           (record_point): Now conditional on state before the last command.
546           (record_delete): Call record_point unconditionally.
547           (record_property_change): Use prepare_record.
548           (record_marker_adjustments): Use prepare_record.
550         Addresses Bug# 21722
552 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
554         Avoid crashes when buffer modification hooks clobber match data
556         * src/search.c (Freplace_match): Error out if buffer modification
557         hooks triggered by buffer changes in replace_range, upcase-region,
558         and upcase-initials-region clobber the match data needed to be
559         adjusted for the replacement.  (Bug#23869)
561 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
563         Note combine-and-quote-strings doesn't shell quote
565         * doc/lispref/processes.texi (Shell Arguments):
566         * lisp/subr.el (combine-and-quote-strings): Add a note that
567         combine-and-quote-strings doesn't protect arguments against shell
568         evaluation (Bug #20333).
570 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
572         Explain when package-initialize isn't called
574         * doc/lispref/os.texi (Startup Summary): Explain that package-initialize
575         is not called when options -q, -Q, or --batch were passed (Bug #19151).
577 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
579         Fix escaping in sh-indent-after-continuation docstr
581         * lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
582         escape backslashes in docstring (Bug#23046).
584 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
586         Clarify the documentation of back-references in replacements
588         * doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
589         with \1, not \0.
591         * lisp/replace.el (query-replace-regexp)
592         (query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)
594 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
596         Clarify lexical binding with symbol args behavior
598         * doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
599         arguments always refer to dynamic values (Bug #23781).  Remove mention
600         of obsolete restriction regarding lexical binding for defun and
601         defmacro, this no longer applies since 61b108cc 2012-05-29 "*
602         lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".
604 2016-08-05  Michael Albinus  <michael.albinus@gmx.de>
606         * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
608 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
610         * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.  (Bug#23865)
612 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
614         Avoid assertion violations when rendering some fonts
616         * src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
617         high" if its pixel_size value is zero.  This avoids assertion
618         violations at the end of x_produce_glyphs.
620 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
622         Document more details of package activation
624         * doc/emacs/package.texi (Package Installation): Explain that package
625         activation adds to load-path (Bug #21704).
627 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
629         Fixup warning message regarding HOME a bit more
631         * src/w32.c (init_environment): The manual section title is "Windows
632         HOME" (Bug #11612).  Move newline so warning fits in 80 character lines.
634 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
636         * lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.
638 2016-08-05  Michael Albinus  <michael.albinus@gmx.de>
640         Fix input method "probhat" for Bengali
642         Author: উৎসব রায় <uroybd@gmail.com>
644         * lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.
646 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
648         Add to elisp-completion-at-point's docstring
650         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
651         position dependent behavior (Bug #19854).
653 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
654             Eli Zaretskii  <eliz@gnu.org>
656         Give more helpful warning about setting HOME
658         * src/w32.c (init_environment): Improve warning message that pops when
659         Emacs sets HOME according to existence of C:\.emacs (Bug #11612).
661 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
663         Fix slow redisplay in term-mode
665         * lisp/term.el (term-mode): Move the setting of
666         bidi-paragraph-direction from 'ansi-term' to here, since term-mode
667         is also affected.  Do not merge to master, since there the problem
668         is solved in bidi.c by changing the regexps that delimit a
669         paragraph.  (Bug#23801)
671 2016-08-05  উৎসব রায়  <uroybd@gmail.com>
673         New input method "probhat" for Bengali
675         * lisp/leim/quail/indian.el ("probhat"): New input method.
676         (Bug#23822)
678         * etc/NEWS: Mention the new input method.
680 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
681             Drew Adams  <drew.adams@oracle.com>
683         Update docs for `customize-mode'
685         * lisp/cus-edit.el (customize-mode): This function works with both major
686         and minor modes, make docstring and prompt reflect that (Bug #23649).
688         * doc/lispref/modes.texi (Derived Modes): Remove note about
689         customize-mode being experimental; it has been around since Emacs
690         22 (Bug #11299).
692 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
694         Fix documentation of 'assoc-string' and 'compare-strings'
696         * src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
697         string comparison.  (Bug#23833)
698         * src/fns.c (Fcompare_strings): Fix the description of how
699         IGNORE-CASE affects the comparison.
701         * doc/lispref/strings.texi (Text Comparison): Clarify how
702         CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
703         the description of how IGNORE-CASE affects the comparison in
704         'compare-strings'.
706 2016-08-05  Dmitry Gutov  <dgutov@yandex.ru>
708         Error on multibyte characters in HTTP request
710         * lisp/url/url-http.el (url-http-create-request): Check the
711         constructed request in the end to verify that it does not contain
712         multibyte characters (bug#23750).
714 2016-08-05  Katsumi Yamaoka  <yamaoka@jpl.org>
716         * lisp/gnus/mm-decode.el (mm-convert-shr-links):
717         Mask keys that launch `widget-button-click' (bug#22157).
719 2016-08-05  Dmitry Gutov  <dgutov@yandex.ru>
721         Unset GIT_DIR when calling Git commands
723         * lisp/vc/vc-git.el (vc-git--call, vc-git-command):
724         Unset GIT_DIR (bug#23769).
726 2016-08-05  Phillip Lord  <phillip.lord@russet.org.uk>
728         Ensure undo-boundary after insert-file-contents.
730         * src/fileio.c: Record undoable change during insert-file-contents.
732         Addresses Bug #23785.
734 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
736         Clarify documentation of 'line-spacing' and 'line-height'
738         * doc/lispref/display.texi (Line Height): Clarify how the line
739         height is determined via variables and text properties.  (Bug#23806)
741 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
743         Fix removal of variables from process-environment
745         * src/callproc.c (add_env): Fix comparison of a variable with a
746         value against the same variable without a value.  (Bug#23779)
748 2016-08-05  Glenn Morris  <rgm@gnu.org>
750         * admin/authors.el (authors-ignored-files, authors-valid-file-names)
751         (authors-renamed-files-alist): Additions.
753         * admin/authors.el (authors-aliases, authors-fixed-case): Additions.
755 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
757         Fix documentation of completion functions
759         So that the described behavior matches the code (and docstrings).
761         * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
762         collections are used like string keys, not ignored (Bug #10416).
764 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
766         Clarify documentation of 'font-lock-maximum-decoration'
768         * doc/emacs/display.texi (Font Lock): Explain how to make the
769         customization of 'font-lock-maximum-decoration' effective for an
770         existing buffer.  (Bug#23783)
772 2016-08-05  Glenn Morris  <rgm@gnu.org>
774         * doc/misc/cl.texi (Usage): Add some more details.
776 2016-08-05  Noam Postavsky  <npostavs@gmail.com>
778         Fbackward_prefix_chars: stay within buffer bounds
780         The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
781         scanning" (1998-03-18), moved the check against of the position against the
782         buffer beginning out the loop condition so that we might end up checking
783         the syntax of characters before the beginning of the buffer.  This can
784         cause segfaults or trigger a "Point before start of properties" error in
785         `update_interval' (called indirectly from `char_quoted').
787         * src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
788         buffer is reached (Bug #3552, Bug #17132, Bug #19379).
790 2016-08-05  Paul Eggert  <eggert@cs.ucla.edu>
792         Fix ifdef-vs-if typo with RANDR13_LIBRARY
794         * src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
795         This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
796         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html
798         (cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)
800 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
802         Fix last todo-mode change
804         * lisp/calendar/todo-mode.el (todo-read-category): Return the
805         keymap in order to use its defined key bindings.
807 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
809         Improve last todo-mode fix
811         * lisp/calendar/todo-mode.el (todo-read-category): Use
812         set-keymap-parent instead of copy-keymap, and default (as
813         previously) to the global binding (for rationale, see
814         http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).
816 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
818         Fix todo-mode use of minibuffer completion keymap (bug#23695).
820         * lisp/calendar/todo-mode.el (todo-read-category): Don't
821         override minibuffer-local-completion-map globally (bug#23695).
822         Bind <SPC> key to self-insert-command.
824 2016-08-05  Glenn Morris  <rgm@gnu.org>
826         * src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23764)
828         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
829         Avoid mangling autoloads with unspecified arguments.  (Bug#21299)
831 2016-08-05  Glenn Morris  <rgm@gnu.org>
833         * lisp/help-fns.el (describe-function-1): Avoid reporting advised
834         autoloads as aliases.  (Bug#21299)
836 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
838         Minor grammar fix (bug#23746)
840         * doc/lispref/processes.texi (Synchronous Processes):
841         Another minor grammar fix (bug#23746).
843 2016-08-05  Stephen Berman  <stephen.berman@gmx.net>
845         Doc fixes for grammar and typos (bug#23746)
847         * doc/emacs/files.texi (Customize Save):
848         * doc/emacs/frames.texi (Window Dividers):
849         * doc/emacs/misc.texi (Printing):
850         * doc/lispref/compile.texi (Compiler Errors):
851         * doc/lispref/keymaps.texi (Changing Key Bindings):
852         * doc/lispref/loading.texi (Named Features):
853         * doc/lispref/markers.texi (Marker Insertion Types):
854         * doc/lispref/modes.texi (Mode Hooks):
855         * doc/lispref/text.texi (Undo):
856         * src/floatfns.c (Fldexp):
857         * src/xfaces.c (syms_of_xfaces):
858         Minor doc fixes for grammar and typos (bug#23746).
860 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
862         * doc/lispref/processes.texi (Process Buffers): Minor rewording.  (Bug#23446)
864 2016-08-05  Eli Zaretskii  <eliz@gnu.org>
866         Add cross-reference to ELisp manual
868         * doc/lispref/commands.texi (Classifying Events): Add
869         cross-reference to "Motion Events".  (Bug#23756)
871 2016-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
872 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
874         * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
876         Don't rewrite (funcall 'f ...) to (f ...).
878 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
880         Restore initial undo boundary with viper
882         * lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
883           boundary if it has been removed.
885         Addresses Bug#22295.
887 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
889         Revert "Fix viper undo breakage from undo-boundary changes"
891         This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.
893 2016-06-19  Ken Brown  <kbrown@cornell.edu>
895         Fix dbus crash on 32-bit Cygwin
897         * src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
898         connection address.  (Bug#23741)
899         (xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
900         address.
902 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
904         Bump version to 25.0.95
906         * README:
907         * configure.ac:
908         * lisp/ldefs-boot.el:
909         * msdos/sed2v2.inp: Bump Emacs version to 25.0.95.
911 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
913         * etc/AUTHORS: Update the AUTHORS file
915 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
917         add entries to authors.el
919         * admin/authors.el (authors-renamed-files-alist): Add char-fold files.
921 2016-06-19  Jules Tamagnan  <jtamagnan@gmail.com>
923         Fix eldoc-related freezes in python mode
925         * lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
926         (python-eldoc-function-timeout)
927         (python-eldoc-function-timeout-permanent): New defcustoms.
928         (python-eldoc-function): If python-eldoc--get-doc-at-point times
929         out, effectively turn off ElDoc in current buffer.  (Bug#23609)
931 2016-06-19  Martin Rudalics  <rudalics@gmx.at>
933         Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)
935         * lisp/mouse.el (mouse-set-region): If the mouse ends up in
936         another window or on the menu bar, use `window-point' of
937         selected window instead of `posn-point' of the event end
938         (Bug#23707).
940 2016-06-19  Marco Wahl  <marcowahlsoft@gmail.com>
942         org.el: Fix bindings of < and > for calendar scrolling
944         [This patch taken from upstream Org repo with 8b63dc9 dated
945         2014-10-20 (Bug#23725).]
946         * lisp/org/org.el (org-read-date-minibuffer-local-map):
947         Switch to the current calendar API for scrolling the calendar.
949 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
951         Fix undo boundary in recursive edit (Bug#23632)
953          * src/keyboard.c (recursive_edit_1): specbind
954            undo-auto--undoably-changed-buffers.
955          * lisp/simple.el (undo-auto--undoably-changed-buffers):
956            fix docstring.
958 2016-06-19  Glenn Morris  <rgm@gnu.org>
960         Doc fixes re alist-get.  (Bug#23548)
962         * lisp/subr.el (alist-get): Doc fix.
963         * doc/lispref/lists.texi (Association Lists): Improve alist-get.
965 2016-06-19  Glenn Morris  <rgm@gnu.org>
967         * lisp/progmodes/python.el (inferior-python-mode):
968         Avoid tabs.  (Bug#23616)
970         * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.
972 2016-06-19  Tino Calancha  <f92capac@gmail.com>
974         * lisp/help-fns.el (describe-function-1):
975         Fix handling of file name for aliases.  (Bug#21950)
977         * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
979         * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
981 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
983         Fix crash in syntax.c after GC
985         Problem reported by Vincent Belaïche (Bug#23704).
986         * src/syntax.c (skip_chars): Recompute pointers into the
987         buffer after every call to update_syntax_table_forward,
988         as it can GC.
990 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
992         Improve squiggly heredoc support in non-SMIE Ruby mode
994         * lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
995         squiggly heredocs here, too (port from upstream).
997 2016-06-19  Stephen Berman  <stephen.berman@gmx.net>
999         Fix doc string quoting
1001         * lisp/files.el (shell-quote-wildcard-pattern):
1002         * lisp/progmodes/vhdl-mode.el (vhdl-mode):
1003         * lisp/subr.el (replace-regexp-in-string):
1004         * lisp/view.el (view-mode):
1005         * src/nsfns.m (syms_of_nsfns):
1006         * src/syntax.c (Fbackward_prefix_chars):
1007         Fix quoting problems in doc strings (Bug#23696).
1009 2016-06-19  Martin Rudalics  <rudalics@gmx.at>
1011         Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
1013         * lisp/mouse.el (mouse-drag-line): With scroll bars on the left
1014         adjust trailing edge of window on the left when dragging the
1015         vertical divider of the mode line.  (Bug#23690)
1017 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1019         * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
1021         (Bug#23641)
1023 2016-06-19  Glenn Morris  <rgm@gnu.org>
1025         * test/automated/viper-tests.el (viper-test-undo-kmacro):
1026         Delete temp-file at end.
1028         * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
1030         * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
1032         * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
1033         Fix typo.  (Bug#23654)
1035 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1037         * lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)
1039 2016-06-19  Bill Wohler  <wohler@newt.com>
1041         Correct cl-flet usage (Bug#22317)
1043         * lisp/mh-e/mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
1044         macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
1045         * lisp/mh-e/mh-thread.el (mh-thread-set-tables):
1046         * lisp/mh-e/mh-show.el (mh-gnus-article-highlight-citation):
1047         * lisp/mh-e/mh-mime.el (mh-display-with-external-viewer):
1048         (mh-mime-display, mh-press-button, mh-push-button):
1049         (mh-display-emphasis): Call mh-flet instead of mh-cl-flet.
1051 2016-06-19  Bill Wohler  <wohler@newt.com>
1053         Release MH-E manual version 8.6
1055         * doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
1056         Update for release 8.6.
1058 2016-06-19  Mike Kupfer  <m.kupfer@acm.org>
1060         Update MH-E's documentation about HTML renderers
1062         * doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
1063         version (we are no longer trying to support multiple Emacs
1064         releases). Sort the table of HTML renderers by name (the previous
1065         ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
1066         the table. Remove the entry for w3 (no longer available).  Update
1067         existing entries so that they are more consistent about what features
1068         are discussed, and to reflect recent testing (Debian 8). Small tweaks
1069         to existing text.
1071 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1073         Fx the we->the typo
1075         * doc/emacs/trouble.texi (Sending Patches):
1076         Fix the typo (bug#23657).
1078 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1080         Restore frames into the current display by default
1082         * lisp/desktop.el (desktop-restore-in-current-display):
1083         Default to t, not nil (Bug#23604).
1084         * etc/NEWS: Mention the change.
1086 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1088         * lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).
1090         etc/TODO: Remove out-of-place issue
1092 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1094         Clarify doc string of 'file-name-sans-extension'
1096         * lisp/files.el (file-name-sans-extension, file-name-extension):
1097         Clarify in the doc strings what is the extension, and which
1098         leading period doesn't count.  (Bug#23643)
1100 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1102         Fix the MSDOS build
1104         * msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
1105         empty, and remove the lines which use them in recipes, as that
1106         causes weird error message from Make and breaks the MSDOS build.
1108 2016-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1110         * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
1111         substitute-command-keys to undo help--docstring-quote. (Bug#23634)
1113 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1115         * src/dired.c (Ffile_name_all_completions): Doc fix.  (Bug#23631)
1117 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1119         Fix infloop in 'number-sequence'
1121         * lisp/subr.el (number-sequence): Avoid overflow leading to an
1122         infloop.  (Bug#23627)
1124         * test/automated/subr-tests.el (number-sequence-test): New test.
1126 2016-06-19  Glenn Morris  <rgm@gnu.org>
1128         * lisp/emacs-lisp/find-func.el (find-function-library):
1130         Update for symbol-function no longer erroring.  (Bug#23626)
1132 2016-06-19  Glenn Morris  <rgm@gnu.org>
1134         * lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
1135         (w32-get-valid-locale-ids): Improve declarations.
1137 2016-06-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1139         Correct old cell name unbinding when renaming cell.
1141         Bug is to unbind old cell names when renaming a cell with
1142         'makunbound'. when the old cell name is of A1 type, then
1143         'kill-local-variable' must be used instead, so that only the current
1144         spreadsheet is affected. When the old cell name is a renamed cell,
1145         then 'ses--unbind-cell-name' must be used in order to remove the old
1146         name from the name hashmap.
1148         * lisp/ses.el (ses-rename-cell): check consistency of cell symbol from
1149         text-property and from array object. Instead of 'makunbound', use
1150         either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
1151         whether the cell old name is a named cell or an A1 type cell
1153 2016-06-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1155         Document problem: slow screen refresh on missing font.
1157         See discussion of bug#22519 for more on this.
1159 2016-06-19  Glenn Morris  <rgm@gnu.org>
1161         * admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
1163 2016-06-19  Glenn Morris  <rgm@gnu.org>
1165         * build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
1167         This is relevant for M-x add-release-logs right after M-x authors.
1169 2016-06-19  Glenn Morris  <rgm@gnu.org>
1171         * admin/admin.el (add-release-logs): Generate ChangeLog if needed.
1173 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1175         * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
1177 2016-06-19  Glenn Morris  <rgm@gnu.org>
1179         * admin/authors.el (authors): First update the ChangeLog.
1181         * admin/make-tarball.txt: Related updates.
1183 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1185         Rename vc-stay-local back to vc-cvs-stay-local
1187         * lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
1188         vc-stay-local (bug#19548).  Improve the docstring.
1189         (vc-cvs-stay-local-p): Update accordingly.
1191 2016-06-19  Glenn Morris  <rgm@gnu.org>
1193         * doc/emacs/files.texi (Comparing Files):
1194         * doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.
1196         * doc/misc/eww.texi (Advanced): Fix xref.
1198 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1200         Fix cross-references between manuals
1202         * doc/misc/viper.texi (Viper Specials):
1203         * doc/misc/url.texi (Tramp):
1204         * doc/misc/sem-user.texi (Smart Jump):
1205         * doc/lispintro/emacs-lisp-intro.texi (Finding More):
1206         * doc/misc/efaq.texi (Replacing text across multiple files): Fix
1207         cross-references between manuals.  (Bug#23612)
1208         * doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
1209         longer relevant to Emacs Lisp programming.
1211 2016-06-19  Glenn Morris  <rgm@gnu.org>
1213         * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
1215         * admin/admin.el (add-release-logs): Also update etc/HISTORY.
1217 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1219         Avoid aborting due to errors in arguments of 'set-face-attribute'
1221         * src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
1222         FRAME argument before using it.  This avoids gratuitous aborts in
1223         Emacs built with --enable-checking when the luser was unlucky
1224         enough to get the argument list in wrong order.
1226 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
1228         Add automated test for viper-tests.el
1230 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
1232         Fix viper undo breakage from undo-boundary changes
1234         * lisp/simple.el (undo-auto-disable-boundaries): New variable
1235         * lisp/emulation/viper-init.el (viper-undo-in-complex-command,
1236           viper-undo-needs-adjustment): Rename
1237           variable to reflect new purpose,
1238           (viper-buffer-undo-list-mark): Remove
1239         * lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
1240           Add undo using `undo-boundary', disable default undo-boundary
1241           addition.
1242         * lisp/emulation/viper-cmd.el
1243           (viper-complete-complex-command-for-undo,viper-adjust-undo):
1244           Change function name, remove old undo list manipulation.
1245         * lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
1246           viper-change-state-to-vi,viper-change-state):
1247           Update for function name change.
1249         Addresses Bug #22295
1251 2016-06-19  Kaushal Modi  <kaushal.modi@gmail.com>
1253         Fix reference to obsolete fn ps-eval-switch
1255         lpr-eval-switch is functionally the same as ps-eval-switch,
1256         which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
1257         So use that instead (Bug#19717).
1258         * lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
1259         ps-eval-switch.
1261 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1263         Do not trash symlinks to init file
1265         If the user’s init file is a symbolic link, do not break the link
1266         when initializing the package system.  Problem reported by Jackson
1267         Hamilton (Bug#23050).
1268         * lisp/emacs-lisp/package.el (package--ensure-init-file):
1269         Bind find-file-visit-truename when visiting the init file, and
1270         save and restore the buffer name the way cus-edit does in a
1271         similar situation (Bug#454).
1273 2016-06-19  Alan Mackenzie  <acm@muc.de>
1275         Don't print the "decomposition" line for control chars in what-cursor-position
1277         This is a temporary workaround for bug #23594, where the decomposition line
1278         for linefeed corrupted the display on a Linux virtual terminal.
1280         * lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
1281         character code properties printed for control characters.
1283 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1285         Bring back xterm pasting with middle mouse
1287         Problem reported by Jan Synáček.
1288         Solution suggested by Stefan Monnier (Bug#23519).
1289         * lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
1290         (xterm--pasted-text): New decl.
1291         (isearch-xterm-paste): New function.
1292         * lisp/term/xterm.el (xterm--pasted-text): New function,
1293         taken from xterm-paste internals.
1294         (xterm-paste): Use it.
1296 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1298         Provide workaround for xftfont rendering problem
1300         * src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
1301         New variable.
1302         (xftfont_open): Use it to work around problems with rendering some
1303         fonts.  (Bug#23360)
1305 2016-06-19  Jun Hao  <jun_hao@aol.com>
1307         * lisp/desktop.el: Disable restore frameset if in non-graphic display.
1309         (Bug#17693)
1311 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1313         Mention GTK+ problems in etc/PROBLEMS
1315         * etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
1316         problems this could create and the workaround.  (Bug#23587)
1318 2016-06-19  Artur Malabarba  <bruce.connor.am@gmail.com>
1320         * lisp/emacs-lisp/package.el (package-refresh-contents):
1322         Don't change the value of `package-check-signature'.
1323         (package-check-signature): Use `epg-find-configuration'
1324         instead of `executable-find'.
1326 2016-06-19  Daiki Ueno  <ueno@gnu.org>
1328         Revert "epg: Add a way to detect gpg1 executable for tests"
1330         This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
1332 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1334         Avoid errors with Czech and Slovak input methods
1336         * lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
1337         (slovak-prog-3): Remove the kp-* key bindings, they are not needed
1338         and cause errors in "C-u C-x =".
1339         * lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
1340         (czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
1341         (Bug#23559)
1343 2016-06-19  Daiki Ueno  <ueno@gnu.org>
1345         epg: Add a way to detect gpg1 executable for tests
1347         Fixes bug#23561.
1349         * test/automated/epg-tests.el
1350         (epg-tests-program-alist-for-passphrase-callback): New
1351         constant.
1352         (epg-tests-find-usable-gpg-configuration): New function,
1353         renamed from `epg-tests-gpg-usable'.  All callers changed.
1354         (epg-tests-gpg-usable): Remove.
1356         * lisp/epg-config.el (epg-config--program-alist): Factor out
1357         constructor element to...
1358         (epg-config--configuration-constructor-alist): ...here.
1359         (epg-find-configuration): Rename FORCE argument to NO-CACHE,
1360         and add PROGRAM-ALIST argument.
1362 2016-06-19  Artur Malabarba  <bruce.connor.am@gmail.com>
1364         * lisp/emacs-lisp/package.el: Fix free variable warnings.
1366         (package--with-response-buffer): Replace two usages of
1367         `macroexp-let2*' with `let'.
1369 2016-06-19  Artur Malabarba  <bruce.connor.am@gmail.com>
1371         * lisp/emacs-lisp/package.el (package--with-response-buffer):
1373         Fix some macro locals leaking into body.  (Bug#22440)
1375         * test/automated/package-test.el (package-test-signed):
1376         Manually check all possible values of `package-check-signature'.
1378 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1380         Improve documentation of 'server-name'
1382         * doc/emacs/misc.texi (Emacs Server): Fix example of setting
1383         'server-name'.  Mention how to do that with daemon sessions.
1384         (Bug#23576)
1386 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1388         Modernize ASLR advice in etc/PROBLEMS
1390         * etc/PROBLEMS (Segfault during 'make'): Modernize advice for
1391         seccomp, Docker, and NetBSD (Bug#23529).
1393 2016-06-19  Juri Linkov  <juri@linkov.net>
1395         * lisp/char-fold.el: Rename from character-fold.el.
1397         * lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
1398         * test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
1399         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
1401 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
1403         Bump version to 25.0.94
1405         * README:
1406         * configure.ac:
1407         * msdos/sed2v2.inp: Bump Emacs version to 25.0.94.
1409 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
1411         etc/AUTHORS: Update the AUTHORS file
1413 2016-06-19  Alan Third  <alan@idiocy.org>
1415         Fix bug#23462: Crash when iconifying frame on OS X.
1417         * src/nsterm.m (x_iconify_frame): Block input while miniaturize is
1418         running.
1420 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1422         Avoid shrinking windows with Gtk+ 3.20.3
1424         Problem reported by Matthias Clasen (Bug#23144).
1425         This was fixed in a different way in master.
1426         Do not merge to master.
1427         * src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
1428         Do not call xg_frame_resized in the MapNotify case.
1430 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1432         Fix bug in default setting of 'ps-paper-type'
1434         * lisp/international/mule-cmds.el (set-locale-environment): Don't
1435         inherit the value of locale from previous examination of different
1436         environment variables, which didn't look at LC_PAPER, and so using
1437         that value would effectively ignore the setting of LC_PAPER.
1438         (Bug#23544)
1440 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>  (tiny change)
1442         Properly reject malformed or empty package sigs
1444         Problem report and fix by Lizzie Dixon (Bug#23513).
1445         * lisp/emacs-lisp/package.el (package--check-signature-content):
1446         Report an error if no good signatures OR if a fatal error.  Not AND.
1448 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1450         Remove buggy non-native image scrolling
1452         This never worked, and could cause infinite recursion.
1453         Problem reported by Glenn Morris (Bug#22465).
1454         * lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
1455         All uses removed.
1457 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1459         * doc/misc/texinfo.tex: Sync from gnulib.
1461 2016-06-19  Glenn Morris  <rgm@gnu.org>
1463         * lisp/emacs-lisp/find-func.el (find-feature-regexp)
1464         (find-alias-regexp): Fix :version.
1466 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1468         Do not mistake colon at the end of regexp for slash symbol
1470         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1471         Check the parse state in the "Symbols with special characters"
1472         rule (bug#23515).
1474 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1476         Make package-install-from-buffer not move point
1478         * lisp/emacs-lisp/package.el (package-install-from-buffer):
1479         Use save-excursion here (bug#22616).
1481 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1483         Redo the fix for bug#21839
1485         * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
1486         (help--make-usage-docstring): Escape newlines when printing.
1488         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
1489         Ditto (bug#21839).
1491 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1493         Don't treat JS spread as contination method call
1495         * lisp/progmodes/js.el (js--indent-operator-re):
1496         Allow only one dot (bug#23492).
1498         * test/indent/js.js (default): Add a corresponding example.
1500 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1502         Allow newlines inside cl function arglists
1504         * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
1505         ARGLIST (bug#21839).
1507 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1509         Publicize cl--generic-all-functions
1511         * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
1512         Rename from cl--generic-all-functions.  Update both callers.
1514         * lisp/cedet/semantic/db-el.el
1515         (semanticdb-find-tags-external-children-of-type-method):
1516         And use it here (bug#23042).
1518 2016-06-19  Alan Mackenzie  <acm@muc.de>
1520         Add some "safe-local-variable" declarations for compatibility with master.
1522         These enable C files from the master repository to be visited in Emacs 25
1523         without generating irritating questions about configuration variable safety.
1525         * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
1526         functions.
1527         (c-noise-macro-names, c-noise-macro-with-parens-names): give the
1528         safe-local-variable property c-string-list-p.
1529         (c-macro-names-with-semicolon): give the safe-local-variable property
1530         c-string-or-string-list-p.
1532 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1534         Fix doc string in `insert'
1536         * src/editfns.c (Finsert_and_inherit): The before-insertion
1537         markers do not move.
1538         (Finsert): Ditto.
1540 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1542         * doc/misc/emacs-mime.texi (time-date): Document now-builtins better.
1544 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1546         Say 'All results processed' at the end
1548         * lisp/progmodes/xref.el (xref--query-replace-1):
1549         Say 'All results processed' at the end if the user hadn't
1550         cancelled the process (bug#23284).
1552 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1554         Document automatic adjustment of process' logical window dimensions
1556         * doc/lispref/processes.texi (Process Buffers): Document
1557         'set-process-window-size' and
1558         'window-adjust-process-window-size-function'.
1560         * etc/NEWS: Mention the new functionality and variable.
1562         * src/process.c (Fset_process_window_size): Improve the doc string.
1564 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
1566         tramp-sh.el: Work around a stat bug (backport from master)
1568         * lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
1569         stat versions which produce shell quoted output.  See also
1570         coreutils Bug#23422.
1572         (cherry picked from commit 6aad36ace9953b9672b13be68416d205532d5e59)
1574 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1576         Doc fixes for fclist and grep
1578         A newline is needed between two fc-list calls.
1579         egrep and fgrep have been withdrawn from POSIX,
1580         so document grep -E and grep -F instead.
1582 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1584         Minor doc fixes for quoting
1586         * doc/lispref/control.texi (Signaling Errors):
1587         * doc/lispref/display.texi (Displaying Messages):
1588         Don’t say that formats “generate”.  Try to word more clearly.
1589         * etc/NEWS: Coalesce near-duplicate entries.
1591 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1593         `nreverse' the marker pairs list
1595         * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
1596         the marker pairs list for each buffer before returning.
1598 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1600         Use save-excursion in xref-location-marker more
1602         * lisp/progmodes/elisp-mode.el (xref-location-marker): Use
1603         save-excursion, in order not to alter the value of point if the
1604         buffer is currently open in the background (problem reported by
1605         Robert Weiner).
1607         * lisp/progmodes/etags.el (xref-location-marker): Same.
1609 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1611         shell-quote-argument DIR when appropriate
1613         * lisp/progmodes/project.el (project-file-completion-table):
1614         `shell-quote-argument' DIR as well.
1616         * lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
1617         `shell-quote-argument' (bug#23453).  Thanks for Kaushal Modi for
1618         pointing out the problem.  Assert that DIR doesn't start with `~'.
1620 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1622         Rework xref-query-replace-in-results
1624         * lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
1625         all xrefs from the buffer first, then delegate most of the
1626         processing to the value returned by xref--buf-pairs-iterator.
1627         (xref--buf-pairs-iterator): New function.  Return an "iterator"
1628         which partitions returned markers into buffers, and only processes
1629         markers from one buffer at a time.  When an xref is out of date,
1630         skip it with a message instead of signaling error (bug#23284).
1631         (xref--outdated-p): Extract from xref--buf-pairs-iterator.  Trim
1632         CR from both strings before comparing.
1633         (xref--query-replace-1): Remove the variable current-buf, no need
1634         to track it anymore.  Simplify the filter-predicate and search
1635         functions accordingly.  Iterate over buffer-markers pairs returned
1636         by the iterator, and call `perform-replace' for each of them.  Use
1637         multi-query-replace-map (bug#23284).  Use `switch-to-buffer' every
1638         time after the first, in order not to jump between windows.
1640         * test/automated/xref-tests.el
1641         (xref--buf-pairs-iterator-groups-markers-by-buffers-1)
1642         (xref--buf-pairs-iterator-groups-markers-by-buffers-2)
1643         (xref--buf-pairs-iterator-cleans-up-markers): New tests.
1645 2016-06-19  Juri Linkov  <juri@linkov.net>
1647         * lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook
1649         to set minibuffer-local value of text-property-default-nonsticky.
1650         (Bug#23418, bug#23127)
1652 2016-06-19  Stephen Berman  <stephen.berman@gmx.net>
1654         Fix todo-mode bug involving archived items (bug#23447)
1656         * lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
1657         from Todo Categories mode to a category with only archived items
1658         and todo-skip-archived-categories is non-nil, make sure the
1659         archive file buffer is in Todo Archive mode to prevent
1660         todo-category-select from raising an error, and don't set
1661         todo-current-todo-file, since that makes todo-show display the
1662         archived category.  Remove a no-op call to kill-buffer, which is
1663         already called in todo-insert-category-line.
1665 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1667         Handle "empty line" regexp in xref searches
1669         * lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
1670         match if re-search-forward doesn't move point (bug#23426).
1672         * test/automated/xref-tests.el
1673         (xref-collect-matches-finds-an-empty-line-regexp-match):
1674         Uncomment test.
1676 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1678         Add tests for xref-collect-matches
1680         * test/automated/xref-tests.el: New file.  Add tests for
1681         xref-collect-matches.
1683 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1685         Use grep-find-ignored-directories instead of vc-directory-exclusion-list
1687         * lisp/dired-aux.el (dired-do-find-regexp):
1688         Use grep-find-ignored-directories instead of
1689         vc-directory-exclusion-list.  The result should be functionally
1690         similar (the former uses the latter as the default value), but it
1691         should be more consistent and appropriate WRT user
1692         customizations.
1693         (dired-do-find-regexp-and-replace): Update the docstring.
1695         * lisp/dired.el: Update the corresponding autoloads.
1697         * doc/emacs/dired.texi (Operating on Files): Update the
1698         documentation accordingly.
1700 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1702         Clear buffer-undo-list when showing xrefs
1704         * lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
1705         buffer-undo-list and temporarily bind it to t while rendering the
1706         buffer contents.
1708 2016-06-19  Alan Mackenzie  <acm@muc.de>
1710         Note the quote translation in `message' in section "incompatible changes".
1712         * etc/NEWS: Note that `message' translates quotes, that the translation
1713         cannot be disabled, and that `format' can be used to get the old
1714         behavior back.
1716 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1718         * etc/NEWS: Mention (message "%s" (format ...)).
1720 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1722         (Common Keywords): Correct what missing :group means
1724         * doc/lispref/customize.texi (Common Keywords): Correct what
1725         missing :group means.
1727 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1729         Improve documentation of Dired's 'A' and 'Q' commands
1731         * lisp/dired-aux.el (dired-do-find-regexp)
1732         (dired-do-find-regexp-and-replace): Mention
1733         'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
1734         also the fact that REGEXP should be palatable by Grep.  (Bug#23426)
1735         * lisp/dired.el: Update the corresponding autoload forms.
1737         * doc/emacs/dired.texi (Operating on Files): Mention
1738         'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
1739         (Bug#23429)
1741 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1743         Doc fixes for quoting
1745         * doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
1746         * doc/lispref/control.texi, doc/lispref/display.texi:
1747         * doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
1748         * src/callint.c, src/doprnt.c, src/editfns.c:
1749         Document quoting a bit more systematically.
1750         Problem reported by Alan Mackenzie (Bug#23425).
1752 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1754         posnp doc clarification
1756         * lisp/subr.el (posnp): Mention that a posn object is returned
1757         from `event-start' (bug#18211).
1759 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1761         Mention what a missing :group does
1763         * doc/lispref/customize.texi (Common Keywords): Document that
1764         a missing :group reuses the group from the preceding item (bug#21601).
1766 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
1768         Fix documentation of dired-aux search/replace commands
1770         * lisp/dired-aux.el (dired-do-find-regexp)
1771         (dired-do-find-regexp-and-replace): Doc fixes.  (Bug#23429)
1772         * lisp/dired.el: Update the corresponding autoload forms.
1774 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1776         Fix quoting problem in cc-engine debug message
1778         * lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
1779         Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
1780         likewise for ‘`’, and ‘%’.
1782 2016-06-19  Philipp Stephani  <phst@google.com>
1784         Add electric-quote-string unit test
1786         * test/automated/electric-tests.el (electric-quote-string): New test.
1788 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1790         Don’t electrically quote ‘'’ in Python
1792         Problem reported by Philipp Stephani (Bug#23387).
1793         * lisp/electric.el (electric-quote-post-self-insert-function):
1794         Do not requote a string starter or ender.
1796 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
1798         `nreverse' Grep hits before passing them to xref--convert-hits
1800         * lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
1801         before passing them to xref--convert-hits.  Fixes a regression
1802         from cc0b7132.
1804 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
1806         * doc/misc/texinfo.tex: Sync from gnulib.
1808 2016-06-19  Juri Linkov  <juri@linkov.net>
1810         * lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.
1812         (Bug#23410)
1814 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
1816         tramp.texi: Revert last change due to backward compatibility
1818         (cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)
1820 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1822         cua-prefix-override-inhibit-delay doc fix
1824         * lisp/emulation/cua-base.el
1825         (cua-prefix-override-inhibit-delay): Typo fix in doc string
1826         (bug#23401).
1828         (cherry picked from commit 2b4c099822811ede787fc6e575bfbb17b3cc0681)
1830 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1832         global-eldoc-mode doc fix
1834         * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
1835         specific about what "applicable" means (bug#23071).
1837         (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
1839 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1841         normal-top-level-add-subdirs-to-load-path doc fix
1843         * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
1844         Doc fix (bug#21962).
1846         (cherry picked from commit 28aaa6d20586e3330a23b017a65e56dd6461c003)
1848 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1850         isearch-search-fun-function doc tweak
1852         * lisp/isearch.el (isearch-search-fun-function): Mention what
1853         the STRING parameter is (bug#21552).
1855         (cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a)
1857 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1859         Fill some imenu--index-alist doc lines
1861         * lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
1863         (cherry picked from commit 4b7bb8f596550628eaa83b82c0f7eabe59a84964)
1865 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1867         Fmarker_position doc string clarification
1869         * src/marker.c (Fmarker_position): Clarify the doc string
1870         (bug#21231).
1872         (cherry picked from commit eeac7c57273cec3f9408b18392dd2bafe3be4450)
1874 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1876         Further define-obsolete-* doc fixups
1878         * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
1879         Fix up last change.
1880         (define-obsolete-variable-alias): Ditto.
1882         (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
1884 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1886         Describe WHEN in all the define-obsolete- macros
1888         * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
1889         Say more verbosely what WHEN is (bug#21225).
1890         (define-obsolete-function-alias): Describe the WHEN parameter.
1891         (define-obsolete-variable-alias): Ditto.
1893         (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
1895 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1897         Mention with-silent-modifications in the lispref manual
1899         * doc/lispref/text.texi (Changing Properties): Document
1900         with-silent-modifications (bug#21171).
1902         (cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
1904 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1906         with-silent-modifications doc clarification
1908         * lisp/subr.el (with-silent-modifications): Rearrange the doc
1909         string a bit so that the most pertinent information is at the
1910         top (bug#21171).
1912         (cherry picked from commit e0e70f030e69d9696a963a86f5f7caaff4df06eb)
1914 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1916         clear-visited-file-modtime doc string fix
1918         * lisp/files.el (clear-visited-file-modtime): Fix possibly
1919         confusing doc string wording (bug#21169).
1921         (cherry picked from commit 1aaeaf1450756a71c9254a2a5b174c72084ca67a)
1923 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1925         Document mode mode line variables
1927         * doc/lispref/modes.texi (Mode Line Variables): Document
1928         `mode-line-front-space, `mode-line-misc-info',
1929         `mode-line-end-spaces' (bug#21014).
1931         (cherry picked from commit bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)
1933 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1935         Add a cross ref to Optional Mode Line
1937         * doc/lispref/modes.texi (Mode Line Variables): Add a cross
1938         reference to the Emacs mode line node that explains things
1939         like `display-time-string' (bug#21002).
1941         (cherry picked from commit a3151a28789f413af73b14fbba557b2a587fca53)
1943 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1945         Add a doc string to display-time-string
1947         * lisp/time.el: Add a doc string to `display-time-string',
1948         because it's referred to in the manual, and is too mysterious
1949         otherwise (bug#21002).
1951         (cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)
1953 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1955         custom-buffer-style doc fix
1957         * lisp/cus-edit.el (custom-buffer-style): Document the `tree'
1958         value (bug#20724).
1960         (cherry picked from commit bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)
1962 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1964         Rearrange the doc of query-replace slightly
1966         * lisp/replace.el (query-replace): Move the mention of the
1967         interactive prefix arg earlier so that users can find it
1968         (bug#20654).
1970         (cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)
1972 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1974         apropos-print doc fix
1976         * lisp/apropos.el (apropos-print): Document the undocumented
1977         parameters (bug#20520).
1979         (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
1981 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1983         completion-table-with-predicate doc string fix
1985         * lisp/minibuffer.el (completion-table-with-predicate): t ->
1986         non-nil in the doc string (bug#20460).
1988         (cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)
1990 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
1992         Fill the completion-table-with-predicate doc string
1994         * lisp/minibuffer.el (completion-table-with-predicate): Fill
1995         the doc string (bug#20460).
1997         (cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)
1999 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2001         replace-match-maybe-edit doc clarification
2003         * lisp/replace.el (replace-match-maybe-edit): Say what
2004         MATCH-DATA is (bug#20304).
2006         (cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
2008 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2010         add-timeout doc fix
2012         * lisp/emacs-lisp/timer.el (add-timeout): Mention the return
2013         value (bug#20181).
2015         (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
2017 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2019         Extremely minor doc fix in Choosing Window
2021         * doc/lispref/windows.texi (Choosing Window): There's only one
2022         action alist, I think (bug#20158).
2024         (cherry picked from commit 6c7e7f421d02d9290d6d1d85320737371160aef7)
2026 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2028         Transform mentions of `eval-after-load' to `with-eval-after-load'
2030         * doc/lispref/loading.texi (Hooks for Loading): Update text to
2031         not mention `eval-after-load' (bug#20038).
2033         (cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)
2035 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2037         cursor-type doc fix
2039         * src/buffer.c (syms_of_buffer): Mention that cursor-type's
2040         WIDHT/HEIGHT can't exceed the frame char size (bug#19215).
2042         (cherry picked from commit 77c5f4554ebb3b7c7d49bc881e45a550f6c93987)
2044 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2046         Add a link from Tool Bar to Images
2048         * doc/lispref/keymaps.texi (Tool Bar): Add a link to the
2049         Images node (bug#19722).
2051         (cherry picked from commit da5d0786163a91400eced4fddba4a92b652458d1)
2053 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2055         (default-mode-line-format): More explicit obsolete info
2057         * lisp/subr.el (default-mode-line-format): Be more explicit in
2058         how default values are now handled (bug#19424).
2060         (cherry picked from commit 9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)
2062 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2064         Fcompare_buffer_substrings doc string clarification
2066         * src/editfns.c (Fcompare_buffer_substrings): Extremely minor
2067         doc string clarification (bug#19255).
2069         (cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
2071 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2073         insert-file-contents-literally doc fix
2075         * lisp/files.el (insert-file-contents-literally): Say that the
2076         parameters are explained in the other function (bug#18317).
2078         (cherry picked from commit b6481b19bc9592492b1f70dfecb4de6256f537fe)
2080 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2082         Fix custom types for cursor-in-non-selected-windows
2084         * lisp/cus-start.el (standard): Use the same custom types for
2085         cursor-in-non-selected-windows as for cursor-type (bug#19214).
2087         (cherry picked from commit b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)
2089 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2091         Doc clarification to mwheel-scroll
2093         * lisp/mwheel.el (mwheel-scroll): Mention that the restriction
2094         does not apply to Windows (bug#19209).
2096         (cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
2098 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2100         Clarify the doc of eval-expression-print-format
2102         * lisp/simple.el (eval-expression-print-format): Doc
2103         clarification (bug#19114).
2105         (cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)
2107 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2109         Explictly explain that package-initialize loads the packages
2111         * lisp/emacs-lisp/package.el (package-initialize): Be explicit
2112         in saying that `package-initialize' obviates adjusting the
2113         path or requiring the packages, as this is a question that
2114         apparently comes up now and then (bug#18829).
2116         (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
2118 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2120         Have the doc strings of `load-path' and `require' mention each other
2122         * src/fns.c (Frequire): Mention `load-path' and fill the doc
2123         string (bug#18829).
2125         * src/lread.c (syms_of_lread): Mention that `require' uses
2126         `load-path'.
2128         (cherry picked from commit 3eca9a03816f95da0030665223c0b5262f223ba7)
2130 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2132         Doc fix for insert-pair-alist
2134         * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
2135         COMMAND-CHAR is (bug#18809).
2137         (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
2139 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2141         Move doc of backup-directory-alist to the Backup node
2143         * doc/emacs/files.texi (Backup): Move the documentation of
2144         `backup-directory-alist' here from the "Single or Numbered
2145         Backups" node, because it doesn't seem to have much to do with
2146         numbering (bug#18692).
2148         (cherry picked from commit e77b8d84b4161f2cf8720dec2bf44a3e50134398)
2150 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2152         Tiny doc clarification for create-fontset-from-fontset-spec
2154         * lisp/international/fontset.el (create-fontset-from-fontset-spec):
2155         Clarify what the optional part is (bug#18686).
2157         (cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
2159 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2161         Fill the doc string of font-lock-keywords
2163         * lisp/font-lock.el (font-lock-keywords): Fill the lines and
2164         reorganise some explanations (bug#21427).
2166         (cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
2168 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2170         Doc fix for font-lock-remove-keywords
2172         * lisp/font-lock.el (font-lock-remove-keywords): Add a link to
2173         `font-lock-add-keywords' to describe KEYWORDS (bug#18634).
2175         (cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)
2177 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2179         Clarify whitespace-style doc string
2181         * lisp/whitespace.el (whitespace-style): Doc clarification
2182         (bug#18296).
2184         (cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
2186 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2188         Doc fixed for next-error-buffer-p
2190         * lisp/simple.el (next-error-buffer-p): Clarify doc string
2191         (bug#18202).
2193         (cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
2195 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2197         Tiny doc fix
2199         * src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
2200         (and fill) (bug#18201).
2202         (cherry picked from commit 2ef0040e2363a669d9b93df935d31c98fa130132)
2204 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2206         Doc fix
2208         * src/keymap.c (Fdefine_prefix_command): Clarify doc string
2209         slightly (bug#18092).
2211         (cherry picked from commit 6b769c81d024f7eeb90b167e7df6f87d859614d4)
2213 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2215         delsel doc touch ups
2217         * lisp/delsel.el (delete-selection-helper): Use non-nil
2218         instead of t and clarify function return values (bug#18089).
2220         (cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
2222 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2224         Doc fixes for menu-bar.el
2226         * lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
2227         REGION parameter (bug#18028).
2228         (clipboard-kill-region): Ditto.
2230         (cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
2232 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2234         Doc fix
2236         * lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
2238         (cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
2240 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2242         Minor doc clarification
2244         * lisp/subr.el (y-or-n-p): Document the return value from "n"
2245         (bug#18024).
2247         (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
2249 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2251         Fill font-lock-mode doc string
2253         * lisp/font-core.el (font-lock-mode): Fill the text to make it
2254         narrower (bug#18008).
2256         (cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
2258 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2260         Wrap the auto-generated doc string
2262         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
2263         string to make it less likely that we get overlong lines
2264         (bug#17999).
2266         (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
2268 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2270         Clarify hi-lock-find-patterns
2272         * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
2273         (bug#17989).
2275         (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
2277 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2279         Add a doc string to `winner-mode'
2281         * lisp/winner.el (winner-mode): Add a doc string based on the
2282         comments in the file (bug#17716).
2284         (cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
2286 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2288         Doc fix for align-newline-and-indent
2290         * lisp/align.el (align-newline-and-indent): Mention that
2291         alignment is done by `align' (bug#17707).
2293         (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
2295 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2297         Doc fix for `kbd'
2299         * lisp/subr.el (kbd): Describe more fully the format of the
2300         parameter (bug#17039).
2302         (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
2304 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2306         Doc tweak
2308         * lisp/simple.el (use-empty-active-region): Doc tweak.
2309         There's only one region (bug#16513).
2311         (cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
2313 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2315         Link from (emacs)Exiting to (lisp)Killing Emacs
2317         * doc/emacs/entering.texi (Exiting): Link to the lispref
2318         manual for further customizations (bug#15445).
2320         (cherry picked from commit bc5f27aa099cdde02ca66e71501b89300685ab28)
2322 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2324         find-lisp doc touchups
2326         * lisp/find-lisp.el (find-lisp-format): Copy over the doc
2327         string (bug#15047).
2328         (find-lisp-find-files): Clarify doc.
2330         (cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
2332 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2334         Don't have the manual claim that it lists all CL incompatibilities
2336         * doc/misc/cl.texi (Common Lisp Compatibility): The list of
2337         incompatibilities isn't exhaustive, so don't say that it is
2338         (bug#15171).
2340         (cherry picked from commit fb685bc91a72508c97ce7e30f970d4157677f371)
2342 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2344         Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
2346         * doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
2347         "mouse-[0-9]".  These are case sensitive, and the keys are lower case
2348         (bug#14554).
2350         (cherry picked from commit e4c26271f2c2fe08f8490e25c63a436ab2a804ca)
2352 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2354         Doc string change to enable-recursive-minibuffers
2356         * src/minibuf.c (syms_of_minibuf): Mention
2357         minibuffer-depth-indicator-mode in the doc string to
2358         enable-recursive-minibuffers (bug#14147).
2360         (cherry picked from commit 23ba488a5e8290c4de91e0ff4161641efa364c0d)
2362 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2364         Clarify the `interactive' doc string slightly
2366         * src/callint.c (Finteractive): Clarify the doc string slightly
2367           (bug#14577).
2369         (cherry picked from commit cd993be60da2d12db0d390001373d486c1091c47)
2371 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2373         Clarify some doc strings
2375         * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2376         Clarify doc string (bug#8693).
2377         (syntax-propertize): Clarify doc string.
2379         (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
2381 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2383         Add some concept index entries for custom types
2385         * doc/lispref/customize.texi (Composite Types): Add concept
2386         index entries for restricted-sexp, radio and choice (bug#7385).
2388         (cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)
2390 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2392         Mention `lisp-indent-function' in the lispref manual
2394         * doc/lispref/macros.texi (Indenting Macros): Mention
2395         `lisp-indent-function' (bug#3393).
2397         (cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)
2399 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
2401         Clarify doc string of internal compilation function
2403         * lisp/progmodes/compile.el (compilation-get-file-structure):
2404         Clarify doc string (bug#3137).
2406         (cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
2408 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2410         Use ‘T *restrict’ proto, not ‘T[restrict]’
2412         * src/fns.c (sort_vector_copy): Use a different way to attempt to
2413         work around GCC 3.0-and-earlier incompatibility with C99, one that
2414         does not have problems with modern non-GCC compilers.
2416 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2418         Fix documentation of 'url-retrieve-synchronously'
2420         * doc/misc/url.texi (Retrieving URLs): Update argument list of
2421         'url-retrieve-synchronously'.  (Bug#23411)
2423 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2425         * lisp/url/url.el (url-retrieve-synchronously): Doc fix.  (Bug#23411)
2427 2016-06-19  Leo Liu  <sdl.web@gmail.com>
2429         Fix last change to isearch-update (bug#23406)
2431         * lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
2432           nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
2433           ...) form.
2435 2016-06-19  Leo Liu  <sdl.web@gmail.com>
2437         Autoload cursor-sensor-inhibit (bug#23406)
2439         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
2440         * lisp/isearch.el (isearch-update): Remove boundp check.
2442 2016-06-19  Phillip Lord  <phillip.lord@newcastle.ac.uk>
2444         org-map-entries: Fix org-agenda-prepare-buffers call
2446         * lisp/org/org.el (org-map-entries): Check that buffer-file-name is non-nil
2447           before passing to org-agenda-prepare-buffers.
2449         This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
2450         from upstream org-mode. Addresses bug #23365.
2452 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2454         Followup for last commit in the user manual
2456         * doc/emacs/basic.texi (Moving Point): Clarify that
2457         set-goal-column has buffer-local effect.  (Bug#23405)
2459 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2461         Improve doc string of 'set-goal-column'
2463         * lisp/simple.el (set-goal-column): Doc fix.  (Bug#23405)
2465 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2467         Fix the MSDOS build
2469         * config.bat:
2470         * msdos/sedlisp.inp:
2471         * msdos/sedlibmk.inp:
2472         * msdos/sedleim.inp:
2473         * msdos/sedadmin.inp:
2474         * msdos/sed6.inp:
2475         * msdos/sed3v2.inp:
2476         * msdos/sed2v2.inp:
2477         * msdos/sed1v2.inp: Adapt to Emacs 25.
2479         * src/process.c (remove_slash_colon): Move out of "#ifdef
2480         subprocesses" block, as it its called unconditionally.  Move
2481         ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
2482         reference variables only defined in that block.
2483         * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
2484         faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
2485         dos_keysns, dos_keyread, run_msdos_command, and
2486         syms_of_win16select, to avoid compiler warnings.
2487         * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
2488         'environ', depending on the DJGPP version.
2489         Remove declarations of externally-visible Lisp objects, like
2490         Qbackground_color and Qreverse.
2491         (run_msdos_command): First argument is not signed, not unsigned.
2492         Use SYS_ENVIRON.
2493         (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
2494         the latter doesn't work when 'time_t' is an unsigned data type.
2495         This caused idle timers to behave incorrectly: they only fired
2496         after a keyboard input event.
2497         * src/frame.c (adjust_frame_size) [MSDOS]: Account for
2498         FRAME_TOP_MARGIN that isn't counted in the frame's number of
2499         lines, but dos_set_window_size needs it to be added.
2500         * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
2501         * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
2502         that works around compilation errors with older GCC versions.
2503         * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
2504         Objects.
2505         * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
2506         no-op implementations for 'lock_file' and 'unlock_file'.
2507         (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
2508         ifdefs in all users of filelock.c functionality.
2509         * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
2510         * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
2511         warnings.
2512         * src/dosfns.h: Provide prototypes for dos_cleanup,
2513         syms_of_dosfns, and init_dosfns.
2514         * src/deps.mk (atimer.o): Depend on msdos.h.
2515         (emacs.o): Depend on dosfns.h.
2516         * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
2517         warnings.
2519         * lisp/window.el (window--adjust-process-windows): Skip the body
2520         if 'process-list' is not available.  This avoids failure to start
2521         up on MS-DOS.
2522         * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
2523         'start-process', as the latter is now available on all platforms.
2524         * lisp/textmodes/ispell.el (ispell-async-processp): Replace
2525         'start-process' with 'make-process' in a comment.
2526         * lisp/term/internal.el (IT-unicode-translations): Modify and add
2527         a few translations to display Info files with Unicode markup.  Fix
2528         an ancient off-by-one mismatch error with Unicode codepoints.
2529         * lisp/progmodes/compile.el (compilation-start): Test
2530         'make-process', not 'start-process', as the latter is now
2531         available on all platforms.
2532         * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
2533         Test 'make-process', not 'start-process', as the latter is now
2534         available on all platforms.
2535         * lisp/international/mule-cmds.el (set-coding-system-map): Test
2536         'make-process', not 'start-process', as the latter is now
2537         available on all platforms.
2538         * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
2539         fix.
2540         (eshell-execute-pipeline): Test 'make-process', not
2541         'start-process', as the latter is now available on all platforms.
2543 2016-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2545         Remove \= from format string (bug#18190)
2547         * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
2548         string.
2550 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2552         Fix variable-pitch font on MS-Windows
2554         * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
2555         explicitly, to avoid Emacs picking up a bold-italic variant on
2556         some MS-Windows systems.  See this thread for details:
2557         http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
2559 2016-06-19  Alan Mackenzie  <acm@muc.de>
2561         Restore follow-scroll-up/down to scrolling by the combined size of all windows
2563         Also rename the current follow-scroll-up/down functions to
2564         follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
2565         height of the current window.
2567         This fixes bug #23347.
2569         * lisp/follow.el (follow-mode): Tweak the doc string.
2570         (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
2571         follow-scroll-up/down.
2572         (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
2573         follow-scroll-up/down.
2574         (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
2576 2016-06-19  Alan Mackenzie  <acm@muc.de>
2578         Revert unneeded change which harms syntactic parsing.  This fixes bug #23308.
2580         * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
2581         c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
2582         regardless of the value of `here'.
2584 2016-06-19  Alan Mackenzie  <acm@muc.de>
2586         Correct indentation of ids in a C++ enum after a protection keyword.
2588         Also correct the misfontification of the last enum identifier.
2590         * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
2591         c-last-identifier-range to nil to ensure that only types recognized by this
2592         macro are set for fontification as types.
2593         (c-backward-typed-enum-colon): Function renamed from
2594         c-backward-colon-prefixed-type.  On finding a colon in the backward search,
2595         check it is preceded by an identifier rather than a keyword.
2597 2016-06-19  Glenn Morris  <rgm@gnu.org>
2599         * lisp/window.el (window--process-window-list): No-op if no processes.
2601         This avoids an issue with save-selected-window (from walk-windows)
2602         failing if frame.el is not loaded, eg if the terminal is resized
2603         during startup of a -nw CANNOT_DUMP build.  (Bug#23369).
2605 2016-06-19  Paul Eggert  <eggert@penguin.cs.ucla.edu>
2607         Port dumping to NetBSD with PaX
2609         Problem reported by Thomas Klausner (Bug#23371).
2610         * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
2611         Set them to setfattr and/or paxctl commands appropriate for
2612         GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
2613         for paxctl only if setfattr is not found.
2614         * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
2615         New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
2616         All uses changed.
2618 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
2620         Don't mistake `for' inside a function for a part of array comprehension
2622         * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
2623         depth in parens between the bracket and `for' (bug#23391).
2625         * test/indent/js.js: Add a corresponding example.
2627 2016-06-19  Anders Lindgren  <andlind@gmail.com>
2629         Fix bug#22891: wrong terminal width when a fringe width is zero.
2631         When either fringe width is zero, Emacs reserved one column for a
2632         continuation glyph. Terminal windows does not take this into
2633         account when the frame is resized.
2635         * lisp/window.el (window-adjust-process-window-size): Use
2636         `window-max-chars-per-line' instead of `window-body-width'.
2637         * lisp/term.el (term-window-width): Remove function. (It does the
2638         same as `window-max-chars-per-line' but without recent bug fixes.)
2639         (term-mode): Use `window-max-chars-per-line' instead of
2640         `term-window-width'.
2642         Backport
2644         (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
2646 2016-06-19  Leo Liu  <sdl.web@gmail.com>
2648         Improve last change to vc-git-mode-line-string
2650         * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
2651           the result.
2653 2016-06-19  Stephen Berman  <stephen.berman@gmx.net>
2655         Todo mode doc bug fix
2657         * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
2658         longer correct information in doc string.
2660 2016-06-19  Leo Liu  <sdl.web@gmail.com>
2662         Fix revision calculation in vc-git-mode-line-string
2664         * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
2665           vc-git-working-revision because vc-working-revision needs to decide
2666           the backend and may return nil.
2668 2016-06-19  Jorgen Schaefer  <contact@jorgenschaefer.de>
2670         Add Python 3.5 keyword "await"
2672         * lisp/progmodes/python.el (python-font-lock-keywords): Add await as
2673         keyword.
2675 2016-06-19  Lele Gaifax  <lele@metapensiero.it>
2677         Add new keywords of Python 3.5
2679         Python 3.5, released in mid September 2015, introduced a few new
2680         keywords to better support asynchronous code, "async" and "await"
2681         in particular. See https://www.python.org/dev/peps/pep-0492/ for
2682         details. (Bug#21783)
2683         * lisp/progmodes/python.el (python-rx-constituents): Add async
2684         def/for/with as block-start and async def as defun.
2685         * lisp/progmodes/python.el (python-font-lock-keywords): Add async
2686         def/for/with as keyword.
2687         * test/automated/python-tests.el (python-indent-after-async-block-1,
2688         python-indent-after-async-block-2, python-indent-after-async-block-3,
2689         python-nav-beginning-of-defun-3): New tests to test indentation and
2690         navigation for the async keyword.
2692 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
2694         Partially revert previous change.
2696         This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
2697         * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
2698         This function is for rectangle-mark-mode, not string-rectangle.
2700 2016-06-19  Paul Eggert  <eggert@penguin.cs.ucla.edu>
2702         Say why text-quoting-style is not a user option
2704         * doc/lispref/help.texi (Keys in Documentation):
2705         * etc/NEWS: Document why text-quoting-style is not a
2706         customizable variable (Bug#23372).
2708 2016-06-19  Glenn Morris  <rgm@gnu.org>
2710         * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
2711         Future-proof against non-time-values.
2713 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2715         Don't mention ~/.emacs.bmk literally in doc strings
2717         * lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
2718         mention "~/.emacs.bmk" explicitly as the default bookmark file in
2719         the doc strings.  (Bug#23350)
2721 2016-06-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2723         * etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.
2725 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2727         Port to Ubuntu 16.04 --enable-gcc-warnings
2729         * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
2731 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2733         * etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
2735 2016-06-19  Tino Calancha  <f92capac@gmail.com>
2737         Don't kill ~/ if it's the top level directory
2739         * lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
2740         the top level directory (bug#23017).
2742 2016-06-19  Tino Calancha  <f92capac@gmail.com>  (tiny change)
2744         describe-char: fix insert char documentation
2746         * lisp/descr-text.el (describe-char):
2747         Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
2749 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
2751         (vc-git-mode-line-string): Don't use `replace-regexp-in-string'
2753         * lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
2754         instead of `replace-regexp-in-string', because REV can be nil
2755         (e.g. when FILE is a directory, bug#23344), and we actually know
2756         we only need the first 4 characters.
2758 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
2760         Bump version to 25.0.93
2762         * README:
2763         * configure.ac:
2764         * msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
2766 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
2768         * etc/AUTHORS: Update the AUTHORS file
2770         * admin/update_autogen: Use #!/usr/bin/env bash
2772         * admin/authors.el (authors-ignored-files): Additions.
2774 2016-06-19  Martin Rudalics  <rudalics@gmx.at>
2776         In x_set_window_size restore do_pending_window_change calls
2778         * src/xterm.c (x_set_window_size):
2779         * src/w32term.c (x_set_window_size): Restore
2780         do_pending_window_change calls after their stupid removal on
2781         2015-08-31.
2783 2016-06-19  Ilya Zakharevich  <ilya@math.berkeley.edu>
2785         Fix Alt-modified keys on some European MS-Windows keyboards
2787         * src/w32fns.c (deliver_wm_chars): If the reported character is
2788         ASCII, AND Meta modifier is a candidate, behave as if Meta is
2789         present, i.e. fall back to the legacy code.  (Bug#23251)
2791 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2793         Document 'help-go-forward'
2795         * doc/emacs/help.texi (Help Mode): Document and index
2796         'help-go-forward'.  (Bug#23323)
2798 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2800         Revert "Allow to customize names of executables used by grep.el"
2802         This reverts commit c93ae7a1e5a94541189a8f36984014344d561ffc.
2804 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2806         Revert "Don't use 'find-program'"
2808         This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0.
2810 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2812         Revert "Use 'grep-find-program' in check-declare.el"
2814         This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
2816 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2818         Clarify documentation of 'dired-mark-files-containing-regexp'
2820         * doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
2821         visited in buffers, 'dired-mark-files-containing-regexp' searches
2822         the buffer rather than the file on disk.  (Bug#22694)
2824         * lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
2825         for files visited in buffers, 'dired-mark-files-containing-regexp'
2826         searches the buffer rather than the file on disk.  (Bug#22694)
2828 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2830         Make tmm-menubar work in correct order again
2832         * lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
2833         beginning; instead, pass a reversed copy to 'tmm--completion-table'.
2834         (Bug#23309)
2835         (tmm-menubar): Fix an off-by-one error in determining the menu
2836         item when the function is called with a non-nil 'x-position'
2837         argument.
2839 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
2841         Remove the Meta-CVS VC backend
2843         * lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).
2845         * lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
2846         reference.
2848         * doc/misc/efaq-w32.texi (Version control): Same.
2850 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
2852         Fix Bug#23276
2854         * lisp/autorevert.el (auto-revert-handler): Ignore errors
2855         coming from `revert-buffer'.  (Bug#23276)
2857 2016-06-19  Reto Zimmermann  <reto@gnu.org>
2859         Sync with upstream vhdl mode v3.38.1.
2861         * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2862         (vhdl-mode): No longer set comment-padding.
2863         (vhdl-begin-p): Handle missing space between keyword and parenthesis.
2864         (vhdl-beginning-of-statement-1): Fix indentation for "else generate".
2865         (vhdl-template-else, vhdl-template-elsif): Support generate statement.
2866         (vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
2868 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2870         Tweak configure.ac syntax in recent module patch
2872         * configure.ac: Use proper Autoconf parenthesization in
2873         recent HAVE_MODULES patch.  Although this doesn’t fix any bugs,
2874         the previous syntax was confusing.
2876 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2878         Port to GCC 5.3.1 20160406 (Red Hat 5.3.1-6)
2880         * src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
2881         when using the April 6 Fedora patch to GCC.
2883 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
2885         Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)
2887         * lisp/progmodes/sh-script.el (sh-mode-hook): Add
2888         sh-electric-here-document-mode as an option and the default value.
2889         (sh-mode): Mention sh-mode-hook in docstring.
2890         (sh-mode): Remove sh-electric-here-document-mode invocation.
2892 2016-06-19  Glenn Morris  <rgm@gnu.org>
2894         * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.
2896 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
2898         Make use of rectangle-preview custom variable.
2900         lisp/rect.el (rectangle--string-preview): Only create a preview if
2901         rectangle-preview is non-nil (Bug#23248).
2903 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
2905         Make use of rectangle-preview face.
2907         * lisp/rect.el (rectangle--string-preview):
2908         (rectangle--highlight-for-redisplay): Replace 'region with
2909         'rectangle-preview (Bug#23248).
2911 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2913         Use 'grep-find-program' in check-declare.el
2915         * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
2916         'grep-find-program', not 'find-program'.
2918 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2920         Improve "C-h S" for cl-lib symbols
2922         * lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
2923         manuals.  (Bug#23289)
2925 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2927         Fix minor issues with removing left or right fringes
2929         * lisp/window.el (window-max-chars-per-line): Account for
2930         'left-fringe-width' and 'right-fringe-width' variables.
2932         * doc/lispref/windows.texi (Window Sizes): Document the effect on
2933         window text width when setting the width of one or both fringes to
2934         zero.
2935         * doc/emacs/display.texi (Fringes): Document the effect on window
2936         text width when setting the width of one or both fringes to zero.
2937         (Bug#22891)
2939 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2941         Speed up redisplay in ansi-term mode
2943         * lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
2944         (Bug#20611)
2946 2016-06-19  Philipp Stephani  <phst@google.com>
2948         Simplify 8-bit character handling by terminal for 'raw-text'
2950         * lisp/international/mule.el (set-keyboard-coding-system): Treat
2951         'raw-text' as another coding type that requires 8-bit characters.
2952         * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
2953         instead of 'latin-1'.
2955 2016-06-19  Glenn Morris  <rgm@gnu.org>
2957         * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux.  (Bug#22722)
2959 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
2961         Fix w32 memory-management problem when extending buffer text
2963         * src/w32heap.c (mmap_realloc): Only attempt extending a region if
2964         the following region has the same allocation base.  Also, use the
2965         original allocation base and enlarged size to commit reserved
2966         memory, to ensure that the allocation base stays at its original
2967         value.  This fixes several hard-to-debug problems whereby part of
2968         buffer text was overwritten with binary nulls, because
2969         mmap_realloc copied only part of buffer text when extending it.
2970         See
2971         http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00325.html
2972         and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
2973         examples of the related problems.
2975 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
2977         Fix Bug#20637.  Do not merge to master
2979         * lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
2980         Use `vc-backend' instead of `vc-responsible-backend'.  (Bug#20637)
2982         * test/automated/vc-tests.el (vc-test--state)
2983         (vc-test--working-revision): Deactivate now failing checks.
2985 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2987         substitute-command-keys keeps quotes’ text props
2989         Problem reported by Clément Pit--Claudel (Bug#23254).
2990         * src/doc.c: Include intervals.h.
2991         (Fsubstitute_command_keys): If the only substitutions are for
2992         quotes, copy the source string’s text properties too, since no
2993         substring lengths have changed.
2995 2016-06-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2997         * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.
2999 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3001         Add semantic-symref-filepattern-alist entry for lisp-interaction-mode
3003         * lisp/cedet/semantic/symref/grep.el
3004         (semantic-symref-filepattern-alist):
3005         Add entry for lisp-interaction-mode
3006         (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)
3008 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3010         Perform xref searches without visiting unopened files
3012         * lisp/progmodes/xref.el (xref-collect-references): Instead of
3013         calling `semantic-symref-find-references-by-name', use
3014         `semantic-symref-instantiate' and `semantic-symref-perform-search'
3015         directly.  Ask for `line-and-text' results (bug#23223).
3016         (xref-collect-matches): Include the line text in the "hit"
3017         structure.
3018         (xref--convert-hits): New function, split off from
3019         `xref-collect-references' and `xref-collect-matches', to convert
3020         "hits" to xref instance list.  Create a temporary buffer here, to
3021         use it for post-processing all hit lines.
3022         (xref--collect-matches): Use a different approach for non-visited
3023         files.  Insert the line text into the temp buffer, apply the
3024         file's major mode the best we can without reading its whole
3025         contents, syntax-propertize, and search in the result.
3026         (xref--collect-matches-1): Extract, to handle the common logic
3027         between two cases.
3028         (xref--find-buffer-visiting): New function, a wrapper around
3029         `find-buffer-visiting' to amortize its cost.
3031         * lisp/cedet/semantic/symref/idutils.el
3032         (semantic-symref-idutils--line-re): New constant.
3033         (semantic-symref-parse-tool-output-one-line): Support result type
3034         `line-and-text'.
3036         * lisp/cedet/semantic/symref/grep.el
3037         (semantic-symref-grep--line-re)
3038         (semantic-symref-parse-tool-output-one-line): Same.
3040         * lisp/cedet/semantic/symref/cscope.el
3041         (semantic-symref-cscope--line-re)
3042         (semantic-symref-parse-tool-output-one-line): Same.
3044         * lisp/cedet/semantic/symref/global.el
3045         (semantic-symref-global--line-re)
3046         (semantic-symref-parse-tool-output-one-line): Same.
3048 2016-06-19  Phillip Lord  <phillip.lord@newcastle.ac.uk>
3050         Revert "Prevent bootstrap autoload backup files"
3052         This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
3054 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3056         Improve time zone documentation
3058         * doc/lispref/os.texi (Time Zone Rules):
3059         New section, mostly with material moved here from other sections.
3060         * doc/emacs/cmdargs.texi (General Variables):
3061         * doc/lispref/os.texi (Time Conversion, Time Parsing):
3062         Xref new section.
3063         * etc/NEWS, etc/PROBLEMS:
3064         * lisp/org/org.el (org-timestamp-format):
3065         * src/editfns.c (Fformat_time_string, Fdecode_time)
3066         (Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
3067         (Fset_time_zone_rule):
3068         When documenting time zone rule strings, mention the TZ
3069         environment variable in preference to mentioning the
3070         sort-of-internal function set-time-zone-rule.
3072 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
3074         Prevent bootstrap autoload backup files
3076          * lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Suppress
3077            backups in newly created file.
3079           (autoload-ensure-default-file): Function split into two.
3080           (autoload-ensure-file-writeable): New function from split.
3082           (Bug#23203)
3084 2016-06-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3086         Disable multicolor fonts on OS X since they are not supported on free systems
3088         * src/macfont.m (macfont_list): Don't use color bitmap fonts.
3090 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3092         Capitalize “Universal Time” in documentation
3094         It’s a proper noun.
3095         * lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
3096         mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
3098 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3100         Don't use 'find-program'
3102         * lisp/progmodes/project.el (project-file-completion-table): Use
3103         'grep-find-program', rather than the obsolete 'find-program'.
3105 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3107         Sync with gnulib
3109         This is for picky compilers whose stdint.h fails our C11 tests.
3110         Problem reported for clang by Philipp Stephani (Bug#23261).
3111         This incorporates:
3112         2016-04-11 stdint: port to strict C11 left shift
3113         * doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.
3115 2016-06-19  Leo Liu  <sdl.web@gmail.com>
3117         Fix last change on 2016-01-02
3119         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move
3120           `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend'
3121           which highlights `cl-errs-re' even in comments or strings.
3123 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3125         Port run-prolog EMACS to SWI-Prolog 7.2.3
3127         * lisp/progmodes/prolog.el (prolog-ensure-process):
3128         Work around incompatibility of SWI-Prolog 7.2.3 and earlier
3129         with the new way of dealing with the EMACS and INSIDE_EMACS
3130         environment variables.
3132 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3134         Avoid crashes due to unreasonably large or small text scaling
3136         * lisp/face-remap.el (text-scale-min-amount)
3137         (text-scale-max-amount): New functions.
3138         (text-scale-set, text-scale-increase): Use them to limit the text
3139         scaling to a reasonable range of values.  (Bug#23259)
3141 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3143         Improve documentation of 'with-eval-after-load'
3145         * lisp/subr.el (with-eval-after-load): Doc fix.  (Bug#23258)
3147 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3149         Improve handling of non-ASCII characters in Git log messages
3151         * lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
3152         (vc-git-log-output-coding-system): New defcustom.
3153         (vc-git-print-log, vc-git-command, vc-git--call): Use
3154         'vc-git-log-output-coding-system' for reading stuff from Git.
3155         Don't override values of 'coding-system-for-read/write' if they
3156         are bound by caller -- this allows the user to force an encoding
3157         via "C-x RET c".
3158         (vc-git-checkin): On MS-Windows, pass the log message via a
3159         temporary file, to work around the limitations on passing
3160         non-ASCII characters via command-line arguments.  Force using the
3161         'locale-coding-system' for Git command-line arguments.  This fixes
3162         problems with non-ASCII commit log messages on MS-Windows.
3163         (Bug#23076)
3165         * etc/NEWS: Mention the new vc-git related defcustoms.
3167 2016-06-19  Philipp Stephani  <phst@google.com>
3169         Remove undefined behavior in OS X dumper.
3171         Found by Address Sanitizer.
3173         * src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
3174         avoid undefined behavior when reading arbitrary memory.
3176 2016-06-19  Joakim Verona  <joakim@verona.se>
3178         Fix clipping of xwidgets
3180         * src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box
3181         instead of calculating the clipping borders manually.  Suggested
3182         by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
3184 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3186         Improve Lisp-level documentation of tooltips
3188         * doc/lispref/display.texi (Tooltips): New section.  (Bug#23246)
3189         (Display): Update the chapter menu.
3190         * doc/lispref/text.texi (Special Properties): Make the "tooltip"
3191         index entry more concrete.  Change the cross-reference to point to
3192         "Tooltips" in the ELisp manual.
3193         * doc/lispref/elisp.texi (Top): Update the master menu.
3194         * doc/emacs/frames.texi (Tooltips): Include more customization
3195         variables.  Add a cross-reference to the ELisp manual.
3197 2016-06-19  Glenn Morris  <rgm@gnu.org>
3199         Faces names should not end in "-face".
3201         * lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face.
3202         * lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.
3204 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3206         * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.
3208 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3210         Comint and compile no longer set EMACS
3212         This mostly restores the change that I reverted on March 23,
3213         fixing most of Bug#20202.  The only part of the change that is
3214         still reverted is the change to M-x term, where compatibility with
3215         current Bash constrains us from moving too quickly (Bug#20484).
3216         Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
3217         * etc/NEWS: Document this.
3218         * lisp/comint.el (comint-exec-1):
3219         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
3220         * lisp/progmodes/compile.el (compilation-start):
3221         Don’t set EMACS=t in the subsidiary process.
3223 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3225         * lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)
3227 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3229         Allow to customize names of executables used by grep.el
3231         * lisp/progmodes/grep.el (grep-find-program): Renamed from
3232         'find-program', which was a variable.  All uses changed.
3233         (grep-xargs-program): Renamed from 'xargs-program', which was a
3234         variable.  All uses changed.
3235         (grep-program): Now a defcustom rather than a simple variable.
3236         (Bug#23219)
3238 2016-06-19  Alan Third  <alan@idiocy.org>
3240         Set locale encoding to UTF-8 when run from OS X GUI.
3242         * src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.
3244 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3246         Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt
3248         * lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors
3249         while 'ffap-guesser' runs.  (Bug#23218)
3251 2016-06-19  Marcin Borkowski  <mbork@mbork.pl>
3253         Avoid infinite loop in 'studlify-word'
3255         * lisp/play/studly.el (studlify-region): Call
3256         'forward-word-strictly' and 'backward-word-strictly' instead of
3257         'forward-word' and 'backward-word'.  (Bug#19940)
3259 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3261         Don’t recommend obsolete EMACS env var
3263         * doc/misc/efaq.texi (Escape sequences in shell output):
3264         Remove long-obsolete (and now-confusing) notes about
3265         the EMACS environment variable in Emacs 21.1 and earlier.
3266         * doc/misc/efaq.texi (^M in the shell buffer):
3267         * etc/PROBLEMS:
3268         Remove obsolescent recommendation to consult the EMACS environment
3269         variable.
3271 2016-06-19  Glenn Morris  <rgm@gnu.org>
3273         * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.
3275         * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.
3277 2016-06-19  Leo Liu  <sdl.web@gmail.com>
3279         Fix "Beginning of buffer" error in forward-page
3281         * lisp/textmodes/page.el (forward-page): Check before move to prevent
3282           "Beginning of buffer" error.
3284 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3286         Add a `transient' project type
3288         * lisp/progmodes/project.el (project-roots): Implement for the
3289         `transient' project type (bug#23224).
3290         (project-current): Instead of signaling an error, return a
3291         transient project instance rooted in the chosen directory.
3293 2016-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3295         Revert "Backport HTTPS proxy fix"
3297         This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db.
3299         It's too late in the Emacs 25 release cycle to add things like this to
3300         Emacs 25.1.  It's border line new feature.
3302 2016-06-19  Tao Fang  <fangtao0901@gmail.com>
3304         Backport HTTPS proxy fix
3306         Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024
3308         Backport:
3310 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3312         Fix stability confusion in sort-tests
3314         Problem reported by Philipp Stephani (Bug#23205).
3315         * test/automated/sort-tests.el:
3316         (sort-tests--insert-words-sort-and-compare):
3317         Don’t assume that reversing a sorted list is the same
3318         as sorting with the reverse predicate.  This is not true
3319         for stable sorts when items compare equal.
3321 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3323         Avoid describe-key error with lambdas
3325         Problem reported by Sho Takemori (Bug#22716).
3326         * lisp/cedet/mode-local.el (describe-mode-local-overload)
3327         (xref-mode-local-overload): Use function-overload-p instead
3328         of assuming the argument is a symbol.
3330 2016-06-19  Artur Malabarba  <bruce.connor.am@gmail.com>
3332         * lisp/emacs-lisp/package.el (package-install-selected-packages):
3334         Skip unavailable packages.
3336 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3338         Sync with gnulib
3340         This incorporates:
3341         2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
3342         2016-04-01 stddef: support configuring with g++
3343         * doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
3344         Copy from gnulib.
3346 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3348         Fix doc for Universal Time
3350         * doc/lispref/os.texi (Time of Day, Time Conversion):
3351         Be more careful about distinguishing UTC (which is not valid for
3352         pre-1961 time stamps) and UT (which is).
3353         (Time Parsing): Remove stray obsolete paragraph about a
3354         UNIVERSAL argument for ‘format-time-string’.
3356 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
3358         Handle Bug#23186
3360         * lisp/net/tramp.el (tramp-encoding-command-switch)
3361         (tramp-encoding-command-interactive):
3362         * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
3363         `tramp-encoding-shell' could be nil.  (Bug#23186)
3365 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3367         More format-time-string change fixups
3369         * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
3370         * lisp/org/org.el (org-timestamp-format):
3371         Fix doc to match new format-time-string behavior.
3372         * lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
3373         Use (not (not X)) to treat non-nil values of utc arg as UTC.
3375 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3377         make-xwidget unused arg cleanup
3379         * doc/lispref/display.texi (Xwidgets): Remove stray refs.
3380         * src/xwidget.c (syms_of_xwidget): Qwebkit, not Qwebkit_osr.
3382 2016-06-19  Joakim Verona  <joakim@verona.se>
3384         Remove unused arguments from make-xwidget
3386         The arguments BEG and END were unused, and are now removed.
3388         * doc/emacs/display.texi (Xwidgets): Document the change
3389         * lisp/xwidget.el (make-xwidget, xwidget-insert)
3390         (xwidget-webkit-new-session): Reflect changed arguments
3391         * src/xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
3393 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3395         Document incompatible changes in 'format-time-string'
3397         * etc/NEWS: Mention the incompatible change in the interpretation
3398         of the 3rd argument to 'format-time-string'.  (Bug#21943)
3400 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3402         Improve documentation of byte-code objects
3404         * doc/lispref/compile.texi (Byte-Code Objects): Document the
3405         integer format of the argument descriptor.  (Bug#23061)
3407 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3409         Adapt calls to 'format-time-string' to changes in Emacs 25
3411         * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
3412         last argument to format-time-string.  (Bug#23128)
3413         * lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
3414         last argument to format-time-string, when the TZ argument is not a
3415         number, per the doc string.
3417 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3419         Improve vc-diff with Git backend
3421         * lisp/vc/vc-git.el (vc-git-command): Don't override
3422         coding-system-for-read/write if they are already bound.
3423         Suggested by joaotavora@gmail.com (João Távora).  (Bug#20892)
3424         (vc-git-print-log): Don't override coding-system-for-read if it's
3425         already bound.
3427 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3429         (js--continued-expression-p): Special-case unary plus and minus
3431         * lisp/progmodes/js.el (js--continued-expression-p): Make an
3432         effort to recognize unary plus and minus, in the contexts where
3433         they make sense (https://github.com/mooz/js2-mode/issues/322).
3435 2016-06-19  Alan Mackenzie  <acm@muc.de>
3437         Prevent C++ Mode wrongly fontifying some identifiers near templates as types
3439         This fixes debbugs #7917.
3441         * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): Accept 'maybe
3442         (from c-forward-type) as sufficient to record an id.  Record type id as well
3443         as ref ids.
3444         (c-forward-name): Bind c-last-identifier-range around the call to
3445         c-forward-<>-arglist to prevent it getting corrupted.  Don't automatically
3446         assume an identifier is a type when a template ">" is followed by a "(".
3447         (c-forward-type): Don't automatically assume an identifier is a type when a
3448         template ">" is followed by a "(".
3450         * lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): Don't fontify an
3451         identifier as a type when its associated ">" is followed by a "(".
3453 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3455         Avoid crashes due to insanely large columns in tabulated-list-format
3457         * src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
3458         (produce_image_glyph): Limit the pixel width of the produced glyph
3459         to SHRT_MAX.  (Bug#23178)
3460         (append_composite_glyph, append_glyph, append_glyphless_glyph):
3461         Add assertions to verify that the pixel width of the glyph will
3462         never overflow a 'short'.
3463         * src/term.c (append_composite_glyph): Add assertion to verify
3464         that the pixel width of the glyph will never overflow a 'short'.
3466 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
3468         Teach M-x disassemble a default argument.
3470         Adopts default argument in the same way as `describe-function'.
3471         * lisp/emacs-lisp/disass.el (disassemble): Default to function at point,
3472         if any.
3474 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3476         Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows
3478         * lisp/vc/vc-annotate.el (vc-annotate): Force DOS EOL decoding on
3479         MS-Windows and MS-DOS, when processing the output of "svn annotate".
3481 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
3483         Fix OS X specific settings in tramp-tests
3485         * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3487         * lisp/net/tramp.el (tramp-get-local-locale): New defun.
3489         * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
3490         (tramp--test-utf8): Improve settings of coding systems.
3491         Do not use `tramp--test-darwin-p' anymore.  (Bug#22145)
3493 2016-06-19  Alan Mackenzie  <acm@muc.de>
3495         Finish fixing a cacheing bug in CC Mode (see 2016-03-09)
3497         * lisp/progmodes/cc-cmds.el: (c-beginning-of-defun, c-end-of-defun): Remove
3498         superfluous invocations of c-self-bind-state-cache.
3500         * lisp/progmodes/cc-defs.el: (c-self-bind-state-cache): Copy and terminate
3501         markers correctly.
3503         * lisp/progmodes/cc-engine.el (c-record-parse-state-state): Terminate stale
3504         markers.
3506 2016-06-19  Alan Mackenzie  <acm@muc.de>
3508         Merge branch 'emacs-25' of /home/acm/emacs/emacs.git/emacs-25 into emacs-25
3510 2016-06-19  Xue Fuqiao  <xfq.free@gmail.com>
3512         * doc/lispref/text.texi (Columns): Remove a nonexistent reference.
3514         The example was removed by Chong Yidong on Mar 5, 2012.
3516 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3518         * doc/man/emacsclient.1: Document +line:column option.
3520 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3522         Fix rare problems with echo-area display and multiple frames
3524         * src/xdisp.c (redisplay_window): Bind inhibit-redisplay non-nil
3525         around the call to x_consider_frame_title, to prevent
3526         resize_mini_window from undoing echo-area display.  (Bug#23124)
3528 2016-06-19  Alan Mackenzie  <acm@muc.de>
3530         In M-%, avoid making buffer-local binding of text-property-default-nonsticky
3532         This would happen when that variable already has a buffer local binding.  Such
3533         a binding would not be seen by read-from-minibuffer.  This fixes bug #23127.
3535         * lisp/replace.el (query-replace-read-from): Move the binding of
3536         text-property-default-nonsticky to inside of a new with-current-buffer buffer
3537         form with the minibuffer as argument.
3539 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3541         Remove prog-indentation-context
3543         * lisp/progmodes/prog-mode.el: (prog-indentation-context)
3544         (prog-first-column, prog-widen): Remove, as discussed in
3545         http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01425.html.
3547         * doc/lispref/text.texi (Mode-Specific Indent): Remove references
3548         to them.
3550         * etc/NEWS: Ditto.
3552         * lisp/progmodes/python.el: (prog-widen, prog-first-column):
3553         Remove the compatibility aliases and all uses.
3555         Do not merge to master.
3557 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3559         * src/font.c (QCuser_spec): Add missing colon to :user-spec.
3561 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3563         Don't start the 'midnight' timer twice
3565         * lisp/midnight.el (midnight-mode): Avoid starting the midnight
3566         timer twice when activating the mode the first time.  (Bug#23123)
3568 2016-06-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3570         * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
3572 2016-06-19  Stephen Berman  <stephen.berman@gmx.net>
3574         Fix todo-mode category movement
3576         * lisp/calendar/todo-mode.el (todo-move-category): Use moved
3577         category's existing categories sexp instead of invoking
3578         todo-update-categories-sexp in file moved to, in order to take
3579         archived items into account.  If the moved category has archived
3580         items, handle the source archive buffer properly.  Remove
3581         superfluous code.
3583 2016-06-19  Glenn Morris  <rgm@gnu.org>
3585         * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.
3587 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3589         Ignore non-nil. non-cons values of unread-command-events
3591         * src/keyboard.c (requeued_events_pending_p, read_char)
3592         (Finput_pending_p): Use CONSP instead of !NILP to see if there are
3593         unread command events to be processed.  (Bug#22976)
3595 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3597         Improve documentatuon of 'truncate-partial-width-windows'
3599         * src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
3600         Clarify in the doc string how the width of partial-width windows
3601         is computed for the purposes of truncation decision.  (Bug#4338)
3603         * doc/emacs/windows.texi (Split Window): Clarify how the width of
3604         windows is calculated for the purposes of truncation decision.
3605         * doc/emacs/display.texi (Line Truncation): Remove a redundant
3606         index entry.
3608 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3610         * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU style.
3612 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3614         Fix 'dired-goto-file' in Dired buffers produced by find-dired
3616         * lisp/dired.el (dired-goto-file): Try looking for the file as a
3617         relative name with leading sub-directories, before looking for the
3618         basename alone.  (Bug#23089)
3620 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
3622         Fix map-put and map-delete for alists (Bug#23105)
3624         * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
3625         expression to a new symbol.
3626         * test/automated/map-tests.el: Add a regression test.
3628 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3630         Minor copyedits of documentation for temporary displays
3632         * doc/emacs/windows.texi (Temporary Displays): Improve indexing.
3633         Minor changes in wording.
3634         (Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
3635         index entries for 'display-buffer'.
3637         * etc/NEWS: Minor rewording of the entry about temporary displays.
3639 2016-06-19  Philipp Stephani  <phst@google.com>
3641         Add customization option for using UTF-8 coordinates in xt-mouse
3643         * lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
3644         (xterm-mouse--read-coordinate): New function to replace
3645         `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
3646         (xterm-mouse--read-number-from-terminal): Adapt to new name.
3647         (xterm-mouse-tracking-enable-sequence)
3648         (xterm-mouse-tracking-disable-sequence): Replace constants with
3649         functions, mark constants as obsolete.
3650         (xterm-mouse--tracking-sequence): New helper function.
3651         (turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
3652         enable UTF-8 only if customization option says so; store UTF-8
3653         flag in terminal parameter.  (Bug#23009)
3655         * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
3657 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3659         Minor doc string fixes in replace.el
3661         * lisp/replace.el (query-replace, query-replace-regexp)
3662         (query-replace-regexp-eval, map-query-replace-regexp)
3663         (replace-string, replace-regexp): Clarify in doc strings that
3664         these commands operate from point to the end of the buffer's
3665         accessible portion.  (Bug#23067)
3667 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3669         Fix scrolling upwards with 'xwidget-webkit-browse-url'
3671         * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
3672         of CHECK_NATNUM.  Suggested by Shayan Pirani <shayanpirani@gmail.com>.
3673         (Bug#22918)
3675 2016-06-19  K. Handa  <handa@gnu.org>
3677         Fix display of Indic scripts
3679         * src/ftfont.c (ftfont_shape_by_flt): For combining characters out
3680         of the range U+300...U+36F, use the "combining" FLT only with
3681         non-OTF fonts.
3683 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3685         Fix splash screen display at startup
3687         * src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
3688         window displayed by "emacs -q" has enough space to show the whole
3689         text even if it includes 2 lines talking about recovering crashes
3690         sessions.  (Bug#23074)
3692         * lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
3693         error when computing the window-height from frame-height.
3695         * etc/NEWS: Mention the change.
3697 2016-06-19  Martin Rudalics  <rudalics@gmx.at>
3699         Describe temporary displays in Emacs manual
3701         * doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
3702         * doc/emacs/windows.texi (Window Choice): Minor fixes.
3703         (Temporary Displays): New subsubsection describing display of
3704         temporary buffers and `temp-buffer-resize-mode'.
3706 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3708         Avoid stray As next to IDLW icons
3710         * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
3711         Use "" for empty labels, not "a", as the latter now displays stray
3712         "A"s (Bug#18997).
3714 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3716         Avoid GTK 3 crash with icons and masks
3718         Problem reported by Mosè Giordano (Bug#18997).
3719         * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
3720         (xg_get_pixbuf_from_pix_and_mask): Do not use
3721         xg_get_pixbuf_from_pixmap, as it is poorly documented.  Instead,
3722         invoke XGetPixel directly.  This is slow but speed is not
3723         important here.  Also, fail for unusual situations (not TrueColor,
3724         or images that are not 8 bits per sample) instead of displaying
3725         junk or crashing.
3727 2016-06-19  Juri Linkov  <juri@linkov.net>
3729         * lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
3731         instead of shrink-window-if-larger-than-buffer.  (Bug#23092)
3733 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3735         Define make_save_ptr_ptr unconditionally
3737         * src/alloc.c (make_save_ptr_ptr): Remove the !(defined
3738         USE_X_TOOLKIT || defined USE_GTK) conditional.  Reported by
3739         Philipp Stephani <phst@google.com>.  (Bug#23101)
3741 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3743         Preserve current buffer when popping up TTY menus
3745         * src/term.c (tty_menu_show): Be sure to save and restore the
3746         current buffer around TTY menu pop-ups.  (Bug#23101)
3748 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3750         Improve font selection by family on MS-Windows
3752         * src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
3753         in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
3754         This avoids rejecting many font families whose members are shown
3755         by 'font-family-list', in particular 'courier' requested by
3756         info.el.  Without this change, many values of ':family' attribute
3757         of a face have no effect on MS-Windows, because they are rejected
3758         due to bogus mismatch of the charset.
3760 2016-06-19  Paul Eggert  <eggert@penguin.cs.ucla.edu>
3762         Comint, term, and compile now set EMACS
3764         This fixes directory tracking in ansi-term, at the expense of
3765         breaking some usages of 'configure'.  Setting EMACS is meant to be
3766         a somewhat temporary measure, until Bash 4.4 comes out and is
3767         common.  (Bug#20484).
3768         * etc/NEWS: Document this.
3769         * lisp/comint.el (comint-exec-1):
3770         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
3771         * lisp/progmodes/compile.el (compilation-start):
3772         * lisp/term.el (term-exec-1):
3773         Go back to setting the EMACS environment variable, for backward
3774         compatibility to Bash 4.3 and earlier.
3776 2016-06-19  Paul Eggert  <eggert@penguin.cs.ucla.edu>
3778         Ignore more merges when generating ChangeLog
3780         * build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
3781         not merely those from master and emacs-NN.  The ChangeLog entries
3782         they generate are not that useful.
3784 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3786         Sync with gnulib
3788         This incorporates:
3789         2016-03-22 gitlog-to-changelog: suppress ignored chatter
3790         2016-03-21 sys_select: port to new Cygwin
3791         * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
3792         * lib/sys_select.in.h: Copy from gnulib.
3794 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3796         Resurrect GNUS-NEWS autogeneration
3798         * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
3799         GNUS-NEWS section to match current file locations and procedure.
3800         * etc/GNUS-NEWS: Regenerate by using new procedure.
3801         * lisp/Makefile.in (update-gnus-news): New rule, containing a
3802         procedure for building GNUS-NEWS.  The old procedure got lost
3803         somehow when Gnus was merged into Emacs.
3805 2016-06-19  Anders Lindgren  <andlind@gmail.com>
3807         Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).
3809         * src/nsterm.m (ns_screen_margins): New function.
3810         (ns_screen_margins_ignoring_hidden_dock): New function.
3811         (ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
3812         ([EmacsWindow zoom:]): Take all screen margins (except those
3813         originating from a hidden dock) into account.
3815 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3817         Fix bug in displaying header line with a box face
3819         * src/xdisp.c (get_next_display_element): Handle the case when a
3820         display string acquires the box face from an underlying string,
3821         not from the buffer.  (Bug#23091)
3823 2016-06-19  Kaushal Modi  <kaushal.modi@gmail.com>
3825         Fix an Isearch var to be a string (Bug#23038)
3827         * lisp/isearch.el (isearch--describe-regexp-mode): The `description' var
3828           needs to always be a string.  Add the missing default case for the
3829           cond form that ensures that.
3831         Before this bug fix, for the events when `regexp-function' and
3832         `search-default-mode' both were nil, `description' also stayed nil.  So
3833         when `space-before' was non-nil, the "non-string" `description'
3834         (with a value of nil) got passed as an argument to
3835         `replace-regexp-in-string' (where a string was expected).  That caused
3836         the error described in Bug#23038.
3838 2016-06-19  Leo Liu  <sdl.web@gmail.com>
3840         Fix (args-out-of-range 1) error in cursor-sensor--detect
3842         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
3843           hard-code (point-min) as 1 which fails in narrowed buffers.
3845 2016-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3847         Render empty <ul><li><ul> correctly
3849         * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
3850         correctly (bug#22964).
3851         (cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)
3853         Backport:
3855 2016-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3857         Ignore invalid base64 encoded embedded images
3859         * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
3860         encoded embedded images (bug#22928).
3861         (cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)
3863         Backport:
3865 2016-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3867         Fix <p> and <div> newlines with or without <li> in shr
3869         * lisp/net/shr.el (shr-ensure-newline): Respect that we're in
3870         a <li>, if we are, and don't insert newlines there.
3871         (shr-ensure-paragraph): When mixing newlines and paragraph
3872         ensurements, don't insert too many blank lines.
3873         (shr-tag-div): A <div> shouldn't introduce a paragraph, but a
3874         new line.
3875         (cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)
3877         Backport:
3879 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3881         Avoid errors in 'newline'
3883         * lisp/simple.el (newline): Don't barf if invoked with
3884         non-positive argument in the middle of a line.  (Bug#22490)
3886 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
3888         Fix Bug#23032
3890         * doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
3891         remote file names.  (Bug#23032)
3893 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
3895         Adjudicate review comments in abbrevs.texi
3897         * doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
3898         * doc/emacs/abbrevs.texi (Dabbrev Customization): State the
3899         default values of variables.  Suggested by Steve Byrne
3900         <sbb@penguinis.org>.  (Bug#23016)
3902         * admin/release-process (Check manuals): Mark files reviewed by
3903         Steve Byrne.
3905 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
3907         Fixup the "normal" matcher; highlight global var symbols, too
3909         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
3910         operator name symbols with the "normal" matcher (it actually
3911         needed updating).  Highlight global variable symbols, too.
3913 2016-06-19  Marcin Borkowski  <mbork@mbork.pl>
3915         Honor prefix arg in doc-view-next-line-or-next-page
3917         * lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
3918         prefix argument into consideration when continuous scrolling is
3919         not in effect (i.e., by default) (bug#19559).
3921 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3923         Port to strict C99 offsetof
3925         * src/bidi.c (bidi_copy_it):
3926         * src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
3927         Use only a single identifier as the second argument of offsetof.
3928         Found by using clang -pedantic.
3930 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3932         Port to GTK with strict C11 compiler
3934         * src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
3935         Cast from function type to void * where the C standard requires this.
3936         This works around a problem in the prototypes for
3937         g_signal_handler_find and g_signal_handlers_block_by_func, which
3938         use gpointer instead of GCallback.  Found by using gcc -pedantic.
3940 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
3942         Port to GTK with strict C99 compiler
3944         * src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
3945         in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
3946         * src/emacsgtkfixed.c (EmacsFixedPrivate):
3947         * src/emacsgtkfixed.h (EmacsFixedClass):
3948         Remove duplicate typedef, which strict C99 does not allow (Bug#23003).
3950 2016-06-19  Anders Lindgren  <andlind@gmail.com>
3952         Avoid screen artifacts with new OS X visible bell after scrolling
3954         * src/nsterm.m (EmacsBell): Save NSView when displaying the
3955         visible bell and set `needsDisplay' when removed.
3956         (hide_bell): Trace.
3957         (ns_copy_bits): Trace.
3959 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
3961         Suppress some Tramp tests for OSX, do not merge with master
3963         * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
3964         (tramp--test-utf8): Use it.  (Bug#22145)
3966 2016-06-19  Glenn Morris  <rgm@gnu.org>
3968         * lisp/progmodes/xref.el (xref-buffer-name, xref--window):
3969         Move definitions before use.
3971         * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
3973         * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
3975 2016-06-19  Glenn Morris  <rgm@gnu.org>
3977         Address compilation warnings due to 2016-01-03 mml refactoring.
3979         * lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
3980         (message-options-get): Autoload.
3981         (message-options-set): Declare.
3982         (mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
3983         Simplify default value.
3984         * lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
3985         * lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
3986         No longer a need for password-cache.
3988 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3990         * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
3992         (bug#22960).
3994 2016-06-19  Glenn Morris  <rgm@gnu.org>
3996         * lisp/dired-x.el (dired-omit-here-always): Correct error message
3997         for 2016-01-25 change.
3999         * lisp/dired-x.el (dired-omit-here-always): Replace undefined function
4000         removed 2016-01-30.
4002         * lisp/xml.el (xml-parse-tag-1): Replace undefined function.
4004 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4006         Avoid segfaults due to frame image cache being absent
4008         * src/image.c (cache_image): If the frame doesn't have an image
4009         cache, create it.  (Bug#23028)
4011 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4013         Improve documentation of glyphless-character display
4015         * doc/emacs/display.texi (Text Display): Document and index the
4016         'glyphless-char' face.
4018 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4020         Support safe navigation operator in non-SMIE indentation code
4022         * lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
4023         Support safe navigation operator in non-SMIE indentation code.
4024         Cherry-picked from
4025         https://github.com/ruby/ruby/commit/68e16ddd7961b86e5013e62ae2954e88638de058.
4027 2016-06-19  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
4029         Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
4031         * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
4032         assume xsd:base64Binary values are UTF-8 strings.
4033         (soap-decode-xs-basic-type): Likewise.
4034         (soap-invoke): Document xsd:base64Binary handling.
4036 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4038         Fix Ruby's operator precedence
4040         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
4041         Rearrange the smie-precs->prec2 form.
4043 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4045         (ruby-interpolation-inside-another-interpolation): New failing test
4047         * test/automated/ruby-mode-tests.el
4048         (ruby-interpolation-inside-another-interpolation):
4049         New failing test.
4051 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4053         Port to clang 3.7.0 on x86-64
4055         * configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
4056         not done conditionally.  This helps clang, which needs
4057         -Wunknown-warning-option later when configured with warnings.
4058         * src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
4059         smart enough to figure this out on its own if warnings are enabled.
4060         (lisp_time_struct): Redo for clarity, and to pacify clang.
4061         * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
4062         uninitialized locals.  This avoids undefined behavior and pacifies
4063         clang.
4065 2016-06-19  Glenn Morris  <rgm@gnu.org>
4067         * test/automated/package-test.el (package-test-signed): Tweak skip
4068         condition, for hydra.
4070 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4072         Sync with gnulib
4074         This incorporates:
4075         2016-03-15 time_rz: port to clang -Wunused-const-variable
4076         2016-03-15 select: port more to Intel 2016.1.150 compiler
4077         * lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.
4079 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4081         Fix startup of "emacs -nw" on systems that CANNOT_DUMP
4083         * src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
4084         nil.
4086         * lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
4087         loading window.el.  (Bug#22975)
4089 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4091         Do not tokenize a comment before continuation as ';'
4093         * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4094         Account for a comment right after point.
4096 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4098         Don't misindent arguments of a method call inside continuation
4100         * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
4101         Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
4102         Simplify the traversal loop.
4104 2016-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4106         * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area
4108         (read_key_sequence): Test it here, as before.
4109         (bug#22825).
4111 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4113         ASCII-only etc/NEWS etc.
4115         * etc/NEWS, nextstep/README: Revert the recently-added curved
4116         quotes, and stick to ASCII.  This typically involves replacing
4117         curved with straight quotes.  Since etc/NEWS is viewed so often by
4118         UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
4119         Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
4121 2016-06-19  Alan Mackenzie  <acm@muc.de>
4123         Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
4125         * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
4127         * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
4128         rather than just using the cache variable c-state-cache.
4129         (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
4130         to c-parse-state from other uses of the parse state cache.
4132         * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
4133         c-self-bind-state-cache around the processing, replacing flawed bindings of
4134         c-state-cache.
4136 2016-06-19  Alan Mackenzie  <acm@muc.de>
4138         Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
4140         * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
4142         * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
4143         rather than just using the cache variable c-state-cache.
4144         (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
4145         to c-parse-state from other uses of the parse state cache.
4147         * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
4148         c-self-bind-state-cache around the processing, replacing flawed bindings of
4149         c-state-cache.
4151 2016-06-19  Kaushal Modi  <kaushal.modi@gmail.com>
4153         Fix Isearch prompt when invoked with an argument
4155         * lisp/isearch.el (isearch--describe-regexp-mode): With
4156         `search-default-mode' set to nil, if user does C-u C-s, the minibuffer
4157         now displays "Regexp I-search: " again.  But if the user has set
4158         `search-default-mode' to t, and then does C-s, the minibuffer now
4159         displays "I-search: " because the default search mode is now regexp
4160         mode.  Comments have been added to explain the priority of conditions
4161         in the `cond' form.  (Bug#22991)
4163 2016-06-19  Cesar Quiroz  <cesar.quiroz@gmail.com>  (tiny change)
4165         Fix a typo in the Emacs manual
4167         * doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
4168         in a command name.
4170 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4172         Curved quotes in etc/NEWS etc.
4174         * etc/NEWS, nextstep/README: Prefer curved quotes in the
4175         recently-changed text documentation.  See:
4176         http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00860.html
4178 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4180         Fix some single quotes in documentation
4182         * doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
4183         when documenting quoting styles.
4184         * etc/NEWS, nextstep/README: In these plain text files, quote
4185         'like this' consistently, rather than also (sometimes) ‘like this’
4186         or (more often) `like this'.
4188 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4190         Make lisp-completion-at-point's argument optional
4192         * lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
4193         the argument optional, like it was before the rename.
4195 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4197         Tweak the left precedence of '=>'
4199         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
4200         precedence of '=>', to improve indentation and sexp navigation.
4202 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4204         Indent '.' relative to the first sibling expression
4206         * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
4207         Indent '.' relative to the first sibling expression, instead of the
4208         parent token (bug#17213).
4210 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4212         Make '.' associative, for easier sexp navigation
4214         * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
4215         Make '.' associative, for easier sexp navigation.
4217 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
4219         Revert "Simplify "Visit New File" to "New File""
4221         This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.
4223 2016-06-19  Phillip Lord  <phillip.lord@russet.org.uk>
4225         Simplify "Visit New File" to "New File"
4227         * doc/emacs/files.texi, lisp/menu-bar.el (menu-bar-file-menu),
4228           lisp/startup.el(normal-mouse-start-screen,
4229           normal-no-mouse-startup-screen): Change label "Visit New File" to "New
4230           File".
4232 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4234         Update Unicode notes for importing a new Unicode version
4236         * admin/notes/unicode: Mention the need to update otf-script-alist
4237         in fontset.el when importing data files from a new Unicode
4238         version.
4240 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4242         Import new data files from Unicode 9.0.0beta
4244         * admin/unidata/UnicodeData.txt:
4245         * admin/unidata/Blocks.txt:
4246         * admin/unidata/BidiMirroring.txt:
4247         * admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
4248         * admin/unidata/unidata-gen.el (unidata-gen-files): Bind
4249         'coding-system-for-read' to 'utf-8, as various Unicode data files
4250         now actually use non-ASCII characters.
4251         (unidata-setup-list, unidata-get-name): Support the new Tangut
4252         Ideographs block.
4254         * lisp/international/characters.el (standard-case-table): Add new
4255         characters from Unicode 9.0.0.
4256         (standard-category-table): Add Arabic block u+08A0..u+08FF.  Add
4257         Cyrillic Extended-C block.
4258         (char-width-table): Update ranges per Unicode 9.0.0.
4259         * lisp/international/fontset.el (script-representative-chars): Add
4260         new scripts defined by Unicode 9.0.0.
4261         (otf-script-alist): Add new OTF script tags.
4262         * lisp/international/mule-cmds.el (ucs-names): Update ranges per
4263         Unicode 9.0.0 additions.
4265 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4267         Avoid errors in forms-mode when default major mode is text
4269         * lisp/forms.el (forms-mode): Bind
4270         change-major-mode-with-file-name to nil when calling
4271         set-visited-file-name.  (Bug#22982)
4273 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4275         Avoid crashes at startup on systems that CANNOT_DUMP
4277         * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
4278         boolean variable.
4279         (init_iterator, reseat_to_string)
4280         (Fcurrent_bidi_paragraph_direction)
4281         (Fbidi_find_overridden_directionality): Use
4282         redisplay--inhibit-bidi instead of purify-flag, to determine when
4283         it's safe to reorder bidirectional text.
4285         * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
4286         beginning of the file.  Reset to nil when charprop.el is
4287         successfully loaded, or when we are going to dump, whichever
4288         happens last.  (Bug#22975)
4290 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4292         Fix documentation of seq.el functions
4294         * doc/lispref/sequences.texi (Sequence Functions): Fix typos.  Add
4295         cross-references.  Fix formatting.  (Bug#22992)
4297 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4299         Support Ruby 2.3.0's safe navigation operator
4301         * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
4302         (ruby-smie--backward-token): Tokenize '&.' as '.'.
4303         (ruby-smie--implicit-semi-p): Check for possible '&' before '.'.
4305         * test/indent/ruby.rb: Add an example using safe navigation
4306         operator.  Fix a syntax error in existing example.
4308 2016-06-19  John Wiegley  <johnw@newartisans.com>
4310         Update Emacs manual section related to character folding
4312         * doc/emacs/search.texi: Character folding is not on by default.
4314 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4316         Update admin/notes/unicode
4318         * admin/notes/unicode: Update the list of files from the UCD we
4319         are using.  Mention the possible need to change 'ucs-names' when
4320         importing a new version of the Unicode Standard.
4322 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4324         Add symref-filepattern entries for c?perl-mode
4326         * lisp/cedet/semantic/symref/grep.el
4327         (semantic-symref-filepattern-alist): Add entries for perl-mode and
4328         cperl-mode.
4330 2016-06-19  Ken Raeburn  <raeburn@raeburn.org>
4332         Don't use XRANDR 1.3 extensions if the server doesn't support them.
4334         * src/xterm.h (struct x_display_info): Add fields to save XRANDR
4335         version number.
4336         * src/xfns.c (x_get_monitor_attributes): Save the version numbers
4337         after querying the X server.
4338         (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
4339         XRRGetScreenResourcesCurrent if the server doesn't support at least
4340         RANDR version 1.3.  Conditionalize the code blocks on compiling
4341         against library version 1.3 or better, rather than feature tests for
4342         each function.
4343         * configure.ac: Stop testing for those two functions.
4345 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4347         Sync with gnulib
4349         This incorporates:
4350         2016-03-08 intprops: make .h file license match module
4351         2016-03-08 acl: fix missing return on Cygwin
4352         2016-03-05 extern-inline: port to PGI CC
4353         * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
4354         * m4/extern-inline.m4:
4355         Copy from gnulib.
4357 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4359         Rework C source files to avoid ^(
4361         Work around Bug#22884 by rewording comments and strings to avoid ‘(’
4362         at the start of a line unless it starts a function.  This change
4363         is a short-term hack; in the longer run we plan to fix cc-mode’s
4364         performance for C files that have ‘(’ at the start of a line in a
4365         comment or string.
4367 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4369         By default, etags produces unqualified Perl tag names
4371         * lib-src/etags.c (Perl_functions): Produce unqualified names,
4372         unless -Q was specified.
4373         (print_help): Update the description of -Q.
4375         * doc/man/etags.1: Update the documentation of -Q.
4377         * test/etags/ETAGS.good_1:
4378         * test/etags/ETAGS.good_2:
4379         * test/etags/ETAGS.good_3:
4380         * test/etags/ETAGS.good_4:
4381         * test/etags/ETAGS.good_5:
4382         * test/etags/CTAGS.good: Adapt the expected test results to the
4383         changed Perl functionality.
4385 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4387         Indent methods with keyword names correctly
4389         * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4390         Rename to ruby-smie--before-method-name.  Now also check if we're
4391         after a 'def' keyword.  Update both callers.
4393 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4395         Propertize character literals and special global variables differently
4397         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
4398         character literals and global variables with special names with
4399         prefix and symbol syntax classes, for SMIE to tokenize them
4400         together automatically.
4401         (ruby-font-lock-keywords): Fix an old regression in highlighting
4402         character literals.
4404 2016-06-19  John Wiegley  <johnw@newartisans.com>
4406         Change how /etc/NEWS presents character folding
4408         * NEWS: Note that character folding is no longer the default.
4410 2016-06-19  John Wiegley  <johnw@newartisans.com>
4412         Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""
4414         This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
4416 2016-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4418         Properly handle lambda as read function (bug 22961)
4420         * src/lread.c (readchar): Be more strict about checking for
4421         string in cons for read_vector.
4422         (unreadchar): Likewise.
4424 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4426         Propertize operator symbol names with symbol syntax class
4428         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
4429         Do it here.
4430         (ruby-font-lock-keywords): Instead of handling them here.  Leave
4431         highlighting them to the "normal" matcher, because now we can.
4432         (ruby-smie--forward-token, ruby-smie--backward-token):
4433         Likewise, don't special-case operator symbols anymore.
4434         (ruby-smie--args-separator-p): Simplify the regexp, match operator
4435         names with \s_.
4436         (ruby-smie--implicit-semi-p): Handle the special cases of ? and =
4437         at EOL the same way: check if the character has been assigned the
4438         symbol syntax class by syntax-propertize.
4440 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4442         Stop recognizing :#{} as symbol in ruby-mode
4444         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
4445         the weird part that recognized colon followed by interpolation
4446         construct without quotes (e.g. ':#{abc}') as symbol, which is just a
4447         syntax error in any modern version of Ruby.  Fix nearby bug reference.
4449 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4451         Allow using the left shift operator without spaces on both sides
4453         * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
4454         ruby-verify-heredoc, reverse the meaning of the return value, and
4455         short-circuit if preceded by a symbol not separated by whitespace.
4457         * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
4458         (ruby-no-heredoc-class-self): New tests.
4460 2016-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4462         Properly handle unquoting in wdired (bug 22938)
4464         The recorded old names are not quoted, don't unquote them.
4466         * lisp/wdired.el (wdired-normalize-filename): Add argument
4467         unquotep, only unquote if non-nil.
4468         (wdired-get-filename): Don't unquote the old file name.
4469         (wdired-get-previous-link): Always unquote.
4471 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4473         Allow splat operator before percent literal
4475         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
4476         Allow splat operator before percent literal.
4478 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4480         Don't apply the return value of goto-char as syntax class
4482         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
4483         apply the return value of goto-char as syntax class.
4485 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4487         Guard against nested percent literals
4489         * lisp/progmodes/ruby-mode.el
4490         (ruby-syntax-propertize-percent-literal):
4491         Don't check the syntax status.
4492         (ruby-syntax-propertize): Check it here.  And also guard against
4493         being in a larger percent literal.
4495         * test/automated/ruby-mode-tests.el
4496         (ruby-no-nested-percent-literals): New test.
4498 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4500         Recognize iuwu-mod after an escaped newline
4502         * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
4503         newline is escaped.
4504         (ruby-smie-rules): Indent iuwu-mod after an escaped newline
4505         correctly.
4507 2016-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4509         Fix symbolic mode string conversion for s and t
4511         * lisp/files.el (file-modes-char-to-right): Fix values for ?s and
4512         ?t.
4513         (file-modes-symbolic-to-number): Default to a for ts permissions.
4515 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4517         Update 'ucs-names' database
4519         * lisp/international/mule-cmds.el (ucs-names): Update used and
4520         unused ranges from the latest UnicodeData.txt.
4522 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4524         Improve doc string of 'shell-command'
4526         * lisp/simple.el (shell-command): Mention that COMMAND is prompted
4527         for.  (Bug#22926)
4529 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4531         Make the code in movemail_strftime more general
4533         * lib-src/movemail.c (movemail_strftime): Transform the format
4534         string passed by the caller instead of using a separate format
4535         string.
4537 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4539         Speed up redisplay of binary files with long series of nulls
4541         * src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
4542         for a character needed for resolving the type of a series of BN
4543         and ET characters, as required by rule W5 of UAX#9, if the results
4544         of the resolution are known in advance, because we are at level
4545         zero, and the previous strong character was L.
4546         (bidi_resolve_neutral): Partially resurrect the optimization for a
4547         long series of control characters in an otherwise strictly L2R
4548         text.
4549         (bidi_level_of_next_char): Don't enter the loop that searches for
4550         a paragraph separator if the current character is already at base
4551         embedding level.  (Bug#22739)
4553 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4555         Remove the highlighting support for quoting 'like this' inside Lisp docstrings
4557         Remove the highlighting support for quoting 'like this' inside
4558         Lisp docstrings.  This part of
4559         c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
4560         unintentional, considering substitute-command-keys gives wrong
4561         output for such usage.
4562         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
4563         (lisp-cl-font-lock-keywords-2): Do not highlight text between two
4564         straight quotes as symbol.
4566 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4568         Restore leading space in movemail pop output
4570         * lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
4571         (strftime) [WINDOWSNT]: New macro.
4572         (mbx_delimit_begin): Go back to previous version of this code,
4573         now that there’s a special-purpose WINDOWSNT implementation
4574         that should do the right thing.  That way, the output continues
4575         to use leading space rather than leading zero for day of month.
4577 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4579         Fix bidi-paragraph-direction in Rmail view buffer
4581         * lisp/mail/rmail.el (rmail-show-message-1): Reset
4582         bidi-paragraph-direction to nil before formatting the message for
4583         display.
4585 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4587         Don't misindent computed property generator methods
4589         * lisp/progmodes/js.el (js--looking-at-operator-p):
4590         Don't misindent computed property generator methods
4591         (https://github.com/mooz/js2-mode/issues/317).
4593 2016-06-19  Eli Zaretskii  <eliz@gnu.org>
4595         Fix mbox files produced by movemail on MS-Windows
4597         * lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
4598         format specifiers, as at least the MS-Windows version of strftime
4599         doesn't support %e and %T.
4601 2016-06-19  Paul Eggert  <eggert@cs.ucla.edu>
4603         doc string file descriptor exhaustion fix
4605         * src/doc.c (get_doc_string): Move newly-added check to a better
4606         location (Bug#22814).
4608 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
4610         Fix Bug#22814
4612         * src/doc.c (get_doc_string): Raise an error in case too many
4613         files are open.  (Bug#22814)
4615 2016-06-19  Lars Ingebrigtsen  <larsi@gnus.org>
4617         Fix insertion of edited servers in the dribble file
4619         * lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
4620         insert explicit newlines, because they're quoted (bug#22903).
4622         Backport:
4624         (cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)
4626 2016-06-19  Martin Rudalics  <rudalics@gmx.at>
4628         Fix previous fix of enlarge-/shrink-window
4630         * lisp/window.el (enlarge-window, shrink-window): Consistently
4631         signal user-error instead of error.  Resize minibuffer window by
4632         delta lines instead of pixels.  When a window cannot be resized,
4633         signal an error only when this function was invoked by a command
4634         in the enlarge-/shrink-window group (this restores the behavior
4635         before the fix of bug#22723 for the non-interactive case).
4637 2016-06-19  Artur Malabarba  <bruce.connor.am@gmail.com>
4639         * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
4641 2016-06-19  Mark Oteiza  <mvoteiza@udel.edu>
4643         Complete temperature units in calc-convert-temperature
4645         * lisp/calc/calc-units.el (calc-convert-temperature): Complete with
4646         temperature units in math-standard-units.
4648 2016-06-19  Dmitry Gutov  <dgutov@yandex.ru>
4650         Make sure to use case-sensitive search
4652         * lisp/progmodes/xref.el (xref-collect-references): Make sure to
4653         use case-sensitive search.
4655 2016-06-19  Ulf Jasper  <ulf.jasper@web.de>
4657         Prevent infinite loop on not-well-formed xml. (Bug#16344)
4659         * lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344)
4660         * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
4661           test cases for Bug#16344.
4663 2016-06-19  Alan Third  <alan@idiocy.org>
4665         Add the missing test case for the previous patch
4667         lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
4668         any processing.
4669         lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
4670         DABBREV--SUBSTITUTE-EXPANSION.
4671         test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
4673 2016-06-19  Alan Third  <alan@idiocy.org>
4675         Use the correct dabbrev expansion
4677         lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
4678         any processing.
4679         lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
4680         DABBREV--SUBSTITUTE-EXPANSION.
4681         test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
4683 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
4685         Bump version to 25.0.92
4687         * README:
4688         * configure.ac:
4689         * msdos/sed2v2.inp: Bump version to 25.0.92.
4691 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
4693         * etc/AUTHORS: Update the AUTHORS file
4695 2016-06-19  Nicolas Petton  <nicolas@petton.fr>
4697         authors.el updates
4699         * admin/authors.el (authors-ignored-files): Addition.
4701 2016-06-19  Michael Albinus  <michael.albinus@gmx.de>
4702 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
4704         Fix Bug#22859
4706         * lisp/filenotify.el (file-notify-callback): Return a `deleted'
4707         event in case of kqueue and file1 is nil.  (Bug#22859)
4709 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4711         Fix reordering of bidi text in an isolate inside an override
4713         * src/bidi.c (bidi_resolve_explicit): Override the orig_type value
4714         of FSI with either LRI or RLI, as determined by the first strong
4715         directional character in the isolate.  This prevents failure to
4716         isolate when the FSI...PDI text is inside a directional override.
4717         (Bug#22786)
4719 2016-03-04  Alan Mackenzie  <acm@muc.de>
4721         Document c-guess-basic-syntax in the CC Mode manual.
4723         * doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
4724         pxrefs to Custom Line-Up and Other Indentation.
4725         (Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
4726         Syntactic Analysis.
4728 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
4730         Fix targets in test/automated/Makefile.in
4732         * test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
4733         empty target and target all.
4735 2016-03-04  Leo Liu  <sdl.web@gmail.com>
4737         Comment on last change to define-derived-mode
4739         * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
4741 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4743         Allow binding `url-mime-accept-string'
4745         * lisp/url/url-http.el (url-http): Allow binding
4746         `url-mime-accept-string' (bug#22855).
4748         Backport:
4750         (cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)
4752 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4754         Also allow setting the paragraph direction to nil
4756         * lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
4757         setting the paragraph direction to nil ("auto").
4759 2016-03-04  Anders Lindgren  <andlind@gmail.com>
4761         Made the new OS X visible bell more visible.
4763         * src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
4764           "caution" image five times, as the image in its original size
4765           was hard to see.
4767 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4769         Use the correct background color when filling nested <divs>
4771         * lisp/net/shr.el (shr-face-background): Return the first
4772         background, because that's the one that's visible (bug#22680).
4774         Backport:
4776         (cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)
4778 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4780         Make <div> in <li> not insert extra newlines
4782         * lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
4783         extra newlines (bug#19587).
4785         Backport:
4787         (cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)
4789 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
4791         Uncomment the next-error-function integration in xref
4793         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
4794         Uncomment the next-error-function integration
4795         (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
4797 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
4799         Remove the word "valid", to avoid ambiguity
4801         * doc/emacs/maintaining.texi (Identifier Search)
4802         (Looking Up Identifiers): Remove the word "valid" (bug#22692).
4804 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
4806         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
4808 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
4810         Set auto-revert-use-notify to nil in global-auto-revert-mode.  (Bug#22814)
4812         * etc/NEWS:
4813         * etc/PROBLEMS: Mention this.
4815         * lisp/autorevert.el (global-auto-revert-mode): Set
4816         `auto-revert-use-notify' to nil.  (Bug#22814)
4818 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
4820         * etc/TODO: Minor quoting and grammar fixes.
4822 2016-03-04  Friedrich Beckmann  <friedrich.beckmann@gmx.de>  (tiny change)
4824         Fix ModelSim error parsing
4826         * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
4827         ModelSim error parsing (bug#5768).
4829 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4831         Make parse-time-string-chars faster
4833         * lisp/calendar/parse-time.el (parse-time-string-chars): Clean
4834         up the code (backport:).
4836 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4838         Add a eww command to toggle paragraph direction
4840         * lisp/net/eww.el (eww-toggle-paragraph-direction): New
4841         command and keystroke.
4843         * doc/misc/eww.texi (Advanced): Mention the `D' command.
4845 2016-03-04  Glenn Morris  <rgm@gnu.org>
4847         * nextstep/WISHLIST: Merge into etc/TODO and remove.
4849         * etc/TODO: Merge in items from nextstep/WISHLIST.
4850         * nextstep/README: Update for this change.
4852 2016-03-04  Andreas Schwab  <schwab@linux-m68k.org>
4854         Fix char signedness issue in bidi code
4856         * src/dispextern.h (struct bidi_t): Change type of resolved_level
4857         and isolate_level to signed char.  (Bug#22830)
4859 2016-03-04  Andreas Schwab  <schwab@linux-m68k.org>
4861         * lib-src/pop.c (socket_connection): Fix format string.
4863 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4865         Avoid inflooping in thing-at-point-looking-at
4867         * lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
4868         with regular expressions whose matching doesn't move point.
4869         (Bug#22756)
4870         Describe the argument DISTANCE in the doc string.
4872 2016-03-04  Leo Liu  <sdl.web@gmail.com>
4874         * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.
4876 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
4878         etc/PROBLEMS: Mention problems with using file descriptors
4880         * etc/PROBLEMS: Mention problems with using file descriptors
4881         of kqueue file notification library.
4883 2016-03-04  Kaushal Modi  <kaushal.modi@gmail.com>
4885         * lisp/apropos.el (apropos-variable): Doc fix.  (Bug#22813).
4887 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4889         Remove unneeded workaround in xftfont.c
4891         * src/xftfont.c (xftfont_open): Remove "dirty workaround" for
4892         XftTextExtents8 behavior, as it is no longer needed.  Suggested by
4893         Fangwen Yu <yynyygy@gmail.com>.  (Bug#22383)
4895 2016-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4897         * lisp/saveplace.el (save-place-local-mode): New minor mode
4899         (toggle-save-place): Define as obsolete alias.
4900         (save-place--setup-hooks): New function.
4901         (save-place-mode): Use it.
4903 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4905         Fix redisplay on a TTY after 'make-frame'
4907         * src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
4908         garbaged TTY frame if it is not the selected frame.  (Bug#22794)
4910 2016-03-04  Alan Mackenzie  <acm@muc.de>
4912         Make double-click-1 work with unbalanced parens in CC Mode.  Fixes bug#5560.
4914         * lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
4915         `syntax-after' to ensure syntax-table text properties are respected.
4917 2016-03-04  Magnus Henoch  <magnus.henoch@gmail.com>
4919         Input method polish-slash should not use keyboard translation
4921         * lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
4922         polish-slash should not use keyboard translation (bug#19081).
4924 2016-03-04  Chris Feng  <chris.w.feng@gmail.com>
4926         Fix an assertion
4928         * src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
4929         implies start == 0) separately.
4931 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4933         Fix 'toggle-save-place'
4935         * lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
4936         support save-place in the buffer.  Autoload the command.
4938 2016-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4940         * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)
4942         * src/keyboard.c (read_key_sequence): Don't inadvertently set
4943         immediate_echo when we don't want any echo-keystrokes.
4944         (echo_keystrokes_p): Move earlier.
4946 2016-03-04  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
4948         Minor fixes in calculator.el
4950         * lisp/calculator.el (calculator-mode-map): Bind `E' for
4951         `calculator-exp'.
4952         (calculator-last-input): Fix a bug with pressing F1.
4953         (Bug#20764)
4955 2016-03-04  Anders Lindgren  <andlind@gmail.com>
4957         Update HISTORY section in readme for the NextStep interface.
4959         * nextstep/README: Update HISTORY after suggestion
4960         from former maintainer Adrian Robert.
4962 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
4964         Improve documentation of 'save-place-mode'
4966         * lisp/saveplace.el (toggle-save-place): Update the doc string wrt
4967         turning on 'save-place-mode' globally.
4969         * etc/NEWS: Mention the need to call 'save-place-mode' for turning
4970         on the mode in all buffers.
4972 2016-03-04  Chris Feng  <chris.w.feng@gmail.com>  (tiny change)
4974         Allocate glyph matrices for the initial frame
4976         * src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).
4978         * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.
4980 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
4982         Fix white space in last checkin
4984 2016-03-04  Dima Kogan  <gnuplot@dima.secretsauce.net>
4986         Make `insert-pair' always leave the cursor where documented
4988         * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
4989         insert-pair states that after insertion, the point ends up
4990         after the opening character. This was not true if the pair was
4991         inserted to surround a region (bug#16949).
4993 2016-03-04  Kaushal Modi  <kaushal.modi@gmail.com>
4995         etc/NEWS: Mention the new second parameter to `package-install'
4997         * etc/NEWS: Mention the new second parameter to
4998         `package-install' (bug#22784).
5000 2016-03-04  John F. Trudeau  <JFTrudeau@aetna.com>  (tiny change)
5002         Highlight assignments in Makefiles more correctly
5004         * lisp/progmodes/make-mode.el (makefile-macroassign-regex):
5005         Highlight assignments preceded by a TAB character correctly
5006         (bug#20787).
5009         Backport:
5011         (cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)
5013 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5015         Improve documentation of focus-related hooks
5017         * doc/lispref/commands.texi (Focus Events): Mention focus-related
5018         hooks.  (Bug#21728)
5020 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5022         Further improve doc string of 'disable-point-adjustment'
5024         * src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
5025         <global-disable-point-adjustment>: Clarify doc strings.  (Bug#22771)
5027 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5029         Further adaptions in file-notify-tests.el for w32notify
5031         * test/automated/file-notify-tests.el
5032         (file-notify--test-read-event-timeout, file-notify--test-timeout):
5033         Decrease values.
5034         (file-notify-test03-autorevert)
5035         (file-notify-test04-file-validity)
5036         (file-notify-test05-dir-validity): Run tests also for w32notify.
5037         (file-notify-test08-watched-file-in-watched-dir):
5038         Adapt expected events for w32notify.
5040 2016-03-04  Jan Tatarik  <jan.tatarik@gmail.com>
5042         Don't bug out on localised dates in gnus-icalendar
5044         * lisp/gnus/gnus-icalendar.el
5045         (gnus-icalendar-event:org-timestamp): Don't bug out on
5046         localised dates.
5048 2016-03-04  Drew Adams  <drew.adams@oracle.com>
5050         (ls-lisp-insert-directory): Make -B work
5052         * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
5053         (bug#20776).
5055         Backport:
5057         (cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
5059 2016-03-04  Vaidheeswaran C  <vaidheeswaran.chinnaraju@gmail.com>
5061         Make buttons in header lines work
5063         * lisp/help-mode.el (help-button-action): `help-xref-button' in
5064         header line doesn't work (bug#21024).
5066         Backport:
5068         (cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)
5070 2016-03-04  Christopher Wellons  <wellons@nullprogram.com>
5072         Make setf for frame-height/width work again
5074         * lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
5075         frame-height/width work again (bug#21979).
5077 2016-03-04  Łukasz Stelmach  <stlman@poczta.fm>
5079         Encode header strings before printing
5081         * lisp/ps-print.el (ps-generate-header-line): Encode the
5082         header strings to avoid problems with non-ASCII headers
5083         (bug#22611).
5085         Backport:
5087         (cherry picked from commit 3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)
5089 2016-03-04  Nicolas Richard  <youngfrog@members.fsf.org>
5091         (cl-union): Do not ignore :test argument when lists are equal.
5093         * lisp/emacs-lisp/cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.
5095         * test/automated/cl-seq-tests.el: New file (bug#22729).
5097 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
5099         Add `isearch' to `basic-faces'
5101         * doc/lispref/display.texi (Basic Faces): Mention the isearch
5102         and lazy-highlight faces.
5104         * lisp/replace.el (match): Add `isearch' to the `basic-faces'
5105         group, too (bug#22760).
5107 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
5109         Make $, : and @ "prefix characters" in ruby-mode
5111         * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
5112         syntax classes of $, : and @ to "prefix character"
5113         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
5114         (ruby-syntax-propertize): Undo that specifically for colons
5115         followed by an opening paren or bracket.
5116         (ruby-font-lock-keyword-beg-re): Include colon character.
5117         (ruby-font-lock-keywords): Adjust the constants matcher for `:'
5118         not being a symbol constituent anymore.
5120 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
5122         Make find-tag-default-bounds more strict
5124         * lisp/subr.el (find-tag-default-bounds): Delegate to
5125         bounds-of-thing-at-point (bug#22692).
5127 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5129         Minor fixes in filenotify.el
5131         * lisp/filenotify.el (top): Require 'cl-lib.
5132         (file-notify--rm-descriptor)
5133         (file-notify--event-watched-file): Use cl-caadr.
5134         (file-notify-callback): Handle also `ignore' events from inotify.
5136 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5138         Additional fixes for file notification
5140         * lisp/filenotify.el (top): Require 'cl when compiling.
5141         (file-notify--event-watched-file): New defun.
5142         (file-notify--rm-descriptor, file-notify-callback):
5143         Handle case of several monitors running in parallel.
5145         * test/automated/file-notify-tests.el
5146         (file-notify--test-event-test): Simplify test.
5147         (file-notify--test-with-events): Get rid of outer definition.
5148         Check also results of tests performed in callbacks.
5149         (file-notify-test02-events): No wrapping when calling
5150         `file-notify-rm-watch'.  No special checking for callback tests.
5151         (file-notify-test07-backup): Adapt expected events for gfilenotify.
5152         (file-notify-test08-watched-file-in-watched-dir): Improve.
5154 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5156         Fix documentation of 'global-disable-point-adjustment'
5158         * src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
5159         <global-disable-point-adjustment>: Doc fixes.  (Bug#22771)
5161 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5163         Set file modes of pinentry socket for extra safety
5165         * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
5166         (pinentry-start): Change the file modes of the socket file to 0700.
5167         This is just for extra safety since the parent directory is already
5168         protected with `server-ensure-safe-dir'.
5170 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5172         Clarify GnuPG version compatibility chapter
5174         * doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
5175         description a bit clearer.
5177 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5179         Revert "Change the default socket location for pinentry"
5181         This reverts commit e34fbdee8aca84b98393b06b2450837d175999ca.
5182         It turned out that the address is fixed in Pinentry itself.
5184 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
5186         Kill off xref--display-history
5188         Now that the core workflow keeps the xref window visible, there's
5189         less value in storing this history.  And it never was
5190         comprehensive enough to undo scrolling changes.
5191         * lisp/progmodes/xref.el (xref--display-history)
5192         (xref--save-to-history, xref-quit): Remove.
5193         (xref--show-pos-in-buf): Update accordingly.
5194         (xref--xref-buffer-mode-map): Remove xref-quit binding.
5196 2016-03-04  Dmitry Gutov  <dgutov@yandex.ru>
5198         Keep the xref buffer visible until the user quits it explicitly
5200         * lisp/progmodes/xref.el (xref--pop-to-location):
5201         Rename WINDOW argument to ACTION.
5202         (xref--with-dedicated-window): New macro.
5203         (xref--show-pos-in-buf): Rename from `xref--display-position'.
5204         Add and handle new argument, SELECTED.  Use the above macro.
5205         (xref--show-location): Add SELECTED argument.
5206         (xref-show-location-at-point): Make an effort to avoid the
5207         original window when showing the location.
5208         (xref-goto-xref): Don't quit the xref window (bug#20487 and
5209         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html).
5210         (xref--query-replace-1): Use xref--with-dedicated-window as well.
5211         (xref--next-error-function): Call xref--show-location instead of
5212         xref--pop-to-location.
5213         (xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
5214         Only pass that value to xref--pop-to-location.  Pass the current
5215         selected window to xref-show-xrefs-function as the `window'
5216         property.
5217         (xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
5218         to DISPLAY-ACTION as well.
5220 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5222         Change the default socket location for pinentry
5224         * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
5225         (pinentry--socket-dir): Change the default from /tmp/emacsXXX to
5226         ~/.emacs.d/pinentry.
5227         (pinentry-start): Change the file modes of the socket file to 0700.
5228         This is just for extra safety since the parent directory is already
5229         protected with `server-ensure-safe-dir'.
5231 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5233         Mention how to enable pinentry feature
5235         * etc/NEWS: Mention "gpgconf --reload gpg-agent".
5236         * lisp/net/pinentry.el: Likewise.
5238 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5240         Sync with gnulib
5242         This incorporates:
5243         2016-02-10 stdalign: port to older HP and IBM cc
5244         * doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.
5246 2016-03-04  David Engster  <deng@randomsample.de>
5248         Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
5250         * lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
5251           `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
5252           not an idle hook, so it's not appropriate to call it there. It will
5253           already be called in the `semantic-idle-work-core-handler', which
5254           runs when Emacs is actually idle.
5256 2016-03-04  David Engster  <deng@randomsample.de>
5258         Restore point when writing semantic table to disk
5260         * lisp/cedet/semantic/db-file.el (object-write): Wrap call to
5261           `semantic-fetch-tags' in `save-excursion', since it might move point
5262           in current buffer. (Bug #22287)
5264 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5266         Mention pinentry.el in epa manual
5268         * doc/misc/epa.texi (GnuPG version compatibility): New chapter,
5269         describing the differences between three GnuPG branches, and how
5270         to enable pinentry.el.
5271         (Caching Passphrases): Add xref to the compatibility chapter.
5273 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5275         Fix Bug#22736
5277         * lisp/filenotify.el (file-notify-callback): Use the proper
5278         descriptor when calling the callback.  (Bug#22736)
5280         * test/automated/file-notify-tests.el
5281         (file-notify--test-event-handler): Deactivate trace.
5282         (file-notify-test08-watched-file-in-watched-dir): Bind
5283         `file-notify--test-tmpfile' temporarily in `dir-callback'.
5285 2016-03-04  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)
5287         Grammar fix in doc string
5289         * lisp/custom.el (defgroup): Grammar fix in doc string.
5291 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5293         Naming fix for consistency
5295         * lisp/epg-config.el (epg-find-configuration): Rename from
5296         `epg-configuration-find' to be consistent with other epg-* functions.
5297         Change all callers.
5299 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5301         Prefer customized value for GnuPG executable
5303         * lisp/epg-config.el (epg-configuration-find): Don't check GPG
5304         configuration if it is already set with custom.  (Bug#22747)
5306 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5308         Fix memory reservation on MS-Windows
5310         * src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
5311         units.  This avoids leaving gaps in reserved memory regions that
5312         no one can use, since memory reservation must produce 64KB-aligned
5313         addresses.  (Bug#22526)
5315 2016-03-04  Anders Lindgren  <andlind@gmail.com>
5317         Update NextStep readme and add wish list.
5319         * nextstep/README: Rewritten from scratch. New sections on
5320         "History", "Overview of Cocoa and Objective-C", "Guidelines",
5321         "Tracing Support", and "GNUStep". Expanded the "See Also" section.
5322         * nextstep/WISHLIST: New file containing list of issues and ideas
5323         associated with the NS port of Emacs.
5325 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5327         Report also result in `file-notify--test-event-handler'
5329 2016-03-04  Michael Albinus  <michael.albinus@gmx.de>
5331         Improve file-notify-test08-watched-file-in-watched-dir
5333         * test/automated/file-notify-tests.el (file-notify--test-desc2):
5334         New variable.
5335         (file-notify--test-cleanup): Use it.
5336         (file-notify--test-event-handler): Enable trace.
5337         (file-notify-test08-watched-file-in-watched-dir): Tag it as
5338         :expensive-test.  Rewrite callbacks to use
5339         `file-notify--test-event-handler'.  Read events in loop.  Check
5340         `file-notify--test-results'.
5341         (file-notify-test08-watched-file-in-watched-dir): Fix docstring.
5343 2016-03-04  Stephen Berman  <stephen.berman@gmx.net>
5345         Fix todo-mode item date editing bugs
5347         * lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
5348         range error by making sure the value of the numerical month date
5349         component cannot be nil.  Prevent wrong type error on trying to edit
5350         day number in February by making sure numerical instead of string
5351         value of the year component is passed to todo-read-date.
5352         (todo-read-date): When using the numerical month date component make
5353         sure to use `*' for an arbitrary month instead of its numerical value.
5355 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5357         Fix "[:upper:]" for non-ASCII characters
5359         * src/regex.c (re_match_2_internal): Support [:upper:] and
5360         [:lower:] for non-ASCII characters.  (Bug#18150)
5362 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
5364         Allow customising the article mode cursor behavior
5366         * doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
5368         * lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
5369         (gnus-article-mode): Use it.
5371 2016-03-04  Ari Roponen  <ari.roponen@gmail.com>
5373         Use pop-to-buffer-same-window in woman.el
5375         * lisp/woman.el (woman-really-find-file): Work around going to
5376         the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
5377         (WoMan-find-buffer): Ditto.
5379 2016-03-04  Tassilo Horn  <tsdh@gnu.org>
5381         New filenotify test for bug#22736
5383         * test/automated/file-notify-tests.el
5384         (file-notify-test08-watched-file-in-watched-dir):
5385         (file-notify--test-desc1): New filenotify test for bug#22736
5387 2016-03-04  Marcin Borkowski  <mbork@mbork.pl>
5389         Report critical battery errors
5391         * lisp/battery.el (battery-pmset): Report critical battery
5392         errors (bug#18157).
5394 2016-03-04  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)
5396         Make eww message toggling message clearer
5398         * lisp/net/eww.el (eww-toggle-fonts): Make the message
5399         clearer.
5401 2016-03-04  Mark Oteiza  <mvoteiza@udel.edu>
5403         * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
5405 2016-03-04  Martin Rudalics  <rudalics@gmx.at>
5407         Fix bugs in window resizing code
5409         * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
5410         parenthesis.
5411         (shrink-window, enlarge-window): Fix bug#22723 where windows
5412         with preserved size would not get resized.  Also now signal an
5413         error when the window cannot be shrunk or enlarged as requested.
5415 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5417         Fix decoding DOS EOL in a unibyte buffer
5419         * src/coding.c (decode_eol): Loop over bytes, not characters.
5420         (Bug#5251)
5422 2016-03-04  Alan Mackenzie  <acm@muc.de>
5424         Correct c-parse-state cache manipulation error.
5426         * lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
5427         comparison bound.  Amend comments.
5429 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5431         Take advantage of new GnuPG version check function
5433         * lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
5434         (package-refresh-contents): Use `epg-configuration-find' to check if EPG
5435         is usable.
5437 2016-03-04  Daiki Ueno  <ueno@gnu.org>
5439         Make GnuPG version check robuster
5441         We changed the default gpg program to "gpg2" from "gpg" in the commit
5442         f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1.  However, there are two
5443         maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
5444         series.  Check the actual version of "gpg2" at run time, and properly
5445         divert to "gpg" if necessary.
5446         * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
5447         (epg-config--program-alist): New variable.
5448         (epg--configurations): New variable.
5449         (epg-configuration-find): New function.
5450         (epg-config--make-gpg-configuration): New function.
5451         (epg-config--make-gpgsm-configuration): New function.
5452         (epg-configuration): Mark as obsolete.
5453         * lisp/epg.el (epg-context): Use `epg-configuration-find'.
5455 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5457         Fix x-load-color-file pointer signedness
5459         * src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
5460         For sscanf and int *, use %d, not %u.
5461         Problem found on Ubuntu 15.10 x32, which lacks X support.
5463 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5465         * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
5467 2016-03-04  Mark Oteiza  <mvoteiza@udel.edu>
5469         Follow convention for greek letter constants.
5471         * lisp/calc/calc-units.el (math-standard-units):
5472         Add "sigma" and alias σ to it.
5474 2016-03-04  Mark Oteiza  <mvoteiza@udel.edu>
5476         Add Stefan-Boltzmann constant to calc units table.
5478         * lisp/calc/calc-units.el (math-standard-units):
5479         Add Stefan-Boltzmann constant.
5481 2016-03-04  Mark Oteiza  <mvoteiza@udel.edu>
5483         * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
5485 2016-03-04  Glenn Morris  <rgm@gnu.org>
5487         Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw.  (Bug#22669)
5489         * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
5490         Prefill with relevant elements for term/xterm.
5492 2016-03-04  Tassilo Horn  <tsdh@gnu.org>
5494         Fix soffice UserInstallation-URL for Windows
5496         * lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
5497         UserInstallation-URL when calling soffice on Windows.
5499 2016-03-04  Lars Ingebrigtsen  <larsi@gnus.org>
5501         Fix display of <pre> elements
5503         * lisp/net/eww.el (eww-display-html): Remove CRLF before
5504         parsing so that <pre> elements don't render with ^M at the end
5505         of the lines.
5507 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5509         Minor fixes in global-auto-composition-mode
5511         * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5512         Produce prettier names of globalized minor modes.
5513         * lisp/composite.el (global-auto-composition-mode): Make it a
5514         globalized mode.  (Bug#22682)
5516 2016-03-04  Alan Mackenzie  <acm@muc.de>
5518         Allow arithmetic operators inside C++ template constructs.
5520         Fixes debbugs #22486.  This corrects the previous patch with this message
5521         which was empty.
5523         * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
5524         variable.
5525         (c-<>-notable-chars-re): New language variable.
5527         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
5528         c-<>-notable-chars-re in place of the former fixed string in searching for
5529         places to stop and examine.
5530         Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
5531         multichar operator in place of the former c->-op-without->-cont-regexp.
5532         Add code to skip forwards over a balanced parenthesized expression.
5534 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5536         Avoid crashes in semi-malformed 'condition-case'
5538         * src/eval.c (internal_lisp_condition_case): Treat a handler
5539         '(nil)' as if it were '(nil nil)'.  (Bug#22675)
5541 2016-03-04  Alan Mackenzie  <acm@muc.de>
5543         Allow arithmetic operators inside C++ template constructs.
5545         Fixes debbugs #22486.
5547         * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
5548         variable.
5549         (c-<>-notable-chars-re): New language variable.
5551         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
5552         c-<>-notable-chars-re in place of the former fixed string in searching for
5553         places to stop and examine.
5554         Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
5555         multichar operator in place of the former c->-op-without->-cont-regexp.
5556         Add code to skip forwards over a balanced parenthesized expression.
5558 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5560         Fix regression with 'recent-keys' and keyboard macros
5562         * src/keyboard.c (record_char): Don't record in 'recent_keys'
5563         events that come from executing keyboard macros.  (Bug#22674)
5565 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5567         Fix wording in a doc-view.el comment
5569         * lisp/doc-view.el (doc-view--current-cache-dir): Don't use
5570         "illegal" for something that is not against the law.
5572 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5574         CONTRIBUTE cleanups and updates
5576         * CONTRIBUTE: Mention URLs and info nodes more consistently,
5577         avoiding possibly-confusing punctuation adjacent to a URL, and
5578         giving full shell commands for 'info'.  Start with a brief but
5579         complete how-to, for people who want to get started right away.
5580         Then briefly discuss how to join the development process in the
5581         typical order.  Omit needless words.  Update some of the
5582         now-obsolete file names, info node names, and quoting styles.
5583         Better document emacs-NN branches and how they are merged.
5584         * admin/notes/git-workflow: Change emacs-24 to emacs-25,
5585         and trunk to master.  This file still needs work.
5587 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5589         Port USE_STACK_LISP_OBJECTS fix to Clang
5591         * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
5592         Recent versions of Clang claim to be GCC 4.2.1 but do not have
5593         the GCC bug.
5595 2016-03-04  Paul Eggert  <eggert@cs.ucla.edu>
5597         Port to x86 GCC 4.3.1 and earlier
5599         This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
5600         * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
5601         for GCC 4.3.1 and earlier.
5603 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5605         Fix point movement under 'scroll-conservatively'
5607         * src/xdisp.c (redisplay_window): Correct a typo in computing the
5608         effective number of text lines in a window.  (Bug#22637)
5610 2016-03-04  Thomas Plass  <thomas.plass@arcor.de>
5612         Replace colon in file name (not legal on Windows)
5614         * lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
5615         name (not legal on Windows). [tiny change]
5617 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5619         Fix a typo in edt.texi
5621         * doc/misc/edt.texi: Fix a typo in an email address.  Reported by
5622         "Herbert J. Skuhra" <herbert@mailbox.org>.
5624 2016-03-04  Eli Zaretskii  <eliz@gnu.org>
5626         Make 'mmap_realloc' on MS-Windows more reliable
5628         * src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
5629         committing fails, return NULL.  Don't call GetLastError twice for
5630         the same API error.
5631         (mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
5632         before calling VirtualQuery, to avoid using garbled values if the
5633         call fails.  If committing more pages from the same block fails,
5634         fall back on mmap_alloc + CopyMemory.  Enhance debugging printouts
5635         if the call to VirtualAlloc to commit more pages fails.
5636         (Bug#22526)
5638 2016-03-04  Oscar Fuentes  <ofv@wanadoo.es>
5640         Grep alias `all' shall not match parent directory
5642         * lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
5643           directory for `all'. Fixes bug#22577
5645 2016-03-04  Nicolas Petton  <nicolas@petton.fr>
5647         Bump version to 25.0.91
5649         * README:
5650         * configure.ac:
5651         * msdos/sed2v2.inp: Bump version to 25.0.91.
5653 2016-03-04  Nicolas Petton  <nicolas@petton.fr>
5655         * etc/AUTHORS: Update the AUTHORS file
5657 2016-03-04  Glenn Morris  <rgm@gnu.org>
5658 2016-02-15  Glenn Morris  <rgm@gnu.org>
5660         * lisp/dired-aux.el: Require cl-lib.  (Bug#22613)
5662 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5664         Index tilde characters in names of backup files
5666         * doc/emacs/files.texi (Backup Names): Improve indexing.
5667         (Bug#22625)
5669 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5671         Document deprecation of hi-lock-mode's 'C-x w' bindings
5673         * doc/emacs/display.texi (Highlight Interactively): Deprecate the
5674         "C-x w" bindings of hi-lock-mode.
5676         * etc/NEWS: Mark the deprecation entry as documented.
5678 2016-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5680         Announce that the `C-x w' bindings are deprecated
5682 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5684         Suppress GNUstep hardening
5686         Fedora 23 normally hardens GNUstep applications, which causes
5687         ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
5688         Fix this by eliding the hardening options (Bug#22518).
5689         * src/Makefile.in (LIBS_GNUSTEP): Omit options like
5690         ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
5691         (GNU_OBJC_CFLAGS): Omit options like
5692         ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
5694 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5696         Fix redisplay after a large insertion
5698         * src/xdisp.c (redisplay_internal): Don't accept the results of
5699         "optimization 3" if the cursor ends up in a partially visible
5700         glyph row.  (Bug22637)
5702 2016-02-15  Andreas Schwab  <schwab@linux-m68k.org>
5704         Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
5706         This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
5708                 * lisp/gnus/nnimap.el (nnimap-change-group): Revert last
5709                 change.  (Bug#22634)
5711 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5713         * lib-src/make-docfile.c: Include stdarg.h.
5715 2016-02-15  Alan Mackenzie  <acm@muc.de>
5717         Extend gpm-mouse-mode's doc string and doc to point out limitations.
5719         * lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
5720         inability to transfer text between Emacs and other programs which use GPM.
5722         * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
5723         between Emacs and other progrmas which use GPM.
5725 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5727         Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"
5729         * lisp/isearch.el: Turn char-folding back oon by default.
5731         This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.
5733 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
5735         Revert "Support integer image rotation and respect EXIF rotations"
5737         This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.
5739         This change does not work on Fedora.
5741 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
5743         Revert "Document EXIF image rotation"
5745         This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.
5747         This change does not work on Fedora, for instance.
5749 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5751         Document OS X LANG default
5753         * doc/emacs/cmdargs.texi (General Variables):
5754         Document OS X Language and Region system preference.
5755         Suggested by Alan Third.
5757 2016-02-15  Alan Third  <alan@idiocy.org>
5759         Set locale when run from OS X GUI
5761         * src/emacs.c (main): Call ns_init_locale.
5762         * src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
5763         * src/nsterm.h: Include ns_init_locale.
5765 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5767         make-docfile cleanup for I/O, etc.
5769         * lib-src/make-docfile.c (progname, generate_globals, num_globals)
5770         (num_globals_allocated, globals): Now static.
5771         (generate_globals, struct rcsoc_state, read_c_string_or_comment):
5772         (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
5773         Use bool for boolean.
5774         (verror): New function.
5775         (fatal, error): Use it.  API is now like printf.  All callers changed.
5776         (main): Remove err_count local that was always 0.
5777         (main, scan_c_stream, scan_lisp_file): Check for I/O error.
5778         (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
5779         Return void, not 0.
5780         (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
5781         (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
5782         (close_emacs_globals): Use ptrdiff_t for index, not int.
5783         (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
5784         opened, rather than diagnosing but exiting with status 0.
5785         (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
5786         portable now.
5788 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5790         Memory-management cleanup in make-docfile
5792         I compiled it with -fsanitize=address and fixed the leaks it detected.
5793         Also, I changed it to prefer signed to unsigned integer types,
5794         and to check for integer overflow.
5795         * lib-src/make-docfile.c:
5796         Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
5797         (memory_exhausted): New function.
5798         (xmalloc, xrealloc): Use it.
5799         (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
5800         (uncompiled, scan_lisp_file):
5801         Prefer signed integer types to unsigned.
5802         (xstrdup): Remove.  All uses removed.
5803         (num_globals, num_globals_allocated, write_globals, scan_c_stream):
5804         Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
5805         (add_global): Use const to pacify --enable-gcc-warnings.
5806         Make a copy here, rather than relying on strdup calls later.
5807         (add_global, write_globals, scan_c_stream):
5808         Avoid integer overflow when calculating sizes.
5809         (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
5810         (scan_c_stream): Check for add_global failure.
5812 2016-02-15  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
5814         Kevin Gallagher has new email address
5816         * lisp/emulation/edt.el:
5817         * lisp/emulation/edt-lk201.el:
5818         * lisp/emulation/edt-mapper.el:
5819         * lisp/emulation/edt-pc.el:
5820         * lisp/emulation/edt-vt100.el:
5821         * etc/edt-user.el:
5822         * doc/misc/edt.texi: Update Kevin Gallagher's email address.
5824 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5826         Improve doc strings of 'forward/backward-word-strictly'
5828         * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
5829         in the doc string.  Suggested by Glenn Morris <rgm@gnu.org>.
5830         * lisp/subr.el (forward-word-strictly, backward-word-strictly):
5831         Mention 'subword-mode' in the doc strings.
5833         * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
5834         in the doc string.  (Bug#22560)
5836 2016-02-15  Michael Albinus  <michael.albinus@gmx.de>
5838         Describe Makefile test targets in test/README
5840         * CONTRIBUTE: Move Makefile test targets to test/README.
5842         * Makefile.in:
5843         * test/README: Describe Makefile test targets.
5845 2016-02-15  Artur Malabarba  <bruce.connor.am@gmail.com>
5847         Backport: * lisp/isearch.el: Turn char-folding off by default
5849         (search-default-mode): Set default value to nil.
5851 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
5853         Document EXIF image rotation
5855         * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
5857 2016-02-15  Dima Kogan  <dima@secretsauce.net>
5859         Support integer image rotation and respect EXIF rotations
5861         * src/image.c (imagemagick_load_image): Allow integer rotations in
5862         addition to floating point rotations (bug#22591).
5863         * src/image.c (imagemagick_load_image): Images that have an
5864         orientation given in EXIF and have no explicit :rotation tag are now
5865         pre-rotated.  All information such as width/height is reported for the
5866         rotated image.
5868 2016-02-15  Matthew Carter  <m@ahungry.com>
5870         Quote table names for postgres listings (sql-mode)
5872         * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
5873           unquoted table names to the completion list.
5875 2016-02-15  Juri Linkov  <juri@linkov.net>
5877         * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.
5879         Doc fix.
5880         (replace-search, replace-highlight): Make arg `backward' optional.
5881         (Bug#18388)
5883 2016-02-15  Juri Linkov  <juri@linkov.net>
5885         * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.
5887         (previous-line-or-history-element): Reset temporary-goal-column.
5888         Use end-of-visual-line instead of line-end-position.  (Bug#22544)
5890 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5892         Suppress ACL ops if configured with --disable-acl
5894         Without this patch, some ACL operations were suppressed, but not all.
5895         * src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
5896         (Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.
5898 2016-02-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5900         Mention web bugs
5902         * doc/misc/emacs-mime.texi (Display Customization):
5903         Mention web bugs in the mm-html-blocked-images section.
5905 2016-02-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5907         Make mm-html-blocked-images default to "" again
5909         * lisp/gnus/mm-decode.el (mm-html-blocked-images):
5910         Default to "" that blocks all external images.
5912         * doc/misc/emacs-mime.texi (Display Customization):
5913         Mention that mm-html-blocked-images defaults to "".
5915 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5917         Minor alignas cleanup
5919         * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
5920         over from the old way of doing things, before Bug#20862 was fixed.
5922 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5924         Add lmalloc commentary and tweak laligned
5926         * src/alloc.c (laligned): Help compiler in a tiny way by putting
5927         the more-commonly-failing disjunct first.
5929 2016-02-15  Eli Zaretskii  <eliz@gnu.org>
5931         Clarify documentation of key binding conventions
5933         * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
5934         "punctuation characters" are reserved after "C-c".  (Bug#22604)
5936 2016-02-15  Oscar Fuentes  <ofv@wanadoo.es>
5938         * etc/NEWS: mention the `vc-faces' customization group
5940 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5942         Sync with gnulib
5944         This incorporates:
5945         2016-02-09 stdalign: port to clang 3.7.0
5946         2016-02-06 misc: port better to gcc -fsanitize=address
5947         * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
5948         Copy from gnulib.
5950 2016-02-15  Michael Albinus  <michael.albinus@gmx.de>
5952         * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
5954 2016-02-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5956         Make mm-html-inhibit-images and mm-html-blocked-images default to nil
5958         * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
5959         (mm-html-blocked-images): Default to nil.
5961         * doc/misc/emacs-mime.texi (Display Customization): Mention that
5962         mm-html-inhibit-images and mm-html-blocked-images default to nil.
5964         * etc/NEWS (Gnus): Document mm-html-inhibit-images and
5965         mm-html-blocked-images.
5967 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
5969         Increase success rate of fallback lmalloc
5971         * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
5972         larger and larger sizes, to increase the probability that
5973         the allocator will return a Lisp-aligned pointer.
5975 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
5977         Make backgrounds extend to the end of the lines in shr
5979         * lisp/net/shr.el (shr-face-background): Faces can also be on
5980         the form `(:background "#fff)' (bug#22547).
5982 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
5984         Make the `R' command get the correct relative <img>s
5986         * lisp/net/eww.el (eww-readable): Preserve the base URL so
5987         that image expansions are fetched from the right place (bug#22605).
5989         (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
5991         Backport:
5993 2016-02-15  Mike Kupfer  <m.kupfer@acm.org>
5995         Fix typos in emacs-mime.texi and gnus.texi
5997         * doc/misc/emacs-mime.texi (Display Customization):
5998         * doc/misc/gnus.texi (HTML): Fix typo.
6000 2016-02-15  Katsumi Yamaoka  <yamaoka@jpl.org>
6002         * doc/misc/emacs-mime.texi (Display Customization):
6003         Doc fix for mm-html-inhibit-images.
6005 2016-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
6007         Fix message-cross-post-followup-to group names
6009         * lisp/gnus/message.el (message-cross-post-followup-to): Don't
6010         insert group names like "nntp+foo:zot", because those aren't valid.
6012 2016-02-15  David Edmondson  <dme@dme.org>
6014         Compare recipient and keys case-insensitively
6016         * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
6017         recipient address with that from a key, do so in a case insensitive
6018         manner (bug#22603).
6020 2016-02-15  Glenn Morris  <rgm@gnu.org>
6022         * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
6024 2016-02-15  Katsumi Yamaoka  <yamaoka@jpl.org>
6026         Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
6028         * doc/misc/emacs-mime.texi (Display Customization):
6029         Remove mm-inline-text-html-with-images; add documentations for
6030         mm-html-inhibit-images and mm-html-blocked-images.
6032         * lisp/gnus/gnus-art.el (gnus-article-show-images):
6033         No need to bind mm-inline-text-html-with-images.
6034         (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
6035         (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
6036         bind mm-html-inhibit-images and mm-html-blocked-images.
6037         (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
6038         (gnus-mm-display-part, gnus-mime-display-single)
6039         (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
6041         * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
6042         (mm-html-inhibit-images, mm-html-blocked-images): New user options.
6043         (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
6044         mm-html-inhibit-images and mm-html-blocked-images respectively
6045         instead of gnus-inhibit-images and gnus-blocked-images.
6047         * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
6048         instead of mm-inline-text-html-with-images.
6050 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
6052         Port to FreeBSD 11-CURRENT i386
6054         Problem reported by Herbert J. Skuhra in:
6055         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
6056         Instead of trying
6057         * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
6058         (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
6059         (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
6060         (MALLOC_IS_GC_ALIGNED): New macro.
6061         * src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
6062         No longer needed now that alloc.c uses lmalloc and lrealloc.
6064 2016-02-15  Michael Albinus  <michael.albinus@gmx.de>
6066         Some fixes in file-notify-tests.el
6068         * test/automated/file-notify-tests.el
6069         (file-notify--test-with-events-check)
6070         (file-notify--test-with-events-explainer): New defuns.
6071         (file-notify--test-with-events): Use it.
6072         (file-notify-test07-backup): Fix docstring.  Some of the
6073         backends fire two `changed' events.  Backup by rename doesn't
6074         work for kqueue.
6076 2016-02-15  Michael Albinus  <michael.albinus@gmx.de>
6078         Fix Bug#22557
6080         * lisp/filenotify.el (file-notify-callback): Do not send a
6081         `stopped' event in case of backup by renaming.  (Bug#22557)
6083         * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
6084         all targets but check and check-maybe.
6086         * test/automated/file-notify-tests.el
6087         (file-notify--test-read-event-timeout): New defconst.
6088         (file-notify--deftest-remote, file-notify--wait-for-events)
6089         (file-notify-test02-events)
6090         (file-notify-test04-file-validity)
6091         (file-notify-test06-many-events): Use it.
6092         (file-notify--test-cleanup): Make it more robust.  Delete also
6093         backup file.
6094         (file-notify-test07-backup): New test.
6096 2016-02-15  Paul Eggert  <eggert@cs.ucla.edu>
6098         Fix test for dladdr
6100         Problem reported by Andreas Schwab in:
6101         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
6102         * configure.ac (dladdr): Link with LIBMODULES when checking for
6103         this function.
6105 2016-02-15  Andreas Schwab  <schwab@linux-m68k.org>
6107         Fix gnus-group-get-new-news-this-group on group with closed server
6109         * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
6110         method and pass to nnimap-open-server.
6112 2016-02-15  Artur Malabarba  <bruce.connor.am@gmail.com>
6113 2016-02-14  Nicolas Petton  <nicolas@petton.fr>
6115         * doc/lispref/sequences.texi: Add documentation for seq-map-indexed
6117 2016-02-14  Nicolas Petton  <nicolas@petton.fr>
6119         New function seq-map-indexed
6121         * lisp/emacs-lisp/seq.el (seq-map-indexed): New function.
6122         * test/lisp/emacs-lisp/seq-tests.el: Add tests for seq-map-indexed.
6124 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6126         * lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.
6128 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6130         Fix problem with wrong encoding of non-ASCII message bodies
6132         * lisp/gnus/mml.el (mml-generate-mime-1): Disable
6133         multibyteness before encoding the data.
6135 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6137         Remove codepage setup code from mm-util
6139         * lisp/gnus/mm-util.el (mm-codepage-setup): Remove.
6140         (mm-codepage-iso-8859-list): Remove.
6141         (mm-codepage-ibm-list, mm-setup-codepage-iso-8859)
6142         (mm-setup-codepage-ibm): Remove.
6143         (mm-charset-eval-alist): Remove the code pages from the
6144         default value.
6146 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6148         Remove compat code for older Emacsen
6150         * lisp/gnus/gnus-art.el (gnus-button-url-regexp): Remove
6151         XEmacs compat code.
6153         * lisp/gnus/gnus-sync.el (gnus-sync-json-alist-p): Remove
6154         unused compat function.
6155         (gnus-sync-json-plist-p): Ditto.
6157         * lisp/gnus/message.el (message-default-charset): Make obsolete.
6158         (message-info): Remove compat code.
6159         (message-setup-fill-variables): Remove kludge needed earlier
6160         to not overwrite `normal-auto-fill-function'.
6161         (message-split-line): Remove compat code.
6163         * lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove
6164         compat code.
6166 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6168         Remove some compat functions from gmm-utils.el
6170         * lisp/gnus/gmm-utils.el (gmm-tool-bar-from-list): Remove
6171         compat code.
6172         (gmm-image-search-load-path): Remove.
6173         (gmm-image-load-path-for-library): Remove.
6175 2016-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6177         Remove the gmm-lazy and nnmail-lazy compat widgets
6179         * lisp/gnus/gmm-utils.el (gmm-lazy): Remove.
6181         * lisp/gnus/nnmail.el (nnmail-lazy): Remove.
6183 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6185         Clean up nnimap-request-move-article slightly
6187         * lisp/gnus/nnheader.el (subr-x): Require.
6189         * lisp/gnus/nnimap.el (nnimap-request-move-article): Clean up
6190         the code slightly.
6192 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6194         Use open-network-stream instead of open-protocol-stream
6196         * lisp/gnus/nnimap.el: Use open-network-stream instead of
6197         open-protocol-stream.
6199         * lisp/gnus/nntp.el: Ditto.
6201         * lisp/gnus/pop3.el: Ditto.
6203         * lisp/gnus/sieve-manage.el: Ditto.
6205         * lisp/net/network-stream.el (open-protocol-stream): Make obsolete.
6207 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6209         Remove compat code that relies on (featurep 'mule)
6211         * lisp/gnus/gnus-group.el (gnus-group-name-decode): Remove
6212         compat code.
6214         * lisp/gnus/gnus-start.el (gnus-read-descriptions-file):
6215         Remove compat code.
6217         * lisp/gnus/mm-bodies.el (mm-decode-body, mm-decode-string):
6218         Remove compat code.
6220         * lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
6221         Remove compat code.
6222         (mm-w3m-standalone-supports-m17n-p): Ditto.
6224 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6226         Remove compat functions from starttls.el
6228         * lisp/gnus/starttls.el
6229         (starttls-set-process-query-on-exit-flag): Remove.
6231 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6233         Remove compat functions from smime.el
6235         * lisp/gnus/smime.el (smime-replace-in-string): Remove.
6236         (smime-make-temp-file): Remove.
6238 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6240         Remove compat code from smiley
6242         * lisp/gnus/smiley.el (smiley-style): Remove compat code.
6244 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6246         Remove compat code from rfc2047
6248         * lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Remove
6249         compat code.
6250         (rfc2047-decode-string): Ditto.
6252 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6254         Remove compat function from pop3
6256         * lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.
6258 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6260         Remove compat code in Gnus backends
6262         * lisp/gnus/nndiary.el (nndiary-error): Remove.
6264         * lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.
6266         * lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.
6268         * lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.
6270         * lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.
6272 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6274         Remove compat code from some mml files
6276         * lisp/gnus/mml-sec.el (mml-secure-passphrase-cache-expiry):
6277         Remove compat code.
6279         * lisp/gnus/mml-smime.el (mml-smime-openssl-sign-query):
6280         Always use `mail-extract-address-components', since this isn't
6281         time critical.
6282         (mml-smime-get-dns-cert): Ditto.
6284         * lisp/gnus/mml.el (mml-preview): Remove compat code.
6286 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6288         Remove compat code and compat functions from mm-util.el
6290         * lisp/gnus/mm-util.el (mm-mime-mule-charset-alist): Remove
6291         compat code.
6292         (mm-coding-system-priorities)
6293         (mm-mule-charset-to-mime-charset, mm-charset-after)
6294         (mm-mime-charset, mm-iso-8859-x-to-15-region): Remove compat code.
6295         (mm-detect-coding-region): Define unconditionally.
6296         (mm-detect-mime-charset-region): Ditto.
6297         (mm-coding-system-to-mime-charset): It's 'mime-charset now.
6298         (coding-system-name)
6299         (find-file-coding-system-for-read-from-filename)
6300         (find-operation-coding-system): Remove aliases.
6302 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6304         Remove some compat code from mm-*.el
6306         * lisp/gnus/mm-bodies.el (mm-decode-body): Ditto.
6308         * lisp/gnus/mm-decode.el (mm-tmp-directory)
6309         (mm-valid-image-format-p): Remove compat code.
6311         * lisp/gnus/mm-url.el (mm-url-insert-file-contents): Remove
6312         "Connection" "Close" workaround for older Emacsen.
6314 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6316         Remove compat code and functions from message.el
6318         * lisp/gnus/message.el (message-send-mail-function): Remove
6319         compat code.
6320         (message-dont-reply-to-names, message-mode)
6321         (message-setup-fill-variables, message-fill-paragraph)
6322         (message-remove-blank-cited-lines, message-make-from)
6323         (message-forward-rmail-make-body, message-tool-bar-gnome)
6324         (message-tab): Remove compat code.
6325         (message-completion-in-region): Remove.
6326         (message-read-from-minibuffer): Remove compat code.
6328 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6330         Declare rfc1843 instead of autoloading
6332         * lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
6333         instead of autoload.
6335 2016-02-13  Eli Zaretskii  <eliz@gnu.org>
6337         Avoid signaling an error in 'dired-do-find-regexp-and-replace'
6339         * lisp/dired-aux.el: Require cl-lib, so that 'cl-mapcan' is
6340         autoloaded correctly.  (Bug#22613)
6342 2016-02-13  Eli Zaretskii  <eliz@gnu.org>
6344         Fix network-stream-tests.el for MS-Windows
6346         * test/lisp/net/network-stream-tests.el
6347         (connect-to-tls-ipv6-nowait): Skip for MS-Windows builds.
6348         (connect-to-tls-ipv4-wait): Add a 0.1 sleep-for.
6350 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6352         Remove some Message compat functions
6354         * lisp/gnus/message.el (message-kill-all-overlays): Define
6355         unconditionally.
6356         (message-window-inside-pixel-edges): Remove.
6357         (mail-dont-reply-to): Remove.
6359 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6361         Remove some Gnus compat code
6363         * lisp/gnus/gnus-art.el (gnus-mime-inline-part): Remove compat code.
6364         (gnus-mm-display-part): Ditto.
6366         * lisp/gnus/gnus-start.el (gnus-dribble-read-file): Remove
6367         compat code.
6369 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6371         Sort groups before inserting them into the group buffer
6373         * lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
6374         Sort groups before inserting them.
6376 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6378         Make "unseen" tracking work again in Gnus
6380         * lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
6381         tracking work again.
6383 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6385         Remove Gnus compat functions defined in gnus.el
6387         * lisp/gnus/gnus.el (gnus-extent-detached-p): Remove.
6388         (gnus-extent-start-open, gnus-character-to-event)
6389         (gnus-assq-delete-all, gnus-add-text-properties)
6390         (gnus-put-text-property, gnus-key-press-event-p):
6392 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6394         Remove compat code from gnus-uu and win
6396         * lisp/gnus/gnus-util.el (gnus-image-type-available-p): Remove
6397         compat code.
6399         * lisp/gnus/gnus-uu.el (gnus-uu-tmp-dir): Remove compat code.
6401         * lisp/gnus/gnus-win.el (gnus-frames-on-display-list): Remove.
6403 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6405         Remove several gnus-util compat functions
6407         * lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove.
6408         (gnus-read-shell-command): Remove.
6409         (gnus-match-substitute-replacement): Remove.
6410         (gnus-string-match-p): Remove.
6411         (gnus-string-prefix-p): Remove.
6413 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6415         Remove the gnus-merge alias
6417         * lisp/gnus/gnus-util.el (gnus-merge): Remove.
6419 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6421         Remove the gnus-union alias
6423         * lisp/gnus/gnus-util.el (gnus-union): Remove.
6425 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6427         Remove the gnus-delete-alist alias
6429         * lisp/gnus/gnus-util.el (gnus-run-mode-hooks): Remove compat code.
6430         (gnus-delete-alist): Remove.
6432 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6434         Remove the gnus-float-time alias
6436         * lisp/gnus/gnus-util.el (gnus-completion-styles): Remove
6437         compat code.
6438         (gnus-float-time): Remove.
6440 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6442         Remove compat code from gnus-srvr, start and sum
6444         * lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Remove
6445         compat code.
6447         * lisp/gnus/gnus-start.el (gnus-check-reasonable-setup):
6448         Remove compat code.
6450         * lisp/gnus/gnus-sum.el (gnus-summary-display-arrow)
6451         (gnus-summary-make-menu-bar, gnus-summary-make-tool-bar)
6452         (gnus-recenter)
6453         (gnus-summary-limit-strange-charsets-predicate)
6454         (gnus-summary-show-thread): Remove compat code.
6456 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6458         Remove compat code from gnus-spec.el
6460         * lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
6461         (gnus-balloon-face-function): Remove compat code.
6463 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6465         Fix compat change in last check-in
6467         * lisp/gnus/gnus-group.el
6468         (gnus-group-name-charset-group-alist): `find-coding-system'
6469         doesn't exist in Emacs.
6471 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6473         Always use url-queue
6475         * lisp/gnus/gnus-html.el (gnus-html-schedule-image-fetching):
6476         Always use url-queue.
6478 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6480         Remove compat functions from gnus-html.el
6482         * lisp/gnus/gnus-html.el (gnus-html-encode-url-chars): Remove.
6484 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6486         Remove compat code from gnus-group.el
6488         * lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
6489         (gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.
6491 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6493         Define gnus-diary-kill-entire-line unconditionally
6495         * lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
6496         Define unconditionally.
6498 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6500         Remove compat code from gnus-cache and gnus-bookmark
6502         * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Ditto.
6504         * lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-name):
6505         Remove compat code.
6507 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6509         Remove compat code from gnus-art.el
6511         * lisp/gnus/gnus-art.el (gnus-article-prepare)
6512         (gnus-mime-copy-part, gnus-output-to-file)
6513         (gnus-article-reply-with-original)
6514         (gnus-button-handle-apropos-variable)
6515         (gnus-button-handle-apropos-documentation):
6517 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6519         Remove compat code from gnus-agent.el
6521         * lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string):
6522         Remove compat code.
6524 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6526         Rewrite gmm-labels usage to use cl-labels
6528         * lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Remove compat code.
6529         (gmm-labels): Remove.
6531 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6533         Remove compat code from canlock.el
6535         * lisp/gnus/canlock.el (defmacro): Remove
6537 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6539         Remove compat code from auth-source
6541         * lisp/gnus/auth-source.el (auth-source-read-char-choice):
6542         Remove compat code.
6544 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6546         Fix gnus-group.el compilation warnings about unprefixed variables
6548         * lisp/gnus/gnus-group.el (gnus-group-update-eval-form): Avoid
6549         compilation warnings by passing in the dynamic variables as
6550         explicit lexical parameters to `eval'.
6552 2016-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6554         Fix the :tracker slot name
6556         * lisp/gnus/registry.el (registry-lookup-secondary): The
6557         `tracker' slot is called `tracker', not `:tracker'.
6559 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6561         Fix compilation warnings in gnus-art.el
6563         * lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
6564         (gnus-article-hide): Avoid compilation warnings.
6566 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6568         Fix compilation warning in gnus-score.el
6570         * lisp/gnus/gnus-score.el (gnus-art): Require to silence byte
6571         compiler.
6573 2016-02-12  Andreas Schwab  <schwab@linux-m68k.org>
6575         Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
6577         This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
6579         This makes nnimap groups not be activated.
6581 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6583         Fix encoding problem introduced by previous patch series
6585         * lisp/gnus/rfc2047.el: Ditto (bug#22648).
6587         * lisp/gnus/rfc2231.el: Fix problem created by the
6588         mm-replace-in-string conversion.
6590 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6592         Revert "Avoid defvarring prefix-less variables"
6594         This reverts commit 303390bda34f98b400798d5383cf0d722e35ba19.
6596         The defvars are needed if we're doing lexical-binding
6598 2016-02-12  Glenn Morris  <rgm@gnu.org>
6600         * test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth):
6601         Make it pass.
6603         * test/lisp/url/url-auth-tests.el
6604         (url-auth-test-digest-auth-retrieve-cache): Fix obvious typo.
6606 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6608         Finish up cl-defmethoding registry,el
6610         * lisp/gnus/registry.el (initialize-instance): Use cl-defmethod.
6612 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6614         Revert the gnus-replace-in-string change, fix arguments, reapply
6616 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6618         Silence more message.el compilation warnings
6620         * lisp/gnus/message.el (message-generate-headers): Don't use
6621         variable values directly to get the header values, because
6622         that breaks with lexical binding (without unprefixed defvars).
6624 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6626         Fix various compilation warnings in message.el
6628         * lisp/gnus/message.el (message-fix-before-sending): Use
6629         read-multiple-choice instead of gnus-multiple-choice.
6630         (mm-util): Require.
6631         (rfc2047): Require.
6632         (message-remove-blank-cited-lines): Use message instead of
6633         gnus-message.
6634         (message-send): Use y-or-n-p instead of gnus-y-or-n-p.
6636 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6638         Silence compilation warning in mm-view
6640         * lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
6641         compilation warning.
6643 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6645         Fix epg-related compilation warnings in mml-sec
6647         * lisp/gnus/mml-sec.el: Fix compilation warnings from the epg
6648         library.
6650 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6652         rmail-dont-reply-to-names is obsolete
6654         * lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Don't bind
6655         the obsolete `rmail-dont-reply-to-names' variable.
6657 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6659         Partially revert the defmethod->cl-defmethod change in registry.el
6661         * lisp/gnus/registry.el (initialize-instance): Use defmethod,
6662         since cl-defmethod doesn't work with :after.
6663         (initialize-instance): Ditto, but with :before.
6665 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6667         Avoid obsolete function in plstore
6669         * lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
6670         instead of the obsolete epg-context-set-armor.
6672 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6674         Use cl-defmethod in registry.el
6676         * lisp/gnus/registry.el: Use cl-defmethod instead of the
6677         obsolete defmethod.
6679 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6681         Make sieve-manage require sasl
6683         * lisp/gnus/sieve-manage.el: Fix compilation warning by
6684         requiring sasl.
6686 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6688         Avoid defvarring prefix-less variable
6690         * lisp/gnus/mm-uu.el (mm-uu-entry): Rename from `entry'.
6692 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6694         * lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.
6696 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6698         Don't use the obsolete char-valid-p function
6700         * lisp/gnus/mm-url.el (mm-url-decode-entities): Don't use the
6701         obsolete char-valid-p function.
6703 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6705         Fix missed translation in a previous commit
6707         * lisp/gnus/mailcap.el (mailcap-mime-types): Fix missed
6708         translation of mailcap-delete-duplicates.
6710 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6712         Avoid using mm-make-temp-file
6714         * lisp/gnus/mail-source.el (mail-source-delete-crash-box): Ditto.
6716         * lisp/gnus/mm-decode.el (mm-display-external): Ditto.
6718         * lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Ditto.
6720 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6722         Fix compilation warning in gnus-start
6724         * lisp/gnus/gnus-start.el (gnus-slave-save-newsrc): Avoid
6725         mm-make-temp-file.
6727 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6729         Avoid the obsoleted defmethod
6731         * lisp/gnus/gnus-icalendar.el: Use cl-defmethod instead of
6732         defmethod.
6734 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6736         Avoid defvarring prefix-less variables
6738         * lisp/gnus/gnus-group.el (gnus-group-update-eval-form): We
6739         don't need to `defvar' the short variables to allow `eval' to
6740         use them.
6742 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6744         nnweb doesn't need unibyte buffers
6746         * lisp/gnus/nnweb.el (nnweb-retrieve-headers)
6747         (nnweb-read-overview, nnweb-request-article)
6748         (nnweb-google-reference): Unibyte buffers are not needed here.
6750 2016-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
6752         Encode before sending from nnspool
6754         * lisp/gnus/nnspool.el (nnspool-request-post): Encode data
6755         before sending it to the news server.
6757 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6759         nnrss buffers don't have to be unibyte
6761         * lisp/gnus/nnrss.el (nnrss-insert): The buffer doesn't have
6762         to be unibyte just to receive data, I think.
6764 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6766         Don't use mm-with-unibyte-current-buffer in mml2015
6768         * lisp/gnus/mml2015.el (mml2015-mailcrypt-encrypt): Don't use
6769         mm-with-unibyte-current-buffer.
6771 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6773         Don't use mm-with-unibyte-current in mml1991
6775         * lisp/gnus/mml1991.el (mml1991-epg-sign): Don't use
6776         mm-with-unibyte-current.
6778 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6780         Don't use mm-with-unibyte-current in mml1991
6782         * lisp/gnus/mml1991.el (mml1991-pgg-sign): Don't use
6783         mm-with-unibyte-current.
6785 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6787         Don't use mm-with-unibyte-buffer in utf7
6789         * lisp/gnus/utf7.el (utf7-fragment-encode): Don't use
6790         mm-with-unibyte-buffer.
6792 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6794         Remove XEmacs compat code from Gnus helper libraries
6796         * lisp/gnus/plstore.el (plstore-called-interactively-p): Remove.
6798         * lisp/gnus/pop3.el (pop3-make-date): Remove XEmacs compat.
6800         * lisp/gnus/sieve-mode.el: Remove XEmacs compat.
6802         * lisp/gnus/spam-stat.el (spam-stat-called-interactively-p): Remove.
6804 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6806         Remove XEmacs compat code from Gnus backends
6808         * lisp/gnus/mm-view.el (mm-inline-image-xemacs): Remove.
6809         (mm-inline-image): Rename from mm-inline-image-emacs.
6811         * lisp/gnus/mml.el: Remove XEmacs compat code.
6813         * lisp/gnus/nnheader.el: Remove XEmacs compat code.
6815         * lisp/gnus/nnimap.el (nnimap-open-connection-1): Remove
6816         XEmacs compat code.
6818         * lisp/gnus/nnir.el (nnir-run-gmane): Remove XEmacs compat code.
6820         * lisp/gnus/nnmail.el (nnmail-pathname-coding-system): Remove
6821         XEmacs compat code.
6823         * lisp/gnus/nnmairix.el: Remove XEmacs compat code.
6825         * lisp/gnus/nnrss.el: Remove XEmacs compat code.
6827         * lisp/gnus/nntp.el: Remove XEmacs compat code.
6829 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6831         Remove XEmacs compat functions from mm-util.el
6833         * lisp/gnus/mm-util.el (mm-special-display-p): Remove.
6834         (mm-decode-coding-string, mm-encode-coding-string)
6835         (mm-decode-coding-region, mm-encode-coding-region): Remove.
6836         (mm-string-to-multibyte): Remove.
6837         (mm-char-or-char-int-p): Remove.
6838         (mm-ucs-to-char): Remove compat versions of the function.
6839         (mm-read-coding-system): Remove.
6840         (mm-coding-system-p): Remove compat code.
6841         (mm-enrich-utf-8-by-mule-ucs): Remove.
6842         (mm-enable-multibyte, mm-disable-multibyte): Remove compat versions.
6843         (mm-delete-duplicates): Remove.
6844         (mm-multibyte-p): Remove compat versions.
6845         (mm-xemacs-find-mime-charset-1): Remove.
6846         (mm-xemacs-find-mime-charset): Remove.
6847         (mm-make-temp-file): Made obsolete.
6848         (mm-find-buffer-file-coding-system): Remove XEmacs compat.
6850 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6852         Remove Message and mm-decode XEmacs compat code
6854         * lisp/gnus/message.el: Remove XEmacs compat code.
6856         * lisp/gnus/mm-decode.el (mm-create-image-xemacs): Remove.
6858         * lisp/gnus/mm-util.el: Remove some XEmacs compat code.
6860 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6862         Remove som XEmacs compat code from message.el
6864         * lisp/gnus/message.el: Remove some XEmacs compat code.
6866 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6868         Remove XEmacs compat code from ietf-drums.el
6870         * lisp/gnus/ietf-drums.el (ietf-drums-syntax-table): Drop
6871         XEmacs compat.
6873 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6875         Remove XEmacs compat code from gravatar.el
6877         * lisp/gnus/gravatar.el: Remove XEmacs compat code from
6878         gravatar.el.
6880 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6882         Remove more XEmacs compat code from Gnus
6884         * lisp/gnus/gnus-util.el (gnus-bound-and-true-p): Remove.
6885         (gnus-timer--function): Remove.
6887         * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Remove XEmacs
6888         19.2 compat.
6890         * lisp/gnus/gnus-win.el: Remove XEmacs compat code.
6892 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6894         Remove more XEmacs compat functions from gnus-util.el
6896         * lisp/gnus/gnus-util.el (gnus-put-display-table): Remove.
6897         (gnus-get-display-table): Remove.
6898         (gnus-format-message): Remove.
6900 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6902         Remove more XEmacs compat functions from Gnus
6904         * lisp/gnus/gnus-util.el (gnus-next-char-property-change): Remove.
6905         (gnus-previous-char-property-change): Remove.
6906         (gnus-graphic-display-p): Remove.
6907         (gnus-select-frame-set-input-focus): Remove.
6909 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6911         Remove more XEmacs compat code from gnus-util
6913         * lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
6914         all its usages).
6915         (gnus-invisible-p): Remove.
6917 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6919         Remove gnus-make-local-hook
6921         * lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
6922         all its usages).
6924 2016-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
6926         gnus-replace-in-string -> replace-regexp-in-string
6928         * lisp/gnus/gnus-util.el (gnus-replace-in-string): Declare
6929         obsolete.  Transform all usages of it into
6930         replace-regexp-in-string.
6932         * lisp/gnus/mailcap.el (mailcap-replace-in-string): Remove.
6934 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6936         Remove Gnus XEmacs compat
6938         * lisp/gnus/gnus-start.el (gnus-dribble-enter): Remove comment
6939         about code that doesn't work in XEmacs.
6941         * lisp/gnus/gnus-sum.el: Remove XEmacs compat.
6943         * lisp/gnus/gnus-topic.el: Remove XEmacs compat.
6945 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6947         Remove compat functions in gnus-spec.el
6949         * lisp/gnus/gnus-spec.el (gnus-string-width-function): Remove.
6950         (gnus-substring-function): Remove.
6951         (gnus-use-correct-string-widths): Remove.
6952         (gnus-make-format-preserve-properties): Remove.
6953         (gnus-xmas-format): Remove.
6955         * lisp/gnus/gnus-srvr.el (gnus-server-mode): Remove XEmacs compat.
6957 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6959         Remove Gnus XEmacs compat functions
6961         * lisp/gnus/gnus-registry.el: Remove XEmacs compat.
6963         * lisp/gnus/gnus-salt.el: Remove XEmacs compat.
6965         * lisp/gnus/gnus-score.el (gnus-decay-score): Remove XEmacs compat.
6967 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6969         Remove Gnus XEmacs compatibility
6971         * lisp/gnus/gnus-demon.el (gnus-demon-idle-since): Remove
6972         XEmacs compat.
6974         * lisp/gnus/gnus-dired.el: Remove XEmacs compat.
6976         * lisp/gnus/gnus-draft.el: Remove XEmacs compat.
6978         * lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Remove
6979         XEmacs compat.
6981         * lisp/gnus/gnus-group.el: Remove XEmacs compat.
6983         * lisp/gnus/gnus-html.el: Remove XEmacs compat.
6985         * lisp/gnus/gnus-ml.el: Remove XEmacs compat.
6987         * lisp/gnus/gnus-picon.el (gnus-picon-style): Remove XEmacs comment.
6989 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6991         Don't use image-map if it isn't defined
6993         * lisp/net/shr.el (shr-image-map): Only use image-map as a
6994         parent if it's defined (bug#22614).
6996 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6998         Check for MagickAutoOrientImage
7000         * configure.ac: Check for MagickAutoOrientImage.
7002         * src/image.c (imagemagick_load_image): Don't use
7003         MagickAutoOrientImage unless it's available.
7005 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7007         Document EXIF image rotation
7009         * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
7011 2016-02-10  Dima Kogan  <dima@secretsauce.net>
7013         Support integer image rotation and respect EXIF rotations
7015         * src/image.c (imagemagick_load_image): Allow integer rotations in
7016         addition to floating point rotations (bug#22591).
7017         * src/image.c (imagemagick_load_image): Images that have an
7018         orientation given in EXIF and have no explicit :rotation tag are now
7019         pre-rotated.  All information such as width/height is reported for the
7020         rotated image.
7022 2016-02-10  Wolfgang Jenkner  <wjenkner@inode.at>
7024         * lisp/net/shr.el (image-map): Defvar it.  (Bug#22614)
7026 2016-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7028         * lisp/gnus/gnus-cite.el: Remove XEmacs compat code.
7030 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7032         Remove compat code from gnus-bookmark.el
7034         * lisp/gnus/gnus-bookmark.el (gnus-bookmark-mouse-available-p): Remove.
7035         (gnus-bookmark-remove-properties): Remove.
7037 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7039         Remove XEmacs compat code from gnus-a*.el
7041         * lisp/gnus/gnus-agent.el: Remove compat code.
7043         * lisp/gnus/gnus-art.el: Remove compat code.
7045         * lisp/gnus/gnus-async.el: Remove compat code.
7047 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7049         Remove gmm compat functions
7051         * lisp/gnus/gmm-utils.el (gmm-image-search-load-path): Remove.
7052         (gmm-write-region): Remove.
7053         (gmm-called-interactively-p): Remove.
7055 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7057         * lisp/gnus/ecomplete.el: Remove XEmacs compat code.
7059 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7061         Remove compat code from compface.el
7063         * lisp/gnus/compface.el: Remove XEmacs compat code throughout.
7065 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7067         Remove the now empty gnus-ems.el and references to it
7069 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7071         Remove Gnus compat names for mouse bindings
7073         * lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove.
7074         (gnus-down-mouse-2): Remove.
7075         (gnus-down-mouse-3): Remove.
7077 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7079         Drop Gnus compat functions
7081         * lisp/gnus/gnus-ems.el (gnus-mule-max-width-function): Remove.
7083         * lisp/gnus/gnus-util.el (gnus-kill-all-overlays): Move here.
7085         * lisp/gnus/gnus.el (gnus-mode-line-modified): Remove.
7087 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7089         Get rid of gnus-ems-redefine
7091         * lisp/gnus/gnus-ems.el (gnus-mouse-face-prop): Remove.
7093 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7095         * lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.
7097 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7099         Remove Gnus compat code
7101         * lisp/gnus/gnus-ems.el (gnus-ems-redefine): Remove
7102         transitional code from ten years ago.
7104 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7106         Allow interactively scaling past :max-width etc
7108         * lisp/image.el (image--current-scaling)
7109         (image--image-without-parameters): New functions.
7110         (image--change-size): Use them to allow changing the size of a
7111         image even if it has :width/:max-width (etc.) already set.
7113 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7115         * lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.
7117 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7119         Allow accessing the image commands via shr
7121         * lisp/gnus/mm-decode.el (mm-convert-shr-links): Allow
7122         accessing the image commands.
7124         * lisp/net/shr.el (shr-image-map): New map used for images.
7125         (shr-urlify): Don't overwrite image maps when applying URL maps.
7127 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7129         Use a sparse image keymap
7131         * lisp/image.el (image-map): Use a sparse keymap.
7133 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7135         Put a keymap on images created with insert-image and friends
7137         * lisp/image.el (image-save): New command.
7138         (image-rotate): Ditto.
7139         (image-map): New keymap.
7140         (insert-image): Put the image-map on all images.
7141         (insert-sliced-image): Ditto.
7142         * doc/lispref/display.texi (Showing Images): Document the
7143         image map.
7145 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7147         Fix some folding issues in read-multiple-choice
7149         * lisp/subr.el (read-multiple-choice): Fix folding when you
7150         have many items.
7152 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7154         Fix typo in last checkin
7156 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7158         Remove Gnus compat functions
7160         * lisp/gnus/gnus-ems.el (gnus-mark-active-p)
7161         (gnus-region-active-p, gnus-select-lowest-window)
7162         (gnus-summary-display-table, gnus-max-width-function): Remove
7163         compat functions.
7165 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7167         Move non-compat Gnus functions to gnus-util.el
7169         * lisp/gnus/gnus-util.el (gnus-remove-image, gnus-put-image)
7170         (gnus-create-image, gnus-image-type-available-p): Move here
7171         from gnus-ems.el, since these aren't compat functions.
7173 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7175         Omit valloc decl if redundant
7177         * src/gmalloc.c (valloc): Omit decl if malloc.h is included,
7178         to pacify --enable-gcc-warnings.
7180 2016-02-09  Wolfgang Jenkner  <wjenkner@inode.at>
7182         Restore the calloc family.
7184         * src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
7185         They were lost in a4817d8 but calloc is still (marginally) used in
7186         code statically liked with emacs, so hybrid_calloc is needed.
7187         Also, in the non-hybrid case, we can't get rid of calloc anyway as
7188         other libraries liked with emacs may need it.
7189         * src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.
7191 2016-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7193         Remove some Gnus compat functions
7195         * lisp/gnus/gnus-ems.el (gnus-string-mark-left-to-right)
7196         (gnus-window-inside-pixel-edges, gnus-set-process-plist)
7197         (gnus-process-plist, gnus-process-get, gnus-process-put): Remove.
7199 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7201         -
7203         -
7205 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7207         Merge from origin/emacs-25
7209         4feb962 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
7210         cc419fb Don't inloop gnus-uu-mark-thread on the last thread
7211         51c77a2 Display non-ASCII group names better in prompts
7212         f93d669 Default to gpg2 instead of gpg
7214 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7216         Merge from origin/emacs-25
7218         9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
7219         16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
7220         3db6adb * lisp/isearch.el (search-default-mode)
7221         4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
7222         c77ffc8 Use monitor's resolution for positioning tooltips
7223         49e5749 Fix file-notify-test on MS-Windows
7224         be1d874 Fix issues found by auditing w32notify code
7225         87ae218 Extend etags Ruby support for accessors
7226         aa35257 Update publicsuffix.txt.
7227         6816bff Ensure that Gnus dribble handling allows removing entries
7228         691feae Be consistent when using encoded strings in nnimap data
7229         3ed423b Display the decoded Gnus group name
7230         5428b5b Use completion-ignore-case instead of defining command
7232 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7234         Merge from origin/emacs-25
7236         1eaf68f * test/automated/file-notify-tests.el (file-notify-test06-many-events):
7237         d333716 ; * etc/NEWS: Expand news entry for scss-mode
7238         c32c16f ; Better document changes in ls-lisp default behavior
7239         dc6eed2 Fix doc string of tls-program
7241 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7243         Merge from origin/emacs-25
7245         2c117fc * etc/NEWS: Document new mpc.el features
7246         71a0496 * lisp/custom.el (defface): Revert indentation change.  (Bug#22524)
7247         9dfece1 Correctly fontify C++ initializations which "look like" functions.
7248         4485222 Improve newsticker-treeview-selection-face
7249         4236944 Minor fix in tagging Ruby accessors by etags
7250         35fc77d Spelling fixes
7251         3dda110 Remove 'def X' from the example
7253 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7255         Minor alignas cleanup
7257         * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
7258         over from the old way of doing things, before Bug#20862 was fixed.
7260 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7262         Add lmalloc commentary and tweak laligned
7264         * src/alloc.c (laligned): Help compiler in a tiny way by putting
7265         the more-commonly-failing disjunct first.
7267 2016-02-09  Eli Zaretskii  <eliz@gnu.org>
7269         Clarify documentation of key binding conventions
7271         * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
7272         "punctuation characters" are reserved after "C-c".  (Bug#22604)
7274 2016-02-09  Oscar Fuentes  <ofv@wanadoo.es>
7276         * etc/NEWS: mention the `vc-faces' customization group
7278 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7280         Sync with gnulib
7282         This incorporates:
7283         2016-02-09 stdalign: port to clang 3.7.0
7284         2016-02-06 misc: port better to gcc -fsanitize=address
7285         * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
7286         Copy from gnulib.
7288 2016-02-09  Michael Albinus  <michael.albinus@gmx.de>
7290         * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
7292 2016-02-09  Katsumi Yamaoka  <yamaoka@jpl.org>
7294         Make mm-html-inhibit-images and mm-html-blocked-images default to nil
7296         * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
7297         (mm-html-blocked-images): Default to nil.
7299         * doc/misc/emacs-mime.texi (Display Customization): Mention that
7300         mm-html-inhibit-images and mm-html-blocked-images default to nil.
7302         * etc/NEWS (Gnus): Document mm-html-inhibit-images and
7303         mm-html-blocked-images.
7305 2016-02-08  Paul Eggert  <eggert@cs.ucla.edu>
7307         Increase success rate of fallback lmalloc
7309         * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
7310         larger and larger sizes, to increase the probability that
7311         the allocator will return a Lisp-aligned pointer.
7313 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7315         Make backgrounds extend to the end of the lines in shr
7317         * lisp/net/shr.el (shr-face-background): Faces can also be on
7318         the form `(:background "#fff)' (bug#22547).
7320 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7322         Make the `R' command get the correct relative <img>s
7324         * lisp/net/eww.el (eww-readable): Preserve the base URL so
7325         that image expansions are fetched from the right place (bug#22605).
7327         (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
7329         Backport:
7331 2016-02-08  Mike Kupfer  <m.kupfer@acm.org>
7333         Fix typos in emacs-mime.texi and gnus.texi
7335         * doc/misc/emacs-mime.texi (Display Customization):
7336         * doc/misc/gnus.texi (HTML): Fix typo.
7338 2016-02-08  Katsumi Yamaoka  <yamaoka@jpl.org>
7340         * doc/misc/emacs-mime.texi (Display Customization):
7341         Doc fix for mm-html-inhibit-images.
7343 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7345         Fix message-cross-post-followup-to group names
7347         * lisp/gnus/message.el (message-cross-post-followup-to): Don't
7348         insert group names like "nntp+foo:zot", because those aren't valid.
7350 2016-02-08  David Edmondson  <dme@dme.org>
7352         Compare recipient and keys case-insensitively
7354         * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
7355         recipient address with that from a key, do so in a case insensitive
7356         manner (bug#22603).
7358 2016-02-08  Glenn Morris  <rgm@gnu.org>
7360         * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
7362 2016-02-08  Katsumi Yamaoka  <yamaoka@jpl.org>
7364         Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
7366         * doc/misc/emacs-mime.texi (Display Customization):
7367         Remove mm-inline-text-html-with-images; add documentations for
7368         mm-html-inhibit-images and mm-html-blocked-images.
7370         * lisp/gnus/gnus-art.el (gnus-article-show-images):
7371         No need to bind mm-inline-text-html-with-images.
7372         (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
7373         (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
7374         bind mm-html-inhibit-images and mm-html-blocked-images.
7375         (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
7376         (gnus-mm-display-part, gnus-mime-display-single)
7377         (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
7379         * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
7380         (mm-html-inhibit-images, mm-html-blocked-images): New user options.
7381         (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
7382         mm-html-inhibit-images and mm-html-blocked-images respectively
7383         instead of gnus-inhibit-images and gnus-blocked-images.
7385         * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
7386         instead of mm-inline-text-html-with-images.
7388 2016-02-08  Paul Eggert  <eggert@cs.ucla.edu>
7390         Port to FreeBSD 11-CURRENT i386
7392         Problem reported by Herbert J. Skuhra in:
7393         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
7394         Instead of trying
7395         * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
7396         (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
7397         (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
7398         (MALLOC_IS_GC_ALIGNED): New macro.
7399         * src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
7400         No longer needed now that alloc.c uses lmalloc and lrealloc.
7402 2016-02-08  Michael Albinus  <michael.albinus@gmx.de>
7404         Some fixes in file-notify-tests.el
7406         * test/automated/file-notify-tests.el
7407         (file-notify--test-with-events-check)
7408         (file-notify--test-with-events-explainer): New defuns.
7409         (file-notify--test-with-events): Use it.
7410         (file-notify-test07-backup): Fix docstring.  Some of the
7411         backends fire two `changed' events.  Backup by rename doesn't
7412         work for kqueue.
7414 2016-02-07  Michael Albinus  <michael.albinus@gmx.de>
7416         Fix Bug#22557
7418         * lisp/filenotify.el (file-notify-callback): Do not send a
7419         `stopped' event in case of backup by renaming.  (Bug#22557)
7421         * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
7422         all targets but check and check-maybe.
7424         * test/automated/file-notify-tests.el
7425         (file-notify--test-read-event-timeout): New defconst.
7426         (file-notify--deftest-remote, file-notify--wait-for-events)
7427         (file-notify-test02-events)
7428         (file-notify-test04-file-validity)
7429         (file-notify-test06-many-events): Use it.
7430         (file-notify--test-cleanup): Make it more robust.  Delete also
7431         backup file.
7432         (file-notify-test07-backup): New test.
7434 2016-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7436         Fix test for dladdr
7438         Problem reported by Andreas Schwab in:
7439         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
7440         * configure.ac (dladdr): Link with LIBMODULES when checking for
7441         this function.
7443 2016-02-07  Andreas Schwab  <schwab@linux-m68k.org>
7445         Fix gnus-group-get-new-news-this-group on group with closed server
7447         * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
7448         method and pass to nnimap-open-server.
7450 2016-02-07  Artur Malabarba  <bruce.connor.am@gmail.com>
7452         * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
7454         While tabs in code are mostly fine because the Emacs sources have a
7455         .dir-locals file specifying tab-width, the same is not true of tabs in
7456         code examples inside docstrings.  The docstring is printed on a *Help*
7457         buffer, which can be created on any directory and won't necessarily have
7458         the same tab-width set.
7460 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7462         Don't inloop gnus-uu-mark-thread on the last thread
7464         * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
7465         final thread in the summary buffer (bug#16666).
7467 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7469         Display non-ASCII group names better in prompts
7471         * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
7472         group name, we have to do that before we remove the prefix.
7474 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7476         Default to gpg2 instead of gpg
7478         * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
7479         it exists.  This fixes many problems with using the GPG
7480         authentication agent.
7482 2016-02-06  David Edmondson  <dme@dme.org>
7484         src/process.c Correctly convert AF_INET6 addresses
7486         * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
7487         converted to a list of 16 bit quantities by
7488         conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
7489         same scheme rather than expecting a (longer) list of 8 bit
7490         quantities.
7492         Backport:
7494         (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
7496 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
7498         * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
7500 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
7502         * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
7504         (menu-bar-search-options-menu): New variable
7506 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
7508         * lisp/isearch.el (search-default-mode)
7510         (isearch-regexp-function): Improve docstrings.
7512 2016-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
7514         * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
7516         (search-default-mode): New variable.
7517         (isearch-mode, isearch-define-mode-toggle)
7518         (isearch--describe-regexp-mode): Update accordingly.
7519         * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
7520         * etc/NEWS: Update accordingly.
7521         * doc/emacs/search.texi: Update accordingly.
7523 2016-02-06  Oscar Fuentes  <ofv@wanadoo.es>
7525         Use monitor's resolution for positioning tooltips
7527         * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
7528           the mouse pointer is to avoid placing the tooltip over the border of
7529           the monitor on multi-head displays. Fixes bug#22549.
7531 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
7533         Fix file-notify-test on MS-Windows
7535         * test/automated/file-notify-tests.el (file-notify--test-timeout):
7536         Reduce w32notify timeout to 10 sec.
7537         (file-notify-test06-many-events): Call read-event after each
7538         rename, to keep the w32notify backend happy in batch mode.
7539         (Bug#22534)
7541 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
7543         Fix issues found by auditing w32notify code
7545         * src/w32inevt.c (handle_file_notifications): Count the number of
7546         events to be returned.
7547         * src/w32notify.c (send_notifications): Don't copy to the file
7548         notification buffer more than it can hold.  (Bug#22534)
7550 2016-02-06  Eli Zaretskii  <eliz@gnu.org>
7552         Extend etags Ruby support for accessors
7554         * lib-src/etags.c (Ruby_functions): Support accessors defined with
7555         parentheses.  (Bug#22563)
7557         * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
7558         defined with parentheses.
7559         * test/etags/ETAGS.good_1:
7560         * test/etags/ETAGS.good_2:
7561         * test/etags/ETAGS.good_3:
7562         * test/etags/ETAGS.good_4:
7563         * test/etags/ETAGS.good_5:
7564         * test/etags/ETAGS.good_6:
7565         * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
7567 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7569         Update publicsuffix.txt.
7571         * etc/publicsuffix.txt: Updated from
7572         https://publicsuffix.org/list/public_suffix_list.dat.
7574 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7576         Ensure that Gnus dribble handling allows removing entries
7578         * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
7579         entry is on a single line.
7581 2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)
7583         Be consistent when using encoded strings in nnimap data
7585         * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
7586         (nnimap-request-list): Use it.
7587         (nnimap-request-newgroups): Ditto.
7589 2016-02-05  OGAWA Hirofumi  <hirofumi@mail.parknet.co.jp>  (tiny change)
7591         Display the decoded Gnus group name
7593         * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
7594         decoded group name in the message.
7596 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
7598         Use completion-ignore-case instead of defining command
7600         * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
7601         that we get case-insensitive completion.
7602         (erc-completion-at-point): Remove.
7604 2016-02-05  Eli Zaretskii  <eliz@gnu.org>
7606         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7608 2016-02-05  Michael Albinus  <michael.albinus@gmx.de>
7610         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
7612         Reduce the number of iterations to 250 in case of w32notify.
7614 2016-02-05  Eli Zaretskii  <eliz@gnu.org>
7616         Fix problems caused by new implementation of sub-word mode
7618         * lisp/subr.el (forward-word-strictly, backward-word-strictly):
7619         New functions.
7620         (word-move-empty-char-table): New variable.
7622         * etc/NEWS: Mention 'forward-word-strictly' and
7623         'backward-word-strictly'.
7625         * doc/lispref/positions.texi (Word Motion): Document
7626         'find-word-boundary-function-table', 'forward-word-strictly', and
7627         'backward-word-strictly'.  (Bug#22560)
7629         * src/syntax.c (syms_of_syntax)
7630         <find-word-boundary-function-table>: Doc fix.
7632         * lisp/wdired.el (wdired-xcase-word):
7633         * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
7634         (texinfo-copy-section-title, texinfo-start-menu-description)
7635         (texinfo-copy-menu-title, texinfo-specific-section-type)
7636         (texinfo-insert-node-lines, texinfo-copy-next-section-title):
7637         * lisp/textmodes/texinfo.el (texinfo-clone-environment)
7638         (texinfo-insert-@end):
7639         * lisp/textmodes/texinfmt.el (texinfo-format-scan)
7640         (texinfo-anchor, texinfo-multitable-widths)
7641         (texinfo-multitable-item):
7642         * lisp/textmodes/tex-mode.el (latex-env-before-change):
7643         * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
7644         * lisp/skeleton.el (skeleton-insert):
7645         * lisp/simple.el (count-words):
7646         * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
7647         (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
7648         (vhdl-update-sensitivity-list, vhdl-template-block)
7649         (vhdl-template-break, vhdl-template-case, vhdl-template-default)
7650         (vhdl-template-default-indent, vhdl-template-for-loop)
7651         (vhdl-template-if-then-use, vhdl-template-bare-loop)
7652         (vhdl-template-nature, vhdl-template-procedural)
7653         (vhdl-template-process, vhdl-template-selected-signal-asst)
7654         (vhdl-template-type, vhdl-template-variable)
7655         (vhdl-template-while-loop, vhdl-beginning-of-block)
7656         (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
7657         * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
7658         (verilog-forward-sexp, verilog-beg-of-statement)
7659         (verilog-set-auto-endcomments, verilog-backward-token)
7660         (verilog-do-indent):
7661         * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
7662         (vera-indent-block-closing):
7663         * lisp/progmodes/simula.el (simula-context)
7664         (simula-backward-up-level, simula-forward-down-level)
7665         (simula-previous-statement, simula-next-statement)
7666         (simula-skip-comment-backward, simula-calculate-indent)
7667         (simula-find-if, simula-electric-keyword):
7668         * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
7669         * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
7670         (ruby-smie--forward-token, ruby-smie--backward-token)
7671         (ruby-singleton-class-p, ruby-calculate-indent)
7672         (ruby-forward-sexp, ruby-backward-sexp):
7673         * lisp/progmodes/ps-mode.el (ps-run-goto-error):
7674         * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
7675         (perl-syntax-propertize-special-constructs)
7676         (perl-backward-to-start-of-continued-exp):
7677         * lisp/progmodes/pascal.el (pascal-indent-declaration):
7678         * lisp/progmodes/octave.el (octave-function-file-p):
7679         * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
7680         * lisp/progmodes/js.el (js--forward-function-decl):
7681         * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
7682         (idlwave-beginning-of-block, idlwave-end-of-block)
7683         (idlwave-block-jump-out, idlwave-determine-class):
7684         * lisp/progmodes/icon.el (icon-is-continuation-line)
7685         (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
7686         * lisp/progmodes/hideif.el (hide-ifdef-define):
7687         * lisp/progmodes/f90.el (f90-change-keywords):
7688         * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
7689         (cperl-linefeed, cperl-electric-terminator)
7690         (cperl-find-pods-heres, cperl-fix-line-spacing)
7691         (cperl-invert-if-unless):
7692         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7693         * lisp/progmodes/cc-align.el (c-lineup-java-inher):
7694         * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
7695         (ada-adjust-case-skeleton, ada-create-case-exception)
7696         (ada-create-case-exception-substring)
7697         (ada-case-read-exceptions-from-file, ada-after-keyword-p)
7698         (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
7699         (ada-get-indent-if, ada-get-indent-block-start)
7700         (ada-get-indent-loop, ada-get-indent-type)
7701         (ada-search-prev-end-stmt, ada-check-defun-name)
7702         (ada-goto-decl-start, ada-goto-matching-start)
7703         (ada-goto-matching-end, ada-looking-at-semi-or)
7704         (ada-looking-at-semi-private, ada-in-paramlist-p)
7705         (ada-search-ignore-complex-boolean, ada-move-to-start)
7706         (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
7707         * lisp/net/quickurl.el (quickurl-grab-url):
7708         * lisp/mail/sendmail.el (mail-do-fcc):
7709         * lisp/mail/rmail.el (rmail-resend):
7710         * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
7711         * lisp/mail/mail-extr.el (mail-extract-address-components):
7712         * lisp/json.el (json-read-keyword):
7713         * lisp/files.el (insert-directory):
7714         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7715         * lisp/completion.el (symbol-under-point, symbol-before-point)
7716         (symbol-before-point-for-complete, next-cdabbrev)
7717         (add-completions-from-c-buffer):
7718         * lisp/cedet/semantic/texi.el (semantic-up-context)
7719         (semantic-beginning-of-context):
7720         * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
7721         use 'forward-word-strictly' and 'backward-word-strictly' instead
7722         of 'forward-word' and 'backward-word'.
7724 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
7726         Fix doc string of tls-program
7728         * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
7730 2016-02-05  Mark Oteiza  <mvoteiza@udel.edu>
7732         * etc/NEWS: Document new mpc.el features
7734 2016-02-04  Leo Liu  <sdl.web@gmail.com>
7736         * lisp/custom.el (defface): Revert indentation change.  (Bug#22524)
7738 2016-02-04  Alan Mackenzie  <acm@muc.de>
7740         Correctly fontify C++ initializations which "look like" functions.
7742         Fixes bug#7579.
7744         lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
7745         parameter to enable handling of "anonymous" declarators in declarations.
7747         lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
7748         whether a "(" opens a parameter list of a function, or an initialization of a
7749         variable.
7751 2016-02-04  Ulf Jasper  <ulf.jasper@web.de>
7753         Improve newsticker-treeview-selection-face
7755         * newst-treeview.el (newsticker-treeview-selection-face): Improve
7756         readability for dark background.
7758 2016-02-04  Eli Zaretskii  <eliz@gnu.org>
7760         Minor fix in tagging Ruby accessors by etags
7762         * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
7763         names are not literal symbols.  (Bug#22241)
7765 2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>
7767         Spelling fixes
7769 2016-02-04  Dmitry Gutov  <dgutov@yandex.ru>
7771         Remove 'def X' from the example
7773         * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
7774         (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
7775         * test/etags/CTAGS.good:
7776         * test/etags/ETAGS.good_1:
7777         * test/etags/ETAGS.good_2:
7778         * test/etags/ETAGS.good_3:
7779         * test/etags/ETAGS.good_4:
7780         * test/etags/ETAGS.good_5:
7781         * test/etags/ETAGS.good_6: Adjust accordingly.
7783 2016-02-09  Eli Zaretskii  <eliz@gnu.org>
7785         Fix network-stream-tests on MS-Windows
7787         * test/lisp/net/network-stream-tests.el (make-local-unix-server):
7788         Skip if local sockets are not supported.
7790 2016-02-09  Michael Albinus  <michael.albinus@gmx.de>
7792         * admin/notes/bug-triage: Fix bug priorities.  Explain colors in debbugs-gnu.
7794 2016-02-09  Eli Zaretskii  <eliz@gnu.org>
7796         Disable 'timer-list'
7798         * lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
7799         command.
7801 2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7803         Avoid aligned_alloc static/extern collision
7805         * src/alloc.c (aligned_alloc): Define to private name when a
7806         static function, to avoid collision with lisp.h extern decl.
7807         Reported by John Yates in:
7808         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00439.html
7810 2016-02-08  Michal Nazarewicz  <mina86@mina86.com>
7812         Make `message-beginning-of-line' aware of folded headers
7814         * lisp/gnus/message.pl (message-beginning-of-header): New function which
7815         moves point to the beginning of a mail header.  The function is aware of
7816         folded headers and with non-nil argument looks for the true beginning of
7817         a header while with nil argument moves to the indented text of header's
7818         value.
7819         (message-beginning-of-line): Function is now aware of folded headers and
7820         either moves point to the indention of a header or, in visual-line-mode,
7821         searches for the beginning of the header.
7823 2016-02-08  Michal Nazarewicz  <mina86@mina86.com>
7825         Optimise ‘point in message header’ check
7827         * lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
7828         regular expression matches with a single bound string match thus
7829         reducing amount of work the function is doing.
7831 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7833         Make the `R' command get the correct relative <img>s
7835         * lisp/net/eww.el (eww-readable): Preserve the base URL so
7836         that image expansions are fetched from the right place (bug#22605).
7838 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7840         Add a mode to list and cancel timers
7842         * doc/lispref/os.texi (Timers): Menton `timer-list'.
7844         * lisp/emacs-lisp/timer-list.el: New file.
7846 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7848         Add new commands to allow changing the size of images
7850         * lisp/image.el (image-increase-size, image-decrease-size):
7851         New commands.
7852         (image-change-size): New function.
7854 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7856         Allow the image scale to be a floating point number
7858         * src/image.c (compute_image_size): The scale can be a
7859         floating point number.
7861 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7863         Add an IPv6 test
7865         * test/lisp/net/network-stream-tests.el
7866         (connect-to-tls-ipv6-nowait): Add an ipv6 test, too.
7868 2016-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7870         Use gnutls-serv instead of openssh
7872         * test/lisp/net/network-stream-tests.el (make-tls-server): Use
7873         gnutls-serv instead of openssh.
7875 2016-02-08  Daniel Colascione  <dancol@dancol.org>
7877         Performance improvements for vc-hg
7879         Teach vc-hg how to read some Mercurial internal data structures,
7880         allowing us to avoid the need to run hg status -A, which is very slow
7881         for large repositories.  Fall back to running hg if anything looks
7882         funny.  vc-hg now puts the _working directory_ revision in the
7883         modeline instead of the file revision, which greatly improves
7884         performance and which allows us to again skip running hg in the case
7885         that we have an active bookmark.
7887         * lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
7888         (vc-hg-symbolic-revision-styles)
7889         (vc-hg-use-file-version-for-mode-line-version)
7890         (vc-hg-parse-hg-data-structures): New user preferences
7891         (vc-hg--active-bookmark-internal, vc-hg--run-log)
7892         (vc-hg--symbolic-revision, vc-hg-mode-line-string)
7893         (vc-hg--read-u8, vc-hg--read-u32-be)
7894         (vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
7895         (vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
7896         (vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
7897         (vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
7898         (vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
7899         (vc-hg--ignore-patterns-valid-p)
7900         (vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
7901         (vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
7902         (vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
7903         (vc-hg-state-fast): New functions.
7904         (vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
7905         (vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
7906         (vc-hg--dirstate-scan-cache): New internal variables.
7907         * lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
7908         before updating modeline.
7910 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7912         Skip TLS tests if we don't have openssl
7914         * test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
7915         TLS tests if we don't have openssl and GnuTLS.
7917 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7919         Automatically scale images up on high-density screens
7921         * doc/lispref/display.texi (ImageMagick Images): Mention :scale.
7922         (Defining Images): Mention image-scaling-factor.
7924         * lisp/image.el (image-compute-scaling-factor): New function
7925         (bug#22172).
7926         (create-image): Use it.
7927         (image-scaling-factor): New variable.
7929         * src/image.c (compute_image_size): Take :scale into account.
7931 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7933         Ensure progress when fetching from the queue
7935         * lisp/url/url-queue.el (url-queue-check-progress): Ensure
7936         that we have progress when fetching queued requests (bug#22576).
7938 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7940         Make mail-extract-address-components return the user name more
7942         * lisp/mail/mail-extr.el (mail-extract-address-components):
7943         Return the name even if it's the same as the mailbox name (if
7944         `mail-extr-ignore-single-names' isn't set) (bug#22594).
7946 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7948         Message no longer warns about unknown top level domains
7950 2016-02-07  Jarno Malmari  <jarno@malmari.fi>
7952         Add tests for url-auth
7954         * test/lisp/url/url-auth-tests.el: New file.
7956 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7958         Add a TLS connection test
7960         * test/lisp/net/network-stream-tests.el (connect-to-tls): Add
7961         a TLS connection test.
7963 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7965         Add more network tests
7967         * test/lisp/net/network-stream-tests.el (echo-server-nowait):
7968         New test.
7970 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7972         Add network tests
7974         * test/lisp/net/network-stream-tests.el: New suite of network tests.
7976 2016-02-07  Foo  <rasmus@gmx.us>
7978         Allow various Gnus and Message address variables to be functions
7980         * doc/misc/gnus.texi (To From Newsgroups):
7981         gnus-ignored-from-addresses can be a function.
7983         * doc/misc/message.texi (Wide Reply):
7984         message-dont-reply-to-names can be a function.
7986         * lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
7987         message-alternative-emails can be a function.
7989         * lisp/gnus/gnus-notifications.el (gnus-notifications):
7990         message-alternative-emails can be a function (bug#22315).
7992         * lisp/gnus/gnus-sum.el
7993         (gnus-summary-from-or-to-or-newsgroups):
7994         gnus-ignored-from-addresses can be a function (bug#22315).
7996 2016-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
7998         Fix typo in Gnus regexp
8000         * lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Fix
8001         typo in last change to this regexp (bug#22592).
8003 2016-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8005         Port to FreeBSD x86
8007         Reported by Herbert J. Skuhra in:
8008         http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html
8009         * src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too,
8010         since malloc always returns a multiple of 8 in FreeBSD.
8012 2016-02-07  Alan Mackenzie  <acm@muc.de>
8014         On leaving CC Mode, clean up by removing character properties.
8016         * lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Remove from the buffer
8017         all instances of the text properties/extents category, syntax-table,
8018         c-is-sws, c-in-sws, c-type, and c-awk-NL-prop.
8020 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8022         * lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Don't use
8023         the no-longer-existing message-valid-fqdn-regexp variable.
8025 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8027         Remove message-valid-fqdn-regexp, since it changes too much now
8028         * lisp/gnus/message.el (message-valid-fqdn-regexp): Remove.
8029         (message-bogus-recipient-p): Don't use it any more.
8030         (message-make-fqdn): Ditto.  Suggested by Lars-Johan Liman.
8032 2016-02-06  Paul van der Walt  <paul@denknerd.org>  (tiny change)
8034         * lisp/gnus/message.el (message-subject-re-regexp): Also match
8035         "Re :" as a "Re:" prefix (commonly used in France).
8037 2016-02-06  Adam Sjøgren  <asjo@koldfront.dk>
8039         * lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
8041 2016-02-06  David Edmondson  <dme@dme.org>
8043         src/process.c Correctly convert AF_INET6 addresses
8044         * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
8045         converted to a list of 16 bit quantities by
8046         conv_sockaddr_to_lisp().  conv_lisp_to_sockaddr() should follow the
8047         same scheme rather than expecting a (longer) list of 8 bit
8048         quantities.
8050 2016-02-06  Martin Jesper Low Madsen  <martin@martinjlowm.dk>  (tiny change)
8052         * lisp/gnus/auth-source.el (auth-source-macos-keychain-search):
8053         Search for all host/port (or protocol) combinations for a match in
8054         the OS X keychain.
8056 2016-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8058         Remove nonsensical setting of gnus-newsgroup-unseen
8060         * lisp/gnus/gnus-sum.el (gnus-update-marks): Remove nonsensical
8061         setting of gnus-newsgroup-unseen.
8063 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8065         Use underline on all terminals that support it
8067         * lisp/subr.el (read-multiple-choice): Use
8068         display-supports-face-attributes-p instead of
8069         display-graphic-p to determine whether we can use underlining.
8071 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8073         Make the nsm query say what it did after the user interaction
8075         * lisp/net/nsm.el (nsm-query): Issue a message about
8076         aborting/accepting messages (suggested by N. Jackson)
8077         (bug#22531).
8079 2016-02-05  Paul Eggert  <eggert@cs.ucla.edu>
8081         Omit XLI (init) == 0 optimization in make-vector
8083         * src/alloc.c (Fmake_vector): Simplify by omitting the (XLI (init)
8084         == 0) case, as this optimization is probably not worth the hassle.
8085         Just for the record, the test for that case could have been
8086         (XLI (init) % ((EMACS_UINT) -1 / UCHAR_MAX) == 0) (!),
8087         assuming the typical platform with no padding bits and where
8088         conversion to int omits the most significant bits.
8090 2016-02-05  Paul Eggert  <eggert@cs.ucla.edu>
8092         * autogen.sh: Port to dash (Bug#22556).
8094 2016-02-05  Michael Albinus  <michael.albinus@gmx.de>
8096         Minor cleanup for Tramp "doas".
8098         * doc/misc/tramp.texi (Inline methods): Add "doas" method.
8100         * etc/NEWS: Add Tramp connection method "doas".
8102         * lisp/net/tramp-sh.el (tramp-methods) <doas>:
8103         Add `tramp-remote-shell-args'.
8105 2016-02-05  Xi Lu  <lx@shellcodes.org>
8107         * lisp/net/tramp-sh.el (tramp-methods) <doas>: Add.  (Bug#22542)
8109         (tramp-default-user-alist): Add rule for "doas".
8110         (top): Completion function for "doas" is
8111         `tramp-completion-function-alist-su'.
8113 2016-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
8115         Restore the window configuration
8117         * lisp/net/nsm.el (nsm-query-user): Restore the window
8118         configuration (bug#22532).
8120 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8122         Use an X popup in read-multiple-choice if running from a mouse command
8124         * lisp/subr.el (read-multiple-choice): Use an X popup if
8125         called from a mouse action (bug#19368).
8127 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8129         Display cursor in echo area when prompting
8131         * lisp/subr.el (read-multiple-choice): Display the cursor in
8132         the echo area when prompting (bug#19368).
8134 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8136         Make NSM prompting clearer
8138         * lisp/net/nsm.el (nsm-query-user): Use read-multiple-choice
8139         to prompt in a nicer way (bug#19368).
8141 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8143         Underline read-multiple-choice-face
8145         * lisp/faces.el (read-multiple-choice-face): Also underline
8146         the choice.
8148 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8150         Make the read-multiple-choice prompt a bit prettier
8152         * doc/lispref/commands.texi (Reading One Event): Mention
8153         read-multiple-choice-face.
8155         * lisp/subr.el (read-multiple-choice): Make the prompting a bit
8156         prettier.
8158 2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>
8160         Prefer memcpy and memset to doing it by hand
8162         * src/alloc.c (Fmake_vector):
8163         * src/ccl.c (setup_ccl_program):
8164         Use memset to clear array.
8165         * src/alloc.c (Fvector, Fmake_byte_code):
8166         * src/charset.c (Fdefine_charset_internal):
8167         Use memcpy to copy array.
8169 2016-02-04  Nicolas Petton  <nicolas@petton.fr>
8171         Do not ignore redirections of 301, 302 and 307 status codes
8173         The current version of HTTP/1.1 (RFC 7231) no longer requires
8174         confirmation on 301, 302 or 307 status codes, therefore we do not have
8175         to ignore redirects for other requests than GET and HEAD.
8177         * lisp/url/url-http.el (url-http-parse-headers): Do not ignore 301, 302
8178         and 307 redirects for other requests than GET and HEAD.
8180 2016-02-04  Mark Oteiza  <mvoteiza@udel.edu>
8182         * lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
8184 2016-02-04  Paul Eggert  <eggert@cs.ucla.edu>
8186         Simplify USE_ALIGNED_ALLOC
8188         * src/alloc.c (USE_ALIGNED_ALLOC): Simplify, now that we’ve merged
8189         in the emacs-25 changes.  Omit no-longer-needed decl for aligned_alloc.
8191 2016-02-04  Eric Abrahamsen  <eric@ericabrahamsen.net>
8193         Honor docstring of gnus-group-get-new-news
8195         * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg
8196         is t, but non-numeric, unconditionally consider all groups to need
8197         updating.
8199 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8201         New function read-multiple-choice
8203         * doc/lispref/commands.texi (Reading One Event): Document
8204         read-multiple-choice.
8206         * lisp/faces.el (read-multiple-choice-face): New face.
8208         * lisp/subr.el (read-multiple-choice): New function.
8210 2016-02-04  John Wiegley  <johnw@newartisans.com>
8212         Merge from origin/emacs-25
8214         ee73997 Make erc work better when encountering unknown prefix chars
8215         b99141d Make erc completion case-insensitive again
8216         66c4620 Make complection in erc use consistent casing
8217         8c562b2 Make /QUIT in erc more robust
8218         d93d2c5 Make tracking faces in Emacs work more reliably
8219         af6ab7e Make shr not bug out on images on non-graphical displays
8220         3311f40 Fix bookmark display widths
8221         d90ab1e Fix typo in eww-make-unique-file-name
8222         7f81825 Make it possible to TAB to input fields
8223         a43a1dc Insert complete alt texts when images are disabled
8224         56ed4e1 Allow eww text fields to grow
8225         66b315c Make erc work when subword-mode is switched on
8226         255b68f Fix IMAP doc example
8227         91557f5 Quoting fixes in doc strings and diagnostics
8228         2c0dc9f Fix warning message in hack-local-variables
8229         504696d Etags: yet another improvement in Ruby tags
8230         8784ebf Fix x-popup-menu on TTYs without a mouse
8231         8b87ecb * lisp/emacs-lisp/map.el: Improvements to the docstring of the
8232                 pcase macro
8233         6191003 Use pop-to-buffer-same-window in eww
8234         fe321fd * autogen.sh: Revert all recent changes.
8235         74ebd4a * make-dist: Updates related to nt/.
8236         737193a * make-dist: Add modules/.
8237         3696bf2 * make-dist: Update for super-special file that can't live in etc/.
8238         a4278e2 Fix failure to compile ns-win.el in parallel builds
8239         860da4d Fix names of tags generated for Ruby accessors
8240         f6213ce Fix file-name recognition in 'etags'
8241         e42e662 Change Ruby file names and extensions recognized by 'etags'
8242         58bfb6a More improvements for Ruby support in 'etags'
8243         c04e911 Add --git-config option to autogen.sh
8244         5713466 Fix editing undo changes in eww fields
8245         51362d6 Allow the user more control of popping up the eww window
8246         ee0fbd8 Make eww-browse-url with new-window parameter work again
8247         9c3142d Clean up eww code slightly
8248         cb035f3 Don't insert nil faces in shr
8249         4c3fae3 ; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
8250         93f2153 Improve the custom type of some user options.
8251         9f60d7e Mark some risky calendar variables.
8252         1d07dcd Highlight two additional SCSS keywords
8253         ee8b466 Recommend enabling integrity-checking in git
8254         e639e10 Some corrections in Elisp manual
8255         d766ca8 Chatter when autogen.sh changes Git configuration
8256         3b734e1 * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
8257         43cb9f8 Omit unnecessary history from Lisp intro
8258         2fbd1da * etc/HISTORY: Add some more history, plus git tags.
8259         c90e1b4 Improve elisp “Security Considerations” doc
8260         cedd7ca autogen.sh now arranges for git to check hashes
8261         86ce76b ; Fix ChangeLog.2 commit ID.
8262         7b1d2b1 Fix (c & 040) typo in emergency escapes
8263         a8273da Fix display of overlay strings with 'display' and 'box' property
8264         fc48106 Fix imap-starttls-open
8265         cdecbed Fix return value of imap-starttls-open
8266         20c7e34 ; * etc/NEWS: Fix renamed command name
8267         98bdbdb Correct reference to DARWIN_OS preprocessor symbol
8268         b250d29 Spelling fix
8269         b920a0e Spelling fixes
8270         93b144b Pacify GCC on C library without glibc API
8272 2016-02-04  John Wiegley  <johnw@newartisans.com>
8274         Merge from origin/emacs-25
8276         ea26c8a * lisp/net/browse-url.el (browse-url-default-browser): Lower
8277                 priority of non-free Chrome.
8278         0fac75f Improve the custom type of some user options.
8279         2df0e04 Highlight CSS variables with variable name face
8280         3cf5e81 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not
8281                 user-serviceable.
8282         2a5233c Mark some user options that can get evalled as risky.
8283         39b166f Disable DebPrint in sys_read on MS-Windows
8284         9fd0189 ;Fix ChangeLog entry
8285         4bb7233 Fix typos in Introduction to Emacs Lisp manual
8287 2016-02-04  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)
8289         Allow sending empty hidden values in eww
8291         * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
8292         values (bug#22388).
8294         (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
8296         Backport:
8298 2016-02-04  David Edmondson  <dme@dme.org>
8300         Make erc work better when encountering unknown prefix chars
8302         * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
8303         instead of erroring out on unknown prefix chars (bug#22380).
8305 2016-02-04  Mark Oteiza  <mvoteiza@udel.edu>
8307         Add a new command to switch between erc buffers
8309         * doc/misc/eww.texi: Document eww-switch-to-buffer and its keybinding
8310         * etc/NEWS: Mention new command
8311         * lisp/net/eww.el (eww-mode-map): Bind eww-switch-to-buffer to "s"
8312         (eww-mode-map): Add menu item
8313         (eww-switch-to-buffer): New command
8315 2016-02-04  David Edmondson  <dme@dme.org>
8317         Make erc work better when encountering unknown prefix chars
8319         * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
8320         instead of erroring out on unknown prefix chars (bug#22380).
8322 2016-02-04  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)
8324         Allow sending empty hidden values in eww
8326         * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
8327         values (bug#22388).
8329 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8331         Make erc completion case-insensitive again
8333         * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
8334         case-insensitive again (bug#11360).
8336 2016-02-04  Carlos Pita  <carlosjosepita@gmail.com>  (tiny change)
8338         Make complection in erc use consistent casing
8340         * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
8341         case in the complection consistent (bug#18509).
8343 2016-02-04  Francis Litterio  <flitterio@gmail.com>
8345         Make /QUIT in erc more robust
8347         * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
8348         issuing /QUIT to disconnected servers (bug#22099).
8350 2016-02-04  Kevin Brubeck Unhammer  <unhammer@fsfe.org>  (tiny change)
8352         Make tracking faces in Emacs work more reliably
8354         * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
8355         faces to avoid later ambiguity (bug#22424).
8357 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8359         Make shr not bug out on images on non-graphical displays
8361         * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
8362         images on non-graphical displays (bug#22327).
8364 2016-02-04  Andrew Hyatt  <ahyatt@gmail.com>
8366         Remove packages obsoleted before Emacs 24.
8368         In accordance with the policy discussed in the emacs-devel list,
8369         packages that have been obsoleted for a full major release cycle are up
8370         for deletion.
8372         This removes almost all packages that are now eligible for deletion,
8373         with the exception of "cl-compat", which seems it is likely to still be
8374         used, and "optional", which offers some functionality that doesn't have
8375         a replacement yet.
8377 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8379         Fix bookmark display widths
8381         * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
8382         preparing it so that the widths are computed correctly (bug#22328).
8384 2016-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
8386         Fix typo in eww-make-unique-file-name
8388         * lisp/net/eww.el (eww-make-unique-file-name): Make this function
8389         actually work.
8391 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8393         Make it possible to TAB to input fields
8395         * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
8396         input fields (bug#22540).
8398 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8400         Insert complete alt texts when images are disabled
8402         * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
8403         the complete alt/title string (bug#22293).
8405 2016-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
8407         Allow eww text fields to grow
8409         * lisp/net/eww.el (eww-process-text-input): Allow text fields to
8410         grow when typing in stuff that's longer than the original width.
8412 2016-02-03  Dima Kogan  <dima@secretsauce.net>
8414         Make erc work when subword-mode is switched on
8416         * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
8417         (erc-bounds-of-word-at-point): New functions to do word-based
8418         things when subword-mode is switched on.
8420         * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
8421         (bug#17558).
8423 2016-02-03  Teemu Likonen  <tlikonen@iki.fi>
8425         Fix IMAP doc example
8427         * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
8429 2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8431         Quoting fixes in doc strings and diagnostics
8433         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
8434         * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
8435         (mml-smime-get-ldap-cert):
8436         Follow user style preference when quoting diagnostics.
8438 2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8440         Mention context when resume from emergency escape
8442         That way, if the user has been doing something else for a while,
8443         they are reminded of the situation when restarting Emacs,
8444         and are more likely to understand the two questions.
8445         * doc/emacs/trouble.texi (Emergency Escape): Document this.
8446         * src/keyboard.c (handle_interrupt): Implement this.
8448 2016-02-03  Noam Postavsky  <npostavs@gmail.com>
8450         Fix warning message in hack-local-variables
8452         * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
8453         the original buffer name in the warning message.  (Bug#21681)
8455 2016-02-03  Eli Zaretskii  <eliz@gnu.org>
8457         Etags: yet another improvement in Ruby tags
8459         * lib-src/etags.c (Ruby_functions): Handle continuation lines in
8460         Ruby accessor definitions.  (Bug#22241)
8462         * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
8463         accessors and multiline definitions.
8464         * test/etags/ETAGS.good_1:
8465         * test/etags/ETAGS.good_2:
8466         * test/etags/ETAGS.good_3:
8467         * test/etags/ETAGS.good_4:
8468         * test/etags/ETAGS.good_5:
8469         * test/etags/ETAGS.good_6:
8470         * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8472 2016-02-03  Eli Zaretskii  <eliz@gnu.org>
8474         Fix x-popup-menu on TTYs without a mouse
8476         * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
8477         for the TTY case without a mouse.  (Bug#22538)
8479 2016-02-03  Nicolas Petton  <nicolas@petton.fr>
8481         * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
8483 2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8485         Port aligned_alloc decl to Cygwin.
8487         Problem reported by Ken Brown (Bug#22522#38).
8488         * configure.ac (aligned_alloc): Check for decl too.
8489         * src/lisp.h (aligned_alloc): Declare if not already declared.
8491 2016-02-03  Paul Eggert  <eggert@cs.ucla.edu>
8493         autogen.sh now configures git only on request
8495         * autogen.sh (do_autoconf, do_git): New vars.
8496         Support new arguments --help, all, autoconf, git.
8497         By default, just do autoconf-related configuration, not git.
8498         Prefer 'echo' to 'cat <<EOF ...', as this tends to avoid temp files.
8499         If GNU cp is available, use it to backup .git/config before
8500         changing it.  When configuring git, chatter about what is being
8501         done, and configure git to check hashes.  Avoid some duplicate
8502         file name specification when creating git hooks.
8504         * GNUmakefile (ALL_IF_GIT): New macro.
8505         (configure): Use it.
8506         * INSTALL.REPO: Suggest './autogen.sh all'.
8508 2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>
8510         Use pop-to-buffer-same-window in eww
8512         * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
8513         switch-to-buffer (bug#22244).
8515 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8517         * autogen.sh: Revert all recent changes.
8519 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8521         Build with C11 if available
8523         * admin/merge-gnulib (GNULIB_MODULES): Add std-gnu11.
8524         * m4/std-gnu11.m4: New file, from gnulib.
8525         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
8527 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8529         Update gnulib copy
8531         * doc/misc/texinfo.tex: Copy from gnulib.
8533 2016-02-02  Glenn Morris  <rgm@gnu.org>
8535         * make-dist: Updates related to nt/.
8537         * make-dist: Add modules/.
8539         * make-dist: Update for super-special file that can't live in etc/.
8541 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8543         Fix failure to compile ns-win.el in parallel builds
8545         * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
8546         dependency on $(lispsource)/international/charprop.el.
8547         (Bug#22501)
8549 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8551         Fix names of tags generated for Ruby accessors
8553         * lib-src/etags.c (Ruby_functions): Don't include the leading
8554         colon ':' in tags for Ruby accessors and aliases.  (Bug#22241)
8556         * test/etags/ETAGS.good_1:
8557         * test/etags/ETAGS.good_2:
8558         * test/etags/ETAGS.good_3:
8559         * test/etags/ETAGS.good_4:
8560         * test/etags/ETAGS.good_5:
8561         * test/etags/ETAGS.good_6:
8562         * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8564 2016-02-02  Glenn Morris  <rgm@gnu.org>
8566         * lisp/vc/add-log.el (change-log-directory-files, find-change-log):
8567         Doc tweaks.
8569 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8571         Fix file-name recognition in 'etags'
8573         * lib-src/etags.c (get_language_from_filename): If FILE includes a
8574         leading directory, compare only its basename to the known file
8575         names in lang_names[].
8577         * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
8578         renaming.
8579         * test/etags/ETAGS.good_1:
8580         * test/etags/ETAGS.good_2:
8581         * test/etags/ETAGS.good_3:
8582         * test/etags/ETAGS.good_4:
8583         * test/etags/ETAGS.good_5:
8584         * test/etags/ETAGS.good_6:
8585         * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
8586         to the results in Makefile due to the above etags.c fix.
8588 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8590         Change Ruby file names and extensions recognized by 'etags'
8592         * lib-src/etags.c <Ruby_filenames>: New variable, holds names
8593         of Ruby files.
8594         <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
8595         <lang_names>: Add Ruby_filenames to the Ruby entry.
8596         * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
8597         (Bug#22241)
8599 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8601         Port better to platforms lacking aligned_alloc
8603         Problem reported by Ken Brown (Bug#22522).
8604         * src/lisp.h (hybrid_aligned_alloc)
8605         [HYBRID_MALLOC && !HAVE_ALIGNED_ALLOC]: New decl.
8607 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8609         Port malloc.h hygiene fix to LTO
8611         * src/alloc.c (__malloc_initialize_hook):
8612         Make it externally visible (Bug#22522).
8614 2016-02-02  Eli Zaretskii  <eliz@gnu.org>
8616         More improvements for Ruby support in 'etags'
8618         * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
8619         alias_method.  Identify constants even if the assignment is not
8620         followed by whitespace.  (Bug#22241)
8622         * test/etags/ruby-src/test1.ruby: Add tests for constants,
8623         accessors, and alias_method.
8624         * test/etags/ETAGS.good_1:
8625         * test/etags/ETAGS.good_2:
8626         * test/etags/ETAGS.good_3:
8627         * test/etags/ETAGS.good_4:
8628         * test/etags/ETAGS.good_5:
8629         * test/etags/ETAGS.good_6:
8630         * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
8632 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
8634         Add --git-config option to autogen.sh
8636         * autogen.sh: New options --git-config, --help.
8637         (git_config): New shell var.  Alter function to respect this var.
8639 2016-02-02  Lars Ingebrigtsen  <larsi@gnus.org>
8641         Fix editing undo changes in eww fields
8643         * eww.el (eww-tag-form): Don't overwrite initial form data in text
8644         fields.
8645         (eww-process-text-input): Make `M-t' at the end of text fields work
8646         better (bug#19085).
8648 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8650         Allow the user more control of popping up the eww window
8652         * eww.el (eww): Use pop-to-buffer-same-window (suggested by
8653         Michael Heerdegen) (bug#22244).
8655 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8657         Make eww-browse-url with new-window parameter work again
8659         * eww.el (eww-browse-url): Stay in the same buffer if we're
8660         already in a eww mode buffer so that eww-browse-url with a
8661         new-window parameter works (bug#22244).
8663 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8665         Clean up eww code slightly
8667         * eww.el (eww-browse-url): Clean up code slightly.
8669 2016-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8671         Don't insert nil faces in shr
8673         * shr.el (shr-insert-table): Don't add nil faces, because that
8674         will show up in *Messages* as "Invalid face reference: nil [32
8675         times]".
8677 2016-02-01  Glenn Morris  <rgm@gnu.org>
8679         Make find-change-log prefer a VCS root, if no ChangeLog exists.
8681         * lisp/vc/add-log.el (change-log-directory-files): New option.
8682         (find-change-log): Respect change-log-directory-files.
8683         * doc/emacs/maintaining.texi (Change Log Commands):
8684         Mention change-log-directory-files.
8686 2016-02-01  Glenn Morris  <rgm@gnu.org>
8688         Improve the custom type of some user options.
8690         * lisp/autoinsert.el (auto-insert-alist):
8691         * lisp/replace.el (query-replace-from-to-separator):
8692         * lisp/gnus/gnus-art.el (gnus-hidden-properties):
8693         * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
8694         * lisp/gnus/gnus-picon.el (gnus-picon-properties):
8695         * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
8696         (prolog-mode-specificators, prolog-determinism-specificators)
8697         (prolog-directives, prolog-program-name, prolog-program-switches)
8698         (prolog-consult-string, prolog-compile-string, prolog-eof-string)
8699         (prolog-prompt-regexp): Improve custom type.
8701 2016-02-01  Glenn Morris  <rgm@gnu.org>
8703         Mark some risky calendar variables.
8705         * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
8706         Remove risky setting for deleted obsolete alias.
8707         (calendar-chinese-standard-time-zone-name)
8708         (calendar-chinese-daylight-saving-start)
8709         (calendar-chinese-daylight-saving-end):
8710         * lisp/calendar/calendar.el (calendar-iso-date-display-form)
8711         (calendar-european-date-display-form)
8712         (calendar-american-date-display-form, calendar-date-display-form):
8713         * lisp/calendar/diary-lib.el (diary-remind-message)
8714         (diary-header-line-format):
8715         * lisp/calendar/solar.el (calendar-time-display-form)
8716         (calendar-location-name): Mark as risky.
8718 2016-02-01  Simen Heggestøyl  <simenheg@gmail.com>
8720         Highlight two additional SCSS keywords
8722         * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
8723         identifiers on the form !foo.
8724         (scss-bang-ids): New defconst holding SCSS identifiers on the form
8725         !foo.
8726         (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
8727         `font-lock-builtin-face'.
8729         * test/indent/css-mode.css: Add bang rule test case.
8731         * test/indent/scss-mode.css: Add test cases for the introduced bang
8732         rules.
8734 2016-02-01  Karl Fogel  <kfogel@red-bean.com>
8736         Recommend enabling integrity-checking in git
8738         * admin/notes/git-workflow:  Recommend setting transfer.fsckObjects.
8740         This is related to the autogen.sh changes made by Paul Eggert in
8741         commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
8742         my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
8743         to emacswiki.org/emacs/GitQuickStartForEmacsDevs.  See also the thread
8744         "Recommend these .gitconfig settings for git integrity." at
8745         https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
8747 2016-02-01  Martin Rudalics  <rudalics@gmx.at>
8749         Some corrections in Elisp manual
8751         * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
8752         argument POSITION.
8753         * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
8754         is an option.
8755         * doc/lispref/display.texi (Refresh Screen): Describe optional
8756         argument FRAME of `redraw-frame'.
8757         (Attribute Functions): Describe optional argument CHARACTER of
8758         `face-font'.
8759         (Defining Images): `image-load-path' is an option.
8760         (Beeping): `ring-bell-function' is an option.
8761         * doc/lispref/frames.texi (Size and Position): The PIXELWISE
8762         argument of `set-frame-size' is optional.
8763         (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
8764         is optional.
8765         * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
8766         `set-transient-map'.
8767         * doc/lispref/minibuf.texi (Text from Minibuffer):
8768         `read-regexp-defaults-function' is an option.
8769         (Minibuffer Contents): `delete-minibuffer-contents' is a command.
8770         * doc/lispref/modes.texi (Mode Line Variables):
8771         `mode-line-position' and `mode-line-modes' are variables, not
8772         options.
8773         * doc/lispref/strings.texi (Creating Strings): The START argument
8774         of `substring' is optional.
8775         * doc/lispref/text.texi (Buffer Contents): Describe optional
8776         argument NO-PROPERTIES of `thing-at-point'.
8777         (User-Level Deletion): Both arguments of
8778         `delete-trailing-whitespace' are optional.
8779         (Margins): Use @key{RET} instead of @kbd{RET}.
8780         * doc/lispref/windows.texi (Display Action Functions): Write
8781         non-@code{nil} instead of non-nil.
8782         (Choosing Window Options): The WINDOW arg of
8783         `split-window-sensibly' is optional.
8784         (Choosing Window Options): Write non-@code{nil} instead of
8785         non-nil.
8786         (Window Start and End): Both args of `window-group-end' are
8787         optional.
8789         * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
8790         to POSITION to keep consisteny with doc-string.
8792 2016-02-01  Paul Eggert  <eggert@cs.ucla.edu>
8794         Double static heap size.
8796         * src/sheap.h (STATIC_HEAP_SIZE): Double it, since it was too
8797         small on FreeBSD (Bug#22086).
8799 2016-02-01  Paul Eggert  <eggert@cs.ucla.edu>
8801         Chatter when autogen.sh changes Git configuration
8803         * autogen.sh (git_config): New function.  Use it instead of ‘git config’.
8805 2016-02-01  Kyle Meyer  <kyle@kyleam.com>
8807         * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
8809 2016-02-01  Michael Albinus  <michael.albinus@gmx.de>
8811         Fix Bug#20821
8813         * lisp/net/tramp.el (tramp-file-name-handler):
8814         * lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
8815         Use `tramp-drop-volume-letter'.  (Bug#20821)
8817 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8819         Omit unnecessary history from Lisp intro
8821         * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
8822         (Conclusion): Reword so as not to talk about earlier versions
8823         of Emacs in what should be an intro.
8825 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8827         * etc/HISTORY: Add some more history, plus git tags.
8829 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8831         Improve elisp “Security Considerations” doc
8833         * doc/lispref/os.texi (Security Considerations):
8834         Mention call-process and rename-file as opposed to shell commands.
8835         Add some more cross-references.
8837 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8839         autogen.sh now arranges for git to check hashes
8841         Suggested by Karl Fogel in:
8842         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
8843         * autogen.sh: Do "git config transfer.fsckObjects true".
8845 2016-01-31  Dave Barker  <kzar@kzar.co.uk>
8847         Add ability to give rcirc servers an alias name
8849         * lisp/net/rcirc.el (rcirc-server-alist): Add :server-alias
8850         customization option.
8851         (rcirc, rcirc-connect): Take server alias into account.
8853 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8855         Fix (c & 040) typo in emergency escapes
8857         * src/keyboard.c (handle_interrupt): Fix recently-introduced
8858         typo (040 should have been ~040) that silently suppressed
8859         auto-saves after emergency escapes.  Redo comparison to avoid
8860         similar problems.
8862 2016-01-31  Paul Eggert  <eggert@cs.ucla.edu>
8864         Port new hybrid malloc to FreeBSD
8866         Problem reported by Wolfgang Jenkner in: http://bugs.gnu.org/22086#118
8867         * src/gmalloc.c (__malloc_initialize_hook, __after_morecore_hook)
8868         (__morecore) [HYBRID_MALLOC]: Define in this case too.
8870 2016-01-31  Wolfgang Jenkner  <wjenkner@inode.at>
8872         * configure.ac: Stop using mmap for buffers for FreeBSD.
8874 2016-01-31  Eli Zaretskii  <eliz@gnu.org>
8876         Fix display of overlay strings with 'display' and 'box' property
8878         * src/xdisp.c (get_next_display_element): Take the box face from
8879         display stack level that comes from a buffer, not an overlay
8880         string.  (Bug#22499)
8882 2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>
8884         Fix imap-starttls-open
8886         * lisp/net/imap.el (imap-starttls-open): Log imap process
8887         output.  Call imap-parse-greeting.  (Bug#22500)
8889 2016-01-31  Michael Albinus  <michael.albinus@gmx.de>
8891         Merge changes from Tramp repository
8893         * doc/misc/Makefile.in (${buildinfodir}/tramp.info tramp.html):
8894         No EXTRA_OPTS needed.
8896         * doc/misc/tramp.texi: Merge changes from Emacsemacs-25
8897         branch, especially for @trampfn{}.
8898         (Top): Move @ifnottex down.
8899         (History): XEmacs support has been removed.
8900         (GVFS based methods, Remote processes): Do not use emacsgvfs flag.
8901         (Auto-save and Backup): Use both syntax versions.
8902         (File name Syntax): Remark on IPv6 adresses is valid for
8903         unified syntax only.
8905         * doc/misc/trampver.texi: Do not set emacsgvfs flag.
8907 2016-01-31  Andreas Schwab  <schwab@linux-m68k.org>
8909         Fix return value of imap-starttls-open
8911         * lisp/net/imap.el (imap-starttls-open): Fix return value.
8913 2016-01-31  John Wiegley  <johnw@newartisans.com>
8915         Correct reference to DARWIN_OS preprocessor symbol
8917         * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
8918           not be defined.
8920 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
8922         Spelling fixes
8924         Spelling fix
8926         Spelling fixes
8928 2016-01-30  Glenn Morris  <rgm@gnu.org>
8930         * lisp/vc/add-log.el (find-change-log): Use locate-dominating-file.
8932 2016-01-30  Matthew Carter  <m@ahungry.com>
8934         Quote table names for postgres listings (sql-mode)
8936         * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
8937           unquoted table names to the completion list.
8939 2016-01-30  Glenn Morris  <rgm@gnu.org>
8941         Change Smerge "Mine" and "Other" for "Upper" and "Lower.  (Bug#20878)
8943         * lisp/vc/smerge-mode.el (smerge-diff-switches)
8944         (smerge-context-menu, smerge-match-conflict, smerge-swap): Doc fixes.
8945         (smerge-upper, smerge-upper-face, smerge-keep-upper)
8946         (smerge-diff-base-upper): Rename from smerge-mine, smerge-mine-face,
8947         smerge-keep-mine, smerge-diff-base-mine.  Update all uses.
8948         (smerge-mine-face, smerge-other-face): Remove obsolete face aliases.
8949         (smerge-lower, smerge-lower-face, smerge-lower-re, smerge-keep-lower)
8950         (smerge-diff-base-lower): Rename from smerge-other, smerge-other-face,
8951         smerge-other-re, smerge-keep-other, smerge-diff-base-lower.
8952         Update all uses.
8953         (smerge-basic-map): Add "l" and "u" bindings.
8954         (smerge-mode-menu): Update menu bindings for renaming.
8955         (smerge-font-lock-keywords): Update face names.
8956         (smerge-match-names): Update names.
8957         (smerge-diff-upper-lower): Rename from smerge-diff-mine-other.
8958         (smerge-match-conflict, smerge-ediff): Rename local variables.
8959         (smerge-makeup-conflict): Relabel markers.
8960         (smerge-parsep-re): Use renamed variables.
8962 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
8964         Port recent my_edata change to MS-Windows
8966         * src/lastfile.c (my_edata): Also define if WINDOWSNT.
8968 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
8970         Pacify GCC on C library without glibc API
8972         Without this change, with --enable-gcc-warnings GCC would complain
8973         “error: redundant redeclaration of ‘aligned_alloc’”.
8974         * configure.ac: Simplify aligned_alloc testing.
8975         * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
8976         since the simplified configure.ac no longer checks for that.
8977         Don’t declare if HAVE_ALIGNED_ALLOC.
8978         Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
8980 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
8982         Tell Automake the new lib/Makefile.am is OK
8984         * lib/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
8986 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
8988         Make it easy to override preferred-branch test
8990         * Makefile.in (preferred-branch-is-current):
8991         Rename from emacs-25-branch-is-current.  All uses changed.
8992         (PREFERRED_BRANCH): New macro.
8994 2016-01-30  Glenn Morris  <rgm@gnu.org>
8996         * lisp/net/browse-url.el (browse-url-default-browser):
8997         Lower priority of non-free Chrome.
8999 2016-01-30  Glenn Morris  <rgm@gnu.org>
9001         Improve the custom type of some user options.
9003         * lisp/desktop.el (desktop-minor-mode-table):
9004         * lisp/man.el (Man-frame-parameters):
9005         * lisp/midnight.el (midnight-delay):
9006         * lisp/speedbar.el (speedbar-select-frame-method):
9007         * lisp/tooltip.el (tooltip-frame-parameters):
9008         * lisp/tree-widget.el (tree-widget-space-width):
9009         * lisp/type-break.el (type-break-keystroke-threshold):
9010         * lisp/woman.el (woman-imenu-generic-expression):
9011         * lisp/cedet/ede.el (ede-debug-program-function):
9012         * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
9013         * lisp/emulation/viper-keym.el (viper-toggle-key):
9014         * lisp/erc/erc-networks.el (erc-server-alist):
9015         * lisp/gnus/message.el (message-deletable-headers, message-signature):
9016         * lisp/mail/mailalias.el (mail-directory-stream):
9017         * lisp/play/tetris.el (tetris-x-colors):
9018         * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
9020 2016-01-30  Simen Heggestøyl  <simenheg@gmail.com>
9022         Highlight CSS variables with variable name face
9024         * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
9025         (css--font-lock-keywords): Highlight variables in
9026         `font-lock-variable-name-face'.
9028 2016-01-30  Glenn Morris  <rgm@gnu.org>
9030         * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
9032 2016-01-30  Glenn Morris  <rgm@gnu.org>
9034         Mark some user options that can get evalled as risky.
9036         * lisp/allout.el (allout-title):
9037         * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
9038         * lisp/gnus/message.el (message-mailer-swallows-blank-line):
9039         * lisp/progmodes/gud.el (gud-tooltip-display):
9040         * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
9041         Mark as risky.
9043 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9045         Disable DebPrint in sys_read on MS-Windows
9047         * src/w32.c (sys_read): Disable a debugging print that is normal
9048         when non-blocking reads are retried.
9050 2016-01-30  Martin Rudalics  <rudalics@gmx.at>
9052         ;Fix ChangeLog entry
9054 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
9056         Fix typos in Introduction to Emacs Lisp manual
9058         * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
9059         (kill-new function, Digression into C)
9060         (Complete forward-sentence, Divide and Conquer, Find a File)
9061         (lengths-list-many-files, Columns of a graph, defcustom)
9062         (recursive-count-words): Fix typos.  Reported by Daniel Bastos
9063         <dbastos@toledo.com>.
9065 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9067         Shrink static heap a bit
9069         * src/sheap.h: Include lisp.h, for Lisp_Object.
9070         (STATIC_HEAP_SIZE): Now an enum constant, not a macro.
9071         Make it 2 MiB * sizeof (Lisp_Object), which is a bit more
9072         conservative than the old value.
9073         (Bug#22086)
9075 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9077         Fix extern symbols defined and not used
9079         * src/alloc.c: Always include <signal.h>.
9080         (malloc_warning) [!SIGDANGER && (SYSTEM_MALLOC || HYBRID_MALLOC)]:
9081         Do not define; unused.
9082         * src/emacs.c, src/lisp.h (might_dump) [!DOUG_LEA_MALLOC]: Now static.
9083         * src/gmalloc.c (gdefault_morecore): Rename from __default_morecore,
9084         to avoid collision with glibc.  Now static.  All uses changed.
9085         * src/lastfile.c (my_edata): Define only if
9086         ((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined
9087         WINDOWSNT) \ || defined CYGWIN || defined DARWIN_OS).
9088         (Bug#22086)
9090 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9092         Build lib/e-*.o only on platforms that need it
9094         * configure.ac (hybrid malloc): Simplify configuration.
9095         (SHEAP_OBJ): Remove; no longer needed.
9096         (HYBRID_MALLOC): New var. Subst it.
9097         (HYBRID_MALLOC_LIB): New Automake conditional.
9098         * lib/Makefile.am (noinst_LIBRARIES): Add libegnu.a only if
9099         HYBRID_MALLOC_LIB.
9100         (libegnu_a_CPPFLAGS): Omit AM_CPPFLAGS; not needed.
9101         (MOSTLYCLEANFILES): Add libegnu.a.
9102         * src/Makefile.in (SHEAP_OBJ): Remove.
9103         (HYBRID_MALLOC): New macro.
9104         (base_obj): Use it to conditionally add sheap.o.
9105         (LIBEGNU_ARCHIVE): New macro.
9106         ($(LIBEGNU_ARCHIVE)): New rule, replacing $(lib)/libegnu.a.
9107         All uses of the latter replaced by the former.
9108         * src/alloc.c (USE_ALIGNED_ALLOC): Simplify configuration.
9109         Correct misspelling ALIGNED_ALLOC to HAVE_ALIGNED_ALLOC.
9110         * src/gmalloc.c: Update comment.
9111         * src/lisp.h (aligned_alloc)
9112         [!DOUG_LEA_MALLOC && !HYBRID_MALLOC && !SYSTEM_MALLOC]:
9113         New decl.
9114         (Bug#22086)
9116 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9118         Include <malloc.h> when advisable
9120         This should help insulate us better from future glibc changes.
9121         It is good hygiene to include .h files for APIs that Emacs uses.
9122         Fix type clashes between Emacs and GNU <malloc.h> (Bug#22086).
9123         * configure.ac: Check for malloc.h.
9124         * src/alloc.c: Include <malloc.h> depending on HAVE_MALLOC_H,
9125         not on DOUG_LEA_MALLOC.
9126         * src/emacs.c, src/gmalloc.c (malloc_enable_thread):
9127         Remove decl (now in lisp.h).
9128         * src/gmalloc.c: Include stddef.h earlier, for ptrdiff_t.
9129         [emacs]: Include lisp.h.
9130         [HAVE_MALLOC_H]: Include <malloc.h>.
9131         (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
9132         (__after_morecore_hook, __malloc_initialize_hook, __morecore)
9133         (__default_morecore):
9134         [!HAVE_MALLOC_H]: New decls near non-inclusion of <malloc.h>.
9135         (calloc): Make it clear that the macro should not be used.
9136         Remove unused decl.
9137         (malloc_info): New macro, to avoid clash with glibc <malloc.h>.
9138         (__morecore, __default_morecore, __after_morecore_hook)
9139         (__malloc_extra_blocks, __malloc_initialize_hook, __free_hook)
9140         (__malloc_hook, __realloc_hook, __memalign_hook, memory_warnings):
9141         Remove later decls.
9142         (gmalloc_hook, gfree_hook, grealloc_hook):
9143         Rename from __malloc_hook, __free_hook, __realloc_hook to
9144         avoid type collision with glibc <malloc.h>.  All uses changed.
9145         (gmalloc_hook):
9146         (__malloc_extra_blocks) [DOUG_LEA_MALLOC||HYBRID_MALLOC||SYSTEM_MALLOC]:
9147         Now static.
9148         (gmalloc_hook, __malloc_extra_blocks): Define even if [!HYBRID_MALLOC].
9149         (__malloc_initialize_hook, __after_morecore_hook):
9150         Declare with types compatible with glibc.
9151         (__memalign_hook, hybrid_calloc) [HYBRID_MALLOC]:
9152         Remove.  All uses removed.
9153         * src/lisp.h (__malloc_extra_blocks, malloc_enable_thread): New decls.
9154         * src/ralloc.c, src/vm-limit.c:
9155         Simplify includes and include <malloc.h> if available.
9157 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9159         * src/alloc.c: Include "sheap.h".
9161         (alloc_unexec_pre, alloc_unexec_post) [HYBRID_MALLOC]:
9162         Set and clear bss_sbrk_did_unexec, on all platforms not just Cygwin.
9163         * src/lisp.h (alloc_unexec_pre, alloc_unexec_post) [!DOUG_LEA_MALLOC]:
9164         Declare unconditionally.
9165         * src/unexcw.c, src/unexelf.c (bss_sbrk_did_unexec): Remove decl.
9166         (unexec): Don’t set or clear bss_sbrk_did_unexec;
9167         the caller now does this.
9168         (Bug#22086)
9170 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9172         Pacify --enable-gcc-warnings when HYBRID_MALLOC
9174         * src/buffer.c (init_buffer):
9175         * src/emacs.c (main):
9176         * src/xsmfns.c (smc_save_yourself_CB, x_session_initialize):
9177         Use emacs_get_current_dir_name, not get_current_dir_name.
9178         * src/conf_post.h (aligned_alloc) [HYBRID_MALLOC && emacs]: New macro.
9179         (HYBRID_GET_CURRENT_DIR_NAME, get_current_dir_name): Remove.
9180         * src/emacs.c: Include "sheap.h".
9181         (report_sheap_usage): Remove decl.
9182         (Fdump_emacs) [HYBRID_MALLOC]: Report usage directly.
9183         Don't assume ptrdiff_t can be printed as int.
9184         * src/gmalloc.c [HYBRID_MALLOC]:
9185         Include "sheap.h" rather than declaring its contents by hand.
9186         (get_current_dir_name, gget_current_dir_name)
9187         (hybrid_get_current_dir_name): Remove.
9188         (emacs_abort): Remove duplicate decl.
9189         (aligned_alloc): Undef, like malloc etc.
9190         (ALLOCATED_BEFORE_DUMPING): Now a static function, not a macro.
9191         Make it a bit more efficient.
9192         (malloc_find_object_address): Remove unused decl.
9193         (enum mcheck_status, mcheck, mprobe, mtrace, muntrace, struct mstats)
9194         (mstats, memory_warnings): Declare only if GC_MCHECK.
9195         * src/lisp.h (emacs_get_current_dir_name):
9196         New decl, replacing get_current_dir_name.
9197         * src/sheap.c: Include sheap.h first.
9198         (STATIC_HEAP_SIZE): Remove; now in sheap.h.
9199         (debug_sheap): Now static.
9200         (bss_sbrk_buffer_end): Remove; no longer used.
9201         (bss_sbrk_ptr): Now static and private.
9202         (bss_sbrk_did_unexec): Now bool.
9203         (BLOCKSIZE): Remove, to avoid GCC warning about its not being used.
9204         (bss_sbrk): Don't treat request_size 0 as special, since the code
9205         works without this being a special case.
9206         Avoid overflow if request size exceeds INT_MAX.
9207         (report_sheap_usage): Remove; now done in emacs.c.
9208         * src/sheap.h: New file.
9209         * src/sysdep.c (get_current_dir_name): Remove macro.
9210         Include "sheap.h".
9211         (emacs_get_current_dir_name): Rename function from
9212         get_current_dir_name.  Handle HYBRID_MALLOC here;
9213         this is simpler.
9214         (Bug#22086)
9216 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9218         Report static heap usage on non-Cygwin, too
9220         * src/emacs.c (Fdump_emacs) [HYBRID_MALLOC]: Report sheap usage here ...
9221         * src/unexcw.c (unexec): ... instead of here, since sheap can be used
9222         on platforms other than Cygwin (Bug#22086).
9224 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9226         Pacify GCC on extern decls
9228         * src/unexelf.c (bss_sbrk_did_unexec): Move decl to top level
9229         to pacify recent GCC (Bug#22086).
9231 2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>
9233         Add musl patch to support HYBRID_MALLOC on elf systems
9235         * src/gmalloc.c: Adjust for HYBRID_MALLOC in the non CYGWIN case.
9236         (__default_morecore): Here, in particular.
9237         * configure.ac: Define HYBRID_MALLOC when unexelf.o is used.
9238         New variable SHEAP_OBJ.
9239         * src/Makefile.in: Use it.
9240         (Bug#22086)
9242 2016-01-30  Rich Felker  <dalias@libc.org>  (tiny change)
9244         unexelf.c hook to support HYBRID_MALLOC on ELF
9246         * src/unexelf.c (unexec) [HYBRID_MALLOC]:
9247         Define bss_sbrk_did_unexec (Bug#22086).
9249 2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>
9251         Link temacs with gnulib compiled with -Demacs
9253         This is done to support HYBRID_MALLOC, since some static variables
9254         (e.g., last_environ in putenv.c) hold pointers to memory malloced
9255         before dumping (Bug#22086).
9256         * lib/Makefile.am: Add incantation to install libegnu.a.
9257         * src/Makefile.in ($(lib)/libgnu.a): Replace with libegnu.a
9258         (temacs$(EXEEXT)): Use it.
9260 2016-01-30  Wolfgang Jenkner  <wjenkner@inode.at>
9262         Internal linkage for gmalloc etc. if HYBRID_MALLOC
9264         This avoids clashes with symbols if the after-dump malloc is
9265         derived from Doug Lea's implementation (Bug#22086).
9267         * src/gmalloc.c (emacs_abort, __morecore, __default_morecore):
9268         Move declarations up.  For HYBRID_MALLOC, turn all `extern'
9269         declarations below to `static' ones.
9270         (aligned_alloc): Declare for !MSDOS as well.
9271         (heapsize, _fraghead): Move resp. copy declaration downwards.
9272         For HYBRID_MALLOC, conditionalize out the other definitions,
9273         since the previous `static' declarations double as tentative
9274         definitions, anyway.
9275         (_malloc, _free, _realloc, __free_hook, _aligned_blocks)
9276         (__realloc_hook, __memalign_hook): Conditionalize out.
9277         (cfree, memalign, valloc): Ditto.
9279 2016-01-30  Paul Eggert  <eggert@cs.ucla.edu>
9281         Merge from origin/emacs-25
9283         3f481ad Rename xref-query-replace to xref-query-replace-in-results
9284         62f4ed4 Update cl-defgeneric and cl-defmethod docstrings
9285         2111e0e Comment out next-error-function integration in xref
9286         4e11ad3 Correct a use of "which" in intro.texi
9287         a1865bc Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.
9288         76045f7 Don't operate on menu bar of nonexistent frame
9289         c32f3bc Unbreak the GNUstep build.
9291 2016-01-30  Andreas Schwab  <schwab@linux-m68k.org>
9293         Re-enable checks in member, memql, delete to complain about non-lists
9295         * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
9297 2016-02-04  Martin Rudalics  <rudalics@gmx.at>
9299         Minor doc(-string) tweaks
9301         * lisp/window.el (window-in-direction): Fix doc-string typo.
9302         * doc/lispref/frames.texi (Frame Font): Mention canonical
9303         character width/height.
9304         * doc/lispref/windows.texi (Windows and Frames): Clarify
9305         handling of minibuffer window for `window-in-direction'.
9306         (Window Sizes): Minor tweaks in descriptions of
9307         `window-max-chars-per-line', `window-min-width' and
9308         `window-min-size'.
9309         (Deleting Windows): Minor tweak in `delete-window' description.
9310         (Selecting Windows): Clarify window use time description.
9311         (Cyclic Window Ordering): Minor tweak.
9312         (Switching Buffers): Clarify description of
9313         `switch-to-buffer-in-dedicated-window'.
9315 2016-02-04  Eli Zaretskii  <eliz@gnu.org>
9317         Remove some useless-use-of eval.
9319         * lisp/gnus/gnus.el (gnus-load-hook): Don't use eval.
9320         * lisp/gnus/nnrss.el (xml): Simply require it.
9321         (xml-rpc-method-call): Use declare-function.
9323 2016-01-28  Glenn Morris  <rgm@gnu.org>
9325         Don't use eval to quieten prolog.el compilation.
9327         * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
9328         (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
9330 2016-01-28  Glenn Morris  <rgm@gnu.org>
9332         Mark some risky prolog variables.
9334         * lisp/progmodes/prolog.el (prolog-system-version)
9335         (prolog-keywords, prolog-types, prolog-mode-specificators)
9336         (prolog-determinism-specificators, prolog-directives)
9337         (prolog-program-name, prolog-program-switches)
9338         (prolog-consult-string, prolog-compile-string)
9339         (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
9340         Mark anything processed by prolog-find-value-by-system as risky.
9342 2016-01-28  Glenn Morris  <rgm@gnu.org>
9344         * lisp/custom.el (defcustom): Doc fix.
9346         * doc/lispref/customize.texi (Variable Definitions):
9347         Defcustom should always have a type.
9349 2016-01-28  Glenn Morris  <rgm@gnu.org>
9351         * lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
9352         Warn if defcustom has no type.  (Bug#16276)
9354         * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
9355         Fix :type.
9357         * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
9359 2016-01-28  Michael Albinus  <michael.albinus@gmx.de>
9361         Fix Bug#22452
9363         * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
9364         * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9365         * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
9366         * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
9367         Mark it as connected.
9369         * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
9370         connection property "connected" is set.  (Bug#22452)
9372 2016-01-27  Glenn Morris  <rgm@gnu.org>
9374         * test/lisp/vc/vc-hg.el: Move from test/automated/.
9376         * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
9378         * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
9379         if not compiled with xwidgets.
9381 2016-01-26  Paul Eggert  <eggert@cs.ucla.edu>
9383         C-u C-x = example doc fix
9385         * doc/emacs/mule.texi (International Chars):
9386         Adjust example to match current behavior of C-u C-x =.
9388 2016-01-26  Paul Eggert  <eggert@cs.ucla.edu>
9390         malloc.h hygiene
9392         This attempts to future-proof Emacs a bit against possible glibc
9393         changes, by having Emacs use <malloc.h> declarations rather than
9394         coding them up by hand.  Problem noted by Florian Weimer in:
9395         https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
9396         Implement this mainly by moving malloc.h-related functions from
9397         emacs.c (which does not include <malloc.h>) to alloc.c (which does).
9398         * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
9399         New function.
9400         The remaining changes to this file apply only if DOUG_LEA_MALLOC.
9401         (alloc_unexec_pre, alloc_unexec_post): New functions.
9402         (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
9403         (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
9404         (__malloc_initialize_hook): Use it.
9405         (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
9406         Move here from ...
9407         * src/emacs.c: ... here.
9408         (malloc_get_state, malloc_set_state): Remove extern decls.
9409         (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
9410         All uses changed to similarly-named new function.
9411         (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
9412         * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
9413         New decls.
9415 2016-01-26  Eli Zaretskii  <eliz@gnu.org>
9417         * doc/emacs/mark.texi (Using Region): Clarify wording.  (Bug#22467)
9419 2016-01-26  Paul Eggert  <eggert@cs.ucla.edu>
9421         Remove never-set var handle_user_signal_hook
9423         * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
9424         Remove never-set var.  All uses removed.
9426 2016-01-26  Anders Lindgren  <andlind@gmail.com>
9428         Fixed NextStep fullscreen issue (bug#22468)
9430         When in fullscreen mode, `[screen visibleFrame]' sometimes
9431         includes, sometimes excludes the menu bar. This could cause
9432         a frame to be placed too low when in fullscreen mode.
9434         * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
9435         (constrain_frame_rect): New parameter, isFullscreen, when true don't
9436         query the height of the menu bar.
9437         (ns_constrain_all_frames): Pass `false' (isFullscreen) to
9438         `constrain_frame_rect'.
9439         ([EmacsView initFrameFromEmacs:]): Trace.
9440         ([EmacsView isFullscreen]): Trace.
9441         ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
9442         state to `constrain_frame_rect'.
9444 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9446         * lisp/files.el: Use a fixed file name for the second dir-locals file
9448         (dir-locals-file): Revert to its original fixed value.
9449         (dir-locals-file-2): New const.
9450         (dir-locals--all-files): Don't use `file-name-all-completions'.
9451         Instead, just check for the 2 dir-locals files and return a list
9452         of the ones that exit (if any).
9454         * etc/NEWS: Document the change.
9456         * doc/emacs/custom.texi (Directory Variables): Document the change.
9458         * doc/lispref/variables.texi (Directory Local Variables): Update
9459         accordingly.
9461 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9463         * lisp/files-x.el (modify-dir-local-variable): Small rewrite
9465         Change a variable name to be more meaningful, and reorder some of
9466         the code with no change in behavior.
9468 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9470         * lisp/files.el (dir-locals-find-file): Refactor return values
9472         Returning a cache remains unchanged, but the case of returning a
9473         file (or pattern) is now changed to return the contaning
9474         directory.
9476         (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
9477         and make obsolete.
9478         (dir-locals-read-from-dir): Simplify accordingly.
9479         (hack-dir-local-variables): Simplify accordingly and rename a
9480         variable.
9482 2016-01-25  Glenn Morris  <rgm@gnu.org>
9484         * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
9485         Declare.
9487         * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
9489         * configure.ac (--with-cairo): Say it's experimental.
9491         * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
9492         Rename using American spelling.  Update all uses.
9494 2016-01-25  Glenn Morris  <rgm@gnu.org>
9496         Yet more xwidget doc fixes.
9498         * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
9499         (xwidget-insert, xwidget-webkit-browse-url)
9500         (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
9501         (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
9502         (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
9503         (xwidget-webkit-show-id-element)
9504         (xwidget-webkit-show-id-or-named-element)
9505         (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
9506         (xwidget-webkit-execute-script-rv)
9507         (xwidget-webkit-copy-selection-as-kill, xwidget-get)
9508         (xwidget-put):  Doc fixes.
9509         (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
9510         (xwidget-webkit-show-id-element)
9511         (xwidget-webkit-show-id-or-named-element): Prompt fixes.
9513 2016-01-25  Ted Zlatanov  <tzz@lifelogs.com>
9515         * lisp/gnus/gnus-art.el (gnus-blocked-images):
9516         Add explicit nil choice and tags.
9518 2016-01-25  Paul Eggert  <eggert@cs.ucla.edu>
9520         Spelling fixes
9522 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9524         (rng-c-fix-escaped-newlines): Use subst-char-in-string
9526         * lisp/nxml/rng-cmpct.el (rng-c-fix-escaped-newlines):
9527         Use subst-char-in-string.
9529 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9531         * lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function
9533         (sgml-cursor-sensor, sgml-pretty-print, sgml-parse-tag-backward)
9534         (sgml-calculate-indent): Use it.
9536 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9538         * lisp/org: Fix some compiler warnings
9540         * lisp/org/ob-core.el (org-babel-check-confirm-evaluate)
9541         (org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
9542         (*this*): Declare as dyn-bound.
9543         (org-babel-expand-src-block, org-babel-load-in-session)
9544         (org-babel-switch-to-session-with-code, org-babel-get-rownames):
9545         Mark unused args.
9546         (org-babel-combine-header-arg-lists): Remove unused var `args'.
9547         (org-babel-find-named-block): Remove unused var `msg'.
9549         * lisp/org/org-src.el (org-inhibit-startup, org-src-fontify-natively):
9550         Declare as dyn-bound.
9551         (org-edit-src-code): Remove unused var `lfmt'.
9552         (org-edit-fixed-width-region): Remove unused var `preserve-indentation'.
9554 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9556         * lisp/font-lock.el: Use #' to quote function symbols
9558 2016-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9560         (font-lock-ensure-function): Fix bug#22399
9562         * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
9563         font-lock-mode is not enabled (bug#22399).
9565 2016-01-25  Alan Mackenzie  <acm@muc.de>
9567         Expunge "allow" + infinitive from source and doc, part 2.
9569         Do the same for "permit", "enable", "prevent", and (where appropriate)
9570         "require".
9572         doc/misc/reftex.texi:
9573         doc/misc/url.texi:
9574         lib/get-permissions.c:
9575         lib/strftime.c:
9576         lisp/org/org-element.el:
9577         lisp/org/org-mobile.el:
9578         lisp/textmodes/reftex-vars.el:
9579         src/bidi.c:
9580         src/emacs.c:
9581         src/xdisp.c:
9582         test/etags/c-src/emacs/src/lisp.h:
9584         Expunge the likes of "This allows to do something" from the above files.
9586 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9588         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
9590         `special-mode' is already read-only.
9592 2016-01-25  Artur Malabarba  <bruce.connor.am@gmail.com>
9594         * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
9596 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9598         Port "$@" to OpenIndiana ksh93
9600         In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
9601         Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
9602         (derived from ksh 93t+ 2010-03-05).  ${1+"$@"} works around an ancient
9603         bug in long-dead shells, so remove the workaround.
9604         * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
9605         Use plain "$@" rather than ${1+"$@"}.
9607 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9609         * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
9611 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9613         Improve wording for SMB support
9615         * doc/misc/tramp.texi (External methods): Improve and modernize
9616         wording for discussion of smbclient.  There is no longer any
9617         need to mention the laundry list of old MS Windows implementations
9618         of SMB and CIFS, nor to mention CIFS.  Also, give a URL for Samba.
9620 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9622         Merge from gnulib
9624         This incorporates:
9625         2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
9626         2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
9627         2016-01-15 detect utimes() correctly on OS/2 kLIBC
9628         2016-01-15 openat_proc_name: port to OS/2 kLIBC
9629         2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
9630         2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
9631         2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
9632         2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
9633         2016-01-14 sig2str: list all signals on FreeBSD >= 7
9634         2016-01-13 acl-permissions: port to USE_ACL==0 platforms
9635         2016-01-12 mktime: rename macro to avoid glibc clash
9636         2016-01-12 Port "$@" to OpenIndiana ksh93
9637         2016-01-12 Port Universal Time settings to strict POSIX
9638         * build-aux/gitlog-to-changelog, build-aux/update-copyright:
9639         * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
9640         * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
9641         * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
9642         * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
9643         * m4/fcntl.m4, m4/utimes.m4:
9644         Copy from gnulib.
9645         * m4/gnulib-comp.m4: Regenerate.
9647 2016-01-24  Alan Mackenzie  <acm@muc.de>
9649         Expunge "allow" + infinitive without direct object from source and doc.
9651         Do the same for "permit", "enable", and "prevent".
9653         * doc/emacs/mule.texi:
9654         * doc/lispref/control.texi:
9655         * doc/lispref/display.texi:
9656         * doc/lispref/frames.texi:
9657         * doc/lispref/functions.texi:
9658         * doc/lispref/nonascii.texi:
9659         * doc/lispref/streams.texi:
9660         * doc/lispref/windows.texi:
9661         * doc/misc/dbus.texi:
9662         * doc/misc/eww.texi:
9663         * doc/misc/flymake.texi:
9664         * doc/misc/octave-mode.texi:
9665         * doc/misc/org.texi:
9666         * doc/misc/reftex.texi:
9667         * doc/misc/tramp.texi:
9668         * doc/misc/wisent.texi:
9669         * etc/NEWS:
9670         * lisp/autorevert.el:
9671         * lisp/cedet/mode-local.el:
9672         * lisp/cedet/semantic/senator.el:
9673         * lisp/cedet/semantic/wisent.el:
9674         * lisp/dos-fns.el:
9675         * lisp/frameset.el:
9676         * lisp/gnus/gnus-agent.el:
9677         * lisp/gnus/mm-util.el:
9678         * lisp/international/characters.el:
9679         * lisp/ldefs-boot.el:
9680         * lisp/mail/mailclient.el:
9681         * lisp/man.el:
9682         * lisp/mh-e/mh-search.el:
9683         * lisp/net/tramp-cmds.el:
9684         * lisp/net/tramp-gvfs.el:
9685         * lisp/org/org-crypt.el:
9686         * lisp/org/org-element.el:
9687         * lisp/org/org-feed.el:
9688         * lisp/org/org.el:
9689         * lisp/org/ox-ascii.el:
9690         * lisp/org/ox-icalendar.el:
9691         * lisp/org/ox-publish.el:
9692         * lisp/org/ox.el:
9693         * lisp/play/gamegrid.el:
9694         * lisp/play/gomoku.el:
9695         * lisp/progmodes/antlr-mode.el:
9696         * lisp/progmodes/python.el:
9697         * lisp/progmodes/vhdl-mode.el:
9698         * lisp/strokes.el:
9699         * lisp/textmodes/ispell.el:
9700         * lisp/tree-widget.el:
9701         * lisp/vc/pcvs.el:
9702         * lisp/window.el:
9703         * src/lisp.h:
9704         * src/w32.c:
9705         * src/w32heap.c:
9706         * src/w32term.c:
9707         * src/window.c:
9708         * src/xfaces.c:
9710         Replace solecisms like "This allow to do something" with a correct
9711         alternative, such as "This allow you to do something", "This allows
9712         something to be done" or "This allows the doing of something".
9714 2016-01-24  l3thal  <kwhite@gnu.org>
9716         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
9718 2016-01-24  Kelvin White  <kwhite@gnu.org>
9720         Add NEWS entry for asynchronous reconnect in ERC
9722 2016-01-24  l3thal  <kwhite@gnu.org>
9724         Add NEWS entry for asynchronous reconnect in ERC
9726 2016-01-24  Kelvin White  <kwhite@gnu.org>
9728         browse-url.el: Add 'google-chrome' to supported browsers.
9730 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
9732         Port Tramp manual to latest Texinfo
9734         Otherwise, 'make pdf' did not work (Bug#22416).
9735         * doc/misc/tramp.texi (xxx, yyy): Remove macros.
9736         (trampfn): Specialize to the case where METHOD is nonempty.
9737         The 2nd argument is now user@host, not 2nd user and 3rd host args.
9738         All uses changed.
9739         (trampf): New macro.
9741 2016-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
9743         * eww.el (eww-render): Protect against empty content-types.
9745 2016-01-24  Nicolas Petton  <nicolas@petton.fr>
9747         authors.el updates
9749         * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
9750           Additions.
9752 2016-01-23  Dmitry Gutov  <dgutov@yandex.ru>
9754         Rename xref-query-replace to xref-query-replace-in-results
9756         * lisp/progmodes/xref.el(xref-query-replace):
9757         Rename to xref-query-replace-in-results.
9758         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
9760         * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
9761         * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
9762         * doc/emacs/dired.texi (Operating on Files):
9763         * doc/emacs/maintaining.texi (Xref Commands)
9764         (Identifier Search, Identifier Search): Update accordingly.
9766 2016-01-23  Dmitry Gutov  <dgutov@yandex.ru>
9768         Update cl-defgeneric and cl-defmethod docstrings
9770         * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
9771         (cl-defgeneric): Rename BODY to DEFAULT-BODY.
9772         (cl-defmethod): Mention that multiple dispatch arguments are
9773         allowed.  Document supported types.  (Bug#22336)
9775 2016-01-23  Dmitry Gutov  <dgutov@yandex.ru>
9777         Comment out next-error-function integration in xref
9779         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
9780         Comment out next-error-function integration
9781         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
9783 2016-01-23  John Wiegley  <johnw@newartisans.com>
9785         Correct a use of "which" in intro.texi
9787 2016-01-23  Alan Mackenzie  <acm@muc.de>
9789         Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.
9791         * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
9792         context of case labels (including "default") more rigorously.
9793         (c-guess-basic-syntax CASE 15): Consequential amendment.
9795         * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
9797 2016-01-23  Oscar Fuentes  <ofv@wanadoo.es>
9799         Don't operate on menu bar of nonexistent frame
9801         * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
9802         is valid before redisplaying its menu. Fixes bug#22438.
9804 2016-01-23  Anders Lindgren  <andlind@gmail.com>
9806         Unbreak the GNUstep build.
9808         * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
9809         predefined "caution" image. Add trace.
9810         (x_set_window_size): Remove unused variables `cols' and `rows'.
9811         (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
9812         GNUstep is used.
9813         ([EmacsView updateFrameSize:]): Remove unused variable `win'.
9814         ([EmacsWindow zoom:]): Remove unused variable `f'.
9816 2016-01-23  Eli Zaretskii  <eliz@gnu.org>
9817             John Wiegley  <johnw@gnu.org>
9818             Michael Heerdegen  <michael_heerdegen@web.de>
9820         Improve documentation of 'pcase'
9822         * doc/lispref/control.texi (Pattern matching case statement):
9823         Reorganize, expand, and improve wording.
9825         * etc/NEWS: Mention that 'pcase' changes are documented.
9827 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
9829         * etc/NEWS: Say that Cairo is experimental.
9831 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
9833         Report error for PNG under Cairo
9835         * src/image.c (lookup_rgb_color): Signal a file error instead
9836         of dumping core when mishandling an image.
9838 2016-01-23  Arash Esbati  <esbati@gmx.de>
9840         Delete a spurious backquote (tiny change)
9842         * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
9843         spurious backquote which raises an error with emacs 25.
9845 2016-01-23  Paul Eggert  <eggert@cs.ucla.edu>
9847         Pacify --enable-gcc-warnings --with-cairo
9849         Problem reported by Alexander Kuleshov in:
9850         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
9851         * src/gtkutil.c (xg_get_page_setup):
9852         Use switch rather than if-then-else.
9853         * src/image.c (COLOR_TABLE_SUPPORT):
9854         Define directly rather than via #define and optional later #undef.
9855         (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
9856         Crash when the pixel is undefined, as there is a genuine bug
9857         here (Bug#22442).
9858         * src/image.c (tiff_load, gif_load, svg_load_image)
9859         (x_kill_gs_process) [USE_CAIRO]:
9860         * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
9861         Omit unused locals, or move them to where they’re needed.
9862         (x_clear_area1): Now ATTRIBUTE_UNUSED.
9864 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
9866         Update documentation for Dired search and replace
9868         * doc/emacs/dired.texi (Operating on Files): Update descriptions
9869         of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
9870         'dired-do-find-regexp-and-replace'.
9872         * etc/NEWS: Mention xref-related changes in Dired.
9874 2016-01-22  Paul Eggert  <eggert@cs.ucla.edu>
9876         Port recent xdisp.c fix to picky C compilers
9878         * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
9879         putting #if inside the arguments to a standard function, which
9880         the C standard says has undefined behavior.
9882 2016-01-22  Alan Mackenzie  <acm@muc.de>
9884         Prevent spurious recognition of K&R argument declarations.  Fixes bug #2203
9886         * cc-engine.el (c-forward-declarator): New function.
9887         (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
9888         contained in the preceding arg list.
9890         * cc-fonts.el (c-font-lock-declarators): Use the new function
9891         `c-forward-declarator' in place of inline code.
9893 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
9895         Fix the build with --enable-checking=glyphs
9897         * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
9898         build without xwidget support.
9900 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
9902         Document cl-generic.el
9904         * doc/lispref/functions.texi (Generic Functions): New section.
9905         (Bug#22336)
9906         (Functions): Update the chapter menu.
9907         * doc/lispref/elisp.texi: Update the master menu.
9909 2016-01-22  Paul Eggert  <eggert@cs.ucla.edu>
9911         xwidgets style cleanup
9913         Adjust the newly-added Xwidgets code so that it uses a more-typical
9914         Emacs style.  This should not affect behavior, except that in
9915         a few places it adds runtime checks that Lisp arguments are of
9916         the proper type, and in one place it uses more-precise arithmetic.
9917         * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
9918         * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
9919         Include xwidget.h unconditionally.
9920         * src/buffer.c (Fkill_buffer):
9921         * src/dispnew.c (update_window):
9922         * src/emacs.c (main):
9923         * src/print.c (print_object):
9924         * src/window.c (Fdelete_window_internal):
9925         * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
9926         (get_next_element, set_iterator_to_next, next_element_from_xwidget)
9927         (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
9928         (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
9929         * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
9930         Call xwidget functions and macros without worrying about
9931         HAVE_XWIDGETS when the code is a no-op on non-xwidget
9932         platforms.
9933         * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
9934         (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
9935         (struct it.xwidget):
9936         * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
9937         Always define.
9938         * src/emacsgtkfixed.h: Omit unnecessary comment.
9939         * src/keyboard.c: Fix spacing.
9940         * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
9941         Define to be a no-op if not HAVE_XWIDGETS.
9942         * src/xwidget.c: Include xwidget.h first (after config.h)
9943         to make sure that it can stand by itself.
9944         (Fmake_xwidget, Fxwidget_webkit_execute_script):
9945         Fix typo in doc string.
9946         (Fmake_xwidget): Check type of args.
9947         (Fmake_xwidget, offscreen_damage_event)
9948         (webkit_document_load_finished_cb, webkit_download_cb)
9949         (webkit_new_window_policy_decision_requested_cb)
9950         (webkit_navigation_policy_decision_requested_cb)
9951         (xwidget_osr_draw_cb, xwidget_osr_event_forward)
9952         (xwidget_osr_event_set_embedder, xwidget_init_view):
9953         Omit unnecessary casts.
9954         * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
9955         (xwidget_show_view, xwidget_hide_view)
9956         (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
9957         (xwidget_touched):
9958         * src/xwidget.h (struct xwidget.kill_without_query)
9959         (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
9960         Use bool for boolean.
9961         * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
9962         Simplify by using list functions.
9963         (WEBKIT_FN_INIT): Omit unnecessary test for nil.
9964         (Fxwidget_resize): Check type of integer args
9965         before doing any work.  Check that they are nonnegative.
9966         (Fxwidget_set_adjustment): Check type of integer arg.
9967         Avoid redundant call to gtk_scrolled_window_get_vadjustment.
9968         Simplify.  Use double, not float.
9969         (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
9970         (valid_xwidget_spec_p): Simplify.
9971         (xwidget_spec_value): Omit unused arg FOUND.  All callers changed.
9972         * src/xwidget.h: Include lisp.h first, so that includers do
9973         not need to worry about doing that before including this file.
9974         Make this .h file safe to include even on non-HAVE_XWIDGETS
9975         configurations, to simplify the includers.
9976         (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
9977         (xwidget_end_redisplay, lookup_xwidget)
9978         (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
9979         Now a no-op if !HAVE_XWIDGETS, to simplify callers.
9980         (struct glyph_matrix, struct glyph_string, struct xwidget)
9981         (struct xwidget_view, struct window):
9982         New forward or incomplete decls, so that includers need not
9983         assume the corresponding .h files are already included, or that
9984         HAVE_XWIDGETS is defined.
9985         (struct xwidget_type, xwidget_from_id): Remove; unused.
9987 2016-01-22  John Wiegley  <johnw@newartisans.com>
9989         Further corrections to the pcase docstring
9991 2016-01-22  Eli Zaretskii  <eliz@gnu.org>
9993         * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
9995 2016-01-21  Stephen Leake  <stephen_leake@stephe-leake.org>
9997         In xref-collect-references, force backends to respect the 'dir' arg
9999         * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
10000         to use `default-directory'.
10002 2016-01-21  John Wiegley  <johnw@newartisans.com>
10004         Minor correction to pcase docstring
10006 2016-01-21  John Wiegley  <johnw@newartisans.com>
10008         Write a new docstring for the pcase macro
10010         * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
10012 2016-01-21  Stephen Berman  <stephen.berman@gmx.net>
10014         Avoid byte-compiler warning in todo-mode (bug#21953)
10016         * todo-mode.el (todo-convert-legacy-files): Add limit argument
10017         to looking-back to comply with advertised-calling-convention.
10019 2016-01-21  Stephen Berman  <stephen.berman@gmx.net>
10021         Fix desktop support in todo-mode and doc-view (bug#22377)
10023         * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
10024         * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
10026         * lisp/calendar/todo-mode.el (todo-modes-set-2):
10027         * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
10029 2016-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10031         No need to configure gobject-introspection
10033         It wasn’t needed for the recently-installed xwidget_mvp code; see:
10034         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
10035         * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
10036         (HAVE_GIR):
10037         * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
10038         Remove.  All uses removed.
10039         * configure.ac (emacs_config_features): Don’t worry about GIR.
10041 2016-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10043         Don’t export C symbols not used elsewhere
10045         These were recently added, mostly as part of xwidget code.
10046         * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
10047         (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
10048         Now static functions here, not macros in emacsgtkfixed.h.
10049         * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
10050         Remove.  All uses replaced by definiens.
10051         (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
10052         Remove; these are now static functions in emacsgtkfixed.c.
10053         (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
10054         Remove; unused.
10055         (emacs_fixed_get_type): Remove decl; no longer extern.
10056         * src/xwidget.c (offscreen_damage_event)
10057         (webkit_mime_type_policy_typedecision_requested_cb)
10058         (webkit_new_window_policy_decision_requested_cb)
10059         (webkit_navigation_policy_decision_requested_cb)
10060         (xwidget_spec_value, xwidget_view_lookup)
10061         (xwidget_start_redisplay, xwidget_touch):
10062         Now static.
10063         * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
10064         Remove decls.
10066 2016-01-20  Dmitry Gutov  <dgutov@yandex.ru>
10068         Support squiggly heredocs in ruby-mode
10070         * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
10071         Support squiggly heredocs added in Ruby 2.3.
10073         * test/indent/ruby.rb: Add squiggly example.
10075 2016-01-20  Glenn Morris  <rgm@gnu.org>
10077         * configure.ac (emacs_config_features): Remove WEBKIT.
10079 2016-01-20  Paul Eggert  <eggert@cs.ucla.edu>
10081         Port to platforms with gtk3 but not webkitgtk3
10083         I ran into this problem on my Fedora 23 installation;
10084         Emacs configured but did not build when --with-xwidgets was specified.
10085         * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
10086         (DOES_XWIDGETS_USE_GIR): New var.
10087         If --with-xwidgets is specified, report an error if not
10088         doable, to be consistent with the other --with options.
10089         Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
10090         not work at all without webkitgtk3.  Simplify use of
10091         EMACS_CHECK_MODULES.  Output message about gobject
10092         introspection only if xwidgets are used.
10093         * etc/NEWS: Users need webkitgtk3, not merely webkit.
10094         * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
10095         since this file is no longer compiled if webkitgtk3 is not available.
10097 2016-01-20  Eli Zaretskii  <eliz@gnu.org>
10099         Fix doc string of 'isearch-search-fun-function'
10101         * lisp/isearch.el (isearch-search-fun-function)
10102         (isearch-search-string): Doc fixes.  (Bug#22411)
10104 2016-01-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10106         * lisp/xwidget.el: Nitpicks
10108         * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
10109         Use with-current-buffer rather than save-excursion + set-buffer.
10111 2016-01-19  Glenn Morris  <rgm@gnu.org>
10113         Don't hard-code 1 as point-min.
10115         * lisp/image-mode.el (image-display-size):
10116         * lisp/xwidget.el (xwidget-webkit-last-session)
10117         (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
10119 2016-01-19  Glenn Morris  <rgm@gnu.org>
10121         * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
10123 2016-01-19  Glenn Morris  <rgm@gnu.org>
10125         Trivial doc copyedits.
10127         * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
10128         (Fxwidget_webkit_get_title, Fxwidget_resize)
10129         (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
10130         (Fxwidget_info, Fxwidget_view_lookup)
10131         (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
10133 2016-01-19  Glenn Morris  <rgm@gnu.org>
10135         Avoid advising image-display-size for xwidgets.
10137         * lisp/xwidget.el (xwidget-image-display-size): Remove.
10138         (image-display-size): Remove advice.
10139         * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
10140         (image-display-size): Incorporate xwidget code directly.
10142 2016-01-19  Glenn Morris  <rgm@gnu.org>
10144         Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
10146         * lisp/xwidget.el (window-configuration-change-hook)
10147         (kill-buffer-query-functions): Only modify these hooks if
10148         compiled with xwidget support.
10150 2016-01-19  Glenn Morris  <rgm@gnu.org>
10152         * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
10154         * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
10156         * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
10158         * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
10160 2016-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
10162         * lisp/gnus/nnir.el (nnir-request-update-mark):
10163         Default to the original mark.
10164         cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
10165         and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
10167 2016-01-19  Glenn Morris  <rgm@gnu.org>
10169         * lisp/xwidget.el (report-xwidget-bug): Remove.
10171         (top-level): No longer require reporter.
10173 2016-01-19  Joakim Verona  <joakim@verona.se>
10174             Grégoire Jadi  <daimrod@gmail.com>
10176         Support for the new Xwidget feature.
10178         * configure.ac:
10179         (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
10180         * xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
10181         * xdisp.c:
10182         (handle_display_spec, handle_single_display_spec, push_it)
10183         (pop_it, set_iterator_to_next, dump_glyph)
10184         (calc_pixel_width_or_height, fill_xwidget_glyph_string)
10185         (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
10186         (produce_xwidget_glyph, x_produce_glyphs)
10187         (get_window_cursor_type):
10188         * window.c (Fdelete_window_internal):
10189         * termhooks.h (e):
10190         * print.c (print_object):
10191         * lisp.h (ptrdiff_t):
10192         * keyboard.c (kbd_buffer_get_event, make_lispy_event)
10193         (syms_of_keyboard):
10194         * emacs.c (main):
10195         * dispnew.c (update_window, scrolling_window):
10196         * dispextern.h (g, i):
10197         * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
10198         (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
10199         * keyboard.c (kbd_buffer_get_event):
10200         * emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
10201         (emacs_fixed_class_init): Add case for an xwidget view.
10203         * xwidget.c, xwidget.h, xwidget.el: New files for xwidgets
10206         Various improvements to the Xwidget feature.
10207         * xwidgets.c:
10208         * emacsgtkfixed.c:
10209         * xwidget.el:
10211 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10213         Improve documentation of 'alist-get'
10215         * doc/lispref/variables.texi (Setting Generalized Variables): Add
10216         'alist-get' to the list of functions that can appear in PLACE
10217         argument of 'setf'.
10219 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10221         Minor copyedits of doc/emacs/maintaining.texi
10223         * doc/emacs/maintaining.texi (List Identifiers): More accurate
10224         description of "C-M-i" wrt tags tables.
10225         (Tags Tables): Move the definition of "tag" to a footnote.
10227 2016-01-19  Eli Zaretskii  <eliz@gnu.org>
10229         Unbreak the Cygwin-w32 build
10231         * src/w32fns.c (globals_of_w32fns): Move the initialization of
10232         resetstkoflw into a part that isn't compiled on Cygwin.
10233         (Bug#22403)
10235 2016-01-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10237         * shr.el (shr-table-body): Allow tables to have text children.
10239 2016-01-19  Phillip Lord  <phillip.lord@russet.org.uk>
10241         Cope with multiple overlapping faces.
10243         * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
10244           left.
10245           (hfy-face-resolve-face): Handle font specification as well as font
10246           name. Documentation update. (Bug#21990)
10248 2016-01-18  Paul Eggert  <eggert@cs.ucla.edu>
10250         Fix spurious escapes in describe-input-method
10252         Problem reported by Vincent Belaïche (Bug#22309).
10253         * lisp/international/mule-cmds.el (describe-language-environment):
10254         * lisp/international/quail.el (quail-help):
10255         Apply substitute-command-keys to doc strings before displaying them.
10257 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
10259         Bump version to 25.0.90
10261         * README:
10262         * configure.ac:
10263         * msdos/sed2v2.inp: Bump version to 25.0.90.
10265 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
10267         * etc/AUTHORS: Update the AUTHORS file
10269 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
10271         authors.el updates
10273         * admin/authors.el (authors-renamed-files-alist): Additions.
10275 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
10277         Make it possible to run make change-history on emacs-25
10279         * Makefile.in: Check if the current branch is emacs-25 instead of
10280           master.
10282 2016-01-30  lu4nx  <lx@shellcodes.org>
10284         Support Go language in 'etags'
10286         * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
10287         <Go_help>: New help.
10288         <Go_suffixes>: New variable.
10289         (Go_functions): New function.
10290         <lang_names>: Add entry for Go.  (Bug#22370)
10292         * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
10293         * doc/man/etags.1: Mention Go support.
10295         * etc/NEWS: Mention Go support.
10297         * test/etags/go-src/test.go:
10298         * test/etags/go-src/test1.go: New test files.
10299         * test/etags/Makefile (GOSRC): New variable.
10300         (SRCS): Add $(GOSRC).
10301         * test/etags/ETAGS.good_1:
10302         * test/etags/ETAGS.good_2:
10303         * test/etags/ETAGS.good_3:
10304         * test/etags/ETAGS.good_4:
10305         * test/etags/ETAGS.good_5:
10306         * test/etags/ETAGS.good_6:
10307         * test/etags/CTAGS.good: Adapt to addition of Go tests.
10309 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
10311         Improve Ruby support in 'etags'
10313         * lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
10314         singleton classes.  Remove class qualifiers from tags generated
10315         for method and constant names.  (Bug#22241)
10317         * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
10318         are tagged by etags in Ruby.
10320         * etc/NEWS: Mention that constants are tagged by etags in Ruby.
10322         * test/etags/ruby-src/test1.ruby: Add more tests.
10323         * test/etags/ETAGS.good_1:
10324         * test/etags/ETAGS.good_2:
10325         * test/etags/ETAGS.good_3:
10326         * test/etags/ETAGS.good_4:
10327         * test/etags/ETAGS.good_5:
10328         * test/etags/ETAGS.good_6:
10329         * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
10330         tests.
10332 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
10334         Adjust etags test results to changes in copyright years
10336         * test/etags/CTAGS.good:
10337         * test/etags/ETAGS.good_1:
10338         * test/etags/ETAGS.good_2:
10339         * test/etags/ETAGS.good_3:
10340         * test/etags/ETAGS.good_4:
10341         * test/etags/ETAGS.good_5:
10342         * test/etags/ETAGS.good_6: Adjust to shift in characters and
10343         in line numbers.
10345 2016-01-30  Andreas Schwab  <schwab@linux-m68k.org>
10347         Revert "Re-enable checks in member, memql, delete to complain about non-lists"
10349         This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
10351 2016-01-30  Nicolas Petton  <nicolas@petton.fr>
10353         Make it possible to run make change-history on emacs-25
10355         * Makefile.in: Check if the current branch is emacs-25 instead of
10356           master.
10358 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
10360         Don't fiddle with DEFAULT
10362         * lisp/progmodes/project.el (project--completing-read-strict):
10363         Don't change DEFAULT, whether is has any matches in
10364         COLLECTION, or not.
10366 2016-01-30  Eli Zaretskii  <eliz@gnu.org>
10368         Document xwidget commands and functions
10370         * doc/lispref/display.texi (Xwidgets): New section, describes some
10371         of the xwidget primitives.
10372         * doc/lispref/display.texi (Display): Update the chapter menu.
10373         * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
10374         * doc/emacs/emacs.texi (Top): Update the master menu to include
10375         the xwidget node.
10377 2016-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
10379         Build fix for shr.el
10381         * shr.el (seq): Require.
10383 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
10385         Improve project-find-file yet again!
10387         * lisp/progmodes/project.el (project--completing-read-strict):
10388         New function.
10389         (project-find-file-in): Use it.
10390         (project-file-completion-table): Move the default
10391         implementation inside the cl-defgeneric form.
10392         (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
10394 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
10396         Don't pass DIR to 'hg status'
10398         * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
10399         Don't pass DIR to 'hg status' (bug#22481).
10401 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
10403         Fix typo in previous commits
10405         * lisp/progmodes/project.el (project-find-file-in):
10406         * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
10407         commit.
10409 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
10411         Improve project-find-file
10413         * lisp/progmodes/project.el (project-file-completion-table): New.
10414         (project-find-file, project-or-external-find-file): Default to filename
10415         at point.
10416         (project-file-completion-table): New, split out from
10417         project--find-file-in.
10418         (project-find-file-in): Renamed from project--find-file-in, use
10419         project-file-completion-table.
10421         * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
10422         (xref--find-ignores-arguments): Add doc string.
10424 2016-01-30  Stephen Leake  <stephen_leake@stephe-leake.org>
10426         Implement vc-mtn-find-ignore-file, fix some doc strings
10428         * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
10430         * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
10432         * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
10434         * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
10436 2016-01-23  Michael Albinus  <michael.albinus@gmx.de>
10438         Improve user name completion in Tramp
10440         * lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
10441         Call also "getent passwd" or "getent group", if possible.
10442         (tramp-parse-putty): Cache the result.
10444 2016-01-22  Michael Albinus  <michael.albinus@gmx.de>
10446         * etc/NEWS: Move kqueue entries to Emacs 25.1 sections.
10448 2016-01-20  Glenn Morris  <rgm@gnu.org>
10450         Remove handling of non-string time-stamp formats, obsolete for 20 years.
10452         * lisp/time-stamp.el (time-stamp-format): Doc fix.
10453         (time-stamp-old-format-warn, time-stamp-fconcat): Remove.
10454         (time-stamp-string): Ignore non-string formats.
10456 2016-01-20  Eli Zaretskii  <eliz@gnu.org>
10458         Anoter fix for problematic merge from emacs-25
10460         * src/w32fns.c (globals_of_w32fns): Move initialization of
10461         resetstkoflw to a non-Cygwin part.
10463 2016-01-20  Michael Albinus  <michael.albinus@gmx.de>
10465         * test/Makefile.in (mostlyclean): Use ${LOGFILES}.
10467 2016-01-20  Eli Zaretskii  <eliz@gnu.org>
10469         Fix MS-Windows build broken by a botched merge from emacs-25
10471         * src/w32.c (w32_crypto_hprov): New static variable.
10472         (globals_of_w32): Initialize w32_crypto_hprov.
10473         (w32_init_crypt_random, w32_init_random): New functions.
10474         Include wincrypt.h.
10475         * src/w32.h (w32_init_random): Add prototype.
10477 2016-01-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10479         Correct a whole bunch of bugs coming with renamed cell relocation.
10481         * lisp/ses.el (ses-localvars): rename variable
10482         `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
10483         and adjust the comment about it.
10484         (ses-plist-delq): new defun.
10485         (ses--ses-buffer-list): new defvar.
10486         (ses--unbind-cell-name): new defun.
10487         (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
10488         (ses-relocate-formula): Undo change of
10489         2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
10490         preventing relocation for named cell --- now doing this is delegated
10491         to function `ses-relocate-symbol'.
10492         (ses-relocate-range): In docstring, undo change of
10493         2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
10494         lower case as it is not a variable.
10495         (ses-relocate-all): Cell name relocation : 1) check that cell is a
10496         renamed cell by testing `ses-cell' property to :ses-named, rather than
10497         comparing name to corresponding standard name. Set rowcol of renamed
10498         cell into the hashmap --- `ses-cell' property must not be used for
10499         that as the same name can be used for different locations in different
10500         SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
10501         `local-variable-p' to check if cell name is already in use in this
10502         sheet or needs initialization.
10503         (ses-relocate-all): Cell value relocation : 1) like for name
10504         relocation use the `ses-cell' property rather than comparing actual
10505         name to corresponding standard name. 2) Correct bug introduced in
10506         2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
10507         made the other way round than the intention --- ie value relocation
10508         was disabled for standard cell, not for renamed cell as was the
10509         intention.
10510         (ses-relocate-all): Add loop for unbinding deleted renamed cells
10511         names.
10512         (ses-killbuffer-hook): new defun.
10513         (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
10514         kill buffer hook, plus pushing current buffer if new in list.
10515         (ses-delete-row, ses-delete-column): Collect deleted renamed cells
10516         into `ses--in-killing-named-cell-list'.
10517         (ses-rename-cell): Remove update of variable
10518         `ses--renamed-cell-symb-list', this variable is renamed to
10519         `ses--in-killing-named-cell-list', and its setting is done in
10520         functions `ses-delete-row' and , `ses-delete-column' now.
10521         (ses-rename-cell): Make cell new name a buffer local variable.
10522         (ses-rename-cell): Change correction of
10523         2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
10524         computation of the range over which `cursor-intangible' property was
10525         to be updated. This correction was ok for non spilling cells, but not
10526         for cells spilling over following blank cells. Simply use
10527         `next-single-property-change' rather than computing the end column
10528         from column widths.
10530 2016-01-19  John Wiegley  <johnw@newartisans.com>
10532         Merge from origin/emacs-25
10534         3ae7934 ; * etc/NEWS: Mark entries that don't need further treatment.
10535         6165c36 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
10536         2ffdf15 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
10537         71ecd62 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
10538         f0b82b3 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
10539         86e4513 Fix incompatbilities with MS-Windows 2000 and older
10540         4e96521 Mention in PROBLEMS an issue with MS-Windows NT4
10541         15c23aa Ensure 8-byte aligned memory allocation on MS-Windows 9X
10542         39afa42 Fix tests for active region in hideif.el
10543         05df666 Fix interactive specs in some hideif.el commands
10545 2016-01-19  John Wiegley  <johnw@newartisans.com>
10547         -
10549 2016-01-19  Paul Eggert  <eggert@cs.ucla.edu>
10551         Avoid stdio in SIGINT handler
10553         * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
10554         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
10555         * lib/ignore-value.h: New file, from gnulib.
10556         * src/keyboard.c: Include it.
10557         (write_stdout, read_stdin): New functions.
10558         (handle_interrupt): Use them instead of printf and getchar,
10559         and avoid fflush when handling signals.
10561 2016-01-19  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
10563         Refactor mml-smime.el, mml1991.el, mml2015.el
10565         (Maybe this is the last merge from Gnus git to Emacs git)
10567         Cf. discussion on ding mailing list, messages in
10568         <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
10569         Common code from the three files mml-smime.el, mml1991.el, and
10570         mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
10571         to gnus-util.el.
10573         The code is supported by test cases with necessary test keys.
10575         Documentation in message.texi is updated.
10577         * doc/misc/message.texi (Security, Using S/MIME):
10578         Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
10579         (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
10580         (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
10582         * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
10583         New functions.
10585         * lisp/gnus/mml-sec.el: Require gnus-util and epg.
10586         (epa--select-keys): Autoload.
10587         (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
10588         (mml-secure-openpgp-signers): New user option;
10589         make mml1991-signers and mml2015-signers obsolete aliases to it.
10590         (mml-secure-smime-signers): New user option;
10591         make mml-smime-signers an obsolete alias to it.
10592         (mml-secure-openpgp-encrypt-to-self): New user option;
10593         make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
10594         aliases to it.
10595         (mml-secure-smime-encrypt-to-self): New user option;
10596         make mml-smime-encrypt-to-self an obsolete alias to it.
10597         (mml-secure-openpgp-sign-with-sender): New user option;
10598         make mml2015-sign-with-sender an obsolete alias to it.
10599         (mml-secure-smime-sign-with-sender): New user option;
10600         make mml-smime-sign-with-sender an obsolete alias to it.
10601         (mml-secure-openpgp-always-trust): New user option;
10602         make mml2015-always-trust an obsolete alias to it.
10603         (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
10604         New user options.
10605         (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
10606         (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
10607         (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
10608         (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
10609         (mml-secure-passphrase-callback, mml-secure-check-user-id)
10610         (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
10611         (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
10612         (mml-secure-fingerprint, mml-secure-filter-keys)
10613         (mml-secure-normalize-cust-name, mml-secure-select-keys)
10614         (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
10615         (mml-secure-self-recipients, mml-secure-recipients)
10616         (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
10618         * lisp/gnus/mml-smime.el: Require epg;
10619         refactor declaration and autoloading of epg functions.
10620         (mml-smime-use): Doc fix.
10621         (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
10622         Obsolete.
10623         (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
10624         Use format instead of gnus-format-message.
10625         (mml-smime-epg-secret-key-id-list): Remove variable.
10626         (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
10627         (mml-smime-epg-find-usable-secret-key): Remove functions.
10628         (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
10630         * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
10631         (mml1991-passphrase-cache-expiry): Obsolete.
10632         (mml1991-epg-secret-key-id-list): Remove variable.
10633         (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
10634         (mml1991-epg-find-usable-secret-key): Remove functions.
10635         (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
10637         * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
10638         (mml2015-passphrase-cache-expiry): Obsolete.
10639         (mml2015-epg-secret-key-id-list): Remove variable.
10640         (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
10641         (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
10642         (mml2015-epg-find-usable-secret-key): Remove functions.
10643         (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
10644         (mml2015-epg-encrypt): Refactor.
10646 2016-01-19  Paul Eggert  <eggert@cs.ucla.edu>
10648         Merge from gnulib
10650         This mostly just updates copyright dates of gnulib files.
10651         It also updates to the latest version of texinfo.tex.
10653 2016-01-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10655         Move variables to inner loop, preparing for Mac port merge
10657         * src/keyboard.c (command_loop_1): Move variables `cmd',
10658         `keybuf', and `i' to inner loop.
10660 2016-01-19  Paul Eggert  <eggert@cs.ucla.edu>
10662         Minor improvements to (random t) documentation
10664         * doc/lispref/numbers.texi (Random Numbers):
10665         * src/fns.c (Frandom):
10666         Omit unnecessary details about randomness fallback.
10667         Say that it is a fallback.
10669 2016-01-19  Dmitry Gutov  <dgutov@yandex.ru>
10671         Rename methods in Ruby etags example file
10673         * test/etags/ruby-src/test.rb: Rename the example methods to
10674         correspond to the common terminology used in Ruby.
10675         * test/etags/CTAGS.good:
10676         * test/etags/ETAGS.good_1:
10677         * test/etags/ETAGS.good_2:
10678         * test/etags/ETAGS.good_3:
10679         * test/etags/ETAGS.good_4:
10680         * test/etags/ETAGS.good_5:
10681         * test/etags/ETAGS.good_6: Adjust accordingly.
10683 2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>
10685         Propertize backtick in 'def `(abc)' as symbol constituent
10687         * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
10688         Propertize backtick in 'def `(abc)' as symbol constituent.
10689         (ruby-syntax-propertize-function):
10690         Rename to ruby-syntax-propertize.
10692 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10694         Fix scrolling under scroll-preserve-screen-position on TTY
10696         * src/window.c (window_scroll_line_based): When setting point to
10697         preserve screen coordinates, don't let cursor enter either of the
10698         two scroll margins.  (Bug#22395)
10700 2016-01-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10702         Fix shr table rendering of nested tables
10704         * shr.el (shr-table-body): Don't include all tbodies in nested
10705         tables in the levels above.
10707 2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>
10709         * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
10711 2016-01-18  Dmitry Gutov  <dgutov@yandex.ru>
10713         Add xref-based replacements for Dired search commands
10715         * lisp/dired-aux.el (dired-do-find-regexp)
10716         (dired-do-find-regexp-and-replace): New commands.
10717         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
10719         * lisp/dired.el (dired-mode-map): Change bindings for `A' and
10720         `Q' to the new commands.
10722         * lisp/progmodes/xref.el (xref-query-replace)
10723         (xref-collect-matches): Add progress reporters.
10724         (xref--find-ignores-arguments): Return nil for zero ignores.
10725         (xref--show-xrefs): Add an optional argument.
10726         (xref-collect-matches): Drop the assert.  'find' accepts a
10727         regular file in place of directory argument, too.
10729 2016-01-18  Alan Mackenzie  <acm@muc.de>
10731         * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
10733 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10735         Improve user documentation of Xref
10737         * doc/emacs/maintaining.texi (Xref, Find Identifiers)
10738         (Looking Up Identifiers, Identifier Search, List Identifiers):
10739         Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>.  See
10740         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
10741         for the details.
10743 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10745         Fix scrolling under scroll-preserve-screen-position and margins
10747         * src/window.c (window_scroll_pixel_based): When setting point to
10748         preserve screen coordinates, don't let cursor enter either of the
10749         two scroll margins.  Fix incorrect usage of
10750         WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
10751         instead of CURRENT_HEADER_LINE_HEIGHT.  (Bug#22395)
10753 2016-01-18  Eli Zaretskii  <eliz@gnu.org>
10755         Unbreak the MS-Windows build
10757         * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
10758         WINDOWSNT, to avoid link failure.  (Bug#22202)
10760 2016-01-18  Alan Mackenzie  <acm@muc.de>
10762         Desktop: protect users against inadvertant upgrading of desktop file.
10764         An upgraded (version 208) desktop file cannot be read in Emacs < 25.
10766         * etc/NEWS: Add an entry about upgrading a desktop file.
10768         * lisp/desktop.el (desktop-file-version): Amend doc string.
10769         (desktop-native-file-version, desktop-io-file-version): new variables.
10770         (desktop-clear): Set desktop-io-file-version to nil.
10771         (desktop-buffer-info): make the presence of the last item on the list
10772         conditional on (>= desktop-io-file-version 208).
10773         (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
10774         Amend the doc string.  Add code to determine the output file version.
10775         (desktop-create-buffer): Set desktop-io-file-version to the input file's
10776         version.
10778 2016-01-17  Paul Eggert  <eggert@cs.ucla.edu>
10780         Initialize GnuTLS before calling gnutls_rnd
10782         * src/gnutls.c (emacs_gnutls_global_init): Now extern.
10783         Don’t set gnutls_global_initialized if gnutls_global_init fails.
10784         * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
10785         if 2.12 or later, which has gnutls_rnd.
10786         (emacs_gnutls_global_init, gnutls_rnd): New fallback
10787         placeholder macros if before 2.12.
10788         (init_random): Initialize gnutls globals before trying to
10789         use gnutls_rnd.
10791 2016-01-17  Andreas Schwab  <schwab@linux-m68k.org>
10793         Don't use GnuTLS before it is initialized
10795                 * src/sysdep.c (init_random): Don't use gnutls_rnd.
10797 2016-01-17  Bill Wohler  <wohler@newt.com>
10799         * mh-e.el (mh-version): Add +git to version.
10801 2016-01-17  Paul Eggert  <eggert@cs.ucla.edu>
10803         Port cleanup attribute to OpenBSD
10805         The OpenBSD C compiler issues false alarms about strcpy, strcat, and
10806         sprintf, and this messes up 'configure' when it tests for the cleanup
10807         attribute.  Work around the problem by using __has_attribute directly.
10808         Problem reported by Joakim Jalap (Bug#22385).
10809         * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
10810         * m4/ax_gcc_var_attribute.m4: Remove.
10811         * src/conf_post.h (__has_attribute): Provide a substitute, for
10812         non-GCC or older GCC compilers.  All uses changed to assume
10813         the substitute.  Check for the cleanup attribute.
10814         * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
10816 2016-01-17  Paul Eggert  <eggert@cs.ucla.edu>
10818         Prefer GnuTLS when acquiring random seed
10820         This attempts to improve on the fix for Bug#22202.
10821         * configure.ac (HAVE_DEV_URANDOM): Remove.
10822         Check /dev/urandom existence at run time, not at build time,
10823         since the device could exist in the former but not the latter.
10824         * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
10825         (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
10826         (random_seed): New typedef.
10827         (set_random_seed): New static function.
10828         (seed_random): Use them.
10829         (init_random): Use random_seed instead of uintmax_t, so as to
10830         not consume more entropy than needed.  Prefer gnutls_rnd if it
10831         works; this avoids a redundant open of /dev/urandom on
10832         GNU/Linux with modern GnuTLS.
10834 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10836         Improve documentation of dynamic modules
10838         * doc/lispref/loading.texi (How Programs Do Loading): Update the
10839         description of searching for files in 'load' when Emacs was built
10840         with support for dynamic modules.
10842 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10844         * INSTALL: Document --with-modules.
10846 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10848         Document 'function-put'
10850         * doc/lispref/symbols.texi (Symbol Plists): Document
10851         'function-put'.  Update documentation of 'function-get'.
10853 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10855         Document 'funcall-interactively'
10857         * doc/lispref/commands.texi (Interactive Call): Document
10858         'funcall-interactively'.
10859         * doc/lispref/functions.texi (Calling Functions): Mention
10860         'funcall-interactively' and provide a cross-reference.
10862 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10864         * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
10866         * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
10868 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10870         Document renaming of selection-related functions
10872         * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
10873         functions into the corresponding "gui-*" functions.  Make the
10874         description slightly less X-centric.
10876 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10878         * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
10880 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10882         Document 'define-inline'
10884         * doc/lispref/functions.texi (Defining Functions): Document
10885         'define-inline' and related macros.
10887         * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
10889 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10891         * lisp/files.el (dir-locals--all-files): Respect absolute file-names
10893         * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
10895 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10897         * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
10899         instead of manually writing a dir-locals file.
10901 2016-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
10903         * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
10905         (dir-locals-file)
10906         * lisp/files-x.el (modify-dir-local-variable)
10907         * lisp/dos-fns.el (dosified-file-name)
10908         * lisp/help-fns.el (describe-variable): Change accordingly.
10910 2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)
10912         Fix incompatbilities with MS-Windows 2000 and older
10914         * src/w32.c <multiByteToWideCharFlags>: New global variable.
10915         (filename_to_utf16, filename_from_ansi, check_windows_init_file):
10916         Use it instead of the literal MB_ERR_INVALID_CHARS.
10917         (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
10918         appropriate for the underlying OS version.  For details, see
10919         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10920         * src/w32.h: Declare multiByteToWideCharFlags.
10921         * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
10922         (add_tray_notification): Use multiByteToWideCharFlags instead of
10923         the literal MB_ERR_INVALID_CHARS.
10924         (_resetstkoflw_proc): New typedef.
10925         (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
10926         pointer, as this function is absent in msvcrt.dll shipped with W2K
10927         and older systems.
10929 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10931         Mention in PROBLEMS an issue with MS-Windows NT4
10933         * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
10934         on Windows NT4.  For the details, see
10935         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10937 2016-01-16  Jussi Lahdenniemi  <jussi@aprikoodi.fi>  (tiny change)
10939         Ensure 8-byte aligned memory allocation on MS-Windows 9X
10941         * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
10942         special functions on Windows 9X.  Refuse to dump Emacs on Windows 9X.
10943         (malloc_after_dump_9x, realloc_after_dump_9x)
10944         (free_after_dump_9x): New functions.  (Bug#22379)  See also
10945         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
10946         for more details about the original problem.
10948         * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
10949         (free_after_dump_9x): Add prototypes.
10951 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10953         Fix tests for active region in hideif.el
10955         * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
10956         'use-region-p' to test whether to operate on region, instead of
10957         testing 'mark-active'.
10959 2016-01-16  Eli Zaretskii  <eliz@gnu.org>
10961         Fix interactive specs in some hideif.el commands
10963         * lisp/progmodes/hideif.el (hif-evaluate-macro)
10964         (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
10965         in commands that should only act on the region if it's active.
10967 2016-01-15  Phillip Lord  <phillip.lord@russet.org.uk>
10969         Enable test selector from command line
10971         * test/automated/Makefile.in: Change variable manipulation to avoid
10972           over-writing selector.
10974 2016-01-15  Alan Mackenzie  <acm@muc.de>
10976         Don't confuse "::" with ":" when trying to parse member initializers.
10978         * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
10979         more robustly for ":" token when searching backwards for it.
10981         * lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
10982         variable.
10984 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10986         Ensure positive number of glyphs for margins of positive width
10988         * src/dispnew.c (margin_glyphs_to_reserve): Always return a
10989         positive value when a non-zero width of the marginal area was
10990         requested.  (Bug#22356)
10992 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
10994         Fix crashes when mini-window has non-zero margins
10996         * src/window.c (resize_frame_windows): Use 'new_size' to set
10997         minibuffer window's 'total_cols' value, as 'size' might be in
10998         pixels.  (Bug#22356)
11000 2016-01-15  Alan Mackenzie  <acm@muc.de>
11002         In comment-dwim with style `extra-line', respect indent-tabs-mode.
11004         This fixes bug #22369.
11006         * lisp/newcomment.el (comment-make-bol-ws): New function.
11007         (comment-make-extra-lines): Use new function instead of a crude `make-string'.
11009 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
11011         Make 'random' seeds cryptographically secure if possible
11013         * configure.ac: Check for "/dev/urandom".
11015         * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
11016         for the seed from "/dev/urandom".
11017         [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
11018         * src/fns.c (Frandom): Update the doc string to indicate that
11019         system entropy is used when available.
11020         * src/w32.c: Include wincrypt.h.
11021         (w32_init_crypt_random, w32_init_random): New functions, use the
11022         CryptGenRandom API.
11023         (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
11024         * src/w32.h (w32_init_random): Add prototype.
11026         * doc/lispref/numbers.texi (Random Numbers): Document more details
11027         about 't' as the argument to 'random'.
11029         * etc/NEWS: Mention that '(random t)' now uses a cryptographically
11030         strong seed if possible.
11032         (Bug#22202)
11034 2016-01-15  Eli Zaretskii  <eliz@gnu.org>
11036         Unhide the --no-line-directive option to 'etags'
11038         * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
11039         option.  (Bug#22306)
11041         * doc/man/etags.1: Document the --no-line-directive option.
11043 2016-01-15  Alan J Third  <alan@idiocy.org>  (tiny change)
11045         Fix picture-mode wrt double-width characters
11047         * lisp/textmodes/picture.el (picture-insert): Check the width of
11048         the character being replaced, not just that of the replacement.
11049         (Bug#1808)
11051 2016-01-15  Eric Abrahamsen  <eric@ericabrahamsen.net>
11053         Honor docstring of gnus-group-get-new-news
11055         * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
11056         but non-numeric, unconditionally consider all groups to need updating.
11058 2016-01-14  Simen Heggestøyl  <simenheg@gmail.com>
11060         Disallow parenthesis in non-pseudo CSS selectors
11062         * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
11063         parenthesis in selectors except for in the function notation that
11064         might appear right after a pseudo-class.
11065         * test/indent/scss-mode.scss: Add a test for it.
11067 2016-01-14  Katsumi Yamaoka  <yamaoka@jpl.org>
11069         * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
11071 2016-01-14  Michael Albinus  <michael.albinus@gmx.de>
11073         check-maybe shall run only default tests
11075         * test/automated/Makefile.in (check, check-expensive): Depend on
11076         mostlyclean.
11077         (check-maybe): Re-run only default tests.
11078         (check-doit): Use code of check-maybe.
11079         (mostlyclean): Move *.log files away.
11081 2016-01-13  Mark Oteiza  <mvoteiza@udel.edu>
11083         * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
11085 2016-01-13  Dmitry Gutov  <dgutov@yandex.ru>
11087         Un-obsolete tags-loop-continue
11089         * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
11090         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
11092 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11094         Document obsoletion of 'intangible' and 'point-entered/left'
11096         * doc/lispref/text.texi (Special Properties): Document the new
11097         properties 'cursor-intangible' and 'cursor-sensor-functions'.
11098         Document the obsolete status of 'intangible', 'pointer-left',
11099         and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
11100         * doc/lispref/display.texi (Overlay Properties): Document that
11101         'intangible' overlay property is obsolete.
11103         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
11105 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11107         Updater documentation of 'looking-back'
11109         * doc/lispref/searching.texi (Regexp Search): Update documentation
11110         of 'looking-back'.  Fix markup.
11112 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11114         Document 'pre-redisplay-functions'
11116         * doc/lispref/hooks.texi (Standard Hooks):
11117         * doc/lispref/display.texi (Forcing Redisplay): Document
11118         'pre-redisplay-functions'.
11120 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11122         Document the new deafault value of 'load-read-function'
11124         * doc/lispref/loading.texi (How Programs Do Loading): Document the
11125         change in the default value of 'load-read-function'.
11127 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11129         Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
11131         * doc/lispref/nonascii.texi (Text Representations): Document
11132         'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
11134 2016-01-13  Eli Zaretskii  <eliz@gnu.org>
11136         Document the new prefix-command hooks
11138         * doc/lispref/hooks.texi (Standard Hooks): Document
11139         `prefix-command-echo-keystrokes-functions' and
11140         `prefix-command-preserve-state-hook'.
11142 2016-01-13  Paul Eggert  <eggert@cs.ucla.edu>
11144         Fix one more misuse of time-stamp-time-zone
11146         * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
11147         than the unportable "GMT" for time zone.
11149 2016-01-13  Paul Eggert  <eggert@cs.ucla.edu>
11151         Fix NNTP NEWGROUPS off-by-a-few-hours bug
11153         * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
11154         in Universal Time, since we’re telling the server “GMT”.
11156 2016-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11158         Update publicsuffix.txt from upstream
11160         * etc/publicsuffix.txt: Update from
11161         https://publicsuffix.org/list/effective_tld_names.dat
11162         dated 2016-01-12 11:52:01 UTC.
11164 2016-01-12  Glenn Morris  <rgm@gnu.org>
11166         Fix some declarations.
11168         * lisp/descr-text.el (internal-char-font):
11169         * lisp/cedet/mode-local.el (xref-item-location):
11170         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
11171         (epg-sub-key-capability, epg-sub-key-validity):
11172         * lisp/international/mule-util.el (internal-char-font):
11173         Fix declarations.
11175 2016-01-12  Glenn Morris  <rgm@gnu.org>
11177         Fix some custom types.
11179         * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
11180         * lisp/gnus/gnus.el (gnus-valid-select-methods):
11181         * lisp/mail/rmail.el (rmail-get-coding-function):
11182         * lisp/net/newst-treeview.el (newsticker-groups-filename):
11183         * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
11184         * lisp/textmodes/tildify.el (tildify-space-predicates):
11185         * lisp/url/url-tramp.el (url-tramp-protocols):
11186         Fix custom types.
11188 2016-01-12  Glenn Morris  <rgm@gnu.org>
11190         Add some missing version tags.
11192         * lisp/electric.el (electric-quote-comment)
11193         (electric-quote-string, electric-quote-paragraph):
11194         * lisp/epg-config.el (epg-gpgconf-program):
11195         * lisp/rect.el (rectangle-preview):
11196         * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
11197         * lisp/emacs-lisp/package.el (package-selected-packages)
11198         (package-hidden-regexps):
11199         * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
11200         * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
11201         * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
11202         (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
11203         (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
11204         (mml-smime-sign-with-sender, mml2015-always-trust)
11205         (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
11206         * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
11207         (browse-url-conkeror-arguments):
11208         * lisp/net/newst-reader.el (newsticker-download-logos):
11209         * lisp/progmodes/gud.el (gud-guiler-command-name):
11210         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
11211         * lisp/progmodes/project.el (project-vc):
11212         * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
11213         (python-shell-remote-exec-path, python-shell-first-prompt-hook)
11214         (python-shell-completion-native-disabled-interpreters)
11215         (python-shell-completion-native-enable)
11216         (python-shell-completion-native-output-timeout)
11217         (python-shell-completion-native-try-output-timeout):
11218         * lisp/progmodes/xref.el (xref):
11219         * lisp/term/screen.el (xterm-screen-extra-capabilities):
11220         * lisp/term/xterm.el (xterm-max-cut-length):
11221         Add missing version tags.
11223 2016-01-12  Glenn Morris  <rgm@gnu.org>
11225         * test/automated/core-elisp-tests.el
11226         (core-elisp-tests-1-defvar-in-let): Add a custom type.
11228 2016-01-12  Glenn Morris  <rgm@gnu.org>
11230         * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
11232         Remove comments that do not apply since 2005-08-09.  (Bug#22349)
11234 2016-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11236         Merge from gnulib
11238         This mostly just changes "UTC" to "UTC0" for POSIX conformance.
11239         It also updates to the latest version of texinfo.tex.
11240         * build-aux/gitlog-to-changelog, build-aux/move-if-change:
11241         * build-aux/update-copyright, doc/misc/texinfo.tex:
11242         Update from gnulib.
11244 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11246         Update documentation of 'process-running-child-p'
11248         * doc/lispref/processes.texi (Input to Processes): Document the
11249         changes in return value of 'process-running-child-p'.
11251 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11253         Update documentation of 'deactivate-mark'.
11255         * doc/lispref/markers.texi (The Mark): Document that
11256         'deactivate-mark' is now buffer-local when set.
11258 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11260         Update documentation of 'completion-table-dynamic'
11262         * doc/lispref/minibuf.texi (Programmed Completion): Document the
11263         new optional argument to 'completion-table-dynamic'.
11265 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11267         Document changes in 'read-buffer' and 'read-buffer-function'
11269         * doc/lispref/minibuf.texi (High-Level Completion): Document the
11270         4th argument to 'read-buffer' and 'read-buffer-function'.
11272 2016-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11274         Fix time-stamp-time-zone bugs introduced in July
11276         This fixes a bug introduced when the July changes to
11277         format-time-string installed, as the changes were not
11278         correctly handled in this module (Bug#22302).
11279         Also, document time stamp time zones.
11280         * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
11281         (time-stamp--format): New private function.
11282         (time-stamp-string, time-stamp-string-preprocess)
11283         (time-stamp-do-number): Use it.
11284         * doc/emacs/files.texi (Time Stamps): Mention time zones.
11285         * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
11287 2016-01-12  Eli Zaretskii  <eliz@gnu.org>
11289         Make piping to subprocesses more robust on MS-Windows
11291         * src/w32.c (sys_write): Don't write to a pipe more stuff than its
11292         buffer can hold.  Don't return -1 if something has been written to
11293         the pipe.  Zero out 'errno' before calling '_write', to avoid
11294         returning a stale value.  (Bug#22344)
11295         * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
11296         * src/w32.c (pipe2): Use it to request a user-defined size for the
11297         pipe being created.
11299         * etc/NEWS: Mention 'w32-pipe-buffer-size'.
11301         * doc/emacs/msdos.texi (Windows Processes): Document
11302         'w32-pipe-buffer-size'.
11304 2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11306         * lisp/emacs-lisp/syntax.el (syntax-ppss-table): New var
11308         (syntax-ppss):
11309         * lisp/font-lock.el (font-lock-fontify-syntactically-region): Use it.
11311 2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11313         lisp/nxml: Use syntax-tables for comments
11315         * lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
11316         (nxml-mode): Set syntax-ppss-table.
11317         Use sgml-syntax-propertize-function for syntax-propertize-function.
11318         Let font-lock highlight strings and comments.
11319         (nxml-degrade): Don't touch "nxml-inside" property any more.
11320         (nxml-after-change, nxml-after-change1): Remove functions.
11321         (comment): Don't set fontify rule any more.
11322         (nxml-fontify-attribute): Don't highlight the value any more.
11323         (nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
11324         (nxml-comment-delimiter, nxml-comment-content): Remove faces.
11326         * lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
11327         (nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
11328         (nxml-clear-inside, nxml-set-inside): Remove.
11329         (nxml-scan-after-change): Remove function.
11330         (nxml-scan-prolog, nxml-tokenize-forward): Simplify.
11331         (nxml-ensure-scan-up-to-date): Use syntax-propertize.
11332         (nxml-move-outside-backwards):
11333         * lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
11334         nxml-inside-start behavior.
11336         * lisp/nxml/nxml-util.el (nxml-debug-set-inside)
11337         (nxml-debug-clear-inside): Remove macros.
11339         * lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
11340         (xmltok-scan-after-comment-open): Simplify.
11342 2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11344         * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
11346 2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11348         * lisp/nxml: Use standard completion; it also works for company-mode
11350         * lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
11351         (nxml-completion-at-point-function): Remove.
11352         (nxml-mode): Don't set completion-at-point-functions.
11353         * lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
11354         (rng-completion-at-point): Rename from rng-complete and mark it
11355         non-interactive.  It is now to be used as completion-at-point-function.
11356         (rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
11357         (rng-complete-attribute-value): Don't perform completion, but return
11358         completion data instead.
11359         (rng-complete-qname-function, rng-generate-qname-list): Add a few
11360         arguments, previously passed via dynamic coping.
11361         (rng-strings-to-completion-table): Rename from
11362         rng-strings-to-completion-alist.  Don't return an alist.  Don't both
11363         sorting and uniquifying.
11365         * lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
11366         (rng-completion-exact-p, rng-quote-string): Delete functions.
11368         * lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
11369         (rng-missing-attributes-message, rng-missing-element-message)
11370         (rng-mark-missing-end-tags): Use explicit ".." in formats rather than
11371         calling rng-quote-string everywhere.
11373 2016-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11375         Use sgml-electric-tag-pair-mode also in nxml-mode
11377         * lisp/nxml/rng-nxml.el: Require sgml-mode.
11378         (rng-nxml-easy-menu): Add entry for sgml-electric-tag-pair-mode.
11379         (rng-complete-qname-function): Use complete-with-action.
11381         * lisp/textmodes/sgml-mode.el (sgml-electric-tag-pair-before-change-function):
11382         Let-bind forward-sexp-function, since nxml-mode binds it to
11383         something incompatible.
11385         * lisp/nxml/nxml-mode.el: Use setq-local and defvar-local.
11387 2016-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         * xmltok.el: Mark the "sole --" rather than the comment opener
11391         * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Put the error
11392         marker on the "sole --" rather than on the comment opener.
11394 2016-01-15  Sam Steingold  <sds@gnu.org>
11396         replace `tramp-compat-split-string' (removed) with `split-string'
11398         (python-shell-tramp-refresh-process-environment)
11399         (python-shell-calculate-pythonpath): use `split-string'
11400         instead of defunct `tramp-compat-split-string'
11402 2016-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11404         Update nXML to use Emacs's Unicode support, and lexical-binding
11406         * etc/nxml/*.el: Remove obsolete char-name files.
11407         * lisp/nxml/xsd-regexp.el (xsdre-range-list-difference): Remove unused
11408         var `next'.
11409         * lisp/nxml/rng-nxml.el (rng-set-state-after): Don't assume point-min==1.
11410         * lisp/nxml/rng-match.el (rng-update-match-state): Simplify.
11411         * lisp/nxml/nxml-outln.el (nxml-outline-state-transform-exceptions)
11412         (nxml-target-section-pos, nxml-depth-in-target-section)
11413         (nxml-outline-state-transform-alist)
11414         (nxml-outline-display-section-tag-function): Move decl before first use.
11415         * lisp/nxml/nxml-mode.el (nxml-char-name-ignore-case)
11416         (nxml-char-name-alist, nxml-char-name-table)
11417         (nxml-autoload-char-name-set-list, nxml-named-char-history): Remove vars.
11418         (nxml-enable-char-name-set, nxml-disable-char-name-set)
11419         (nxml-char-name-set-enabled-p, nxml-autoload-char-name-set)
11420         (nxml-define-char-name-set, nxml-get-char-name): Remove functions.
11421         (nxml-insert-named-char): Use read-char-by-name instead.
11422         (nxml-char-ref-display-extra): Use get-char-code-property.
11423         * lisp/nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
11424         Remove function.
11425         * lisp/nxml/nxml-glyph.el, lisp/nxml/nxml-uchnm.el: Remove files.
11427 2016-01-15  Michael Albinus  <michael.albinus@gmx.de>
11429         Add "sg" method to Tramp
11431         * doc/misc/tramp.texi (Inline methods): Add "sg" method.
11432         (Customizing Completion): Add function `tramp-parse-etc-group'.
11434         * lisp/net/tramp-sh.el (tramp-methods) <sg>: Add.  (Bug#22329)
11435         (tramp-completion-function-alist-sg): New defconst.
11436         (top): Completion function for "sg" is
11437         `tramp-completion-function-alist-sg'.
11439         * lisp/net/tramp.el (tramp-completion-function-alist): Adapt docstring.
11440         (tramp-parse-etc-group, tramp-parse-etc-group-group): New defuns.
11442 2016-01-14  Michael Albinus  <michael.albinus@gmx.de>
11444         Remove XEmacs compatibility in Tramp
11446         * doc/misc/tramp.texi: Replace flags by their hard coded name.
11447         Remove unused flags and the enclosed alternative text for XEmacs.
11449         * doc/misc/trampver.texi: Use "Tramp" CamelCase.  Rename "emacs"
11450         and "xemacs" flags to "unified" and "separate".  Remove flags
11451         "emacsgw", "emacsname", "emacsdir", "ftppackagename",
11452         "emacsothername", "emacsotherdir" and "emacsotherfilename".
11453         (trampver):
11454         * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
11456         * lisp/net/tramp.el (bkup-backup-directory-info)
11457         (directory-sep-char, ls-lisp-use-insert-directory-program)
11458         (outline-regexp, tramp-backup-directory-alist)
11459         (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
11460         (tramp-file-name-regexp-unified)
11461         (tramp-file-name-regexp-separate)
11462         (tramp-completion-file-name-regexp-unified)
11463         (tramp-completion-file-name-regexp-separate, tramp-chunksize)
11464         (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
11465         (tramp-debug-message, tramp-progress-reporter-update)
11466         (with-tramp-progress-reporter)
11467         (tramp-rfn-eshadow-setup-minibuffer)
11468         (rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
11469         (tramp-rfn-eshadow-update-overlay)
11470         (rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
11471         (tramp-file-name-for-operation)
11472         (tramp-completion-file-name-handler)
11473         (tramp-autoload-file-name-handler, tramp-completion-mode-p)
11474         (tramp-handle-directory-files)
11475         (tramp-handle-directory-files-and-attributes)
11476         (tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
11477         (tramp-handle-insert-file-contents, tramp-handle-load)
11478         (tramp-handle-shell-command)
11479         (tramp-handle-verify-visited-file-modtime)
11480         (tramp-handle-file-notify-valid-p, tramp-accept-process-output)
11481         (tramp-check-for-regexp, tramp-wait-for-regexp)
11482         (tramp-send-string, tramp-mode-string-to-int)
11483         (tramp-get-local-gid, tramp-check-cached-permissions)
11484         (tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
11485         (auto-save-file-name-transforms)
11486         (tramp-handle-make-auto-save-file-name, tramp-read-passwd)
11487         (tramp-clear-passwd, tramp-time-diff):
11488         * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
11489         (directory-sep-char, tramp-adb-file-name-handler-alist)
11490         (tramp-adb-parse-device-names)
11491         (tramp-adb-handle-expand-file-name)
11492         (tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
11493         (tramp-adb-handle-file-local-copy)
11494         (tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
11495         (tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
11496         (tramp-adb-handle-shell-command)
11497         (tramp-adb-handle-start-file-process, tramp-adb-get-device)
11498         (tramp-adb-maybe-open-connection):
11499         * lisp/net/tramp-cache.el (tramp-persistency-file-name)
11500         (tramp-cache-print):
11501         * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
11502         (tramp-bug, tramp-reporter-dump-variable)
11503         (tramp-load-report-modules, tramp-append-tramp-buffers):
11504         * lisp/net/tramp-compat.el (tramp-compat-funcall)
11505         (tramp-advice-file-expand-wildcards)
11506         (tramp-compat-temporary-file-directory)
11507         (tramp-compat-make-temp-file, tramp-compat-copy-file)
11508         (tramp-compat-delete-directory, )
11509         (tramp-compat-process-running-p):
11510         * lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
11511         (tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
11512         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11513         (tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
11514         (tramp-gvfs-handle-file-local-copy)
11515         (tramp-gvfs-handle-file-name-all-completions)
11516         (tramp-gvfs-handle-file-notify-add-watch)
11517         (tramp-gvfs-monitor-file-process-filter)
11518         (tramp-gvfs-handle-file-readable-p)
11519         (tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
11520         (tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
11521         (tramp-gvfs-maybe-open-connection)
11522         (tramp-gvfs-parse-device-names):
11523         * lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
11524         (tramp-gw-open-connection, tramp-gw-open-network-stream):
11525         * lisp/net/tramp-sh.el (directory-sep-char)
11526         (tramp-sh-file-name-handler-alist)
11527         (tramp-sh-handle-file-truename)
11528         (tramp-sh-handle-set-visited-file-modtime)
11529         (tramp-sh-handle-verify-visited-file-modtime)
11530         (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
11531         (tramp-sh-handle-file-acl)
11532         (tramp-sh-handle-file-name-all-completions)
11533         (tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
11534         (tramp-do-copy-or-rename-file-directly)
11535         (tramp-do-copy-or-rename-file-out-of-band)
11536         (dired-compress-file-suffixes, dired-remove-file)
11537         (tramp-sh-handle-dired-compress-file)
11538         (tramp-sh-handle-insert-directory)
11539         (tramp-sh-handle-expand-file-name)
11540         (tramp-sh-handle-start-file-process)
11541         (tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
11542         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11543         (tramp-sh-handle-file-notify-add-watch)
11544         (tramp-sh-gvfs-monitor-dir-process-filter)
11545         (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
11546         (tramp-find-executable)
11547         (tramp-open-connection-setup-interactive-shell)
11548         (tramp-find-inline-encoding, tramp-compute-multi-hops)
11549         (tramp-maybe-open-connection, tramp-convert-file-attributes)
11550         (tramp-get-remote-path, tramp-get-remote-touch):
11551         * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11552         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11553         (tramp-smb-handle-delete-directory)
11554         (tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
11555         (tramp-smb-handle-make-directory-internal)
11556         (tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
11557         (tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
11558         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11559         (tramp-smb-get-cifs-capabilities)
11560         (tramp-smb-maybe-open-connection):
11561         * lisp/net/trampver.el (tramp-repository-get-version):
11562         Remove XEmacs compat code.
11564         * lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
11565         (reporter-dump-variable): Declare functions.
11567         * lisp/net/tramp.el (tramp-bkup-backup-directory-info)
11568         (tramp-advice-minibuffer-electric-separator)
11569         (tramp-advice-minibuffer-electric-tilde)
11570         (tramp-handle-unhandled-file-name-directory):
11571         * lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
11572         (tramp-compat-font-lock-add-keywords)
11573         (tramp-compat-load, tramp-compat-number-sequence)
11574         (tramp-compat-split-string, tramp-compat-delete-dups):
11575         * lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
11576         Remove.
11578         * lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
11579         recursively.
11581 2016-01-14  K. Handa  <handa@gnu.org>
11583         fix previous change of src/ftfont.c (ftfont_shape_by_flt)
11585         * src/ftfont.c (ftfont_shape_by_flt): Fix previous change.  Access the
11586         second glyph only when there are enough glyphs.
11588 2016-01-13  Glenn Morris  <rgm@gnu.org>
11590         * src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,
11592         or its hook, to move point.  (Bug#22348)
11594 2016-01-12  Michael Albinus  <michael.albinus@gmx.de>
11596         Merge missing commit from emacs-25 branch
11598         * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE, SELECTOR):
11599         New variables.
11600         (check-expensive, check-doit): New targets.
11602         * Makefile.in (check-expensive): New target.
11604         * test/lisp/autorevert-tests.el
11605         (auto-revert-test01-auto-revert-several-files):
11606         * test/lisp/filenotify-tests.el (file-notify--deftest-remote)
11607         (file-notify-test06-many-events):
11608         * test/lisp/net/tramp-tests.el (tramp-test26-process-file)
11609         (tramp-test27-start-file-process, tramp-test28-shell-command)
11610         (tramp-test29-vc-registered)
11611         (tramp-test31-special-characters-with-stat)
11612         (tramp-test31-special-characters-with-perl)
11613         (tramp-test31-special-characters-with-ls)
11614         (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
11615         (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
11616         (tramp-test35-unload): Tag the tests as :expensive-test.
11618 2016-01-12  John Wiegley  <johnw@newartisans.com>
11620         Merge from origin/emacs-25
11622         1f6898d test/automated/vc-hg.el: Support out-of-tree build
11623         3adb56e Minor change in tramp-tests.el
11624         2b535ba ; * etc/NEWS: Update the js.el entry.
11625         76b518c * etc/HELLO: Add Armenian and Mongolian greetings.
11626         b51f1ef Java Mode: Fontify identifiers in the presence of annotations.
11627         36b9539 Avoid an infloop when we run out of memory
11628         2006752 Avoid unnecessary failures of auto-saving after fatal error
11629         eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer
11630         552694a Revert attempt to use 'noexcept' in typedef
11631         6ad0d39 Update documentation of 'indirect-function'
11632         c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
11633         303141a Update documentation for obsoleting 'syntax-begin-function'
11634         4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries.
11635         e667bbb Document new features if Eshell
11636         9c4e4e0 ; * etc/NEWS: Update EUDC entries.
11637         1089dc9 Handle too long commands in Tramp
11638         684eb58 * .gitattributes: *.cur and *.pif are binary files too.
11639         d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
11640         bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
11641         09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
11642         cca0f93 ; Account for spaces before the filename
11643         c71e1e8 Use short date for 'hg annotate', and output the author
11644         f50027b Spelling fix
11645         c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated.
11646         cc140bc Document user-level functions in project.el
11647         f8208b6 Document the user-level features of the Xref package
11648         b131fb8 * loading.texi: Add `define-type' entry for load-history
11649         db3c2a8 Improve doc strings and prompts in xref.el
11650         f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode.
11651         90fd798 Fix coding system for Tramp on OS X.
11652         e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
11653         9dfcbf0 Update 'load-history' docs
11654         207e191 Fix (error ...) error
11655         457738f Correctly analyze brace arguments in templated C++ function declarations.
11656         d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
11657         2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
11658         1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
11659         8be046f Respect fontification region calculated by major mode.  Fixes bug #22316.
11660         4b37cba Improve documentation of Delete Selection mode
11661         a034dd3 Fix two project-find-file issues
11662         30abf29 Clarify doc string of 'dired-current-directory'
11663         e990bb2 Use the face of preceding text for displaying the ellipsis
11664         5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el
11665         eeb710a ; * lisp/startup.el: Sentences end with two spaces.
11666         428b3de * admin/admin.el (set-version): Also handle the NEWS file.
11667         648de81 ; Add NEWS entry for project.el
11668         671862f apropos-library: Skip obvious duplicates; don't error on generics
11669         51668a5 ; Grammar fix
11670         ed41d11 Add project-find-file and project-or-external-find-file
11671         056da45 ; Improve commentary in 'setup_for_ellipsis'
11672         269d008 ; Improve docstring for `inhibit-startup-echo-area-message'
11674 2016-01-12  John Wiegley  <johnw@newartisans.com>
11676         Merge from origin/emacs-25
11678         ce4a052 Add defvar-local to lisp-imenu-generic-expression
11679         a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
11680         76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
11681         1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination):
11682         b6b47af Properly encode/decode base64Binary data in SOAP
11683         c632466 Obey coding-system-for-write when writing stdout/stderr in batch
11684         2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs):
11685                 Update the URI of MELPA and marmalade-repo.
11686                 Reported by CHENG Goa <chenggao@royau.me> in
11687                 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
11688         d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
11689         5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
11690         7380990 Remove function wrongly on AWK Mode value of context
11691         fontification hook.
11692         d400753 * src/buffer.c: Stick with ASCII in doc string.
11693         221240c Reword transient-mark-mode doc string
11694         977d3ea Update doc string of 'selective-display'
11695         229c3fa Make C++ buffers writeable when writing their initial text
11696                 properties.
11697         f5c762c Additional changes for "make check-expensive"
11698         1729cf3 ; * admin/MAINTAINERS: Remove myself.
11699         33219d3 Apply text properties for <, > in new after-change function
11700                 (C++ Java Modes).
11702 2016-01-12  John Wiegley  <johnw@newartisans.com>
11704         Merge from origin/emacs-25
11706         9fb185a shr-tag-video bug fix
11707         6300655 Minor fixes in tramp-tests.el
11708         50575b1 Ensure redisplay when 'truncate-lines' is set
11709         0d9e80d Fix a doc string of 'transient-mark-mode'
11710         0000ae5 MS-Windows followup to latest gnulib update
11711         4bc5e02 Spelling fix
11712         f1093f7 Do secure signed Bcc handling
11714 2016-01-12  John Wiegley  <johnw@newartisans.com>
11716         Merge from origin/emacs-25
11718         861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
11719         46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
11720         71ea138 * lisp/align.el (align): Simplify a lambda
11721         5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
11722         1f680db Fix compilation next-error in buffers with selective-display
11723         d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
11724         1da116f Add SHA1 warnings for high network security settings
11725         e48bacd ; * etc/NEWS: Typo fix.
11727 2016-01-12  John Wiegley  <johnw@newartisans.com>
11729         Merge from origin/emacs-25
11731         43662a2 ; Clarify that xref is still experimental
11732         0a6e6ca ; * admin/release-process: Remove some obsolete records.
11733         c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
11734         8637f3d (semantic-symref-derive-find-filepatterns): Return a list
11735         0a7ad07 ; Re-arrange xref-related entries in NEWS.
11736         fe903ef Fix xref-find-references on MS-Windows
11737         55a28d8 ; Fixed visual bell artifact problem on NextStep.
11738         d064034 Document new features of tildify-mode
11739         964bea7 Document new features of Whitespace mode
11740         cd68f47 Improve documentation of new Hide-IfDef features
11741         723b8bf Fix regression in font-locking cl-assert and cl-check-type
11743 2016-01-12  John Wiegley  <johnw@newartisans.com>
11745         Merge from origin/emacs-25
11747         ef33bc7 Spelling and grammar fixes
11748         9c3dbab Fix copyright years by hand
11749         0e96320 Update copyright year to 2016
11751 2016-01-12  John Wiegley  <johnw@newartisans.com>
11753         Merge from origin/emacs-25
11755         9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
11756         526d80c Port chart.el methods to cl-generic.
11757         410bb69 Add nt/INSTALL.W64 build instructions
11758         8f5b524 Add new input method 'programmer-dvorak'
11759         6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
11760         bb83bb1 Fix EWW rendering of long RTL lines
11761         b1a8509 fix  bug#21054
11762         ce5ad12 Clean up cairo printing code
11764 2016-01-12  John Wiegley  <johnw@newartisans.com>
11766         Merge from origin/emacs-25
11768         6ee327d Add handle_user_signal_hook
11769         47580e0 Avoid writing to purespace
11770         0588be7 Remove unused variable
11771         89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
11772         3b95e9c Use posix_openpt instead of openpty on Darwin
11773         86312ff Document support for ':documentation' in Lisp mode
11774         c930e75b Document new features of TeX mode
11775         7c83d84 Clarify docs of hscroll in RTL text
11776         4c8f8db Fix rendering of HTML pages that use character composition
11777         a8d37ca Avoid some compiler warnings in w32.c
11778         ce106f3de Undo ill-advised change
11779         be0bba4 Unbreak completion in python-mode buffers
11781 2016-01-11  Dmitry Gutov  <dgutov@yandex.ru>
11783         test/automated/vc-hg.el: Support out-of-tree build
11785         * test/automated/vc-hg.el
11786         (vc-hg-annotate-extract-revision-at-line-with-filename)
11787         (vc-hg-annotate-extract-revision-at-line-with-both):
11788         Don't refer to source-directory.
11789         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
11791 2016-01-11  Michael Albinus  <michael.albinus@gmx.de>
11793         Minor change in tramp-tests.el
11795         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
11796         Use `dired-uncache' instead of a Tramp internal function.
11798 2016-01-11  Peter Feigl  <peter.feigl@nexoid.at>
11800         * etc/HELLO: Add Armenian and Mongolian greetings.
11802         (Bug#22346)
11804 2016-01-11  Alan Mackenzie  <acm@muc.de>
11806         Java Mode: Fontify identifiers in the presence of annotations.
11808         * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
11809         Don't move point when the defun fails.
11810         (c-forward-decl-or-cast-1): Correct a usage of match data.
11812         * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
11813         (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
11814         removed variable.
11816         * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
11818 2016-01-11  Eli Zaretskii  <eliz@gnu.org>
11820         Avoid an infloop when we run out of memory
11822         * src/alloc.c (garbage_collect_1): Don't bother saving and
11823         restoring the echo-area message if we are GC'ing after running out
11824         of memory.  This avoids an infloop due to repeated attempts to
11825         allocate memory for the cons cell needed to save the message,
11826         which signals the memory-full error, which attempts to save the
11827         echo-area message, which signals memory-full again, etc.
11829 2016-01-11  Eli Zaretskii  <eliz@gnu.org>
11831         Avoid unnecessary failures of auto-saving after fatal error
11833         * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
11834         the benefit of FAT volumes if we are called as part of shutting
11835         down due to a fatal error, which probably means we are trying to
11836         auto-save the session.
11837         * src/lread.c (check_obarray): Don't bother making the obarray
11838         valid if we are shutting down due to a fatal error.  This avoids
11839         interfering with auto-saving the crashed session.
11841 2016-01-11  Paul Eggert  <eggert@cs.ucla.edu>
11843         Simplify HAVE_MODULES use in mark_maybe_pointer
11845         * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
11846         so that later code can use 'if' rather than '#ifdef'.
11847         (mark_maybe_pointer): Simplify based on HAVE_MODULES now
11848         always working.
11850 2016-01-11  Paul Eggert  <eggert@cs.ucla.edu>
11852         Revert attempt to use 'noexcept' in typedef
11854         This use of 'noexcept' runs afoul of the C++11 standard.
11855         Problem reported by Philipp Stephani in:
11856         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
11857         * src/emacs-module.c (emacs_finalizer_function):
11858         Move this typedef here ...
11859         * src/emacs-module.h: ... from here, and use only the C
11860         version of the typedef.  The typedef is now private since it
11861         is never used in the .h file now and anyway it seemed to be
11862         causing more confusion than it cured.
11863         (make_user_ptr, get_user_finalizer, set_user_finalizer):
11864         Open-code the type instead.
11866 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11868         Update documentation of 'indirect-function'
11870         * doc/lispref/eval.texi (Function Indirection): Update the
11871         documentation of 'indirect-function'.
11873 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11875         Update documentation for obsoleting 'syntax-begin-function'
11877         * doc/lispref/syntax.texi (Position Parse): Undocument
11878         'syntax-begin-function' that is now obsolete.
11880 2016-01-10  Eli Zaretskii  <eliz@gnu.org>
11882         Document new features if Eshell
11884         * doc/misc/eshell.texi (Input/Output): Document the new
11885         '#<bufname>' syntax.
11886         (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
11887         Disable "Key Index" generation, as there are no @kindex entries in
11888         this manual.
11890 2016-01-10  Michael Albinus  <michael.albinus@gmx.de>
11892         Handle too long commands in Tramp
11894         * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
11895         (tramp-do-file-attributes-with-ls): Send sequence of commands, in
11896         order to not exceed shell command line limit.
11898         * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
11899         (tramp--test-utf8): Include Arabic file name, again.
11901 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11903         * .gitattributes: *.cur and *.pif are binary files too.
11905 2016-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11907         * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
11909 2016-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11911         * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
11913         * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
11914         within $(...).
11915         * test/indent/shell.sh: Add corresponding test.
11917 2016-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11919         * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
11921         (mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
11922         cast to Lisp_Object.
11924 2016-01-09  Dmitry Gutov  <dgutov@yandex.ru>
11926         Use short date for 'hg annotate', and output the author
11928         * lisp/vc/vc-hg.el (vc-hg-annotate-command):
11929         Change '-d' to '-dq'.  (Bug#21805)
11930         (vc-hg-annotate-switches): Default to "-u" "--follow".
11931         (vc-hg-annotate-re): Update to recognize the short date format
11932         and the optional username.
11933         (vc-hg-annotate-time)
11934         (vc-hg-annotate-extract-revision-at-line): Update accordingly.
11936         * test/automated/vc-hg.el: New file.
11938 2016-01-09  Paul Eggert  <eggert@cs.ucla.edu>
11940         Spelling fix
11942 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11944         Document user-level functions in project.el
11946         * lisp/progmodes/project.el (project-find-file)
11947         (project-or-external-find-file): Add doc strings.
11949 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11951         Document the user-level features of the Xref package
11953         * doc/emacs/maintaining.texi (Maintaining): Add a list of
11954         described features.
11955         (Xref): New section, made out of thoroughly rewritten "Tags"
11956         section.
11957         (Find Identifiers, Looking Up Identifiers, Xref Commands)
11958         (Identifier Search, List Identifiers): New subsections,
11959         incorporating the old tags commands and the new xref commands.
11960         (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
11961         Section and subsections demoted to a lower level.
11962         * doc/emacs/search.texi (Search):
11963         * doc/emacs/windows.texi (Pop Up Window):
11964         * doc/emacs/frames.texi (Creating Frames):
11965         * doc/emacs/programs.texi (Imenu, Symbol Completion):
11966         * doc/emacs/building.texi (Grep Searching):
11967         * doc/emacs/dired.texi (Operating on Files):
11968         * doc/emacs/glossary.texi (Glossary): All references to tags changed.
11970 2016-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11972         * loading.texi: Add `define-type' entry for load-history
11974         * doc/lispref/loading.texi (Where Defined): Remove incorrect
11975         cl-defmethod description, and add missing define-type entry.
11977 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
11979         Improve doc strings and prompts in xref.el
11981         * lisp/progmodes/xref.el (xref-backend-functions)
11982         (xref-find-definitions): Doc fixes.
11983         (xref-query-replace): Doc fix.  Improve prompts for arguments.
11985 2016-01-09  Alan Mackenzie  <acm@muc.de>
11987         Allow the use of `font-lock-extend-region-multiline' in CC Mode.
11989         * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
11990         `font-lock-extend-regions-wholelines' from
11991         `font-lock-extend-region-functions' rather than setting the latter to
11992         nil.
11994 2016-01-09  Michael Albinus  <michael.albinus@gmx.de>
11996         Fix coding system for Tramp on OS X.
11998         * lisp/net/tramp-compat.el: Require ucs-normalize.
12000         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12001         Set coding system to `utf-8-hfs' for Mac OS X.
12003         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
12004         Flush directory properties when needed.
12005         (tramp--test-utf8): Include Chinese file name, again.
12007 2016-01-09  Eli Zaretskii  <eliz@gnu.org>
12009         Update 'load-history' docs
12011         * doc/lispref/loading.texi (Where Defined): Update the list of
12012         forms in 'load-history' by adding the forms created for the
12013         'cl-generic' generics.  (Bug#21422)
12015 2016-01-08  Paul Eggert  <eggert@cs.ucla.edu>
12017         Fix (error ...) error
12019         Problem reported by Glenn Morris in:
12020         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
12021         * lisp/vc/add-log.el (change-log-goto-source): Fix typos
12022         introduced in my Aug 28 change, where I got confused by the
12023         two meanings of (error ...).
12025 2016-01-08  Alan Mackenzie  <acm@muc.de>
12027         Correctly analyze brace arguments in templated C++ function declarations.
12029         * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
12030         POS and LIMIT parameters, like the other c-go-list-* functions have.
12032         * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
12033         for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
12034         followed by template specifiers.
12036 2016-01-08  Glenn Morris  <rgm@gnu.org>
12038         * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
12040         * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
12042 2016-01-08  Mark Oteiza  <mvoteiza@udel.edu>
12044         * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
12046 2016-01-08  Alan Mackenzie  <acm@muc.de>
12048         Respect fontification region calculated by major mode.  Fixes bug #22316.
12050         * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
12051         fontification region has been calculated by a function on
12052         font-lock-extend-after-change-region-function use this region rather than
12053         changing the end position to somewhere else.
12055 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
12057         Improve documentation of Delete Selection mode
12059         * lisp/delsel.el (delete-selection-mode)
12060         (delete-selection-helper): Update and expand the doc strings.
12061         (Bug#22296)
12063         * doc/emacs/mark.texi (Using Region): Document the behavior of
12064         delete commands in Delete Selection mode.  (Bug#22296)
12066         * doc/lispref/markers.texi (The Mark): Document how to add the
12067         support for Delete Selection mode to Lisp programs. (Bug#22296)
12069 2016-01-08  Dmitry Gutov  <dgutov@yandex.ru>
12071         Fix two project-find-file issues
12073         * lisp/progmodes/project.el (project--value-in-dir):
12074         Temporarily set enable-local-variables to :all.
12075         (project-find-file, project-or-external-find-file):
12076         All autoloads.
12077         (project--find-file-in): Require xref.
12079 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
12081         Clarify doc string of 'dired-current-directory'
12083         * lisp/dired.el (dired-current-directory): Doc fix: clarify that
12084         the return value might not end in a slash when called with the
12085         optional argument non-nil.  (Bug#6273)
12087 2016-01-08  Eli Zaretskii  <eliz@gnu.org>
12089         Use the face of preceding text for displaying the ellipsis
12091         * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
12092         text in it->saved_face_id for displaying the ellipsis, and ignore
12093         the face, if any, of the invisible text.  (Bug#22320)
12095 2016-01-08  Michael Albinus  <michael.albinus@gmx.de>
12097         Suppress Chinese file name test for OSX in tramp-tests.el
12099         * test/automated/tramp-tests.el (tramp--test-utf8):
12100         Remove instrumentation.  Suppress Chinese file name test for OSX.
12102 2016-01-07  Glenn Morris  <rgm@gnu.org>
12104         * admin/admin.el (set-version): Also handle the NEWS file.
12106 2016-01-07  Dmitry Gutov  <dgutov@yandex.ru>
12108         apropos-library: Skip obvious duplicates; don't error on generics
12110         * lisp/apropos.el (apropos-library): Skip "was an autoload"
12111         entries, to avoid obvious duplicates.  For each cl-defmethod
12112         entry, take just its function symbol (bug#21422).
12114 2016-01-07  Dmitry Gutov  <dgutov@yandex.ru>
12116         Add project-find-file and project-or-external-find-file
12118         * lisp/minibuffer.el (completion-category-defaults):
12119         Add `project-file' category.
12121         * lisp/progmodes/project.el (project-find-file)
12122         (project-or-external-find-file): New commands.
12123         (project--find-file-in): New private function.
12125         * lisp/progmodes/xref.el (xref-collect-matches): Use
12126         `expand-file-name' on DIR, to expand the tildes.
12127         (xref--find-ignores-arguments): Extract from
12128         `xref--rgrep-command'.
12130 2016-01-06  Leo Liu  <sdl.web@gmail.com>
12132         Add defvar-local to lisp-imenu-generic-expression
12134         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
12135           defvar-local.
12137 2016-01-06  Leo Liu  <sdl.web@gmail.com>
12139         Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
12141         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
12142           Don't declare (indent 1).
12144 2016-01-06  Glenn Morris  <rgm@gnu.org>
12146         * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
12148 2016-01-06  Glenn Morris  <rgm@gnu.org>
12150         * lisp/emacs-lisp/autoload.el (autoload-find-destination):
12152         Avoid specifying the length of a time object (it has not been "2"
12153         for some time).
12155 2016-01-06  Andreas Schwab  <schwab@linux-m68k.org>
12157         Properly encode/decode base64Binary data in SOAP
12159                 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
12160                 base64Binary value as utf-8.
12161                 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
12163 2016-01-06  Eli Zaretskii  <eliz@gnu.org>
12165         Obey coding-system-for-write when writing stdout/stderr in batch
12167         * src/print.c (printchar_to_stream):
12168         * src/xdisp.c (message_to_stderr): If coding-system-for-write has
12169         a non-nil value, use it to encode output in preference to
12170         locale-coding-system.  See the discussions in
12171         http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
12172         for the details.
12174         * doc/lispref/os.texi (Terminal Output): Document how to send
12175         non-ASCII text via 'send-string-to-terminal'.
12176         (Batch Mode): Document how text written to standard streams is
12177         encoded.  Fix inaccuracy regarding which output streams are used
12178         by output functions in batch mode.
12180 2016-01-06  Xue Fuqiao  <xfq.free@gmail.com>
12182         * doc/misc/efaq.texi (Packages that do not come with Emacs):
12183         Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
12184         <chenggao@royau.me> in
12185         https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
12187 2016-01-05  Maksim Golubev  <maksim.golubev72@gmail.com>  (tiny change)
12189         * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
12191         Fix backslash.  (Bug#22224)
12193 2016-01-05  Federico Beffa  <beffa@ieee.org>  (tiny change)
12195         * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
12197         Make it actually work.  (Bug#22265)
12199 2016-01-05  Alan Mackenzie  <acm@muc.de>
12201         Remove function wrongly on AWK Mode value of context fontification hook.
12203         * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
12204         swap order of entries so that awk's entry isn't superseded by the default.
12206         * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
12207         to handle nil value of c-before-context-fontification-functions.
12209 2016-01-05  Paul Eggert  <eggert@cs.ucla.edu>
12211         * src/buffer.c: Stick with ASCII in doc string.
12213 2016-01-05  Paul Eggert  <eggert@cs.ucla.edu>
12215         Reword transient-mark-mode doc string
12217         * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
12218         The value 'lambda (literally) can be interpreted as (quote lambda),
12219         which is not intended here; we want just the lambda symbol.
12221 2016-01-05  Eli Zaretskii  <eliz@gnu.org>
12223         Update doc string of 'selective-display'
12225         * src/buffer.c (syms_of_buffer) <selective-display>: Say that
12226         using it with the value of 't' is obsolete.  (Bug#1092)
12228 2016-01-05  Alan Mackenzie  <acm@muc.de>
12230         Make C++ buffers writeable when writing their initial text properties.
12232         This is a correction to yesterday's CC Mode patch.
12234         * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
12235         c-save-buffer-state around the function rather than a mere `let'.
12237 2016-01-05  Michael Albinus  <michael.albinus@gmx.de>
12239         Additional changes for "make check-expensive"
12241         * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
12242         Explain make target `check-expensive'.
12244         * etc/NEWS: Mention new make target `check-expensive'.
12246         * test/automated/Makefile.in (check-doit): New target.
12247         (check, check-expensive): Use it.
12249 2016-01-04  Alan Mackenzie  <acm@muc.de>
12251         Apply text properties for <, > in new after-change function (C++ Java Modes).
12253         These are category/syntax-table properties to give < and > paren syntax.
12254         Also apply certain `c-type' text properties to the insides of <..> constructs
12255         to ensure that identifiers contained by them get fontified.  This patch fixes
12256         bug #681.
12258         * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
12259         after-change action.
12261         * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
12262         change region to include <s and >s which might not be already marked as
12263         parens, rather than just when paren text properties are removed.
12264         (c-restore-<>-properties): New after-change function, which applies text
12265         properties marking < and > with paren syntax.
12267         * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
12268         properties are applied to the interiors of <...> constructs, to ensure
12269         fontification of identifiers there.
12271         * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
12272         c-restore-<>-properties to this list for C++ and Java.
12274         * lisp/progmodes/cc-mode.el (c-common-init): When invoking
12275         c-before-font-lock-functions, exclude c-restore-<>-properties from the
12276         functions invoked.
12277         (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
12278         to allow modification by before-change functions.
12279         (c-after-change): Amend c-new-END here, rather than initializing it and
12280         c-new-BEG.
12282 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
12284         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
12286 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
12288         Introduce check-expensive tests.
12290         * Makefile.in (check-expensive):
12291         * test/automated/Makefile.in (check-expensive): New target.
12293         * test/automated/auto-revert-tests.el
12294         (auto-revert-test01-auto-revert-several-files):
12295         * test/automated/file-notify-tests.el (file-notify--deftest-remote):
12296         * test/automated/tramp-tests.el (tramp-test26-process-file)
12297         (tramp-test27-start-file-process, tramp-test28-shell-command)
12298         (tramp-test29-vc-registered)
12299         (tramp-test31-special-characters-with-stat)
12300         (tramp-test31-special-characters-with-perl)
12301         (tramp-test31-special-characters-with-ls)
12302         (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
12303         (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
12304         (tramp-test35-unload): Tag the tests as :expensive-test.
12306 2016-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12308         shr-tag-video bug fix
12310         * shr.el (shr-tag-video): Protect against the `poster' being
12311         empty.
12313 2016-01-04  Michael Albinus  <michael.albinus@gmx.de>
12315         Minor fixes in tramp-tests.el
12317         * test/automated/tramp-tests.el (tramp-test26-process-file):
12318         Move point properly.
12319         (tramp-test29-vc-registered): Work with relative file names.
12321 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
12323         Ensure redisplay when 'truncate-lines' is set
12325         * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
12326         (Bug#22303)
12328 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
12330         Fix a doc string of 'transient-mark-mode'
12332         * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
12333         "lambda" in doc string from becoming a link to lambda expressions.
12335 2016-01-04  Eli Zaretskii  <eliz@gnu.org>
12337         MS-Windows followup to latest gnulib update
12339         * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
12341 2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>
12343         Spelling fix
12345 2016-01-03  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
12347         Do secure signed Bcc handling
12349         * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
12350         (bug#18718).
12352 2016-01-03  Paul Eggert  <eggert@cs.ucla.edu>
12354         Avoid stdio in SIGINT handler
12356         * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
12357         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
12358         * lib/ignore-value.h: New file, from gnulib.
12359         * src/keyboard.c: Include it.
12360         (write_stdout, read_stdin): New functions.
12361         (handle_interrupt): Use them instead of printf and getchar,
12362         and avoid fflush when handling signals.
12364 2016-01-03  Paul Eggert  <eggert@cs.ucla.edu>
12366         * doc/misc/texinfo.tex: Revert unwanted copyright change.
12368 2016-01-03  Artur Malabarba  <bruce.connor.am@gmail.com>
12370         * lisp/align.el (align): Simplify a lambda
12372         * lisp/align.el (align): Fix arg order in call to `align-region'
12374 2016-01-03  Eli Zaretskii  <eliz@gnu.org>
12376         Fix compilation next-error in buffers with selective-display
12378         * lisp/progmodes/compile.el (compilation-beginning-of-line): New
12379         function.
12380         (compilation-internal-error-properties)
12381         (compilation-next-error-function, compilation-set-window): Use
12382         it.  (Bug#1092)
12384 2016-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12386         * nsm.el (nsm-check-protocol): Fix typo in the message.
12388 2016-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12390         Add SHA1 warnings for high network security settings
12392         * nsm.el (nsm-check-protocol): When using high security, warn
12393         about SHA1 certificates, which are now believed to be open to
12394         spoofing.
12396 2016-01-02  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
12398         Refactor mml-smime.el, mml1991.el, mml2015.el
12400         (Maybe this is the last merge from Gnus git to Emacs git)
12402         Cf. discussion on ding mailing list, messages in
12403         <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
12404         Common code from the three files mml-smime.el, mml1991.el, and
12405         mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
12406         to gnus-util.el.
12408         The code is supported by test cases with necessary test keys.
12410         Documentation in message.texi is updated.
12412         * doc/misc/message.texi (Security, Using S/MIME):
12413         Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
12414         (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
12415         (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
12417         * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
12418         New functions.
12420         * lisp/gnus/mml-sec.el: Require gnus-util and epg.
12421         (epa--select-keys): Autoload.
12422         (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
12423         (mml-secure-openpgp-signers): New user option;
12424         make mml1991-signers and mml2015-signers obsolete aliases to it.
12425         (mml-secure-smime-signers): New user option;
12426         make mml-smime-signers an obsolete alias to it.
12427         (mml-secure-openpgp-encrypt-to-self): New user option;
12428         make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
12429         aliases to it.
12430         (mml-secure-smime-encrypt-to-self): New user option;
12431         make mml-smime-encrypt-to-self an obsolete alias to it.
12432         (mml-secure-openpgp-sign-with-sender): New user option;
12433         make mml2015-sign-with-sender an obsolete alias to it.
12434         (mml-secure-smime-sign-with-sender): New user option;
12435         make mml-smime-sign-with-sender an obsolete alias to it.
12436         (mml-secure-openpgp-always-trust): New user option;
12437         make mml2015-always-trust an obsolete alias to it.
12438         (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
12439         New user options.
12440         (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
12441         (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
12442         (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
12443         (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
12444         (mml-secure-passphrase-callback, mml-secure-check-user-id)
12445         (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
12446         (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
12447         (mml-secure-fingerprint, mml-secure-filter-keys)
12448         (mml-secure-normalize-cust-name, mml-secure-select-keys)
12449         (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
12450         (mml-secure-self-recipients, mml-secure-recipients)
12451         (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
12453         * lisp/gnus/mml-smime.el: Require epg;
12454         refactor declaration and autoloading of epg functions.
12455         (mml-smime-use): Doc fix.
12456         (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
12457         Obsolete.
12458         (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
12459         Use format instead of gnus-format-message.
12460         (mml-smime-epg-secret-key-id-list): Remove variable.
12461         (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
12462         (mml-smime-epg-find-usable-secret-key): Remove functions.
12463         (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
12465         * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
12466         (mml1991-passphrase-cache-expiry): Obsolete.
12467         (mml1991-epg-secret-key-id-list): Remove variable.
12468         (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
12469         (mml1991-epg-find-usable-secret-key): Remove functions.
12470         (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
12472         * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
12473         (mml2015-passphrase-cache-expiry): Obsolete.
12474         (mml2015-epg-secret-key-id-list): Remove variable.
12475         (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
12476         (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
12477         (mml2015-epg-find-usable-secret-key): Remove functions.
12478         (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
12479         (mml2015-epg-encrypt): Refactor.
12481 2016-01-02  Glenn Morris  <rgm@gnu.org>
12483         * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
12485         Explicitly ignore case.  (Bug#22262)
12487 2016-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12489         (semantic-symref-derive-find-filepatterns): Return a list
12491         * lisp/cedet/semantic/symref/grep.el
12492         (semantic-symref-derive-find-filepatterns): Return a list.
12493         (semantic-symref-perform-search): Quote the result here once and for all.
12495 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
12497         Fix xref-find-references on MS-Windows
12499         * lisp/cedet/semantic/symref/grep.el
12500         (semantic-symref-derive-find-filepatterns): Use
12501         'shell-quote-argument' instead of manually quoting in a way that
12502         only works with Posix shells.  (Bug#22289)
12504 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
12506         Document new features of tildify-mode
12508         * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
12509         (tildify-mode): Spelling fixes in doc strings.
12511         * etc/NEWS: Reformat the tildify-mode entry.
12513 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
12515         Document new features of Whitespace mode
12517         * doc/emacs/display.texi (Useless Whitespace): Document
12518         'whitespace-toggle-options' and the new 'big-indent' style.
12519         Document 'whitespace-big-indent-regexp'.  Document the Global
12520         Whitespace mode.
12522 2016-01-02  Eli Zaretskii  <eliz@gnu.org>
12524         Improve documentation of new Hide-IfDef features
12526         * etc/NEWS: Expand and reword Hide-IfDef section.
12528 2016-01-02  Leo Liu  <sdl.web@gmail.com>
12530         Fix regression in font-locking cl-assert and cl-check-type
12532         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
12533           el-errs-re.
12535 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
12537         Spelling and grammar fixes
12539 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
12541         Fix copyright years by hand
12543         These are dates that admin/update-copyright did not update, or
12544         updated incorrectly.
12546 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
12548         Update copyright year to 2016
12550         Run admin/update-copyright.
12552 2016-01-01  Paul Eggert  <eggert@cs.ucla.edu>
12554         Merge from gnulib
12556         This mostly just updates copyright dates of gnulib files.
12557         It also updates to the latest version of texinfo.tex.
12559 2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>
12561         lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
12563 2015-12-31  Mark Oteiza  <mvoteiza@udel.edu>
12565         Port chart.el methods to cl-generic.
12567         cl-call-next-method cannot be used inside EIEIO's defmethod.
12568         * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
12569         * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
12570         (chart-draw-title, chart-size-in-dir, chart-draw-axis):
12571         (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
12572         (chart-translate-namezone, chart-draw-data, chart-add-sequence):
12573         (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
12575 2015-12-31  Brian Burns  <bburns.km@gmail.com>
12577         Add nt/INSTALL.W64 build instructions
12579         * nt/INSTALL.W64: New file.
12580         * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
12582 2015-12-31  Joakim Jalap  <joakim.jalap@fastmail.com>
12584         Add new input method 'programmer-dvorak'
12586         * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
12587         input method.
12589         * etc/NEWS: Mention it.
12591 2015-12-31  Eli Zaretskii  <eliz@gnu.org>
12593         Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
12595         * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
12596         original M-TAB binding in a buffer-local variable.
12597         (flyspell-auto-correct-word): Invoke the original binding of M-TAB
12598         if that is recorded, when point is in a place where flyspell
12599         should not be active (e.g., because the user turned on
12600         'flyspell-prog-mode').  (Bug#18533)
12602 2015-12-31  Eli Zaretskii  <eliz@gnu.org>
12604         Fix EWW rendering of long RTL lines
12606         * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
12607         of the selected window before filling its lines.  (Bug#22250)
12609 2015-12-31  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12611         fix  bug#21054
12613         * ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
12615 2015-12-31  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12617         Clean up cairo printing code
12619         * src/gtkutil.c (xg_get_page_setup): Use listn.
12620         * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix.  Use
12621         decode_window_system_frame and FRAME_VISIBLE_P.
12622         (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
12623         of Fdisplay.
12624         * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
12625         instead of Fdisplay.  Temporarily unblock_input around QUIT.
12627 2015-12-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12629         Add handle_user_signal_hook
12631         * src/keyboard.h (handle_user_signal_hook): New declaration.
12632         * src/keyboard.c (handle_user_signal_hook): New variable.
12633         (handle_user_signal): Call it.
12635 2015-12-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12637         Avoid writing to purespace
12639         * src/alloc.c (Fmake_string): Don't write to empty string contents.
12640         (allocate_vector): Don't write to empty vector size.
12641         * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
12642         Don't call unnecessary XSETCAR or XSETCDR.
12643         * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
12644         write to empty string size_byte.
12646 2015-12-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12648         Remove unused variable
12650         * lisp/international/mule-cmds.el: Remove unused variable
12651         `mac-system-coding-system'.
12653 2015-12-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12655         * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
12657 2015-12-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12659         Use posix_openpt instead of openpty on Darwin
12661         * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
12662         (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
12663         Darwin-specific definitions.  Use posix_openpt instead.
12665 2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>
12667         Document support for ':documentation' in Lisp mode
12669         * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
12670         (lisp-string-after-doc-keyword-p)
12671         (lisp-font-lock-syntactic-face-function): Add doc strings.
12673 2015-12-30  Shakthi Kannan  <shakthimaan@gmail.com>
12675         Document new features of TeX mode
12677         * doc/emacs/text.texi (TeX Print): Document
12678         'tex-print-file-extension'.
12679         * doc/emacs/programs.texi (Misc for Programs): Document support
12680         for Prettify Symbols mode in TeX mode.
12682 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12684         Clarify docs of hscroll in RTL text
12686         * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
12687         meaning of a window's horizontal scroll amount for RTL paragraphs.
12689 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12691         Fix rendering of HTML pages that use character composition
12693         * src/indent.c (Fvertical_motion): Fix the case when point starts
12694         in the middle of a composition, as in shr-vertical-motion.
12695         (Bug#22250)
12697 2015-12-30  Eli Zaretskii  <eliz@gnu.org>
12699         Avoid some compiler warnings in w32.c
12701         * src/w32.c (codepage_for_filenames, crlf_to_lf)
12702         (ansi_encode_filename, socket_to_fd, sys_write)
12703         (check_windows_init_file): Avoid compiler warnings about
12704         differences in pointer signedness.
12706 2015-12-29  Dmitry Gutov  <dgutov@yandex.ru>
12708         Undo ill-advised change
12710         * lisp/progmodes/xref.el (xref-collect-matches): Undo
12711         ill-advised change.  The hits come in the order that `find'
12712         produces them in, which isn't alphabetical.
12714 2015-12-29  Dmitry Gutov  <dgutov@yandex.ru>
12716         Unbreak completion in python-mode buffers
12718         * lisp/progmodes/python.el (python-shell-completion-at-point):
12719         Unbreak in python-mode buffers.
12721 2016-01-09  Andrew Hyatt  <ahyatt@gmail.com>
12723         Adding example replies to bug-triage.
12725         * admin/notes/bug-triage: Added example replies. Also, as requested,
12726           making the process notes into more of a checklist.
12728 2016-01-08  Andrew Hyatt  <ahyatt@gmail.com>
12730         Rename the notes/admin/triage file to bug-triage.
12732         * CONTRIBUTE: Change reference to the triage file name.
12733         * admin/notes/triage: Rename file to admin/notes/bug-triage.
12735 2016-01-07  Glenn Morris  <rgm@gnu.org>
12737         Allow creation of loaddefs files without timestamps.
12739         * lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
12740         (autoload-generate-file-autoloads, update-directory-autoloads):
12741         If autoload-timestamps is nil, write "t" instead of file timestamp.
12742         (autoload-find-destination, update-directory-autoloads):
12743         If timestamp is "t", use the modtime of the output file instead.
12745 2016-01-06  Glenn Morris  <rgm@gnu.org>
12747         Doc tweaks.
12749         * lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
12750         * lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
12751         (calendar-iso-from-absolute):
12752         * lisp/calendar/cal-tex.el (cal-tex-comment):
12753         * lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.
12755 2016-01-06  Glenn Morris  <rgm@gnu.org>
12757         Build tweaks related to tags files.
12759         * lib-src/Makefile.in (tagsfiles): New variable.
12760         (TAGS): Also depend on the source files.  Use our own etags program.
12761         * lisp/Makefile.in (ETAGS): Add EXEEXT.
12762         (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
12763         Remove.
12764         (tagsfiles): New, replacing lisptagsfiles1 etc.
12765         Remove irrelevant source files here rather than in the TAGS rule.
12766         (${ETAGS}): New rule.
12767         (TAGS): Also depend on the etags executable.
12768         * lwlib/Makefile.in (EXEEXT): New, set by configure.
12769         (ETAGS): Add EXEEXT.
12770         (${ETAGS}): New rule.
12771         (ctagsfiles): Use "wildcard".
12772         (TAGS): Also depend on the etags executable.
12773         * nt/Makefile.in (ETAGS, tagsfiles): New variables.
12774         (${ETAGS}): New rule.
12775         (TAGS): Fix dependencies.
12776         * oldXMenu/Makefile.in (EXEEXT): New, set by configure.
12777         (ETAGS): New variable, replacing $TAGS.  Use our own etags program.
12778         Remove "-t" argument.
12779         (${ETAGS}): New rule.
12780         (tagsfiles): New variable.
12781         (TAGS): New rule, with proper dependencies.
12782         * src/Makefile.in (ETAGS): Add EXEEXT.  Add a build rule.
12783         (ctagsfiles1, ctagsfiles2): Use "wildcard".
12784         (ctagsfiles3): Remove.
12785         (TAGS): Depend on etags.
12786         (../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
12787         directories decide if updates are needed.
12789 2016-01-06  Glenn Morris  <rgm@gnu.org>
12791         * lisp/Makefile.in (CAL_SRC): Skip calendar.el.
12793 2016-01-06  Glenn Morris  <rgm@gnu.org>
12795         * test/lisp/emacs-lisp/package-tests.el
12797         (package-test-macro-compilation): Fixup branch merge.
12799 2016-01-05  Eli Zaretskii  <eliz@gnu.org>
12801         Fix fallout from merging emacs-25 branch in test/
12803         * .gitignore: Update for the new place of biditest.txt.
12804         * test/automated/: Directory removed.  All files moved to their
12805         proper places.
12806         * test/etags/: Directory removed.  All files moved to their proper
12807         places.
12808         * test/automated/url-parse-tests.el: File removed; it was an exact
12809         copy of the same file in test/lisp/url/.
12810         * test/automated/url-expand-tests.el: Moved to test/lisp/url/.
12812 2016-01-04  Paul Eggert  <eggert@cs.ucla.edu>
12814         Spelling fixes.
12816 2016-01-04  Daniel Colascione  <dancol@dancol.org>
12818         Let users disable unsafe signal handling code
12820         * src/keyboard.c (syms_of_keyboard): New user variables
12821         `attempt-stack-overflow-recovery' and
12822         `attempt-orderly-shutdown-on-fatal-signal'.
12823         * src/sysdep.c (stack_overflow): Check
12824         `attempt-stack-overflow-recovery'.
12825         * src/emacs.c (terminate_due_to_signal): Check
12826         `attempt-orderly-shutdown-on-fatal-signal'.
12828 2016-01-03  Michael Albinus  <michael.albinus@gmx.de>
12830         * configure.ac: Add error message for gfile on Nextstep.
12832 2016-01-03  John Wiegley  <johnw@newartisans.com>
12834         Merge branch 'emacs-25-merge'
12836 2016-01-02  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12838         Align textually on fix done for emacs-25 branch for bug#21054
12840         * lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
12841         and useless `(if t ...)' in order to align textually on fix done for
12842         emacs-25 branch for bug#21054.
12844 2016-01-02  K. Handa  <handa@gnu.org>
12846         support rendering of wider range of combinging characters by ftfont backend
12848         * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
12849         supports rendering of combining characters, call
12850         font-shape-gstring.
12852         * src/font.c (Ffont_get): Handle `combining-capability' property.
12853         (syms_of_font): New symbol ":combining-capability'.
12855         * src/font.h (struct font_driver): New member combining_capability.
12857         * src/ftfont.c: Include "category.h".
12858         (ftfont_driver): Initialize combining_capability to
12859         ftfont_combining_capability.
12860         (ftfont_shape_by_flt): If OTF is null, try to find a suitable
12861         FLT in advance.
12862         (ftfont_combining_capability): New function.
12864 2016-01-01  Andrew Hyatt  <ahyatt@gmail.com>
12866         Add notes on bug triage procedure
12868         * CONTRIBUTE: In section on the issue tracker, point to new triage file.
12869         * admin/notes/triage: New file explaining triage procedure.
12871 2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12873         Correct ses-rename-cell cursor-intangible text prop updating.
12875         There were two problems:
12877         - First ses-rename-cell has to work when called non interactively
12878           (with non-nil CELL argument), so in this case the start pos of
12879           put-text-property cannot be plainly (point), you need a
12880           ses-goto-print call before
12882         - Second, the range itself was computed erronously, only the first
12883           char was affected instead of the full cell width. This was not
12884           noticeable prior to changes (Deprecate `intangible' and
12885           `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
12887         * lisp/ses.el (ses-rename-cell): Correct computation of position range
12888         to which the 'cursor-intangible text property has to be set to cell
12889         new name.
12891 2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12893         Don't fake empty cells value by "" when printing with a lambda.
12895         When using a lambda expression printer function the user should be
12896         free to format differently a really empty cell, ie. containing nil,
12897         from a cell containing an empty string "".
12899         * ses.el (ses-call-printer): Replace `(or value "")' by just `value'
12900         in the case of a lambda expression printer function.
12902         * ses.texi (Printer functions): Add example and description about
12903         lambda expression printer function handling all the possible values,
12904         including unexpected ones.
12906 2015-12-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12908         Quick temporary hack to fix curcell refreshing.
12910         The problem was caused by change: 2015-04-13 Deprecate `intangible'
12911         and `point-entered' properties. The problem is that this change has
12912         removed the (setq ses--curcell t) setting in the ses-command-hook
12913         function.
12915         * ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
12916         a condition to call function `ses-set-curcell'. Comment this as a quick
12917         temporary hack to make it work, as I don't know yet whether a definite
12918         correction would be to make the ses-set-curcell at every ses-check-curcell,
12919         or to revert to the previous approach, ie marking ses--curcell as out-of-date
12920         at every potentially cursor motion command.
12922 2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12924         Restrictive URL checking tweaks
12926         * lisp/net/eww.el (eww): Check whether the domain is
12927         restrictive instead of the string
12928         (http://македонија.icom.museum is restrictive even if each
12929         part is from a different script).
12931 2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12933         New function `puny-highly-restrictive-domain-p'
12935         * lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
12936         (puny-highly-restrictive-domain-p): New function.
12938 2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12940         eww build fix (require puny)
12942 2015-12-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12944         Transform non-restrictive domains to punycode for display
12946         * lisp/net/eww.el (eww): Check whether the domain is Highly
12947         Restrictive in the Unicode IDNA sense.
12949 2015-12-30  John Wiegley  <johnw@newartisans.com>
12951         Merge emacs-25 into master (using imerge)
12953 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12955         Fix typos in CC Mode manual
12957         * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
12958         typos.  (Bug#22267)
12960 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12962         Avoid assertion violations in compact_font_cache_entry
12964         * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
12965         avoid assertion violation in ASIZE.  (Bug#22263)
12967 2015-12-29  Eli Zaretskii  <eliz@gnu.org>
12969         Fix filling text with bidirectional characters in shr.el
12971         * lisp/net/shr.el (shr-insert-document): Bind
12972         bidi-display-reordering to nil while filling lines.  This is
12973         required for when a line includes characters whose bidi
12974         directionality is opposite to the base paragraph direction,
12975         because columns are counted in the logical order.  (Bug#22250)
12977 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
12979         Further Unicode restrictive fixups
12981         * puny.el (puny-highly-restrictive-p): Include the extra
12982         identifier characters from table 3.
12984 2015-12-29  Martin Rudalics  <rudalics@gmx.at>
12986         * src/xfns.c (x_create_tip_frame): Process alpha parameter.
12988 2015-12-29  Michael Albinus  <michael.albinus@gmx.de>
12990         Sync with Tramp 2.2.13
12992         * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
12994         * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
12995         Use `tramp-compat-funcall'.
12997         * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
12998         Make `split-string' call compatible with older Emacsen.
13000         * lisp/net/trampver.el: Change version to "2.2.13.25.1".
13002 2015-12-29  Lambda Coder  <sjLambda@gmail.com>
13004         * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
13006 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
13008         Mention that tls.el is secure by default, and will fail
13010 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
13012         Make tls.el use trustfiles by default
13014         * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
13015         (open-tls-stream): Insert the trustfile by looking at
13016         `gnutls-trustfiles'.
13018 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
13020         Refactor out gnutls-trustfiles
13022         * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
13024 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
13026         Remove --insecure from gnutls-cli invocation
13028         * tls.el (tls-program): Default to using secure TLS
13029         connections (bug#19284).
13031 2015-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
13033         Add a new function to say whether a string is restrictive
13035         * puny.el (puny-highly-restrictive-p): New function.
13037 2015-12-28  Paul Eggert  <eggert@cs.ucla.edu>
13039         Spelling fix
13041 2015-12-28  Paul Eggert  <eggert@cs.ucla.edu>
13043         Port report-emacs-bug to deterministic builds
13045         * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
13046         recent "built on" change to deterministic builds where
13047         emacs-build-system will be nil.  See:
13048         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
13050 2015-12-28  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
13052         Fix URL auth error message
13054         * lisp/url/url-http.el (url-http-handle-authentication): Make the error
13055         message more correct (bug#20069).
13057 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13059         Mention the new puny.el library
13061 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13063         IDNA-related fixes for the URL library
13065         * lisp/url/url-http.el (url-http-create-request): IDNA-encode
13066         the Host: header.
13068         * lisp/url/url-util.el (url-encode-url): Don't hex-encode
13069         domain names, but leave them as UTF-8, so that they can be
13070         IDNA-encoded later when contacting the host.
13072 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13074         IDNA-encode all domain names in `open-network-stream'
13076         * network-stream.el (open-network-stream)
13077         (network-stream-open-plain, network-stream-open-starttls):
13078         IDNA-encode all domain names, if needed.
13080 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13082         Fix puny-encoding all-non-ASCII domains
13084         * puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.
13086 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13088         * lisp/net/shr.el (shr-next-link): Don't bug out on adjacent links.
13090 2015-12-28  Tom Tromey  <tom@tromey.com>
13092         set :safe on css-indent-offset
13094         * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
13096 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13098         * eww.el (eww-mode): Remove superfluous bidi reset.
13100 2015-12-28  James Stout  <james.wolf.stout@gmail.com>  (tiny change)
13102         Make chunked encoding trailer detection more compliant
13104         * lisp/url/url-http.el
13105         (url-http-chunked-encoding-after-change-function): Make
13106         trailer detection more compliant (bug#16345).
13108 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13110         Reconnect erc even on server errors
13112         * lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
13113         reconnect even if a server error has occurred (bug#18527).
13115 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13117         Fix punycode short circuit logic
13119         * puny.el (puny-encode-domain): Fix short-circuit logic.
13121 2015-12-28  Martin Rudalics  <rudalics@gmx.at>
13123         Fix Bug#10873 in `report-emacs-bug'
13125         * lisp/mail/emacsbug.el (report-emacs-bug): If
13126         `report-emacs-bug-no-explanations' is nil, make sure we can show
13127         mail and warnings buffer on this frame (Bug#10873).
13129 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13131         IDNA speed up
13133         * puny.el (puny-encode-domain): Make the common non-IDNA case faster
13135 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13137         Add IDNA domain encode/decode functions
13139         * puny.el (puny-decode-domain): New function.
13140         (puny-encode-domain): Ditto.
13141         (puny-decode-digit): Fix digit decoding error.
13143 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13145         Rename idna.el to puny.el
13147         * puny.el: Renamed from idna.el to avoid name collisions with
13148         the external idna.el library.
13150 2015-12-28  Lars Ingebrigtsen  <larsi@gnus.org>
13152         Always reset the bidi direction
13154         * eww.el (eww-display-html): Always reset the bidi direction
13155         to `left-to-right' (bug#22257).
13157 2015-12-28  Alan Mackenzie  <acm@muc.de>
13159         Allow line comments ending with escaped NL to be continued to the next line.
13161         Use this in C, C++, and Objective C Modes.  Fixes bug#22246
13163         * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
13164         (forw-comment, back-comment): On encountering an end of comment character,
13165         test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
13167         * doc/lispref/syntax.texi (Control Parsing): Describe
13168         `comment-end-can-be-escaped'.
13170         * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
13172         * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
13174 2015-12-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13176         lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility
13178         * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
13179         Don't use split-string with 4th arg for old Emacsen compatibility.
13181 2015-12-27  Dmitry Gutov  <dgutov@yandex.ru>
13183         Rename project-library-roots to project-external-roots
13185         * lisp/progmodes/project.el (project-library-roots): Rename to
13186         project-external-roots.
13187         (project-library-roots-function): Rename to
13188         project-vc-external-roots-function.  Only use it in the VC
13189         backend, for now.  Update project-external-roots accordingly.
13190         (project-vc-library-roots): Remove.
13191         (project-or-libraries-find-regexp):
13192         Rename to project-or-external-find-regexp.
13194         * lisp/progmodes/elisp-mode.el (elisp-library-roots):
13195         Rename to elisp-load-path-roots.
13197         * lisp/progmodes/etags.el (etags-library-roots): Remove.  Use
13198         an anonymous function for the default value of
13199         project-vc-external-roots-function.
13201 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13203         * idna.el (idna-decode-string-internal): Implement decoding.
13205 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13207         Further IDNA tweaks
13209         (idna-encode-string): Make idna-encode-string safe for
13210         non-ASCII use.
13212 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13214         Clean up the code slightly
13216 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13218         Added basic idna encoding support
13220         * lisp/net/idna.el: New file.
13222 2015-12-27  Vivek Dasmohapatra  <vivek@etla.org>
13224         Disconnection fixes for erc
13226         * lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
13227         reconnect if the user has disconnected explicitly (bug#4589).
13229 2015-12-27  Thomas Riccardi  <riccardi.thomas@gmail.com>  (tiny change)
13231         Further erc asynch fixes
13233         * lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
13234         erc-server-connect to return even if the connection is not
13235         ready.  Then erc-open and erc-server-reconnect do the
13236         same. (bug#5650).
13238 2015-12-27  Vivek Dasmohapatra  <vivek@etla.org>
13240         Make erc connect asynchronously
13242         * lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
13243         reconnect asynchronously.
13245         * lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).
13247 2015-12-27  Deniz Dogan  <deniz@dogan.se>
13249         Clear erc user list upon disconnection
13251         * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
13252         lists upon disconnection.  This prevents invalid channel
13253         user lists when reconnecting (bug#10947).
13255 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13257         Don't bug out in erc after waking from sleep
13259         * erc-backend.el (erc-server-send-ping): If the server has
13260         closed connection, this may already have been detected and
13261         `erc-server-last-received-time' has been set to nil (bug#13608).
13263 2015-12-27  David Edmondson  <dme@dme.org>
13265         Proxy error in erc with multiple clients
13267         * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
13268         generated when multiple IRC clients talk to a single IRC proxy
13269         (bug#19034).
13271 2015-12-27  Dima Kogan  <dima@secretsauce.net>
13273         Ensure that we don't have several timers in erc
13275         * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
13276         for existing timers in the alist before adding new ones.  If a
13277         timer already exists, it is cancelled and
13278         overwritten. (bug#19292).
13280 2015-12-27  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
13282         * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
13283         (bug#18718).
13285 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13287         * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
13288         at the start of the buffer, not at the end (bug#20496).
13290 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13292         * lisp/net/eww.el (eww-setup-buffer): Restore left-to-right defaults.
13294 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13296         Don't join erc channels doubly
13298         * erc-join.el (erc-autojoin-channels): Don't join channels
13299         more than once (if you have several nicks) (bug#20695).
13301 2015-12-27  Eli Zaretskii  <eliz@gnu.org>
13303         Avoid leaving "ghost" of mouse pointer on MS-Windows
13305         * src/w32term.c (frame_set_mouse_pixel_position):
13306         * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
13307         disable "mouse trails" when moving the mouse pointer.  (Bug#22247)
13308         * src/w32term.c (frame_set_mouse_pixel_position): Include
13309         w32common.h.
13311 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13313         * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.
13315 2015-12-27  Jens Lechtenboerger  <jens.lechtenboerger@fsfe.org>
13317         Identify unsafe combinations of Bcc and encryption
13319         * lisp/gnus/gnus-util.el (gnus-subsetp): New function
13320         * lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
13321         * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function
13323 2015-12-27  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
13325         Fix auth source lookups from erc with port numbers
13327         * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
13328         numbers (bug#20541).
13330 2015-12-27  Fran Litterio  <flitterio@gmail.com>
13332         Run erc-kill-channel-hook always on exit
13334         * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
13335         when erc-kill-queries-on-quit is set (bug#21187).
13337 2015-12-26  Paul Eggert  <eggert@cs.ucla.edu>
13339         Spelling fix
13341         * test/automated/url-parse-tests.el:
13342         (url-generic-parse-url/same-document-reference):
13343         Rename from url-generic-parse-url/same-decument-reference.
13345 2015-12-26  Paul Eggert  <eggert@cs.ucla.edu>
13347         Reword initial *scratch* for brevity, appearance
13349         * lisp/startup.el (initial-scratch-message):
13350         Reword to avoid apostrophes, and to make it shorter.
13351         See the thread starting in:
13352         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
13354 2015-12-26  Leo Liu  <sdl.web@gmail.com>
13356         Add ert-deftest to lisp-mode.el
13358         * lisp-mode.el (lisp-imenu-generic-expression,
13359           lisp-el-font-lock-keywords-1): Add ert-deftest.
13361 2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
13363         Mark imap changes as not needing doc changes
13365         * imap.el (imap-ssl-open): Remove
13367 2015-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
13369         Use built-in encryption in imap.el
13371         * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
13372         (imap-starttls-open): Use open-network-stream instead of starttls.el.
13373         (imap-tls-open): Use open-network-stream instead of tls.el.
13375 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13377         Don't try using /bin/sh in artist.el on MS-Windows
13379         * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
13380         New function.
13381         (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
13382         (Bug#20167)
13384 2015-12-26  Wolfgang Jenkner  <wjenkner@inode.at>
13386         Always define gmalloc etc. in src/gmalloc.c
13388         This is a work-around to prevent the compiler from using semantic
13389         knowledge about malloc for optimization purposes.  E.g., gcc 5.2
13390         with -O2 replaces most of calloc's definition by a call to calloc;
13391         see Bug#22085.
13392         * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
13393         (aligned_alloc, free): Do not undef.  Instead, define these as
13394         functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
13396 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13398         Fix documentation of browse-url browser-related functions
13400         * lisp/net/browse-url.el (browse-url)
13401         (browse-url-default-browser, browse-url-default-windows-browser)
13402         (browse-url-default-macosx-browser, browse-url-chromium)
13403         (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
13404         and NEW-WINDOW arguments in these functions.  (Bug#19421)
13406 2015-12-26  Paul Eggert  <eggert@cs.ucla.edu>
13408         Propagate Bug#14412 fix to backtrace_eval_unrewind
13410         * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
13411         becomes accurate again. This shouldn’t affect behavior.
13412         (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
13414 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13416         Don't produce non-ASCII characters in *scratch*
13418         * lisp/startup.el (initial-scratch-message): Quote apostrophes to
13419         avoid producing non-ASCII characters in the *scratch* buffer's
13420         commentary.
13422 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13424         Document changes in 'compare-windows'
13426         * lisp/vc/compare-w.el (compare-windows-removed)
13427         (compare-windows-added): Doc fix.
13429         * doc/emacs/files.texi (Comparing Files): Document the changes in
13430         window selection by 'compare-windows'.
13432 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13434         Document 'vc-annotate-background-mode'
13436         * doc/emacs/maintaining.texi (Old Revisions): Document
13437         'vc-annotate-background-mode'.
13439 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13441         Document 'vc-region-history'
13443         * doc/emacs/maintaining.texi (VC Change Log): Document
13444         'vc-region-history'.
13446 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13448         Improve documentation of 'vc-push'
13450         * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
13451         improve the documentation of 'vc-push'.
13453         * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
13455 2015-12-26  Alain Schneble  <a.s@realize.ch>
13457         Include the tests for the URL parsing fixes
13459 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13461         Document 'url-user-agent'.
13463         * lisp/url/url-http.el (url-user-agent): Move from here...
13464         * lisp/url/url-vars.el (url-user-agent): ...to here.  This is to
13465         keep all the URL defcustoms in one place, and also have it defined
13466         whenever the URL library is loaded.
13468         * doc/misc/url.texi (Customization): Document 'url-user-agent'.
13470 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13472         Document protocols supported by URL library via Tramp
13474         * doc/misc/url.texi (Tramp): New node, describes the URL schemes
13475         supported via Tramp.
13476         (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
13477         Tramp.
13479 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13481         Document changes in Shell-script mode
13483         * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
13484         the 'sh-shell' file-local variable.
13485         (top level): Add an auto-load form to avoid byte-compiler warning
13486         about 'comint-send-string'.
13488 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13490         Fix documentation of 'ses-define-local-printer'
13492         * doc/misc/ses.texi (Printer functions): Fix whitespace between
13493         sentences and punctuation.  Add an index entry for
13494         'ses-define-local-printer'.
13496 2015-12-26  Shakthi Kannan  <shakthimaan@gmail.com>
13498         Document 'ert-summarize-tests-batch-and-exit'
13500         * doc/misc/ert.texi (Running Tests in Batch Mode): Document
13501         'ert-summarize-tests-batch-and-exit'.
13503 2015-12-26  Eli Zaretskii  <eliz@gnu.org>
13505         Avoid assertion violation in unbind_to
13507         * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
13508         if we get here with an object that is not a symbol.  (Bug#14412)
13510 2015-12-25  Andreas Schwab  <schwab@linux-m68k.org>
13512         Don't treat /foo/bar:mumble as ange-ftp address
13513         * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
13514         only in the first component.  (bug#5362)
13516 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
13518         Make sure *scratch* etc. use forward slashes in its default-directory
13520         * lisp/startup.el (normal-top-level): On MS-Windows, convert
13521         backslashes to forward slashes while decoding default-directory
13522         of the initially-created buffers.
13524 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
13526         Restore info about the build host in bug reports
13528         * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
13529         which Emacs was built.  This is important information for
13530         investigating bug reports reported by users who don't build their
13531         Emacs.
13533 2015-12-25  Eli Zaretskii  <eliz@gnu.org>
13535         Fix bootstrap broken by changes related to OS X file-name encoding
13537         * lisp/international/ucs-normalize.el (eval-when-compile): Make
13538         sure char-code-property-alist includes elements that allow access
13539         to 'decomposition' and 'canonical-combining-class' Unicode
13540         properties, as compiling ucs-normalize.el requires that.
13541         * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
13542         only of charprop.el was already loaded.
13544         * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
13545         New order-only dependency.
13547 2015-12-25  Leo Liu  <sdl.web@gmail.com>
13549         * lisp/ido.el (ido-add-virtual-buffers-to-list):
13550         Use bookmark-get-filename.
13552 2015-12-25  Michael Albinus  <michael.albinus@gmx.de>
13554         Make tramp-test29-vc-registered more robust
13556         * test/automated/tramp-tests.el (tramp-test29-vc-registered):
13557         Move `bzr' case down.  Skip test when `vc-create-repo' fails.
13558         Remove instrumentation.
13560 2015-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13562         * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
13564 2015-12-23  Katsumi Yamaoka  <yamaoka@jpl.org>
13566         Fix `gnus-union' so as to behave like `cl-union'
13568         * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
13569         Make gnus-union use `equal' to compare items in lists.
13571         * lisp/gnus/gnus-util.el (gnus-union):
13572         Make it behave like cl-union partially.
13574 2015-12-23  Paul Eggert  <eggert@cs.ucla.edu>
13576         Fix dired.c typo with ptrdiff_t vs Lisp_Object
13578         * src/dired.c (file_name_completion): Don't assume Lisp_Object is
13579         an integer type, fixing a problem introduced in the recent fix for
13580         Bug#22169.
13582 2015-12-23  Eli Zaretskii  <eliz@gnu.org>
13584         Document default process sentinel more prominently
13586         * doc/lispref/processes.texi (Asynchronous Processes): Mention the
13587         defaults for process filter and sentinel.  Provide cross-references.
13588         (Process Information): Provide cross-references to where filters
13589         and sentinels are described.
13590         (Filter Functions): Add an index entry for "default filter".
13591         (Sentinels): Add a few status messages not documented previously.
13592         Resolve the "killed" confusion.  Document and describe the default
13593         sentinel.  (Bug#22220)
13595 2015-12-23  Eli Zaretskii  <eliz@gnu.org>
13597         Fix file-name completion on OS X
13599         * src/dired.c (file_name_completion): Reject false matches due to
13600         file-name-coding-systems that decompose characters when encoding
13601         file names, by comparing decoded file names as well.  (Bug#22169)
13602         (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
13604         * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
13605         non-nil 'decomposed-characters' property.
13607 2015-12-23  Anders Lindgren  <andlind@gmail.com>
13609         File-name completion of non-ASCII characters on OS X (bug#22169)
13611         The coding system `utf-8-nfd', locally defined in ns-win.el,
13612         didn't provide a :pre-write-conversion method, causing file name
13613         completion of non-ASCII characters to fail.  Solved by using the
13614         `utf-8-hfs' coding system provided by `ucs-normalize'.
13616         * lisp/loadup.el: Load international/ucs-normalize (when building
13617         for ns).
13619         * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
13620         `utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
13621         as the file name coding system.
13623         * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
13625 2015-12-22  Tom Tromey  <tom@tromey.com>
13627         Fix bug #18588 by making bug-reference-bug-regexp more lenient
13629         * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
13630         "bug NNNN".  (Bug #18588)
13632 2015-12-22  Tom Tromey  <tom@tromey.com>
13634         add some cl-* aliases to lisp-mode imenu
13636         * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
13637         cl-defgeneric, and cl-defmethod.
13639 2015-12-22  Tom Tromey  <tom@tromey.com>
13641         Make a variable buffer-local
13643         * lisp/generic-x.el (generic-rul-mode-setup-function): Make
13644         font-lock-syntax-table buffer-local.  (Bug #21627)
13646 2015-12-22  Eli Zaretskii  <eliz@gnu.org>
13648         Fix decoding of text in URLs retrieved by EWW
13650         * lisp/net/eww.el (eww-render): Pass 'charset' to
13651         'eww-display-raw'.  Use the value of 'last-coding-system-used', if
13652         non-nil, to set 'buffer-file-coding-system' of the buffer where we
13653         show the URL.
13654         (eww-display-html, eww-display-raw): Decode the text correctly,
13655         using the charset found in the headers, and defaulting to UTF-8.
13656         If the user told us to use a specific encoding, override the
13657         charset from the headers.  (Bug#22222)
13659 2015-12-22  Alan Mackenzie  <acm@muc.de>
13661         Fix a coding error in c-forward-<>-arglist-recur.  Fixes bug#22156
13663         * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
13664         variable `tmp'.
13665         After a failed search for a matching ">", restore point before continuing.
13667 2015-12-22  Michael Albinus  <michael.albinus@gmx.de>
13669         Instrument Tramp tests
13671         * test/automated/tramp-tests.el (tramp-test29-vc-registered)
13672         (tramp--test-utf8): Instrument tests.
13674 2015-12-22  Martin Rudalics  <rudalics@gmx.at>
13676         Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
13678         * lisp/simple.el (display-message-or-buffer): Call
13679         `display-buffer' with ACTION instead of NOT-THIS-WINDOW
13680         (Bug#22221).
13682 2015-12-21  Juri Linkov  <juri@linkov.net>
13684         * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
13686         (save-places-to-alist, save-place-dired-hook):
13687         Check for dired-subdir-alist.  (Bug#19851)
13689 2015-12-21  Paul Eggert  <eggert@cs.ucla.edu>
13691         Add FIXME comment re stack overflow and modules
13693 2015-12-20  Paul Eggert  <eggert@cs.ucla.edu>
13695         Revert some recent emacs-module commentary
13697         Most of the recently-added commentary was incorrect, due to the
13698         possibility of stack overflow.
13700 2015-12-20  Paul Eggert  <eggert@cs.ucla.edu>
13702         Spelling fix: prefer "cooperate" to "co-operate"
13704 2015-12-20  Paul Eggert  <eggert@cs.ucla.edu>
13706         Port undo fixes to -fno-common
13708         Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
13709         * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
13710         (buffer_before_last_command_or_undo):
13711         Declare in keyboard.h, and define in keyboard.c,
13712         instead of assuming the traditional Unix relaxed ref-def linkage.
13714 2015-12-20  Philipp Stephani  <phst@google.com>
13716         Improve commentary for emacs-module.c
13718         * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
13719         * src/emacs-module.c (module_non_local_exit_get): Document that we
13720         cannot use the current implementation.
13721         (module_is_not_nil, module_eq): Document assumptions about EQ and
13722         NILP.
13724 2015-12-20  Michael Albinus  <michael.albinus@gmx.de>
13726         Suppress test on Mac OS X
13728         * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
13729         (tramp--test-utf8): Use it.
13731 2015-12-20  Alan Mackenzie  <acm@muc.de>
13733         Merge branch 'scratch/follow' into emacs-25
13735         This allows Isearch, etc., to work well when Follow Mode is active.
13737 2015-12-19  Michael Albinus  <michael.albinus@gmx.de>
13739         * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option):
13740         Improve check.
13742 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13744         Fix last commit
13746         * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
13747         with numeric argument.
13749 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13751         Document new features of Rmail
13753         * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
13754         Document new behavior of 'd' and 'C-d' with numeric argument.
13755         (Rmail Display): Document the rendering of HTML MIME parts.
13757 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13759         Improve documentation of new cl-lib functions
13761         * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
13762         Fix wording.
13764 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13766         Document the new feature of 'minibuffer-with-setup-hook'
13768         * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
13769         added to `minibuffer-setup-hook'.
13771 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13773         Document new features of Font Lock
13775         * doc/lispref/modes.texi (Other Font Lock Variables): Document
13776         'font-lock-flush-function' and 'font-lock-ensure-function'.
13777         (Font Lock Basics): Document the basic fontification functions
13778         referenced in "Other Font Lock Variables".
13780         * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
13782 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13784         Document new features of Rectangle mode
13786         * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
13787         rectangle-mark-mode.
13789 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13791         Manual followup to last change
13793         * doc/lispref/display.texi (Displaying Messages): Sync with the
13794         doc string.  (Bug#22210)
13796 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13798         Clarify doc string of 'display-message-or-buffer'
13800         * lisp/simple.el (display-message-or-buffer): Doc fix.  Suggested
13801         by Sebastian Wiesner <swiesner@lunaryorn.com>.  (Bug#22210)
13803 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13805         * doc/emacs/emacs.texi (Top): Update top-level menus.
13807         * doc/lispref/elisp.texi (Top): Update top-level menus.
13809 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13811         Document how to avoid file-local variables that aren't
13813         * doc/emacs/custom.texi (Specifying File Variables): Describe how
13814         to prevent Emacs from interpreting unrelated text as file-local
13815         variables.  (Bug#22166)
13817 2015-12-19  Dave Thomas  <dave@pragprog.org>  (tiny change)
13819         Fix a typo in eterm-color's termcap entry
13821         * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
13822         entry.  (Bug#22184)
13824 2015-12-19  Eli Zaretskii  <eliz@gnu.org>
13826         Allow 'browse-url-emacs' visit non-existent URLs
13828         * lisp/url/url-handlers.el (url-insert-file-contents): Don't
13829         signal an error if VISIT is non-nil, to more faithfully emulate
13830         the behavior of 'insert-file-contents'.  (Bug#22160)
13832 2015-12-18  Paul Eggert  <eggert@cs.ucla.edu>
13834         Remove SunOS 4.x cruft
13836         Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
13837         * lib-src/pop.c [sun]: Remove no-longer-needed include.
13838         * lwlib/xlwmenu.c (SUNSO41): Remove.
13840 2015-12-18  Paul Eggert  <eggert@cs.ucla.edu>
13842         Merge from gnulib
13844         This mostly commentary fixes.
13845         * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
13846         * lib/gnulib.mk: Regenerate with new gnulib-tool.
13848 2015-12-18  Michael Albinus  <michael.albinus@gmx.de>
13850         Minor fixes in Tramp
13852         * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
13853         Reorder ls arguments.
13855         * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
13857 2015-12-18  Michael Albinus  <michael.albinus@gmx.de>
13859         Make tramp a built-in package
13861         * lisp/finder.el (finder-compile-keywords): Update
13862         `package--builtins' also when Version: keyword is available.
13864         * lisp/net/trampver.el: Add Version: keyword.
13865         (tramp-version): Change it to "2.2.13.25.1", in order to be
13866         compatible with `version-to-list'.
13868 2015-12-18  Lele Gaifax  <lele@metapensiero.it>
13870         * etc/tutorials/TUTORIAL.it: Update and fix typos.  (Bug#22187)
13872 2015-12-18  Alan Mackenzie  <acm@muc.de>
13874         Rename `recenter-group' to `recenter-window-group'
13876         * doc/lispref/windows.texi (Textual Scrolling)
13877         * lisp/window.el (top level, recenter-group)
13878         * lisp/follow.el (follow-mode)
13879         * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
13880         `recenter-window-group' and `recenter-group-function' to
13881         `recenter-window-group-function'.
13883 2015-12-18  Eli Zaretskii  <eliz@gnu.org>
13885         Fix vertical-motion in tabulated-list mode
13887         * src/indent.c (Fvertical_motion): When moving from line beginning
13888         to point under line truncation, assume overshoot by one line only
13889         if point actually lies beyond the window's right margin.
13890         (Bug#22194)
13892 2015-12-18  Martin Rudalics  <rudalics@gmx.at>
13894         Don't have help functions call x-display-pixel-width/-height on ttys
13896         * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
13897         Don't call x-display-pixel-width/-height on ttys.
13899 2015-12-17  Dmitry Gutov  <dgutov@yandex.ru>
13901         Use 'hg id' in vc-hg-previous-revision
13903         * lisp/vc/vc-hg.el (vc-hg-previous-revision):
13904         Use 'hg id' to retrieve it (bug#22032).
13906 2015-12-17  Alan Mackenzie  <acm@muc.de>
13908         * lisp/follow.el (follow-sit-for): Remove (it's redundant).
13910 2015-12-17  Eli Zaretskii  <eliz@gnu.org>
13912         Fix a typo in the Emacs manual
13914         * doc/emacs/trouble.texi (Sending Patches): Fix a typo.  Reported
13915         by Lele Gaifax <lele@metapensiero.it>.  (Bug#22193)
13917 2015-12-17  Eli Zaretskii  <eliz@gnu.org>
13919         Fix parsing netrc entries with ports
13921         * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
13922         make a list out of 't'.  (Bug#22188)
13924         * test/automated/auth-source-tests.el
13925         (auth-source-test-netrc-parse-entry): New test.
13927 2015-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13929         Fix typo in Doug Lea malloc configure log
13931         * configure.ac (emacs_cv_var_doug_lea_malloc):
13932         Fix typo that confused the log output of 'configure'.
13934 2015-12-16  Nicolas Petton  <nicolas@petton.fr>
13936         * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
13938 2015-12-16  Alan Mackenzie  <acm@muc.de>
13940         * etc/NEWS: Move entry on pcase to correct section
13942         (Accidentally omitted from previous commit)
13944 2015-12-16  Alan Mackenzie  <acm@muc.de>
13946         Add documentation for changes to Show Paren mode.
13948         * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
13950         * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
13951         options, including the new show-paren-when-point-inside-paren and
13952         show-paren-when-point-in-periphery.
13954         * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
13955         Move an entry on pcase to the Lisp Changes section.
13957 2015-12-16  Eli Zaretskii  <eliz@gnu.org>
13959         Document Eldoc changes
13961         * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
13963 2015-12-16  Eli Zaretskii  <eliz@gnu.org>
13965         Fix invocation of Python and Guile interpreters from gdb-mi
13967         * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
13968         commands for interactive Python and Guile interpreters.
13969         (gdb-send): Recognize various ways of exiting from Python and
13970         Guile interpreters and returning to GDB.  For details, see
13971         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
13972         and http://stackoverflow.com/questions/31514741.
13974 2015-12-16  Paul Eggert  <eggert@cs.ucla.edu>
13976         Remove attempt to use C11 threads
13978         C11 threads are not needed for Emacs now, and their use is causing
13979         hassles on FreeBSD 10.x.  Problem reported by Ashish SHUKLA in:
13980         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
13981         * configure.ac: Do not check for C11 threads. Remove unnecessary
13982         fiddling with CPPFLAGS when configuring pthreads.
13983         * src/emacs-module.c (main_thread, check_main_thread)
13984         (module_init): Do not worry about C11 threads.
13986 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
13988         Set utf8 encoding with stty in Tramp
13990         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13991         Move up uname check.  Handle Mac OS X eol encoding.  Set utf8
13992         encoding with stty.
13994 2015-12-15  Alan Mackenzie  <acm@muc.de>
13996         Tidy up documentation associated with window groups.
13998         * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
13999         Groups".  Correct example function to `window-group-start'.
14000         (Window Start and End, Textual scrolling): Point to the new anchor.  State
14001         that (most of) the args in window group functions have the same meaning as for
14002         the corresponding window primitives.
14004         * doc/lispref/positions.texi (Screen Lines).  Same as above.
14006 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
14008         Complete last commit
14010         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
14011         Move uname check up.  Handle Mac OS X eol encoding.
14013 2015-12-15  Michael Albinus  <michael.albinus@gmx.de>
14015         Handle Mac OS X eol encoding in Tramp
14017         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
14018         Handle Mac OS X eol encoding.
14020 2015-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14022         Fix variable name typo in compute_tip_xy
14024         * src/w32fns.c (compute_tip_xy):
14025         * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
14026         when `right' is integer.
14028 2015-12-14  foudfou  <foudil.newbie+git@gmail.com>  (tiny change)
14030         * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
14032 2015-12-14  Tassilo Horn  <tsdh@gnu.org>
14034         Revert "Fix rx matcher overflow without limiting"
14036         This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
14038 2015-12-14  Alan Mackenzie  <acm@muc.de>
14040         Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
14042         * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
14043         isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
14045 2015-12-14  Tassilo Horn  <tsdh@gnu.org>
14047         Fix rx matcher overflow without limiting
14049         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
14050         change to the regexp without imposing a limit on the length of the
14051         options.
14053 2015-12-14  Alan Mackenzie  <acm@muc.de>
14055         Enhance ispell-skip-region-alist by generating part of it at runtime.
14057         * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
14058         (ispell--make-filename-or-URL-re): New functions which generate a regexp.
14059         (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
14060         (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
14061         Include the result of ispell--make-filename-or-URL-re in regexps.
14063 2015-12-14  Glenn Morris  <rgm@gnu.org>
14065         * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
14067 2015-12-14  Alan Mackenzie  <acm@muc.de>
14069         Replace GROUP argument in six window primitives by new functions.
14071         * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
14072         * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
14073         from description of six window functions.  Add in description of new functions
14074         window-group-start, window-group-end, set-window-group-start,
14075         pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
14076         together with the six variables indirecting to the pertinent group
14077         functions.
14079         * src/window.c
14080         * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
14081         applies to these two files, which added the GROUP argument to six window
14082         primitives.
14084         * lisp/follow.el (follow-mode): Use updated variable names for the indirected
14085         functions.
14087         * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
14088         (isearch-back-into-window, isearch-lazy-highlight-new-loop)
14089         (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
14090         to window primitives (e.g. window-start) with a GROUP argument by calls to
14091         new functions (e.g. window-group-start).
14093         * lisp/ispell.el (ispell-command-loop): Replace call to
14094         pos-visible-in-window-p with pos-visible-in-window-group-p.
14096         * lisp/window.el (window-group-start, window-group-end)
14097         (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
14098         (selected-window-group, move-to-window-group-line): New functions.
14099         (window-group-start-function, window-group-end-function)
14100         (set-window-group-start-function, recenter-group-function)
14101         (pos-visible-in-window-group-p-function, selected-window-group-function)
14102         (move-to-window-group-line-function): New variables.
14104 2015-12-14  Vitorio Miguel  <vdrbandeiras@gmail.com>  (tiny change)
14106         * etc/tutorials/TUTORIAL.pt_BR: Fix a typo.  (Bug#22165)
14108 2015-12-13  Eli Zaretskii  <eliz@gnu.org>
14110         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
14112 2015-12-13  Tassilo Horn  <tsdh@gnu.org>
14114         Improve regex to not trigger stack overflow
14116         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
14117         order not to trigger a stack overflow in regex matcher with unbalanced
14118         brackets (bug#22146).
14120 2015-12-13  Eli Zaretskii  <eliz@gnu.org>
14122         Fix visiting files with raw-text
14124         * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
14125         when some stuff was actually read.  (Bug#22162)
14127 2015-12-13  Tassilo Horn  <tsdh@gnu.org>
14129         Fix regex matching keyval labels
14131         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
14132         matching keyval labels.
14134 2015-12-13  Michael Albinus  <michael.albinus@gmx.de>
14136         * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
14138         ... in case of Tramp.  (Bug#20821)
14140 2015-12-12  Paul Eggert  <eggert@cs.ucla.edu>
14142         Fix performance regression with gcc -O0
14144         This fixes the smaller performance hit that I noted in:
14145         https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
14146         * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
14147         * src/puresize.h (puresize_h_PURE_P)
14148         (puresize_h_CHECK_IMPURE):
14149         New macros, with the old contents of the functions.
14150         * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
14151         * src/puresize.h (PURE_P, CHECK_IMPURE):
14152         Use the new macros.  Also macros, if DEFINE_KEY_OPS_AS_MACROS.
14153         * src/conf_post.h (ATTRIBUTE_UNUSED):
14154         * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
14156 2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>
14158         * lisp/emacs-lisp/package.el (package-unpack): Security check
14160         Check that we received the package we were offered.
14162 2015-12-12  Artur Malabarba  <bruce.connor.am@gmail.com>
14164         * lisp/emacs-lisp/package.el (package--compile): Don't activate
14166         `package-unpack' takes care of all activations now (other than
14167         `package-initialize).  `package--compile' now only compiles.
14169 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14171         Document the new bindings of <UP> and <DOWN> in the minibuffer
14173         * doc/emacs/mini.texi (Minibuffer History): Describe the new
14174         bindings of <UP> and <DOWN> in the minibuffer.
14176 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14178         Document new features of Ido
14180         * doc/misc/ido.texi (Misc): Document 'C-S-b'.
14182 2015-12-12  Martin Rudalics  <rudalics@gmx.at>
14184         Fix frame height calculations with added menu bar on Windows (Bug#22105)
14186         * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
14187         when simultaneously specifying multiple parameters for
14188         `modify-frame-parameters' that all may change the frame's size.
14189         * src/w32fns.c (x_set_menu_bar_lines): Don't set
14190         windows_or_buffers_changed here.
14191         (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
14192         with third argument false.
14193         * src/w32menu.c (set_frame_menubar): Set
14194         windows_or_buffers_changed here.
14195         * src/w32term.c (x_set_window_size): Determine third argument of
14196         AdjustWindowRect from whether the frame has a menu bar and not
14197         from whether it wants one.
14199 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14201         Document the change in interactive shell mode
14203         * doc/emacs/misc.texi (Interactive Shell): Document that the
14204         '*shell*' buffer by default displays in a new window.
14206 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14208         Document new features of package.el
14210         * doc/emacs/package.texi (Package Menu): Document the 'external'
14211         status and the new menu commands.
14212         (Package Installation): Document archive priorities.
14214         * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
14215         (package-menu-hide-low-priority): Doc fix.
14217 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14219         Update and document new features of xterm support
14221         * doc/emacs/frames.texi (Text-Only Mouse): Document that
14222         track-mouse is supported by newer xterm versions.
14224 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14226         Document new features of Prettify Mode
14228         * doc/emacs/programs.texi (Misc for Programs): Document
14229         'prettify-symbols-compose-predicate' and
14230         'prettify-symbols-unprettify-at-point'.
14232         * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
14233         (prettify-symbols-default-compose-p)
14234         (prettify-symbols-compose-predicate)
14235         (prettify-symbols--compose-symbol): Doc fixes.
14237 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14239         Document multi-mode indentation facilities
14241         * doc/lispref/text.texi (Mode-Specific Indent): Document
14242         'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
14244         * lisp/progmodes/prog-mode.el (prog-indentation-context)
14245         (prog-widen): Doc fixes.
14247 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14249         Document 'vc-refresh-state'
14251         * doc/emacs/maintaining.texi (Version Control): Document
14252         'vc-refresh-state'.
14254         * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
14256 2015-12-12  Eli Zaretskii  <eliz@gnu.org>
14258         Fix echo for "C-u"
14260         * src/keyboard.c (command_loop_1): Undo last change.  It caused
14261         duplicate echo of C-u.  (Bug#22107)
14263 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14265         Avoid errors when creating files under SVN in new directory
14267         * lisp/vc/vc-svn.el (vc-svn-registered): Use
14268         file-accessible-directory-p, to avoid cd'ing to a non-existing
14269         directory, which signals an error on some systems.  (Bug#21984)
14270         (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
14271         Use declare-function to avoid byte-compiler warnings.
14273 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14275         Improve Lua support in etags
14277         * lib-src/etags.c (Lua_functions): Skip spaces before looking for
14278         "function".
14280         * etc/NEWS: Mention improved Lua support by 'etags'.
14282         * test/etags/lua-src/test.lua (test): Add tests for indented
14283         function definitions.
14284         * test/etags/ETAGS.good_1:
14285         * test/etags/ETAGS.good_2:
14286         * test/etags/ETAGS.good_3:
14287         * test/etags/ETAGS.good_4:
14288         * test/etags/ETAGS.good_5:
14289         * test/etags/ETAGS.good_6:
14290         * test/etags/CTAGS.good: Adapt to the modified Lua tests.
14292 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14294         Fix 'this-command-keys' wrt prefix argument
14296         * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
14297         was part of this-command-keys, but not of this-single-command-keys.
14298         (Bug#22107)
14300         * lisp/simple.el (internal-echo-keystrokes-prefix): Add
14301         commentary about the function's return value.
14303 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14305         * lisp/files.el (load-library): Doc fix.  (Bug#22140)
14307 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14309         Improve and document Ruby support in 'etags'
14311         * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
14312         (Ruby_functions): Support "module" and overloaded operators.
14313         (Ruby_help): Mention "module".
14315         * test/etags/ruby-src/test.rb:
14316         * test/etags/ruby-src/test1.ruby: New files.
14317         * test/etags/Makefile (RBSRC): New tests.
14318         (SRCS): Add ${RBSRC}.
14319         * test/etags/ETAGS.good_1:
14320         * test/etags/ETAGS.good_2:
14321         * test/etags/ETAGS.good_3:
14322         * test/etags/ETAGS.good_4:
14323         * test/etags/ETAGS.good_5:
14324         * test/etags/ETAGS.good_6:
14325         * test/etags/CTAGS.good: Adapt to the new Ruby tests.
14327         * doc/man/etags.1: Mention Ruby support.
14328         * etc/NEWS: Mention Ruby support.
14330 2015-12-11  Xi Lu  <lx@shellcodes.org>
14332         Initial support for Ruby in 'etags'
14334         * lib-src/etags.c <Ruby_suffixes>: New variable.
14335         (lang_names): Add an entry for Ruby.
14336         (Ruby_functions): New function.  (Bug#22116)
14338 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14340         Clarify documentation of 'modify-frame-parameters'
14342         * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
14343         PARMs" mean for 'modify-frame-parameters'.
14345         * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
14346         PARMs" mean for this function.  (Bug#22104)
14348 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14350         Fix setting buffer unibyte when reading from a device
14352         * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
14353         to make a (possibly non-empty) buffer unibyte.  (Bug#22096)
14355 2015-12-11  Eli Zaretskii  <eliz@gnu.org>
14357         Clarify documentation of 'values'
14359         * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
14360         updated by any evaluation commands in 'lisp-interaction-mode'.
14361         (Bug#22056)
14363 2015-12-11  Anders Lindgren  <andlind@gmail.com>
14365         Fixed subversion vc error when opening file in new directory (bug#21984).
14367         * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
14369 2015-12-09  Eli Zaretskii  <eliz@gnu.org>
14371         Yet another fix for when point ends up in invisible text
14373         * src/xdisp.c (redisplay_window): When someone forced
14374         window-start, and honoring that failed to show the cursor, try
14375         moving out of invisible text, before falling back to the middle of
14376         the window.  (Bug#22098)
14378 2015-12-09  Michael Albinus  <michael.albinus@gmx.de>
14380         Fix error in Tramp perl script for cygwin
14382         * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
14383         error if file doesn't exist.
14385 2015-12-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14387         Remove font workaround for limited outdated versions
14389         * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
14390         workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
14392 2015-12-09  Anders Lindgren  <andlind@gmail.com>
14394         Don't add "." to load path (bug#21104)
14396         When configured with --enable-locallisppath=no, which is the
14397         default for OS X, the load-path incorrectly was populated with ".".
14399         * src/lread.c (init_lread): Don't call `decode_env_path' when
14400         PATH_SITELOADSEARCH is empty.
14402 2015-12-08  Artur Malabarba  <bruce.connor.am@gmail.com>
14404         * lisp/emacs-lisp/package.el (package--with-response-buffer):
14406         Search for the blank-line in the right buffer.
14408 2015-12-08  Glenn Morris  <rgm@gnu.org>
14410         * test/automated/simple-test.el (undo-auto-boundary-timer): Update
14411         for recent change.
14413 2015-12-08  Glenn Morris  <rgm@gnu.org>
14415         Fix some display-warning usage.
14417         * lisp/files.el (hack-local-variables, hack-dir-local-variables):
14418         * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
14419         * lisp/calendar/holidays.el (calendar-holiday-list):
14420         * lisp/mail/rmailout.el (rmail-output-read-file-name):
14421         Fix display-warning usage.
14423 2015-12-07  Glenn Morris  <rgm@gnu.org>
14425         * lisp/calendar/cal-html.el: Require diary-lib.
14427         (cal-html-list-diary-entries): Handle no diary.  (Bug#21994)
14429 2015-12-07  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
14431         Add Obsolete-since header to eudcb-ph.el
14433         * eudcb-ph.el: Add Obsolete-since header.
14435 2015-12-07  Paul Eggert  <eggert@cs.ucla.edu>
14437         Spelling fixes
14439         * doc/misc/calc.texi (Predefined Units): Use the bland modern
14440         scientific style for spelling the units “ampere” and
14441         “angstrom” rather than the older style “Ampere” and
14442         “Ångstrom”.  The latter spelling was wrong anyway (it should
14443         have been “Ångström”).
14444         * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
14445         Fix misspelling of ‘atom’ in code.
14447 2015-12-07  Eli Zaretskii  <eliz@gnu.org>
14449         Improve documentation of kill commands
14451         * lisp/simple.el (region-extract-function, delete-backward-char)
14452         (delete-forward-char, kill-region, copy-region-as-kill)
14453         (kill-ring-save): Better document the optional argument REGION in
14454         the doc strings.  Mention in the doc strings that text put in the
14455         kill-ring can be filtered by 'filter-buffer-substring'.
14457         * doc/lispref/text.texi (Kill Functions): Mention that functions
14458         described in this subsection can filter text they put in the
14459         kill-ring.  Add a cross-reference to "Buffer Contents" and an
14460         index entry.  Document the optional argument 'region' and its
14461         effect.
14462         (Bug#21315)
14464 2015-12-07  Alan Mackenzie  <acm@muc.de>
14466         Further progress making Isearch, Ispell, Replace work with Follow Mode.
14468         * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
14469         no longer exists.  Add follow-post-command-hook to  three special purpose
14470         hooks at setup, and remove them at tear down.
14472         * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
14473         isearch-lazy-highlight-new-loop.
14474         (isearch-lazy-highlight-new-loop): Restore this function to what it previously
14475         was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
14476         it.
14477         (isearch-lazy-highlight-maybe-new-loop): function removed.
14479         * lisp/replace.el: (replace-update-post-hook): New hook variable.
14480         (perform-replace): Add second (nil) argument to looking-back.  Invoke
14481         replace-update-post-hook before calling replace-highlight.
14483         * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
14484         (ispell-command-loop): invoke ispell-update-post-hook.  Add GROUP argument to
14485         call of pos-visible-in-window-p.
14486         (ispell-display-buffer): Place *Choices* window at the top of the last window
14487         in a window group.
14489 2015-12-07  Alan Mackenzie  <acm@muc.de>
14491         Amend doc of `mapconcat': it can take sequences, not merely strings.
14493         * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
14494         to say that SEPARATOR and the results from FUNCTION may be any character
14495         sequences, not just strings.  Add an @xref to "Sequences Arrays Vectors".
14497 2015-12-07  Michael Albinus  <michael.albinus@gmx.de>
14499         Fix an utf8 problem for Tramp on BSD
14501         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
14502         Make lax check for utf8.
14503         (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
14505 2015-12-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
14507         Make eudcb-ph.el obsolete
14509         * doc/misc/eudc.texi: Bump version to 1.40.0.
14510         Remove PH/QI sections and mentions.
14511         * lisp/obsolete/eudcb-ph.el: Make obsolete.
14512         * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
14513         (eudc-ph-bbdb-conversion-alist): Make obsolete.
14514         * etc/NEWS: Mention this.  (Bug#21191)
14516 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
14518         Remove overenthusiastic eassert
14520         * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
14521         previous change.  It breaks on MS-Windows --with-wide-int.
14522         Problem reported by Eli Zaretskii in:
14523         http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
14525 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
14527         Pacify gcc -Wparentheses
14529         * src/xdisp.c (row_containing_pos): Reparenthesize.
14531 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
14533         Port mod-test to 32-bit Emacs --without-wide-int
14535         * modules/mod-test/test.el (mod-test-sum-test):
14536         Bring back the 2**29 tests, but port them to 32-bit Emacs
14537         --without-wide-int.
14539 2015-12-06  Michael Albinus  <michael.albinus@gmx.de>
14541         Fix minor Tramp problems found on BSD
14543         * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
14544         trailing slash.  Quote apostrophes.
14545         (tramp-sh-handle-file-truename): Do not append trailing slash in
14546         the "ls" case.
14547         (tramp-get-ls-command-with-w-option): New defun.
14548         (tramp-do-file-attributes-with-ls)
14549         (tramp-do-directory-files-and-attributes-with-stat): Use it.
14551         * test/automated/tramp-tests.el
14552         (tramp-test31-special-characters-with-perl)
14553         (tramp-test31-special-characters-with-ls)
14554         (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
14555         Suppress also readlink.
14557 2015-12-06  Eli Zaretskii  <eliz@gnu.org>
14559         Fix cursor display when invisible text is at line beginning
14561         * src/xdisp.c (redisplay_window): When scrolling fails to show
14562         point, prefer using the desired matrix if possible for finding the
14563         fallback glyph row for displaying the cursor.  (Bug#22098)
14564         (row_containing_pos): Exit the loop as soon as we hit the first
14565         disabled glyph row.  Otherwise we risk accessing garbled data and
14566         departing to the no-no land.
14568 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
14570         Improve module interface when WIDE_EMACS_INT
14572         * src/emacs-module.c (plain_values): New constant.
14573         (module_nil): Now a constant.
14574         (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
14575         (syms_of_module): Use if, not #ifdef, so that both sides are
14576         checked at compile-time, and so that GCC doesn’t complain
14577         about an unused var in the typical case.  Also, depend on
14578         plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
14579         that WIDE_EMACS_INT implies !USE_LSB_TAG.
14580         (value_to_lisp_bits, lisp_to_value_bits): New functions.
14581         Sign-extend integers rather than zero-extending them, as small
14582         negative integers are more likely.
14583         (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
14584         functions.
14585         (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
14586         (mark_modules): Remove.  All uses removed.
14587         (lisp_to_value): Don’t assume Fcons returns a pointer aligned
14588         to GCALIGNMENT.
14589         (syms_of_module): Check that module_nil converts to Qnil.
14590         * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
14591         we prefer signed to unsigned when either will do.
14592         (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
14593         a bit better for emacs-module.c.
14595 2015-12-06  Paul Eggert  <eggert@cs.ucla.edu>
14597         Port mod-test to x86-64 GNU/Linux running 32-bit
14599         * modules/mod-test/test.el (mod-test-sum-test):
14600         Don’t attempt to match descriptions to operating systems.
14601         It didn’t work on Fedora x86-64 running a 32-bit executable,
14602         and it’s not worth the trouble anyway.
14603         Port to 32-bit platforms by removing an assumption about
14604         fixnum widths.
14606 2015-12-06  Michael Albinus  <michael.albinus@gmx.de>
14608         Fix auto-revert-tests.el when filenotify isn't used
14610         * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
14611         Make it working also when filenotify isn't used.
14613 2015-12-05  Juri Linkov  <juri@linkov.net>
14615         * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
14617         Let-bind isearch-regexp-function to nil.  (Bug#22097)
14619 2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>
14621         * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
14623         (package--with-response-buffer): NOERROR and ERROR-FORM only
14624         handle connection errors.
14625         (bad-signature): New error type.
14626         (package--check-signature-content): Use it.
14627         (package--check-signature): Properly distinguish connection errors
14628         from bad-signature errors.  Do the check for
14629         `package-check-signature' `allow-unsigned' here instead of forcing
14630         the callbacks to do it.  Add a new argument, UNWIND.
14631         (package--download-one-archive, package-install-from-archive):
14632         Update usage of `package--check-signature'.
14634 2015-12-05  Ulf Jasper  <ulf.jasper@web.de>
14636         Fix Bug#22092.
14638         * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
14639           Clean up inconsistent line endings. (Bug#22092)
14640           (icalendar--clean-up-line-endings): New.
14641         * test/automated/icalendar-tests.el (icalendar-real-world): Add test
14642           for Bug#22092.
14644 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
14646         Document 'bookmark-set-no-overwrite'
14648         * doc/emacs/regs.texi (Bookmarks): Document the new command
14649         'bookmark-set-no-overwrite' and its keybinding.
14651 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
14653         Document new binding of 'mouse-buffer-menu'
14655         * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
14656         now also on C-F10.
14658 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
14660         Initial documentation of dynamic modules
14662         * doc/lispref/loading.texi (Dynamic Modules): New section with
14663         initial documentation for dynamic modules.
14664         * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
14665         detailed menu
14667         * etc/NEWS: Fix typos in dynamic modules' entry.
14669 2015-12-05  Artur Malabarba  <bruce.connor.am@gmail.com>
14671         Remove copyright statements from trivial test files
14673 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
14675         Add "Preliminaries" section to etc/DEBUG
14677         * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
14678         Most of the content was suggested by Phillip Lord
14679         <phillip.lord@russet.org.uk>.  Remove the section about debugging
14680         with the Visual Studio, as building Emacs with the Microsoft
14681         compilers is no longer supported.  Minor fixes in some other
14682         sections.
14684 2015-12-05  Alex Dunn  <dunn.alex@gmail.com>  (tiny change)
14686         Improve parsing of version strings
14688         * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
14689         (version-to-list): More helpful error messages.
14690         (version-to-list): ".5" is valid (update docstring).  Make
14691         "22.8X3" invalid, as the doc string says.
14693         * test/automated/subr-tests.el (ert-test-version-parsing): New
14694         tests for version string processing.
14696 2015-12-05  Eli Zaretskii  <eliz@gnu.org>
14698         Fix documentation of 'undo' changes
14700         * doc/lispref/text.texi (Undo): Minor wording changes.  Use US
14701         English conventions for spelling and whitespace between sentences.
14703         * etc/NEWS: Fix wording and spelling of undo-related entries.
14704         Mark them as documented.
14706 2015-12-04  Glenn Morris  <rgm@gnu.org>
14708         * lisp/net/net-utils.el: Small improvements.
14710         (net-utils--executable-find-sbin): New function.
14711         (ifconfig-program): Check sbin directories.
14712         Fallback to "ip".  (Bug#22091)
14713         (ifconfig-program-options): Check the actual program in use.
14714         (arp-program): Check sbin directories.
14716 2015-12-04  Arash Esbati  <esbati@gmx.de>  (tiny change)
14718         Fix wrong-type-argument integer-or-marker-p nil error
14720         * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
14721         Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
14723 2015-12-04  Alan Mackenzie  <acm@muc.de>
14725         Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
14727         Merge necessitated by a rebase operation.
14729 2015-12-04  Alan Mackenzie  <acm@muc.de>
14731         lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
14733 2015-12-04  Alan Mackenzie  <acm@muc.de>
14735         First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.
14737         doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
14738         Windows" and new @defun selected-window-group.
14739         (Window Start and End): Describe new &optional parameter GROUP and
14740         ...-group-function for window-start, window-end, set-window-start, and
14741         pos-visible-in-window-p.
14742         (Textual Scrolling) Describe the same for recenter.
14743         doc/lispref/positions.texi (Screen Lines): Describe the same for
14744         move-to-window-line.
14746         src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
14747         (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
14748         new optional parameter "group".  At the beginning of each, check whether the
14749         corresponding ...-group-function is set to a function, and if so execute this
14750         function in place of the normal processing.
14751         (syms_of_window): Define symbols for the six new variables below.
14752         (window-start-group-function, window-end-group-function)
14753         (set-window-start-group-function, recenter-group-function)
14754         (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
14755         New permanent local buffer local variables.
14756         src/keyboard.c (Fposn_at_point): Add extra parameter in call to
14757         Fpos_visible_in_window_p.
14759         lisp/window.el (selected-window-group-function): New permanent local buffer
14760         local variable.
14761         (selected-window-group): New function.
14763         lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
14764         enable, kill them at mode disable.  Add/remove follow-after-change to/from
14765         after-change-functions.
14766         (follow-start-end-invalid): New variable.
14767         (follow-redisplay): Manipulate follow-start-end-invalid.
14768         (follow-after-change, follow-window-start, follow-window-end)
14769         (follow-set-window-start, follow-pos-visible-in-window-p)
14770         (follow-move-to-window-line, follow-sit-for): New functions.
14772         lisp/isearch.el (isearch-call-message): New macro.
14773         (isearch-update, with-isearch-suspended, isearch-del-char)
14774         (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
14775         (with-isearch-suspended): Rearrange code such that isearch-call-message is
14776         invoked before point is moved.
14777         (isearch-message): Add comment about where point must be at function call.
14778         (isearch-search): Remove call to isearch-message.
14779         (isearch-lazy-highlight-window-group): New variable.
14780         (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
14781         the battery of tests to ...
14782         (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
14783         Note: (sit-for 0) is still called.
14784         (isearch-lazy-highlight-update): Check membership of
14785         isearch-lazy-highlight-window-group.  Don't set the `window' overlay
14786         property.
14787         (isearch-update, isearch-done, isearch-string-out-of-window)
14788         (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
14789         (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
14790         (isearch-lazy-highlight-update): Call the six amended primitives (see
14791         src/window.c above) with the new `group' argument set to t, to cooperate
14792         with Follow Mode.
14794 2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14796         * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
14798         * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
14799         (ert--explain-format-atom, ert--explain-equal-rec)
14800         (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
14801         (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
14803 2015-12-04  Artur Malabarba  <bruce.connor.am@gmail.com>
14805         * lisp/character-fold.el: Remove special case-folding support
14807         (character-fold-to-regexp): Remove special code for
14808         case-folding.  Char-fold search still respects the
14809         `case-fold-search' variable (i.e., f matches F).  This only
14810         removes the code that was added to ensure that f also matched
14811         all chars that F matched.  For instance, after this commit, f
14812         no longer matches 𝔽.
14814         This was necessary because the logic created a regexp with
14815         2^(length of the string) redundant paths.  So, when a very
14816         long string "almost" matched, Emacs took a very long time to
14817         figure out that it didn't.  This became particularly relevant
14818         because isearch's lazy-highlight does a search bounded by (1-
14819         match-end) (which, in most circumstances, is a search that
14820         almost matches).  A recipe for this can be found in bug#22090.
14822 2015-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14824         * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
14825         Fixes (bug#21701)
14827 2015-12-04  Daiki Ueno  <ueno@gnu.org>
14829         lisp/gnus/qp.el: Don't replace "from " at bol
14831         * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
14832         to nil when looking for "^From ".  Problem reported by Simon Josefsson.
14834 2015-12-03  Phillip Lord  <phillip.lord@russet.org.uk>
14836         Externalize some symbols in undo-auto
14838          * doc/lispref/text.texi: Update symbols.
14839          * lisp/simple.el (undo-auto--amalgamate,
14840            undo-auto--current-boundary-timer): Make symbols public.
14841          * src/cmds.c (Fself_insert_command,Fdelete_char): Call
14842            updated symbol.
14844 2015-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14846         * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
14848 2015-12-03  Michael Albinus  <michael.albinus@gmx.de>
14850         Some error message improvements in tramp-sh.el
14852         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
14853         Suppress error messages for "mesg" and "biff" calls.
14854         (tramp-get-remote-path): Ignore errors when expanding
14855         `tramp-own-remote-path'.  Raise a warning instead.
14857 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14859         Document 'nacl' value for 'system-type'
14861         * doc/lispref/os.texi (System Environment): Document the 'nacl'
14862         value of 'system-type'.
14864 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14866         Document 'window-max-chars-per-line'
14868         * doc/lispref/windows.texi (Window Sizes): Document
14869         'window-max-chars-per-line'.
14871 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14873         Fix some file headers for the purpose of `package--builtins'
14875         * lisp/emacs-lisp/cl-preloaded.el
14876         * lisp/emacs-lisp/eieio-compat.el
14877         * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
14879         * lisp/ielm.el: Fix summary line.
14881 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14883         * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
14885         Reload any previously loaded package files before compiling
14886         the package (also reload the same files after compiling).
14887         This ensures that we have the most recent definitions during
14888         compilation, and avoids generating bad elc files when a macro
14889         changes and it is used in a different file from the one it's
14890         defined in.
14892 2015-12-03  Artur Malabarba  <bruce.connor.am@gmail.com>
14894         * lisp/emacs-lisp/package.el: Refactor package activation code
14896         (package-activate): Move code that activates dependencies into
14897         package-activate-1.
14898         (package--load-files-for-activation): New function.
14899         (package-activate-1): Add code for (optionally) activating
14900         dependencies, and move file-loading code into
14901         `package--load-files-for-activation'.
14903 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14905         Document new font-related functionality
14907         * doc/lispref/display.texi (Low-Level Font): Document
14908         'default-font-width', 'default-font-height', 'window-font-width',
14909         and 'window-font-height'.
14911         * etc/NEWS: Move entries for 'default-font-width',
14912         'default-font-height', 'window-font-width', and 'window-font-height'
14913         to their place and mark them documented.
14915 2015-12-03  Eli Zaretskii  <eliz@gnu.org>
14917         Fix documentation and implementation of 'directory-name-p'
14919         * lisp/files.el (directory-name-p): Modify to recognize
14920         backslashes on MS-Windows and MS-DOS.  Adjust the doc string
14921         accordingly.  Use '=', not char-equal, for comparison, as
14922         letter-case cannot possibly be an issue here.
14924         * doc/lispref/files.texi (Directory Names): Move the documentation
14925         of directory-name-p here from "Relative File Names".  Update the
14926         description per the changes in implementation.
14928         * etc/NEWS: Move the entry for 'directory-name-p' to its proper
14929         place and mark it documented.
14931 2015-12-02  Eli Zaretskii  <eliz@gnu.org>
14933         Minor copyedit in Emacs manual
14935         * doc/emacs/search.texi (Lax Search): Make wording about character
14936         folding by default less definitive.  (Bug#22043)
14938 2015-12-02  Eli Zaretskii  <eliz@gnu.org>
14940         More emacs-module.c fixes for wide ints
14942         * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
14943         unsigned data types to manipulate pointers, to avoid sign
14944         extension coming after us with a vengeance.
14946         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14947         Emacs with wide ints that verify integer values near the critical
14948         value that requires us to switch to a cons cell.
14950 2015-12-02  Stephen Leake  <stephen_leake@stephe-leake.org>
14952         Fix bug#22069 in cl-generic.el
14954         * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
14955         not run thru `format'.
14957 2015-12-01  Dmitry Gutov  <dgutov@yandex.ru>
14959         APPEND etags--xref-backend to xref-backend-functions
14961         * lisp/progmodes/xref.el (xref-backend-functions):
14962         Use APPEND when adding the default element
14963         (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
14965 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14967         More accurate documentation of lax whitespace matching
14969         * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
14970         (word-search-backward, word-search-forward)
14971         (word-search-backward-lax, word-search-forward-lax): Mention in
14972         doc strings that toggling lax whitespace matching has no effect on
14973         these commands.
14975         * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
14976         lax whitespace matching has no effect on these commands.
14978 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14980         Fix emacs-module.c for wide ints
14982         * src/emacs-module.c (lisp_to_value): Compare the produced value
14983         with the original Lisp object, not with the one potentially
14984         converted into a Lisp_Cons.  Fixes assertion violations when
14985         working with integers larger than fit into a 32-bit value.
14987         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14988         large integers, to test --with-wide-int.
14990 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
14992         Document 'directory-files-recursively'
14994         * lisp/files.el (directory-files-recursively): Doc fix.  Rename
14995         the argument MATCH to REGEXP, to be more explicit about its form.
14997         * doc/lispref/files.texi (Contents of Directories): Improve the
14998         documentation of 'directory-files-recursively'.  Add
14999         cross-references.
15001         * etc/NEWS: Move the entry for 'directory-files-recursively' to
15002         its place and mark it documented.
15004 2015-12-01  Eli Zaretskii  <eliz@gnu.org>
15006         Document 'inhibit-read-only' property
15008         * doc/lispref/text.texi (Special Properties): Describe the new
15009         'inhibit-read-only' text property.  Add cross-reference to where
15010         read-only buffers are described.
15011         * doc/lispref/buffers.texi (Read Only Buffers): Mention that
15012         'inhibit-read-only' property exempts text from being read-only.
15013         Add cross-reference to "Special Properties".
15015         * etc/NEWS: Move the entry about 'inhibit-read-only' property to
15016         its place and mark it documented.
15018 2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>
15020         * lisp/emacs-lisp/package.el: Update header comments
15022 2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>
15024         * lisp/character-fold.el: Add back multi-char matching
15026         (character-fold-to-regexp): Uncomment recently commented code
15027         and make the algorithm "dummer" by not checking every possible
15028         combination.  This will miss some possible matches, but it
15029         greatly reduces regexp size.
15031         * test/automated/character-fold-tests.el
15032         (character-fold--test-fold-to-regexp): Comment out test of
15033         functionality no longer supported.
15035 2015-12-01  Xue Fuqiao  <xfq.free@gmail.com>
15037         * doc/emacs/ack.texi (Acknowledgments): Update.
15039 2015-12-01  Michael Albinus  <michael.albinus@gmx.de>
15041         Check `file-remote-p' over absolute files names in files.el
15043         * lisp/files.el (directory-files-recursively)
15044         (get-free-disk-space): Check `file-remote-p' over absolute files names.
15046 2015-12-01  Andreas Schwab  <schwab@linux-m68k.org>
15048                 * src/lread.c (syms_of_lread): Doc fix.
15050 2015-11-30  Dmitry Gutov  <dgutov@yandex.ru>
15052         Don't mistake certain JS method calls for keywords
15054         * lisp/progmodes/js.el (js--ctrl-statement-indentation):
15055         Braceless keyword can't come after a period (bug#22063).
15057 2015-11-30  David Reitter  <david.reitter@gmail.com>
15059         Read frame_title_format from buffer-local variable for NS port
15061         * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
15062         icon-title-format variables from buffer in appropriate window.
15063         (Bug#22048)
15065 2015-11-30  Juri Linkov  <juri@linkov.net>
15067         * lisp/replace.el (occur-engine): Count matches in empty lines.
15069         (Bug#22062)
15071 2015-11-30  Aurélien Aptel  <aurelien.aptel@gmail.com>
15073         * src/emacs-module.h: Fix finalizer typedef for C++11
15075         C++11 standard doesn't allow exception-specification in typedef.
15076         The workaround is to declare a dummy function prototype and use
15077         decltype on it.
15079 2015-11-30  Eli Zaretskii  <eliz@gnu.org>
15081         Fix last change
15083         * src/emacs-module.c (lisp_to_value, value_to_lisp)
15084         [WIDE_EMACS_INT]: Avoid compiler warnings.
15086 2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15088         Rely on conservative stack scanning to find "emacs_value"s
15090         * src/emacs-module.c (struct emacs_value_tag)
15091         (struct emacs_value_frame, struct emacs_value_storage): Remove.
15092         (value_frame_size): Remove constant.
15093         (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
15094         (lisp_to_value): Remove first arg.
15095         (module_nil): New constant.
15096         Use it instead of NULL when returning an emacs_value.
15097         (module_make_function): Adjust to new calling convention of
15098         Qinternal_module_call.
15099         (DEFUN): Receive args in an array rather than a list.
15100         Use SAFE_ALLOCA rather than xnmalloc.  Skip the lisp_to_value loop when
15101         we don't have WIDE_EMACS_INT.  Adjust to new type of non_local_exit info.
15102         (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
15103         Adjust to new type of non_local_exit info.
15104         (ltv_mark) [WIDE_EMACS_INT]: New constant.
15105         (value_to_lisp, lisp_to_value): Rewrite.
15106         (initialize_frame, initialize_storage, finalize_storage): Remove functions.
15107         (allocate_emacs_value): Remove function.
15108         (mark_modules): Gut it.
15109         (initialize_environment): Don't initialize storage any more.
15110         Keep the actual env object on Vmodule_environments.
15111         (finalize_environment): Don't finalize storage any more.
15112         (syms_of_module): Initialize ltv_mark and module_nil.
15114         * src/emacs-module.h (emacs_value): Make it more clear that this type
15115         is really opaque, including the fact that NULL may not be valid.
15117         * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
15118         Don't assume that NULL is a valid emacs_value.
15120 2015-11-30  Eli Zaretskii  <eliz@gnu.org>
15122         Yet another doc improvement for search commands
15124         * doc/emacs/search.texi (Word Search, Symbol Search)
15125         (Regexp Search): Document commands that don't support lax
15126         whitespace matching or character folding.
15127         (Nonincremental Search): Mention the search commands that can be
15128         invoked from the menu bar.
15130         * lisp/isearch.el (isearch-define-mode-toggle-word)
15131         (isearch-define-mode-toggle-symbol)
15132         (isearch-define-mode-toggle-character-fold): Note in the doc
15133         string that turning these on exits the regexp mode.
15134         (isearch-forward-regexp, isearch-forward-word)
15135         (isearch-forward-symbol, isearch-backward-regexp)
15136         (word-search-backward, word-search-forward)
15137         (word-search-backward-lax, word-search-forward-lax): State in the
15138         doc string which commands don't support character folding and/or
15139         lax-whitespace matching.
15141 2015-11-30  Martin Rudalics  <rudalics@gmx.at>
15143         Run `window-size-change-functions' also when reading from minibuffer
15145         * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
15146         also when reading from minibuffer.
15148 2015-11-30  Ulf Jasper  <ulf.jasper@web.de>
15150         Fix scrambling of html-rendered item buffers
15152         * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
15153           scrambling of contents by wrapping call to html-renderer in
15154           save-selected-window.
15156 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
15158         Fix font typo in previous doc fix.
15160 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
15162         A bit more security doc, esp. file local vars
15164         * doc/emacs/emacs.texi (Top):
15165         * doc/emacs/misc.texi (Miscellaneous Commands):
15166         Refer to new Host Security section.
15167         (Host Security): New section.
15168         * doc/lispref/os.texi (Security Considerations):
15169         Mention file local variables.
15171 2015-11-30  Artur Malabarba  <bruce.connor.am@gmail.com>
15173         * lisp/character-fold.el: Comment out branching code
15175         (character-fold-to-regexp): Comment out code that uses multi-char
15176         table.  The branching caused by this induces absurdly long regexps,
15177         up to 10k chars for as little as 25 input characters.
15179 2015-11-30  Paul Eggert  <eggert@cs.ucla.edu>
15181         Spelling and grammar fixes
15183 2015-11-29  Dmitry Gutov  <dgutov@yandex.ru>
15185         Make lisp-completion-at-point a wrapper instead of an alias
15187         * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
15188         Turn into an obsolete wrapper around elisp-completion-at-point
15189         (bug#20455).
15191 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
15193         * lisp/isearch.el (isearch-search-fun-default): Nicer error
15195         message when the search fails.
15197 2015-11-29  Dmitry Gutov  <dgutov@yandex.ru>
15199         Update menu-bar-goto-uses-etags-p for the current xref API
15201         * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
15202         xref-backend-functions, instead of now-nonexistent
15203         xref-find-function.
15205 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
15207         * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
15209 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
15211         * lisp/menu-bar.el: Use folding in searches
15213         (nonincremental-search-forward): Use `isearch-search-fun-default'
15214         to determine the search function.
15215         (nonincremental-search-backward)
15216         (nonincremental-repeat-search-forward)
15217         (nonincremental-repeat-search-backward): Use it.
15219 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
15221         * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
15223 2015-11-29  Artur Malabarba  <bruce.connor.am@gmail.com>
15225         * lisp/character-fold.el (character-fold-to-regexp): Be careful
15227         not to return huge regexps.
15229 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
15231         Improve documentation of string-collate-* functions
15233         * doc/lispref/strings.texi (Text Comparison): Improve wording and
15234         indexing of 'string-collate-equalp' and 'string-collate-lessp'.
15236         * etc/NEWS: Move the entry of 'string-collate-equalp' and
15237         'string-collate-lessp' to "Lisp Changes" section and mark it as
15238         documented.
15240 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
15242         Document truncate-string-ellipsis
15244         * doc/lispref/display.texi (Size of Displayed Text): Document
15245         'truncate-string-ellipsis'.
15247         * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
15248         (truncate-string-to-width): Mention in the doc string that the
15249         default for ELLIPSIS comes from 'truncate-string-ellipsis'.
15251         * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
15252         Changes" section.
15254 2015-11-29  Eli Zaretskii  <eliz@gnu.org>
15256         Fix confusion wrt character folding in the Emacs manual
15258         * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
15259         Document that invoking search-forward/backward and
15260         re-search-forward/backward supports only case folding, but not the
15261         rest of the lax-search features.  Reported by Mike Kupfer
15262         <m.kupfer@acm.org>.
15264 2015-11-29  Ken Brown  <kbrown@cornell.edu>
15266         Update mod-test-sum-test
15268         * modules/mod-test/test.el (mod-test-sum-test): Update to
15269         accommodate the lack of dladdr on Cygwin.
15271 2015-11-29  Alan Mackenzie  <acm@muc.de>
15273         Byte compiler: Catch missing argument to `funcall'.  Fixes bug#22051.
15275         * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
15276         to `funcall', (i) Output an error message; (ii) Generate code to signal a
15277         `wrong-number-of-arguments' error.
15279 2015-11-29  Martin Rudalics  <rudalics@gmx.at>
15281         * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
15283 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
15285         * lisp/character-fold.el (character-fold-to-regexp)
15287         Warn about using long strings.
15289         * test/automated/character-fold-tests.el
15290         (character-fold--test-lax-whitespace)
15291         (character-fold--test-consistency): Reduce string size for tests.
15293 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15295         Document renaming of x-select-enable-* variables
15297         * doc/emacs/killing.texi (Clipboard): Rename
15298         x-select-enable-clipboard to select-enable-clipboard and
15299         x-select-enable-primary to select-enable-primary.  Update index
15300         entries.
15302         * etc/NEWS: Mark entry as documented.
15304 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15306         Document the shorthand hints displayed by M-x
15308         * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
15309         suggest-key-bindings.  Document the shorthand hints for commands
15310         that have no key bindings.  Document that M-x completion ignores
15311         obsolete commands.
15313         * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
15314         documented.
15316 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15318         Update docs of character folding
15320         * doc/emacs/search.texi (Lax Search): Update the description of
15321         character folding for the latest changes.
15323 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
15325         * lisp/character-fold.el: Also play nice with case-folding
15327         (character-fold-to-regexp): Take `case-fold-search' into account.
15329 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
15331         * lisp/character-fold.el: Add support for multi-char matches
15333         (character-fold-table): Now has an extra-slot. This is a second
15334         char-table that holds multi-character matches.  See docstring for
15335         details.
15336         (character-fold-to-regexp): Can build branching regexps when a
15337         character's entry the extra slot of `character-fold-table' matches the
15338         characters that succeed it.
15340 2015-11-28  Artur Malabarba  <bruce.connor.am@gmail.com>
15342         * lisp/character-fold.el: Code simplifications
15344         (character-fold-table): Reduce the scope of a variable.
15345         (character-fold-to-regexp): Change logic to work directly on the
15346         input string.  It's a little easier to understand, probably
15347         faster, and sets us up for implementing multi-char matches.
15349         * test/automated/character-fold-tests.el
15350         (character-fold--test-fold-to-regexp): New test.
15352 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15354         Document changes in "C-h l"
15356         * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
15358         * etc/NEWS: mark "C-h l" changes as documented.
15360 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15362         Finalize documentation of 'custom-prompt-customize-unsaved-options'
15364         * doc/emacs/custom.texi (Saving Customizations): Index the new
15365         function 'custom-prompt-customize-unsaved-options'.
15367         * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
15368         is useful.
15370 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15372         Document 'comment-line'
15374         * doc/emacs/programs.texi (Comment Commands): Document
15375         'comment-line'.
15377         * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
15379 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15381         Document new checkdoc features
15383         * doc/lispref/tips.texi (Tips, Library Headers): Document the
15384         keyword-checking features of checkdoc and the commands
15385         'checkdoc-file' and 'checkdoc-current-buffer'.
15387         * etc/NEWS: Move the checkdoc-related entries to their own
15388         section.
15390 2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>
15392         Simplify the prologue of emacs-module.c functions
15394         * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
15395         (module_make_global_ref)
15396         (module_free_global_ref, module_make_function, module_funcall)
15397         (module_intern, module_type_of, module_extract_integer)
15398         (module_make_integer, module_extract_float, module_make_float)
15399         (module_copy_string_contents, module_make_string)
15400         (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
15401         (module_get_user_finalizer, module_set_user_finalizer)
15402         (module_vec_set, module_vec_get, module_vec_size): Use new helper
15403         macro MODULE_FUNCTION_BEGIN.
15405 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15407         Don't reject module calls with no arguments
15409         * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
15411 2015-11-28  Philipp Stephani  <p.stephani2@gmail.com>
15413         Make module-call be visible from Lisp
15415         * src/emacs-module.c (module_make_function): Use internal--module-call.
15416         (Finternal_module_call): Renamed from Fmodule_call.  Add safety
15417         checks.
15418         (syms_of_module): DEFSYM save-value-p and save-pointer-p.  Do
15419         defsubr internal--module-call.
15421 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15423         Add etags tests for the recent Lua-related bugfix
15425         * test/etags/lua-src/test.lua: New file, tests the issues raised
15426         by bug#21934.
15427         * test/etags/Makefile (LUASRC): Add test.lua.
15428         * test/etags/ETAGS.good_1:
15429         * test/etags/ETAGS.good_2:
15430         * test/etags/ETAGS.good_3:
15431         * test/etags/ETAGS.good_4:
15432         * test/etags/ETAGS.good_5:
15433         * test/etags/ETAGS.good_6:
15434         * test/etags/CTAGS.good: Adapt to the new Lua test.  Also, an old
15435         regression fix, resolved around 25 May 2015, required changes to
15436         the "good" ETAGS files.
15438 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15440         Fix Lua tags when a function name includes '.' or ':'
15442         * lib-src/etags.c (Lua_functions): Add a tag for the last element
15443         of a function name after a dot or a colon.  (Bug#21934)
15445 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
15447         Improve documentation of search and replace commands
15449         * doc/emacs/search.texi (Replacement and Lax Matches): Document
15450         which commands are affected by 'replace-character-fold'.
15451         (Lax Search): Add a cross reference to "Replacement and Lax
15452         Matches".  Improve wording.  Fix lost extra whitespace.
15453         (Search Customizations): Improve wording.  (Bug#22036)
15454         See also comments in
15455         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
15457         * lisp/replace.el (query-replace, query-replace-regexp)
15458         (query-replace-regexp-eval, replace-string, replace-regexp):
15459         Mention 'replace-character-fold' in the doc strings.
15461 2015-11-28  Paul Eggert  <eggert@cs.ucla.edu>
15463         Fix minor problems found by static checking
15465         * src/undo.c (prepare_record): Add proper prototype for C.
15467 2015-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15469         * src/emacs-module.c (struct env_storage): Delete
15471         (struct emacs_runtime_private): Keep an emacs_env instead.
15472         (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
15473         (initialize_environment): Split the arg in two.  Adjust all callers.
15474         Only store the private part in Vmodule_environments.
15475         (finalize_environment): Change the arg to only be the private env.
15476         Adjust all callers.
15478 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15480         Improve documentation of 'replace-character-fold'
15482         * lisp/replace.el (replace-character-fold): Clarify which commands
15483         are affected by this variable.
15485 2015-11-27  Dmitry Gutov  <dgutov@yandex.ru>
15487         Autoload etags when using its xref backend
15489         * lisp/progmodes/xref.el (xref--etags-backend):
15490         Rename to etags--xref-backend.  Move to etags.el.  Autoload.
15491         (Bug#22026)
15493 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
15495         * lisp/character-fold.el: Allow complex chars to match their decomposition
15497         (character-fold-table): When a character's decomposition does not
15498         involve a formatting tag (i.e., if it has an "exact" description via
15499         other characters), then this character is allowed to match the
15500         decomposition.
15502 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
15504         * lisp/character-fold.el: More descriptive variable names
15506         (character-fold-table): Rename a lot of the lexical variables to
15507         make the code easier to read.
15509 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
15511         * lisp/isearch.el: Ensure we still support `isearch-new-word'
15513         (isearch-new-regexp-function): Define variable.
15514         (isearch-new-word): Define as an obsolete alias. (Bug#22018)
15516 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15518         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
15520 2015-11-27  Lee Bochicchio  <lboc.home@gmail.com>
15522         * test/lisp/abbrev-tests.el: Define more tests
15524         (abbrev-table-name-test, kill-all-abbrevs-test)
15525         (clear-abbrev-table-test): New tests.
15527 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15529         Add module tests for wrong-type-argument
15531         * modules/mod-test/test.el (mod-test-sum-test): Add tests for
15532         wrong-type-argument.
15534 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15536         Improve handling of signals and 'throw' in modules
15538         * src/emacs-module.c: Add commentary explaining how to write
15539         functions in this file.
15540         (module_make_global_ref, module_free_global_ref)
15541         (module_non_local_exit_signal, module_non_local_exit_throw)
15542         (module_make_function, module_funcall, module_intern)
15543         (module_type_of, module_is_not_nil, module_eq)
15544         (module_extract_integer, module_make_integer)
15545         (module_extract_float, module_make_float)
15546         (module_copy_string_contents, module_make_string)
15547         (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
15548         (module_get_user_finalizer, module_set_user_finalizer)
15549         (module_vec_set, module_vec_get, module_vec_size)
15550         (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
15551         Do nothing and return with failure indication immediately, if some
15552         previous module call signaled an error or wants to throw.  See
15553         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
15554         for the relevant discussions.
15556 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15558         Add ':version' tag to 'checkdoc-package-keywords-flag'
15560         * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
15561         Add a ':version' tag.
15563 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15565         Improve documentation of 'eval-buffer' and 'eval-region'
15567         * src/lread.c (Feval_buffer, Feval_region): Doc fixes.  (Bug#22023)
15569         * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
15570         "accessible portion of buffer".
15572 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15574         Unbreak the Cygwin w32 build
15576         * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
15577         build as well.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15579 2015-11-27  Eli Zaretskii  <eliz@gnu.org>
15581         Improve commentary in character-fold.el
15583         * lisp/character-fold.el (character-fold-to-regexp): Move detailed
15584         description from commit log message to comments.  (Bug#22019)
15586 2015-11-26  Alan Mackenzie  <acm@muc.de>
15588         Byte Compiler: generate code to adjust stack count after call to `signal'.
15590         Corrects change from earlier today.
15592         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
15593         `byte-compile--for-effect' as argument to `byte-compile-form'.
15595 2015-11-26  Eli Zaretskii  <eliz@gnu.org>
15597         Improve commentary of prepare_to_modify_buffer_1
15599         * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
15600         that this function runs Lisp.  Suggested by Richard Stallman
15601         <rms@gnu.org>.
15603 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
15605         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
15607 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
15609         Fix regression after merge.
15611          * src/undo.c (prepare_record): Remove call to run_undoable_change.
15613 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
15615         After delete, record point location in undo.
15617         Addresses Bug #21968.
15619                 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
15620                 better support intercalating calls.
15621                 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
15622                 point and current buffer before each command.
15623                 * src/undo.c (record_point): Now only record the point.
15624                 * src/undo.c (prepare_record): Functionality removed form
15625                 record_point.
15626                 * src/undo.c (record_delete): Check if point needs recording.
15627                 * src/undo.c (undo-boundary): Record value of point before each
15628                 boundary.
15629                 * test/automated/simple-test.el: New tests.
15631         Conflicts:
15632                 src/undo.c
15634 2015-11-26  Eli Zaretskii  <eliz@gnu.org>
15636         Fix compiler warnings in w32.c
15638         * src/w32.c (sys_socket): In case of error, use -1 as return
15639         value, not INVALID_SOCKET, which causes compiler warnings.
15640         (maybe_load_unicows_dll): Cast the return value of GetProcAddress
15641         to the appropriate function signature, to avoid compiler errors.
15642         Reported by Andy Moreton <andrewjmoreton@gmail.com>.  (Bug#21953)
15644 2015-11-26  Dmitry Gutov  <dgutov@yandex.ru>
15646         Check if the file exists on disk before producing the revert diff
15648         * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
15649         exists on disk (bug#20558).
15651 2015-11-26  Alan Mackenzie  <acm@muc.de>
15653         Byte compiler: on setq with an odd number of arguments, generate a `signal'
15655         * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
15656         it has an odd number of arguments, to allow bytecomp to handle the error.
15658         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
15659         odd number of arguments, generate a `signal' instead of the normal code.
15661 2015-11-25  Dmitry Gutov  <dgutov@yandex.ru>
15663         Use find-tag-default for xref-backend-identifier-at-point
15665         * lisp/progmodes/etags.el (find-tag-tag)
15666         (tags-completion-at-point-function): Extract common code as
15667         find-tag--default.
15668         (xref-backend-identifier-at-point): Define in terms of the new
15669         function.
15671 2015-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15673         * src/undo.c (record_property_change): Remove now-unused local.
15675 2015-11-25  Phillip Lord  <phillip.lord@russet.org.uk>
15677         run_undoable_changes now called from insdel.
15679         The original calls from inside undo.c are not always at a safe position
15680         to call lisp, as they originate in varied positions within insdel.c.
15681         Calling them directly from prepare_to_modify_buffer_1 ensures that they
15682         are always run at the same point.
15684          * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
15685          and symbol used.
15686          * src/insdel.c (run_undoable_changes): Add function and symbol.
15688 2015-11-25  Eli Zaretskii  <eliz@gnu.org>
15690         Improve and update documentation of search commands
15692         * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
15693         all references changed.  Move the description of lax-whitespace
15694         here.  Add description of the new character folding features and
15695         additional customizable options.
15696         (Isearch Yank): Move before "Error in Search".
15697         (Basic Isearch): Improve wording.  Add index entries.  Add short
15698         description of how to abandon search, making this subsection a
15699         complete introduction to search basics.
15700         (Repeat Isearch): Add index entries.  Describe additional
15701         customizable options.  Describe mouse clicks.
15702         (Isearch Yank): Add index entries.  Describe mouse-2 click in echo
15703         area.  Describe more customizable options.
15704         (Error in Isearch): Add index entries.
15705         (Special Isearch): Move actual description of some isearch
15706         commands to other sections, leaving here just the summary of the
15707         commands.  Add command that toggles character folding.  Describe
15708         commands, like "C-h C-h", that were previously omitted for some
15709         reason.
15710         (Not Exiting Isearch): Describe search-exit-option.  Add index
15711         entries.
15712         (Word Search): Describe eww-search-word and eww-search-prefix.
15713         (Symbol Search): Add index entries.
15714         (Regexp Search): Describe regexp-search-ring-max.
15715         (Replacement and Lax Matches): Renamed from "Replacement and
15716         Case"; all references changed.  Describe lax-whitespace matching
15717         in replace commands and related options.  Describe character
15718         folding in replace commands and related options.
15719         (Query Replace): Describe query-replace-from-to-separator and the
15720         new history features.  Add index entries for highlighted text.
15721         Describe query-replace-skip-read-only.  Describe more keys
15722         accepted by query-replace.
15723         (Other Repeating Search): More index entries for Occur.  Describe
15724         list-matching-lines-default-context-lines.
15725         (Search Customizations): New section, documents customizable
15726         options that were not documented until now.
15727         * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
15728         "Character Folding".
15730         * etc/NEWS: Move search- and replace-related entries to a single
15731         parent section.
15733         * lisp/replace.el (query-replace-show-replacement): Doc fix.
15734         * lisp/isearch.el (search-nonincremental-instead)
15735         (isearch-hide-immediately): Doc fixes.
15737 2015-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
15739         Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
15741         * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove.  See:
15742         <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
15743         <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
15745 2015-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15747         Fix module_format_fun_env when dynlib_addr fails
15749         * src/emacs-module.c (module_format_fun_env):
15750         exprintf doesn’t support %p, so use %x.  Reported by Eli Zaretskii in:
15751         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
15753 2015-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15755         Disambiguate variable help a bit better
15757         * lisp/help-fns.el (describe-variable): Quote the
15758         variable’s value if it is a symbol other than t or nil.
15759         See: T.V Raman in:
15760         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
15762 2015-11-24  Dmitry Gutov  <dgutov@yandex.ru>
15764         Pass SVN commit message through log-edit-extract-headers
15766         * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
15767         log-edit-extract-headers (bug#18954).
15769 2015-11-24  Alan Mackenzie  <acm@muc.de>
15771         CC Mode: Eliminate compiler warning messages.
15773         * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
15774         `font-lock-syntactic-keywords' (which CC Mode doesn't use).
15775         * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
15776         (c-awk-set-syntax-table-properties): Clarify comments about
15777         `font-lock-syntactic-keywords'.
15779         * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
15780         of this before the real (interpreted) one, to satisfy the byte compiler.
15782 2015-11-24  Simen Heggestøyl  <simenheg@gmail.com>
15784         Extend the test suite for json.el
15786         * lisp/json.el (json-plist-p): Clarify docstring.
15788         * test/automated/json-tests.el (json-tests--with-temp-buffer): New
15789         macro.
15790         (test-json-join, test-json-alist-p)
15791         (test-json-plist-p, test-json-advance, test-json-peek)
15792         (test-json-pop, test-json-skip-whitespace)
15793         (test-json-read-keyword, test-json-encode-keyword)
15794         (test-json-read-number, test-json-encode-number)
15795         (test-json-read-escaped-char, test-json-read-string)
15796         (test-json-encode-string, test-json-encode-key)
15797         (test-json-new-object, test-json-add-to-object)
15798         (test-json-read-object, test-json-encode-list)
15799         (test-json-read-array, test-json-encode-array)
15800         (test-json-read, test-json-read-from-string)
15801         (test-json-encode): New tests.
15802         (json-read-simple-alist): Merged into `test-json-read-object'.
15803         (json-encode-string-with-special-chars): Merged into
15804         `test-json-encode-string'.
15805         (json-read-string-with-special-chars): Split into
15806         `test-json-encode-string' and `test-json-read-from-string'.
15808 2015-11-24  Anders Lindgren  <andlind@gmail.com>
15810         Fixed bug#18283: Enable applescript in NextStep.
15812         * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
15814 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15816         Allow completion on dynamic module files in load-library
15818         * lisp/files.el (load-library): Bind completion-ignored-extensions
15819         to nil, to allow completion on dynamic modules typed as file
15820         names.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15822 2015-11-24  Alan Mackenzie  <acm@muc.de>
15824         CC Mode: eliminate almost all byte compilation warnings
15826         * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
15827         (cc-require): Remove the crude hack that saved and restored
15828         byte-compile-noruntime-functions.
15829         (cc-conditional-require, cc-conditional-require-after-load): New macros.
15831         * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
15832         cc-fix.el using the new macros in cc-bytecomp.el.
15834         * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
15835         (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
15836         forms to remove the superflous quotes.
15838 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15840         Add one more mod-test test
15842         * modules/mod-test/test.el (mod-test-sum-test): Test the error
15843         signaled when the function is invoked with a wrong number of
15844         arguments.
15846 2015-11-24  Philipp Stephani  <phst@google.com>
15848         * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
15850 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15852         Implement dynlib_addr for MS-Windows
15854         * src/dynlib.c [WINDOWSNT]: Include w32common.h.
15855         <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
15856         (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
15857         (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
15858         if undefined.
15859         (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
15860         zero.
15861         (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
15862         the full file name of the module for a given address.
15864 2015-11-24  Alan Mackenzie  <acm@muc.de>
15866         Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
15868 2015-11-24  Alan Mackenzie  <acm@muc.de>
15870         Squashed commit of the following:
15872         commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
15873         Author: Alan Mackenzie <acm@muc.de>
15874         Date:   Tue Nov 24 16:50:09 2015 +0000
15876             Byte compile: minor amendments.
15878             * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
15879             add a comment to explain the binding of variables around a subsidiary
15880             compilation.
15881             (byte-compile-new-defuns): Amend the doc string.
15883         commit c537bfed1dda1593d218956ff00c6105a3ff0316
15884         Author: Alan Mackenzie <acm@muc.de>
15885         Date:   Sat Nov 21 18:43:57 2015 +0000
15887             Byte compiler: fix spurious warnings "might not be defined at runtime".
15889             Also initialize byte-compile-noruntime-functions between runs.
15891             * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
15892             (byte-compile-initial-macro-environment): For eval-when-compile: bind
15893             byte-compile-unresolved-functions and byte-compile-new-defuns around
15894             byte-compile-top-level, to prevent spurious entries being made.
15895             (byte-compile-warn-about-unresolved-functions): Check whether function is
15896             in byte-compile-new-defuns before emitting a warning about it.
15897             (byte-compile-from-buffer): Initialize new variable and
15898             byte-compile-noruntime-functions to nil.
15899             (byte-compile-file-form-require): record all new functions defined by a
15900             `require' in byte-compile-new-defuns.
15901             (byte-compile-file-form-defmumble): record the new alias in
15902             byte-compile-new-defuns.
15904 2015-11-24  Eli Zaretskii  <eliz@gnu.org>
15906         Fix crash at startup related to GC of font entities
15908         * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
15909         (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
15910         (GC_XFONT_OBJECT): New macros, for use in garbage collector.
15911         * src/alloc.c (compact_font_cache_entry, compact_font_caches):
15912         Don't ifdef away font cache compaction on NT_GUI, as the problems
15913         which led to that seem to have been solved.
15914         (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
15915         GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
15916         cousins.  (Bug#21999)
15918 2015-11-24  Alan Mackenzie  <acm@muc.de>
15920         Byte compile: Output an error, not a warning, for odd number of args to setq
15922         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
15924 2015-11-24  Ken Raeburn  <raeburn@raeburn.org>
15926         Fix kbd_buffer iteration loop in readable_events
15928         * src/keyboard.c (readable_events): Wrap the event pointer back to the
15929         start of the kbd_buffer array inside the top of the loop instead of
15930         right before checking the loop condition, since kbd_fetch_ptr and
15931         kbd_store_ptr point past the end of the array to mean that element 0
15932         is next. (bug#21935)
15934 2015-11-24  Paul Eggert  <eggert@cs.ucla.edu>
15936         Improve text-quoting-style doc again
15938         * doc/lispref/help.texi (Keys in Documentation):
15939         Omit overkill discussion of ‘setq’.  Mention Emacs versions
15940         where ‘grave’ style was standard.
15942 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15944         Improve text-quoting-style doc
15946 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15948         Simplify module_make_function
15950         * src/emacs-module.c (module_make_function):
15951         Simplify by calling build_unibyte_string.
15953 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15955         Port better to FreeBSD’s dlfunc vs dlsym
15957         This avoids warnings when converting between void * and
15958         function pointers, which strict C11 does not allow.
15959         * configure.ac (dlfunc): Check for existence.
15960         * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
15961         (dynlib_func): New function.
15962         * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
15963         * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
15964         dynlib_sym, for function pointers.
15966 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15968         Simplify use of emacs_finalizer_function type
15970         * src/emacs-module.h (emacs_finalizer_function):
15971         Now EMACS_NOEXCEPT.  All users simplified to omit EMACS_NOEXCEPT.
15972         (struct emacs_env_25): Use emacs_finalizer_function where applicable.
15974 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
15976         module_format_fun_env fixes
15978         * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
15979         * src/emacs-module.c (module_format_fun_env):
15980         Convert path and sym to UTF-8.
15981         Don’t use VLAs, as the C11 standard says they’re optional,
15982         and anyway they can cause core dumps with large allocations.
15983         Use exprintf rather than snprintf, as exprintf handles arbitrarily
15984         long strings.  Simplify the code a bit.
15986 2015-11-23  Dmitry Gutov  <dgutov@yandex.ru>
15988         Don't use package-user-dir in elisp-library-roots if it's not bound
15990         * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
15991         use package-user-dir if it's not bound (bug#19759).
15993 2015-11-23  Anders Lindgren  <andlind@gmail.com>
15995         New visible-bell for NextStep (OS X El Capitan compatible).
15997         Instead of inverting a rectangle in the middle of the frame, use
15998         the standard NextStep image "caution", represented using an
15999         warning sign with an exclamation mark.  (Bug#21662)
16001         Implemented based on a suggestion drafted by Mustafa Kocaturk.
16003         * src/nsterm.m (EmacsBell): New class for managing the caution
16004         image.  Support multiple active bells, the image is removed once
16005         all bells have timed out.
16006         (ns_timeout): Removed, no longer used.
16007         (ns_ring_bell): Reimplemented to use EmacsBell.
16009 2015-11-23  Johan Bockgård  <bojohan@gnu.org>
16011         * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
16013         (remove-function): Ditto. (Bug#20376)
16015 2015-11-23  Mark Oteiza  <mvoteiza@udel.edu>
16017         * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
16019 2015-11-23  Eli Zaretskii  <eliz@gnu.org>
16021         Improve how non-ASCII strings are accepted from modules
16023         * src/emacs-module.c (module_make_function, module_make_string):
16024         Build a unibyte Lisp string and then decode it by UTF-8, instead
16025         of building a multibyte string without decoding.  This is more
16026         tolerant to deviations from UTF-8.
16028 2015-11-23  Paul Eggert  <eggert@cs.ucla.edu>
16030         Port recent module changes to pickier compilers
16032         * src/emacs-module.c (module_make_function)
16033         (module_make_string): Add casts to fix pointer signedness issues.
16035 2015-11-23  Philipp Stephani  <phst@google.com>
16037         Fix how strings are accepted from modules
16039         * emacs-module.c (module_make_function, module_make_string): Use
16040         make_multibyte_string.
16041         (module_copy_string_contents): Encode before reading the byte
16042         size.  Return false if and only if an error occurred.
16044 2015-11-23  Eli Zaretskii  <eliz@gnu.org>
16046         Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
16048 2015-11-23  Shakthi Kannan  <shakthimaan@gmail.com>
16050         Add the tamil-dvorak input method
16052         * lisp/leim/quail/tamil-dvorak.el: New file.  (Bug#21768)
16054         * etc/NEWS: Mention the new input method.
16056 2015-11-23  Martin Rudalics  <rudalics@gmx.at>
16058         Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
16060         * src/frame.c (adjust_frame_size): Don't set
16061         FRAME_WINDOW_SIZES_CHANGED here ...
16062         * src/window.c (resize_frame_windows): ... but here, as suggested
16063         by Stefan Monnier.  Also remove some dead code along the way.
16065 2015-11-23  Alan Mackenzie  <acm@muc.de>
16067         * /etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
16069 2015-11-23  Alan Mackenzie  <acm@muc.de>
16071         Signal an error when `setf' gets an odd number of arguments.
16073         * lisp/emacs-lisp/gv.el (setf): Amend.
16075 2015-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16077         * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
16079 2015-11-23  Alan Mackenzie  <acm@muc.de>
16081         * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
16083 2015-11-23  Alan Mackenzie  <acm@muc.de>
16085         Expunge occurrences of `setq' with an odd number of arguments.
16087         * lisp/apropos.el (apropos-documentation):
16088         * lisp/obsolete/complete.el (PC-include-file-all-completions):
16089         * lisp/progmodes/compile.el (compilation-goto-locus):
16090         * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
16091         Insert missing nil at end of `setq' forms.
16093         * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
16094         erroneous trailing variable name from a setq, thus allowing a compilation
16095         properly to track functions not defined at runtime.
16097 2015-11-23  John Wiegley  <johnw@newartisans.com>
16099         Add a note about a questionable use of bool in xdisp.c
16101 2015-11-23  Alan Mackenzie  <acm@muc.de>
16103         Issue a warning from the byte compiler on a malformed `setq' form.
16105         Partly fixes bug#20241.
16106         * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
16107         `setq' form with an odd number of arguments is compiled.
16109 2015-11-23  Alan Mackenzie  <acm@muc.de>
16111         Don't let cconv_convert insert a nil argument into a `setq' form.
16113         Fixes bug#21983.
16114         * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
16115         argument into a `setq' when there're an odd number of args.  This enables the
16116         byte compiler to issue a message in this case.
16118 2015-11-23  Alan Mackenzie  <acm@muc.de>
16120         Signal an error when `setq' has an odd number of arguments.  Fixes bug#20241.
16122         * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
16123         (syms_of_eval): Add a DEFSYM for Qsetq.
16125 2015-11-23  Martin Rudalics  <rudalics@gmx.at>
16127         * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
16129         * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
16131 2015-11-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
16133         Add EUDC BBDB 3 entry in NEWS
16135         * NEWS: Mention EUDC BBDB backend support for BBDB 3.
16137 2015-11-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
16139         Improve EUDC to BBDB 3 export
16141         * eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
16142         entry to single item.  Add company conversion.
16143         * eudc-export.el (eudc-bbdbify-company): New function.
16144         (bbdb-parse-phone): Declare function.
16145         (eudc-bbdbify-phone): Add BBDB 3 support.
16146         (Bug#21971)
16148 2015-11-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
16150         Add BBDB 3 support for EUDC export
16152         * eudc.el: Add bbdb-version defvar.
16153         (eudc--using-bbdb-3-or-newer-p): New function.
16154         * eudc-export.el (eudc-create-bbdb-record): Add support for
16155         bbdb-create-internal argument list changes introduced in BBDB 3.
16156         * eudcb-bbdb.el: Remove bbdb-version defvar.
16157         (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
16158         (Bug#21971)
16160 2015-11-22  Eli Zaretskii  <eliz@gnu.org>
16162         Allow loading modules by 'load-file'
16164         * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
16165         2nd arg, to avoid the "binding stack not balanced" error.
16166         (syms_of_lread) <module-file-suffix>: New Lisp variable.
16168         * lisp/files.el (module-file-suffix): Declare.
16169         (load-file): Remove 'module-file-suffix' from
16170         'completion-ignored-extensions', to allow completion on modules.
16172         * etc/NEWS: Mention 'module-file-suffix'.
16174 2015-11-22  Eli Zaretskii  <eliz@gnu.org>
16176         Fix unoptimized builds
16178         * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
16179         builds.
16181 2015-11-22  Dmitry Gutov  <dgutov@yandex.ru>
16183         Work around the asynchronous-empty-diff problem
16185         * lisp/vc/vc-rcs.el (vc-rcs-diff):
16186         * lisp/vc/vc-mtn.el (vc-mtn-diff):
16187         * lisp/vc/vc-hg.el (vc-hg-diff):
16188         * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
16189         do a synchronous process call (bug#21969).
16191 2015-11-21  Karl Fogel  <kfogel@red-bean.com>
16193         Finish excising electric indent from `open-line'
16195         * lisp/simple.el (open-line): Remove INTERACTIVE argument.
16197         * test/automated/simple-test.el (open-line-indent, open-line-hook):
16198           Adjust accordingly.
16200         This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
16201         (git commit c59353896) started.  It turns out that having INTERACTIVE
16202         cause `post-self-insert-hook' to run (via `newline') meant `open-line'
16203         still had the electric indent behavior, as `post-self-insert-hook'
16204         normally contains `electric-indent-post-self-insert-function' ever
16205         since `electric-indent-mode' has been on by default.  Tracing the code
16206         change in `open-line' is mildly twisty, because Artur Malabarba's
16207         earliest two commits of 24 Oct 2015 first removed the `interactive'
16208         form entirely (git commit 6939896e2) and then restored it with the new
16209         extra "p" already added (git commit bd4f04f86), such that there is no
16210         single-commit diff in which one sees the second "p" appear.  Thus this
16211         change is effectively a reversion of parts of each of those commits.
16213         This could close bug#21884, at least until further discussion.
16215 2015-11-21  Dmitry Gutov  <dgutov@yandex.ru>
16217         Adhere closer to the "implicit tag name" definition
16219         * lisp/progmodes/etags.el (etags-tags-completion-table):
16220         Adhere closer to the "implicit tag name" definition.  Simplify
16221         the regexp.  Search for the explicit tag name first, and when
16222         not found, search locally for the implicit one.  (Bug#21934)
16224 2015-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16226         Unrevert most of regexp reentrancy abort patch
16228         The problem was in:
16229           * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
16230         which is hence not unreverted.
16231         The rest is:
16232         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
16233         (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
16234         All callers in regex.c changed back to the _FAST versions.
16236         * test/automated/message-mode-tests.el: Tweak the test to rely on auto
16237         propertization in backward-sexp.
16239 2015-11-21  Paul Eggert  <eggert@cs.ucla.edu>
16241         Revert regexp reentrancy abort patch
16243         Although the patch does fix Bug#21688 and prevents a core dump,
16244         it also makes the message-mode-propertize test fail; see:
16245         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
16246         Perhaps someone else can come up with a better fix some day.
16247         * src/syntax.c (update_syntax_table_forward):
16248         Propertize even when truncated.
16249         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
16250         (UPDATE_SYNTAX_TABLE_FAST): Remove.
16251         All callers changed back to the non-_FAST versions.
16253 2015-11-21  Paul Eggert  <eggert@cs.ucla.edu>
16255         Add a few safety checks when ENABLE_CHECKING
16257         This was motivated by the recent addition of module code,
16258         which added some ENABLE_CHECKING-enabled checks that are
16259         useful elsewhere too.
16260         * src/alloc.c (compact_font_cache_entry):
16261         * src/fns.c (sweep_weak_table):
16262         * src/lread.c (oblookup):
16263         Use gc_asize rather than doing it by hand.
16264         * src/emacs-module.c (module_make_global_ref)
16265         (module_free_global_ref, module_vec_size):
16266         Omit assertions that lisp.h now checks.
16267         * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
16268         check that the result is nonnegative.  Use eassume, as this
16269         info can help a bit when optimizing production code.
16270         (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
16271         to be consistent with the USE_LSB_TAG case.
16272         (gc_asize): New function, when ASIZE is needed in the gc.
16273         (gc_aset): Use it.
16274         (HASH_TABLE_P): Move definition up, so that it can be used ...
16275         (XHASH_TABLE): ... here, to assert that the arg is a hash table.
16277 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
16279         Simplify recording of main thread's ID on MS-Windows
16281         * src/w32term.c (w32_initialize):
16282         * src/w32console.c (initialize_w32_display):
16283         * src/w32fns.c (globals_of_w32fns): Don't record the main thread
16284         ID independently for each type of session (GUI, TTY, batch).
16285         * src/w32term.c (w32_init_main_thread): New function, records the
16286         main thread's thread ID.
16287         * src/w32term.h: Add prototype for w32_init_main_thread.
16288         * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
16290         * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
16291         main_thread, for consistency with other threading libraries.  All
16292         users changed.  Include w32term.h.
16293         (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
16294         make sure the main thread is alive, as we hold a handle on it
16295         opened by w32_init_main_thread.
16296         (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
16297         w32_init_main_thread, instead of calling the requisite APIs once
16298         more.
16300 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
16302         Call 'window-size-change-functions' for mini-windows
16304         * src/window.c (grow_mini_window, shrink_mini_window): Set the
16305         frame's 'window_sizes_changed' flag.
16306         * src/xdisp.c (redisplay_internal): Call the hooks on
16307         'window-size-change-functions' if the call to 'echo_area_display'
16308         sets the frame's 'window_sizes_changed' flag.
16309         (syms_of_xdisp) <window-size-change-functions>:
16310         Update doc string to indicate the mini-window resizes trigger a
16311         call to the hooks, and don't promise that will happen "before
16312         redisplay".  (Bug#19576, Bug#21333)
16314         * doc/lispref/windows.texi (Window Hooks): Update the description
16315         of 'window-size-change-functions'.
16317 2015-11-21  Eli Zaretskii  <eliz@gnu.org>
16319         Improve documentation of dynamic modules
16321         * src/fns.c (Frequire): Doc fix to include the dynamic module
16322         support.
16323         * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
16324         dynamic module support.
16325         (Fload): Treat the module suffix the same as '*.el' and '*.elc'
16326         wrt the MUST-SUFFIX argument.
16328         * etc/NEWS: Expand documentation of dynamically loaded modules.
16330 2015-11-21  Philipp Stephani  <phst@google.com>  (tiny change)
16332         Initial documentation for dynamic modules
16334         * etc/NEWS: Mention the new support for dynamically loaded modules.
16336 2015-11-20  Dmitry Gutov  <dgutov@yandex.ru>
16338         Add xref--etags-backend to xref-backing-functions using add-hook
16340         * lisp/progmodes/xref.el (xref-backend-functions): Move the
16341         default value into a separate `add-hook' call (bug#21964).
16343         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
16344         Don't declare the xref-backend-functions variable.
16345         It doesn't make any difference.
16347 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16349         Fix double-decrement bug when freeing global refs
16351         * src/emacs-module.c (module_free_global_ref): Add a FIXME
16352         comment about error reporting.  Fix a recently-introduced typo
16353         that double-decremented the refcount.
16355 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16357         Declare emacs_module_init in the module API
16359         * src/emacs-module.h (emacs_module_init): New decl.
16360         Without it, GCC might complain about a module that defines
16361         emacs_module_init without using it.  This also checks the
16362         API better.
16364 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16366         Fix module test to use ptrdiff_t nargs too
16368         * modules/mod-test/mod-test.c (Fmod_test_return_t)
16369         (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
16370         (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
16371         (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
16372         (Fmod_test_userptr_get, Fmod_test_vector_fill)
16373         (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
16374         (finalizer): Remove; no longer used.
16376 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16378         Fix reindent-introduced typo in module code
16380         * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
16381         introduced while reindenting the code earlier, and add a
16382         comment explaining the unusual use of do-while here.
16384 2015-11-20  Anders Lindgren  <andlind@gmail.com>
16386         Fixed bug#19576: `write-file' saves wrong buffer.
16388         If a function on the hook `window-size-change-functions' doesn't
16389         restore the current buffer, functions that save and restore the
16390         current window configuration (like `y-or-no-p') could silently
16391         change the current buffer.  When `write-file' asked the user
16392         confirmation to overwrite a file, `y-or-no-p' changed the current
16393         buffer, and the wrong buffer was saved to the file.
16395         * lisp/follow.el (follow-windows-start-end): Call `select-frame'
16396         using the `norecord' parameter.
16397         (follow-window-size-change): Restore current buffer. Call
16398         `select-frame' using the `norecord' parameter. Cleanup.
16400 2015-11-20  John Wiegley  <johnw@newartisans.com>
16402         Correct a documentation error in frames.texi
16404 2015-11-20  Stephen Leake  <stephen_leake@stephe-leake.org>
16406         * lisp/cedet/mode-local.el: Delete obsolete comment
16408 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16410         Module function arg counts are ptrdiff_t, not int
16412         * src/emacs-module.c (struct module_fun_env)
16413         (module_make_function, module_funcall, Fmodule_call):
16414         * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
16415         Use ptrdiff_t, not int, for arg counts.
16416         * src/emacs-module.c (module_make_function): Don’t bother
16417         checking arity against MOST_POSITIVE_FIXNUM, as that’s
16418         unnecessary here.  Make the checking clearer by negating it.
16419         (module_make_function, Fmodule_call): No need to use xzalloc
16420         since the storage doesn’t need to be cleared.
16421         (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
16422         for it, and many implementations are buggy with large VLAs anyway.
16423         Use SAFE_ALLOCA_LISP instead.
16424         (module_vec_set): Don’t crash if i < 0.
16425         (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
16426         (module_vec_set, module_vec_get): Do fixnum checks only when
16427         i is out of array bounds, for efficiency in the usual case.
16428         (Fmodule_load): Simplify fixnum range check.
16429         (Fmodule_call): Simplify arity check.  Use xnmalloc to detect
16430         integer overflow in array allocation size.
16432 2015-11-20  Eli Zaretskii  <eliz@gnu.org>
16434         Minor improvements in module test
16436         * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
16437         about missing prototype of malloc.
16438         * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
16439         compiler warnings.
16441 2015-11-20  Eli Zaretskii  <eliz@gnu.org>
16443         Improve MS-Windows implementation in dynlib.c
16445         * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
16446         No need to include windows.h, as w32.h already does that.
16447         <dynlib_last_err>: New static variable.
16448         (dynlib_reset_last_error): New function.
16449         (dynlib_open): Convert forward slashes to backslashes.  Convert
16450         file names from UTF-8 to either UTF-16 or the current ANSI
16451         codepage, and call either LoadLibraryW or LoadLibraryA.  If the
16452         argument is NULL, return a handle to the main module, like
16453         'dlopen' does.  Record the error, if any, for use by dynlib_error.
16454         (dynlib_sym): Check the handle for validity. Record the error, if
16455         any, for use by dynlib_error.
16456         (dynlib_error): Call w32_strerror to produce the error string, and
16457         zero out the last error code, like dlerror does.
16458         (dynlib_close): Check the handle for validity.  Record the error,
16459         if any, for use by dynlib_error.  Don't call FreeLibrary with a
16460         handle for the main module.
16461         * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
16463 2015-11-20  Paul Eggert  <eggert@cs.ucla.edu>
16465         Include-file tweaks for modules
16467         * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
16468         * src/dynlib.h: Do not include config.h.
16469         It’s every .c file’s responsibility to include config.h first.
16470         * src/emacs-module.c: Include emacs-module.h immediately after
16471         config.h, to test that emacs-module.h doesn’t depend on
16472         include files other than config.h.
16474 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16476         Simplify push_handler and profile its malloc
16478         * src/lisp.h (PUSH_HANDLER): Remove.
16479         All callers changed to use push_handler directly.
16480         * src/eval.c (internal_condition_case)
16481         (internal_condition_case_1, internal_condition_case_2)
16482         (internal_condition_case_n):
16483         Use same pattern as for other invokers of push_handler.
16484         (push_handler, push_handler_nosignal): Use call-by-value
16485         instead of call-by-reference.  All uses changed.
16486         (push_handler): Simplify by rewriting in terms of
16487         push_handler_nosignal.
16488         (push_handler_nosignal): Profile any newly allocated memory.
16490 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16492         * src/emacs-module.h: Include stddef.h, not stdlib.h.
16494 2015-11-19  Juanma Barranquero  <lekktu@gmail.com>
16496         Discover repository version in linked worktrees (bug#21930)
16498         * lisp/version.el (emacs-repository--version-git-1): Do not assume
16499         HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
16500         (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
16501         is nil too.
16503 2015-11-19  Juri Linkov  <juri@linkov.net>
16505         * lisp/replace.el (occur-regexp-descr): New function.
16506         (occur-1, occur-engine): Use it.
16508         * lisp/isearch.el (isearch-occur): Propertize regexp with
16509         isearch-string and isearch-regexp-function-descr for
16510         occur-regexp-descr to display the correct description
16511         message in the header (bug#21176, bug#21180).
16513 2015-11-19  Karl Fogel  <kfogel@red-bean.com>
16515         Revert `open-line' electric-indent sensitivity
16517         * lisp/simple.el (open-line): Remove electric indent code.
16518           (electric-indent-just-newline): Don't declare.
16520         * test/automated/simple-test.el (open-line-indent): Adjust test.
16522         This partly reverts Artur Malabarba's change that added electric
16523         indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
16524         commit bd4f04f86), and adjusts a new test he added right afterwards
16525         (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
16526         However, the new INTERACTIVE argument to `open-line', which he also
16527         added in the first commit, is not reverted here.
16529         See the thread "Questioning the new behavior of `open-line'." on the
16530         Emacs Devel mailing list, and in particular this message:
16532           From: Artur Malabarba
16533           Subject: Re: Questioning the new behavior of `open-line'.
16534           To: Karl Fogel
16535           Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
16536           Date: Wed, 18 Nov 2015 21:03:58 +0000
16537           Message-ID: \
16538             <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
16540           https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
16542 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16544         Omit unnecessary clear in Fmodule_load
16546         * src/emacs-module.c (Fmodule_load):
16547         Simplify and avoid unnecessary initialization of priv member to 0.
16549         * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
16551 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16553         Prefer signed integer types in module code
16555         Generally speaking, at the C level the Emacs source code prefers
16556         signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
16557         partly to avoid the usual signedness confusion when comparing values.
16558         Change the module API to follow this convention.
16559         Use ‘int’ for small values that can’t exceed INT_MAX.
16560         * modules/mod-test/mod-test.c (Fmod_test_globref_make)
16561         (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
16562         (Fmod_test_vector_eq):
16563         * src/emacs-module.c (struct emacs_value_frame)
16564         (module_make_global_ref, module_free_global_ref)
16565         (module_copy_string_contents, module_make_string)
16566         (module_vec_set, module_vec_get, module_vec_size):
16567         * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
16568         * src/lread.c (suffix_p):
16569         Prefer signed to unsigned integer types.
16571 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16573         Omit ‘const’ on locals
16575         Remove ‘const’ qualifier from locals that were newly added.
16576         We don’t normally bother declaring locals with ‘const’ even
16577         though they are not modified, for the same reason we don’t
16578         bother declaring them with ‘register’ even though their
16579         addresses are not taken; the advantage in compile-time
16580         checking isn’t worth the loss of readability.
16581         * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
16582         (Fmod_test_vector_fill, Fmod_test_vector_eq):
16583         * src/emacs-module.c (MODULE_SETJMP_1)
16584         (module_make_global_ref, module_free_global_ref)
16585         (module_non_local_exit_get, module_make_function)
16586         (module_extract_integer, module_extract_float)
16587         (module_get_user_ptr, module_set_user_ptr)
16588         (module_get_user_finalizer, module_set_user_finalizer)
16589         (module_vec_get, Fmodule_call)
16590         (module_non_local_exit_signal_1)
16591         (module_non_local_exit_throw_1, lisp_to_value)
16592         (finalize_storage, allocate_emacs_value, mark_modules)
16593         (module_handle_signal, module_handle_throw)
16594         (module_format_fun_env):
16595         * src/eval.c (push_handler, push_handler_nosignal)
16596         (init_handler):
16597         * src/lread.c (suffix_p):
16598         Omit unnecessary ‘const’.
16600 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16602         Prefer intmax_t to int64_t in module code
16604         * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
16605         * src/emacs-module.c (module_extract_integer)
16606         (module_make_integer):
16607         * src/emacs-module.h (struct emacs_env_25):
16608         Prefer intmax_t to int64_t.  This doesn’t change the generated
16609         code on any of the machines Emacs currently ports to, but it’s
16610         at least in theory more future-proof as C99 doesn’t guarantee
16611         that int64_t exists.
16613 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16615         Rename module.c to emacs-module.c, etc.
16617         * src/emacs-module.c: Rename from src/module.c.
16618         * src/emacs-module.h: Rename from src/module.h.
16619         All uses changed.
16621 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16623         Fix minor module problems found by static checking
16625         * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
16626         * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
16627         * src/module.c (Fmodule_load): Fix pointer signedness bug.
16628         (Fmodule_call): Tell GCC that the default case is unreachable.
16630 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16632         Style fixes for indenting etc. in module code
16634         This is mostly indenting and spacing changes.  Also, remove
16635         some unnecessary static decls instead of bothering to reindent them.
16636         * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
16637         as most other Emacs files do for this sort of thing.
16639 2015-11-19  Eli Zaretskii  <eliz@gnu.org>
16641         Minor improvements in modules testing Makefile
16643         * modules/mod-test/Makefile (EMACS, SO): New variables.
16644         (CFLAGS): When SO = dll, don't use -fPIC.
16645         (check): New target, runs the test.
16647 2015-11-19  Eli Zaretskii  <eliz@gnu.org>
16649         * .gitignore: Add "*.dll".
16651 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16653         Migrate modules/.gitignore into .gitignore
16655         * .gitignore: Add former contents of modules/.gitignore.
16656         * modules/.gitignore: Remove.
16658 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16660         Add copyright notices to module code
16662         Put them in the usual format for GNU Emacs copyright notices.
16664 2015-11-19  Paul Eggert  <eggert@cs.ucla.edu>
16666         Rename emacs_module.h to module.h
16668         * src/module.h: Rename from src/emacs_module.h.
16669         All uses changed.
16671 2015-11-19  Juanma Barranquero  <lekktu@gmail.com>
16673         * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
16675         * src/lread.c (Fload): Remove unused variable `size'
16677 2015-11-19  Alan Mackenzie  <acm@muc.de>
16679         src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
16681 2015-11-18  Dmitry Gutov  <dgutov@yandex.ru>
16683         Prioritize looking inside vc-parent-buffer over log-view-mode fallback
16685         * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
16686         vc-parent-buffer over log-view-mode fallback (bug#21955).
16688 2015-11-18  Alan Mackenzie  <acm@muc.de>
16690         lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
16692 2015-11-18  Ken Brown  <kbrown@cornell.edu>
16694         * configure.ac (LIBMODULES): Don’t define on Cygwin
16696 2015-11-18  Eli Zaretskii  <eliz@gnu.org>
16698         Fix MS-Windows build --with-modules
16700         * src/module.c: Reformat copyright commentary.
16701         (module_vec_get): Use explicit cast to size_t to avoid compiler
16702         warning in 32-bit builds.
16703         (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
16704         Compare thread IDs directly, as GetThreadId is not available
16705         before Windows Vista.
16706         (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
16707         without using APIs and constants not available on XP and older
16708         systems.  Obtain and store the thread ID as well.
16710 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16711             Philipp Stephani  <phst@google.com>
16713         Add dynamic module test and helper script
16715         Add 'modhelp.py' script (python2) to automate module testing and
16716         module generation.
16718         To build and test all modules in the modules/ dir
16719           $ ./modhelp.py test
16721         To generate a module from template code (good starting point)
16722           $ ./modhelp init mynewtestmodule
16724         See the script -h option for more documentation.
16726         * modules/modhelp.py: New module helper script.
16727         * modules/mod-test/Makefile: New file. Makefile for the test module.
16728         * modules/mod-test/mod-test.c: New file. Test module source file.
16729         * modules/mod-test/test.el: New file. ert test suite for the test module.
16730         * modules/.gitignore: New file. Local .gitignore file.
16732 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16734         Make 'Fload' look for modules
16736         'Fload' can now load dynamic modules. This also makes 'require' work.
16738         * src/lread.c:
16739           (suffix_p): New function.
16740           (Fload): Use 'suffix_p'.  Call 'Fmodule_load' when we try to load a file
16741           with a module suffix.
16742           (syms_of_lread): Append module suffix to 'Vload_suffixes'.
16744 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16745             Philipp Stephani  <phst@google.com>
16747         Add dynamic module module support
16749         * configure.ac: Add '--with-modules' option.  Conditionally add
16750           dynlib.o and module.o to the list of objects.  Add any system
16751           specific flags to the linker flags to support dynamic libraries.
16752         * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
16753           attributes.
16754         * src/Makefile.in: Conditionally add module objects and linker flags.
16755         * src/alloc.c (garbage_collect_1): protect module local values from
16756           GC.
16757         * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
16758         * src/emacs_module.h: New header file included by modules.  Public
16759           module API.
16760         * src/module.c: New module implementation file.
16762 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16764         Add new User Pointer (User_Ptr) type
16766         * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
16767         (XUSER_PTR): New User_Ptr accessor.
16768         * src/alloc.c (make_user_ptr): New function.
16769         (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
16770         * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
16771         (Fuser-ptrp): New user pointer type predicate function.
16772         (syms_of_data): New 'user-ptrp', 'user-ptr' symbol.  New 'user-ptrp'
16773         subr.
16774         * src/print.c (print_object): Add printer for User_Ptr type.
16776 2015-11-18  Aurélien Aptel  <aurelien.aptel@gmail.com>
16777             Philipp Stephani  <phst@google.com>
16779         Add portable layer for dynamic loading
16781         * src/dynlib.h: New file.
16782         * src/dynlib.c: New file.
16784 2015-11-18  Philipp Stephani  <phst@google.com>
16786         Add catch-all & no-signal version of PUSH_HANDLER
16788         Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
16789         a new "catch-all" handler type.
16791         * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
16792           functions.
16793         * src/fns.c (hash_remove_from_table): Expose function public.
16794         * src/lisp.h: New handler type, define macro to push_handler call.
16796 2015-11-18  Ken Brown  <kbrown@cornell.edu>
16798         Silence byte-compiler warning
16800         * lisp/server.el (server-process-filter): Silence byte-compiler
16801         warning.
16803 2015-11-18  Paul Eggert  <eggert@cs.ucla.edu>
16805         Quote symbols in docstrings using `'
16807         Be more systematic about quoting symbols `like-this' rather than
16808         `like-this or 'like-this' in docstrings.  This follows up Artur
16809         Malabarba's email in:
16810         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
16812 2015-11-18  Peder O. Klingenberg  <peder@klingenberg.no>
16814         Fix savegames in dunnet
16816         * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
16817           of separate implementation.
16819 2015-11-18  Artur Malabarba  <bruce.connor.am@gmail.com>
16821         * lisp/emacs-lisp/package.el (package--with-response-buffer):
16823         Ensure we're at the start of the buffer before searching for
16824         the end of headers.
16826 2015-11-17  Xue Fuqiao  <xfq.free@gmail.com>
16828         * admin/release-process: Improve wording.
16830 2015-11-17  Paul Eggert  <eggert@cs.ucla.edu>
16832         Fix docstring quoting problems with ‘ '’
16834         Problem reported by Artur Malabarba in:
16835         http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
16836         Most of these fixes are to documentation; many involve fixing
16837         longstanding quoting glitches that are independent of the
16838         recent substitute-command-keys changes.  The changes to code are:
16839         * lisp/cedet/mode-local.el (mode-local-augment-function-help)
16840         (describe-mode-local-overload):
16841         Substitute docstrings before displaying them.
16842         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
16843         Quote the generated docstring for later substitution.
16845 2015-11-17  Eli Zaretskii  <eliz@gnu.org>
16847         Improve configure --help text for wide ints
16849         * configure.ac (wide-int): Clarify user-level advantages and
16850         disadvantages.
16852 2015-11-17  Stephen Leake  <stephen_leake@stephe-leake.org>
16854         Improve doc string
16856         * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
16858 2015-11-17  Paul Eggert  <eggert@cs.ucla.edu>
16860         eval_sub followed dangling pointer when debugging
16862         Problem reported by Pip Cet (Bug#21245).
16863         This bug could occur in eval_sub if the C compiler reused
16864         storage associated with the ‘argvals’ local after ‘argvals’
16865         went out of scope, and if the Elisp debugger stopped on Elisp
16866         function exit and accessed ‘argvals’.  It could also occur if
16867         a variadic function was called with so many arguments (over
16868         2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
16869         SAFE_FREE freed the arguments, then the memory manager used
16870         the storage for other purposes, then the debugger accessed the
16871         arguments.
16872         * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
16873         function body.  Simplify local decls.
16874         When allocating args via SAFE_ALLOCA, call
16875         debugger before invoking SAFE_FREE, as the debugger needs
16876         access to the args.
16877         (eval_sub, apply_lambda): Rework to avoid need for
16878         set_backtrace_debug_on_exit hack.  This is cleaner,
16879         and should work better with buggy custom debuggers.
16881 2015-11-16  Daiki Ueno  <ueno@gnu.org>
16883         * lisp/image-mode.el: Support encrypted file
16885         (image-toggle-display-image): Read content from the buffer instead
16886         of the file, if the buffer holds a decrypted data.  (Bug#21870)
16888 2015-11-16  Paul Eggert  <eggert@cs.ucla.edu>
16890         ELF unexec: align section header
16892         This ports the recent unexelf.c changes to Fedora x86-64
16893         when configured with GCC’s -fsanitize=undefined option.
16894         * src/unexelf.c (unexec): Align new_data2_size to a multiple
16895         of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
16896         pointer aligned appropriately for its type.
16898 2015-11-16  Andreas Schwab  <schwab@linux-m68k.org>
16900         Do more checks on bytecode objects (Bug#21929)
16902         * src/eval.c (funcall_lambda): Check size of compiled function
16903         object.
16904         (Ffetch_bytecode): Likewise.
16906 2015-11-16  Johan Bockgård  <bojohan@gnu.org>
16908         pcase.el: Fix edebugging of backquoted cons patterns
16910         * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
16911         cons patterns. (Bug#21920)
16913 2015-11-16  Paul Eggert  <eggert@cs.ucla.edu>
16915         Improve fix for regex reentrancy abort
16917         Suggested by Stefan Monnier (Bug#21688).
16918         * src/syntax.c (update_syntax_table_forward):
16919         Remove recently-added PROPERTIZE arg, and assume it is true.
16920         All callers changed.
16921         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
16922         Invoke update_syntax_table directly.
16924 2015-11-16  Artur Malabarba  <bruce.connor.am@gmail.com>
16926         * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
16928         * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
16930         * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
16932 2015-11-15  Vasily Korytov  <vasily.korytov@yahoo.com>
16934         Recognize .rbw and .pyw files (bug#18753)
16936         * lisp/progmodes/python.el (auto-mode-alist):
16937         Recognize .pyw files.
16939         * lisp/progmodes/ruby-mode.el (auto-mode-alist):
16940         Recognize .rbw files.
16942 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16944         Fix ruby-mode auto-mode-alist entry
16946         * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
16947         around the extensions (bug#21257).
16949 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16951         Fix etags completion near eob
16953         * lisp/progmodes/etags.el (tags-completion-at-point-function):
16954         Use `goto-char', to avoid the end-of-buffer error (bug#20061).
16956 2015-11-15  Alan Mackenzie  <acm@muc.de>
16958         De-pessimize detection of C++ member initialization lists.
16960         list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
16961         (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
16962         is only called when a construct "looks right" rather than continually.
16963         (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
16965 2015-11-15  Stephen Leake  <stephen_leake@stephe-leake.org>
16967         Improve a few doc strings, comments
16969         * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
16970         * lisp/cedet/ede/locate.el (ede-locate-base):
16971         * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
16972         * src/fns.c (Fdelq): Improve doc string.
16974         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
16976 2015-11-15  Anders Lindgren  <andlind@gmail.com>
16978         Enhance NSTRACE (trace output for NextStep).
16980         Trace can be disabled for groups of functions. By default, event
16981         functions and functions that generate lots of output are disabled.
16983         Trace output of Objective-C functions now use the "[ClassName
16984         parameter:]" form.
16986         * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
16987         (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
16988         (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
16989         controlling in which function groups trace should be active.
16990         (NSTRACE_WHEN): Support for silencing a function, this also
16991         silencing all called functions.
16992         (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
16993         (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
16994         print the full screen state in NSTRACE functions.
16996         * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
16997         can be accessed from multiple threads.
16998         (nstrace_enabled_global): New variable, when FALSE, trace is
16999         silenced.
17000         (nstrace_restore_global_trace_state): New function, used to
17001         restore `nstrace_enabled_global' at end of block.
17002         ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
17003         ([EmacsWindow setFrame:display:animation:])
17004         ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
17005         and call corresponding super function.
17006         (Many functions): Add or enhance trace output.
17008         * src/nsimage.m (ns_image_from_file): Enhanced trace output.
17010         * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
17012         * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
17013         and call corresponding super function.
17015 2015-11-15  Anders Lindgren  <andlind@gmail.com>
17017         Fixed a toolbar related issue on OS X.
17019         Earlier, when toggling the tool-bar in a maximized frame, the
17020         frame size didn't match the number of text lines, leaving an
17021         unused area at the bottom of the frame.
17023         * nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
17024         fullscreen modes when tool bar is disabled.
17026 2015-11-15  Anders Lindgren  <andlind@gmail.com>
17028         Fixed OS X 10.6.8 build issue (bug#21862).
17030         * src/nsterm.h (EmacsView): Add missing declarations.
17031         * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
17032         the standard method but without the notification parameter.
17033         Intended to be used for direct calls.
17034         ([EmacsView windowDidEnterFullScreen]): Call the non-notification
17035         version of `windowDidBecomeKey'. Made the notification method call
17036         the non-notification method instead of the vice versa.
17037         (NSWindowDidEnterFullScreenNotification): Deleted, no longer
17038         needed.
17040 2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>
17042         * lisp/faces.el (faces--attribute-at-point): Fix an issue
17044         Previous code would signal an error when the face at point was
17045         a manually built list of attributes such as '(:foregroud "white").
17047         * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
17049 2015-11-15  Paul Eggert  <eggert@cs.ucla.edu>
17051         Fix regex abort when it tries to reenter itself
17053         Problem reported by Ken Raeburn.
17054         Solution suggested by Stefan Monnier (Bug#21688).
17055         * src/regex.c (re_match_2_internal):
17056         Use new _FAST functions to avoid regex code reentering itself.
17057         * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
17058         All callers changed.
17059         * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
17060         (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
17062 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
17064         Improve Ruby 1.9-style keyword keys highlighting
17066         * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
17067         Handle required keyword arguments (bug#21367).
17068         And highlight the colon together with the name.
17070 2015-11-15  Dmitry Gutov  <dgutov@yandex.ru>
17072         Unify the absolutely equal xref-backend-references implementations
17074         * lisp/progmodes/elisp-mode.el (xref-backend-references):
17075         Remove.
17077         * lisp/progmodes/etags.el (xref-backend-references):
17078         Remove.
17080         * lisp/progmodes/xref.el (xref-backend-references):
17081         Define the default implementation.
17083 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
17085         Update project-find-regexp for the new xref API
17087         * lisp/progmodes/project.el (project--read-regexp):
17088         Update to use the new xref API methods.
17090         * lisp/progmodes/xref.el (xref-find-backend): Autoload.
17092 2015-11-14  Dmitry Gutov  <dgutov@yandex.ru>
17094         Fix replacing a match with a shorter string
17096         In effect, partially reverting fe973fc.
17098         * lisp/progmodes/xref.el (xref-query-replace): Store the end
17099         of each match as a marker again, instead of length.
17100         (xref--query-replace-1): Update accordingly.
17102 2015-11-14  Artur Malabarba  <bruce.connor.am@gmail.com>
17104         * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
17106         Signal user-errors instead.
17108 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
17110         Document 'describe-symbol'
17112         * doc/emacs/help.texi (Help Summary): Mention "C-h o".
17113         (Name Help): Document "C-h o" and describe-symbol.
17115         * lisp/help-fns.el (describe-symbol): Doc fix.
17117 2015-11-14  Paul Eggert  <eggert@cs.ucla.edu>
17119         Change test name to avoid spellcheck issue.
17121 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
17123         Avoid signaling an error in 'describe-symbol'
17125         * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
17126         exists as a function/variable/face/etc., but is undocumented.
17128         * test/automated/help-fns.el (help-fns-test-describe-symbol): New
17129         test.
17131 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
17133         * INSTALL (--with-cairo): Document this new configure option.
17135 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
17137         Document that GNU Make >= 3.81 is required to build Emacs
17139         * doc/lispref/internals.texi (Building Emacs): Document that GNU
17140         Make 3.81 or later is now required.
17142 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
17144         * CONTRIBUTE (Branches): Improve wording for back-ported commits.
17146 2015-11-13  l3thal  <kwhite@gnu.org>
17148         Merge branch 'erc-async-reconnect' into emacs-25
17150         Reconnect asynchronously.
17152 2015-11-11  Alan Mackenzie  <acm@muc.de>
17154         First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.
17156         doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
17157         Windows" and new @defun selected-window-group.
17158         (Window Start and End): Describe new &optional parameter GROUP and
17159         ...-group-function for window-start, window-end, set-window-start, and
17160         pos-visible-in-window-p.
17161         (Textual Scrolling) Describe the same for recenter.
17162         doc/lispref/positions.texi (Screen Lines): Describe the same for
17163         move-to-window-line.
17165         src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
17166         (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
17167         new optional parameter "group".  At the beginning of each, check whether the
17168         corresponding ...-group-function is set to a function, and if so execute this
17169         function in place of the normal processing.
17170         (syms_of_window): Define symbols for the six new variables below.
17171         (window-start-group-function, window-end-group-function)
17172         (set-window-start-group-function, recenter-group-function)
17173         (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
17174         New permanent local buffer local variables.
17175         src/keyboard.c (Fposn_at_point): Add extra parameter in call to
17176         Fpos_visible_in_window_p.
17178         lisp/window.el (selected-window-group-function): New permanent local buffer
17179         local variable.
17180         (selected-window-group): New function.
17182         lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
17183         enable, kill them at mode disable.  Add/remove follow-after-change to/from
17184         after-change-functions.
17185         (follow-start-end-invalid): New variable.
17186         (follow-redisplay): Manipulate follow-start-end-invalid.
17187         (follow-after-change, follow-window-start, follow-window-end)
17188         (follow-set-window-start, follow-pos-visible-in-window-p)
17189         (follow-move-to-window-line, follow-sit-for): New functions.
17191         lisp/isearch.el (isearch-call-message): New macro.
17192         (isearch-update, with-isearch-suspended, isearch-del-char)
17193         (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
17194         (with-isearch-suspended): Rearrange code such that isearch-call-message is
17195         invoked before point is moved.
17196         (isearch-message): Add comment about where point must be at function call.
17197         (isearch-search): Remove call to isearch-message.
17198         (isearch-lazy-highlight-window-group): New variable.
17199         (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
17200         the battery of tests to ...
17201         (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
17202         Note: (sit-for 0) is still called.
17203         (isearch-lazy-highlight-update): Check membership of
17204         isearch-lazy-highlight-window-group.  Don't set the `window' overlay
17205         property.
17206         (isearch-update, isearch-done, isearch-string-out-of-window)
17207         (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
17208         (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
17209         (isearch-lazy-highlight-update): Call the six amended primitives (see
17210         src/window.c above) with the new `group' argument set to t, to cooperate
17211         with Follow Mode.
17213 2015-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
17215         * shr.el (shr-descend): Allow using lambdas in external functions.
17217 2015-12-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17219         * admin/gitmerge.el: Tweaks that seemed necessary
17221         * admin/gitmerge.el (gitmerge-skip-regexp): Remove "sync".
17222         (gitmerge-maybe-resume): Provide explicit empty commit message.
17224 2015-12-25  Łukasz Stelmach  <stlman@poczta.fm>  (tiny change)
17226         Use a different port for TLS erc
17228         * lisp/erc/erc.el (erc-default-port-tls): New variable
17229         (bug#19497).
17230         * lisp/erc/erc.el (erc-tls): Use it.
17232 2015-12-25  Alain Schneble  <a.s@realize.ch>
17234         Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
17236         * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
17237         * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
17238         * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
17239         information in URL-struct.
17240         * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
17241         path and query into nil path and query, respectively.
17242         * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
17243         empty path into an absolute ("/") path.
17244         * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
17245         fragment-only URIs. Do not just return them unchanged.
17246         * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
17247         reference URI should not drop the last segment.
17249 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17251         Let url use default file modes when copying files
17253         * lisp/url/url-handlers.el (url-copy-file): Use default file
17254         modes when copying files (bug#11400).
17256 2015-12-25  Devon Sean McCullough  <Emacs-Hacker2012@jovi.net>
17258         Doc fix for url-http
17260         * lisp/url/url-http.el (url-http): Document better return values
17261           (bug#13187) (tiny change)
17263 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17265         * eww.el (eww-display-html): Support <button> tags (bug#20485).
17267 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17269         Made ffap-url-p a defun instead of a defsubst
17271         * lisp/ffap.el (ffap-url-p): Change from defsusbt to defun,
17272         since there doesn't seem to be much of a reason for it to be a
17273         defsubst (bug#18203).
17275 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17277         Add a command to view files in the browser to dired
17279         * lisp/dired.el (dired-mode-map): Add the `W' command
17280         (bug#18810).
17282 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17284         Allow http://user:pass@foo/ URLs again
17286         * lisp/url/url-auth.el (url-basic-auth): Allow explicit
17287         user/passwords in URLs (bug#19046).
17289 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17291         * eww.el (eww-mode-map): Fix command name of eww-toggle-colors.
17293 2015-12-25  Samer Masterson  <samer@samertm.com>
17295         Autoload url-insert-buffer-contents
17297         * lisp/url/url-handlers.el: Add autoload cookie so that
17298         `package-list-packages' doesn't bug out (bug#21927) (tiny change)
17300 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17302         Allow toggling colors in eww
17304         * doc/misc/eww.texi (Basics): Mention "C".
17306         * lisp/net/eww.el (eww-toggle-colors): New command and keystroke.
17308         * lisp/net/shr.el (shr-use-colors): New variable.
17309         (shr-colorize-region): Use it.
17311 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17313         Follow meta refresh tags in eww
17315         * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
17317 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17319         More eww file name coding fixes
17321         * eww.el (eww-decode-url-file-name): Use the base coding
17322         system to check for encodability.
17324 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17326         Always save eww history
17328         * eww.el (eww-setup-buffer): Always save history, even when
17329         called from outside the eww buffer (bug#19638).
17331 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17333         Default web pages to right-to-left
17335         * eww.el (eww-mode): Most web pages are left-to-right, so make
17336         that the default (bug#19801).
17338         * shr.el (shr-tag-html): Respect "dir" attributes
17339         (left-to-right, right-to-left).
17341 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17343         Make toggling checkboxes work again
17345         * eww.el (eww-update-field): Make toggling checkboxes work
17346         again (bug#21881).
17348 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17350         Don't store cookies with empty names
17352         * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
17353         cookies with empty names (bug#21936).
17355 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17357         * shr.el (shr-descend): Stop rendering before we run out of
17358         specpdl room (bug#22117).
17360 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17362         Use cl-reduce, not reduce.
17364 2015-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
17366         Allow several <tbody> tags in shr
17368         * shr.el (shr-table-body): New function to find the real body
17369         of a table.
17370         (shr-tag-table): Use it to render several <tbody> tags in a
17371         table (bug#22170).
17373 2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
17375         Make prettier unique file names in eww
17377         (eww-make-unique-file-name): Make unique file names by making
17378         files like foo(2).jpg instead of foo(1)(2).jpg.
17380 2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
17382         Decode hex-encoded URLs before using them as file names
17384         * eww.el (eww-decode-url-file-name): New function.
17385         (eww-download-callback): Use it to decode file names before
17386         saving them.
17388 2015-12-24  Ashish SHUKLA  <ashish.is@lostca.se>  (tiny change)
17390         * doc/misc/emacs-gnutls.texi (Help For Users): Document FreeBSD bundle.
17391         * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
17393 2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
17395         Allow overriding shr functions from eww
17397         * eww.el (eww-display-html): Allow overriding elements in
17398         `shr-external-rendering-functions'.
17400 2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
17402         Ignore invalid SVG images
17404         * shr.el (shr-tag-svg): Ignore SVG images that have no width
17405         or height, because these can't be displayed by ImageMagick,
17406         anyway.
17408 2015-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
17410         shr table rendering fix
17412         * shr.el (shr-tag-table): Allow rendering body-less tables
17413         that have headers.
17415 2015-12-22  Sam Steingold  <sds@gnu.org>
17417         clipboard should still work even if interprogram-* is disabled
17419         (clipboard-yank): When `interprogram-cut-function' is nil,
17420         bind it to `gui-selection-value' - the default value.
17421         (clipboard-kill-region, clipboard-kill-ring-save): When
17422         `interprogram-paste-function' is nil, bind it to `gui-select-text' -
17423         the default value.
17425 2015-12-18  Phillip Lord  <phillip.lord@russet.org.uk>
17427         Fix bootstrap issue with dired-loaddefs
17429         * lisp/dired.el: Autoloads for secondary files loaded optionally.
17431 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17433         dired generate autoloads to non-versioned file.
17435         * lisp/dired.el: Remove autoloads.
17436         * lisp/Makefile.in: Add dired to autogenel.
17437         * lisp/dired-aux.el,lisp/dired-x.el: Update file local.
17438         * test/lisp/dired-tests.el: Add new test.
17440 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17442         eieio generate autoloads to non-versioned file.
17444         * lisp/Makefile.in: eieio-loaddefs add to autogenel.
17445         * lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
17446           Remove autoloads.
17447         * lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
17448           lisp/emacs-lisp/eieio-opt.el: Update file local.
17449         * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.
17451 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17453         htmlfontify generate autoload to non-versioned file.
17455         * lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
17456         * lisp/hfy-cmap.el: Update file local.
17457         * lisp/htmlfontify.el: Remove autoloads, add require.
17458         * test/lisp/htmlfontify-tests.el: Test autoload functionality.
17460 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17462         ibuffer generate autoloads to non-versioned file.
17464         * lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
17465         * lisp/ibuf-ext.el: Update file local.
17466         * lisp/ibuffer.el: Remove autoloads and add a require.
17467         * test/lisp/ibuffer-tests.el: Test that autoload is working.
17469 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17471         rmail generate autoloads to non-versioned file.
17473         * lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
17474         * lisp/mail/rmail.el: Remove autoloads, add require.
17475         * lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
17476           lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
17477           lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
17478           lisp/mail/undigest.el: Update file-local.
17479         * test/lisp/mail/rmail-tests.el:
17481 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17483         Add autoload-force target.
17485         * lisp/Makefile.in (autoload-force): New target.
17487 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17489         ps-print generate autoloads to non versioned file.
17491         * lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
17492         * lisp/ps-print.el: Remove autoloads.
17493         * lisp/ps-mule.el: Update file-local.
17494         * test/lisp/ps-print-tests.el: Test autoload functionality.
17496 2015-12-17  Phillip Lord  <phillip.lord@russet.org.uk>
17498         reftex generate autoloads to non versioned file.
17500         * lisp/Makefile.in: Add reftex-loaddefs to autogen files
17501         * lisp/textmodes/reftex.el: Remove autoloads.
17502         * lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
17503           lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
17504           lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
17505           lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
17506           lisp/textmodes/reftex-toc.el: Update autoload file-local.
17507         * test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
17508           function.
17510 2015-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17512         * lisp/calculator.el (calculator-define-key): Undo last change
17514         Make map argument mandatory instead (bug#22106).
17515         (calculator-add-operators): Pass the argument that's not optional any more.
17517 2015-12-03  Glenn Morris  <rgm@gnu.org>
17519         * Makefile.in: Avoid duplication.
17521         (have-tests): New rule.
17522         (check, check-maybe): Use it.
17524 2015-12-02  Phillip Lord  <phillip.lord@russet.org.uk>
17526         make check unconditional, check-maybe top-level.
17528          * Makefile.in: Add check-maybe target.
17529          * test/Makefile.in: Restore unconditional behavior to make check.
17531 2015-12-01  Phillip Lord  <phillip.lord@russet.org.uk>
17533         Tests now support out-of-source-build.
17535          * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
17536            about current working directory.
17538 2015-12-01  Artur Malabarba  <bruce.connor.am@gmail.com>
17540         * lisp/emacs-lisp/let-alist.el: Now an Elpa :core package
17542 2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>
17544         Improve documentation and clean up.
17546          * test/Makefile.in: Improve documentation, use EMACS variable
17547            correctly, and clean up makefile rules.
17549 2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>
17551         Update file headers for name change.
17553          * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.
17555 2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>
17557         Test files renamed to new scheme.
17559          * (finalizer-tests.el): Now renamed alloc-tests.el
17560          * (zlib-tests.el): Now renamed decompress-tests.el.
17562 2015-11-30  Phillip Lord  <phillip.lord@russet.org.uk>
17564         Tests now depend on source files
17566          * test/Makefile.in: Include dependences from tests to source files.
17567          * test/make-test-deps.emacs-lisp: New file
17568          * .gitignore: Ignore generated make include file
17570 2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17572         * lisp/progmodes/which-func.el: Improve disabling the mode
17574         Use lexical-binding.
17575         (which-func-modes, which-func-non-auto-modes, which-func-maxout)
17576         (which-func, which-func-format): Remove redundant :group arg.
17577         (which-func-try-to-enable): New function.
17578         (which-func-ff-hook, which-function-mode): Use it.
17579         (mode-line-misc-info): Add ourselves here instead of in bindings.el.
17580         * lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.
17582 2015-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17584         * lisp/calculator.el (calculator-define-key): Silence warning
17586         ...about unknown calculator-mode-map.
17588 2015-11-29  Eli Barzilay  <eli@barzilay.org>
17590         * lisp/calculator.el: more improvements and bugfixes.
17592         - Mark `calculator-paste-decimals' as obsolete.  (It wasn't having an
17593           effect anyway.)
17595         - Simplify `calculator-number-to-string' by throwing most of the work
17596           onto `number-to-string', leaving just some tweaks for decimal inputs.
17597           This leads to some minor changes, for example, pasting "1x1" in hex
17598           mode would warn that "x" is ignored and result in "11" (and it wasn't
17599           done in decimal mode), whereas now it just ignores everything from the
17600           "x" and on and result in a "1" just like in decimal input mode.  Also,
17601           overflows are left for `number-to-string' to deal with.
17603         - `calculator-paste' is very simple as a result.
17605         - Extend the simplified `calculator-paste': with a prefix argument it
17606           pastes a string as if the characters were entered.  This can be used
17607           to reduce expressions, but note that it's a simple literal operation,
17608           so precedence can be messed, a number can be paster while entering a
17609           number, spaces and newlines matter, etc.
17611         - Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
17612           operator.
17614         - Fix a bug in `calculator-put-value': avoid grouping in the display
17615           that is used to construct `calculator-curnum'.  This would trigger
17616           when pasting or getting a value from a register in some radix mode
17617           with a large enough value.  Another fix: make the output radix equal
17618           the input one, otherwise numbers could be converted twice.
17620 2015-11-29  Eli Barzilay  <eli@barzilay.org>
17622         * lisp/calculator.el: Re-do key bindings.
17624         Use a helper function that arranges a parent keymap that binds alternate
17625         case keys so if some letter key is unbound and it's un/shifted version
17626         is, it will get used.  This makes the global-map trickery unnecessary.
17628         Also switch to passing strings that name keys through `kbd'.
17630 2015-11-29  Eli Barzilay  <eli@barzilay.org>
17632         * lisp/calculator.el: improve radix modes
17634         Fix prompt for some input radix with decimal output (eg, "BD" instead of
17635         the incorrect "B="); also, some minor docstring tweaks for these.
17637 2015-11-29  Eli Barzilay  <eli@barzilay.org>
17639         * lisp/calculator.el: better reading of register names
17641         Use `register-read-with-preview' with a dynamically bound
17642         `register-alist' and a proper preview function to read register names.
17644 2015-11-29  Eli Barzilay  <eli@barzilay.org>
17646         * lisp/calculator.el: General improvements
17648         Use things like `when', `unless', and `push'.
17650         Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
17651         non-electric mode.
17653 2015-11-28  Michael Albinus  <michael.albinus@gmx.de>
17655         Fix a problem with gfilenotify in filenotify-tests.el
17657         * test/lisp/filenotify-tests.el
17658         (file-notify--test-expected-events): Remove.
17659         (file-notify--test-cleanup): Do not set that variable.
17660         (file-notify--test-with-events): EVENTS can also be a list of lists.
17661         (file-notify-test02-events, file-notify-test04-file-validity):
17662         Adapt expected result.
17664 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
17666         * .gitignore: Adjust to changes in 'test' directory structure.
17668 2015-11-28  Eli Zaretskii  <eliz@gnu.org>
17670         Fix test/manual/etags/Makefile
17672         * test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
17673         changes in 'test' directory structure.
17675 2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>
17677         Exclude resource dirs from search for tests.
17679         * test/Makefile.in: Test file locations are now found with find
17680           rather than using finds native functions.
17682 2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>
17684         Add test targets without directory names.
17686          * (test/Makefile.in): Extend test_template to add two targets for each
17687            file.
17689 2015-11-27  Artur Malabarba  <bruce.connor.am@gmail.com>
17691         * lisp/emacs-lisp/package.el: Require url-handlers
17693 2015-11-27  Phillip Lord  <phillip.lord@russet.org.uk>
17695         Move elisp-mode-tests to new function names.
17697          * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
17698          find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
17700 2015-11-27  Juanma Barranquero  <lekktu@gmail.com>
17702         * lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'
17704 2015-11-26  Phillip Lord  <phillip.lord@russet.org.uk>
17706         Merge branch 'feature/standard-test-location'
17708 2015-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17710         * lisp/emacs-lisp/eieio.el: Add some default implementations
17712         (standard-class): Mark it obsolete.
17713         (slot-missing): Give it a default implementation.
17714         (destructor): Simplify and mark it obsolete.
17715         (object-print): Give it a default implementation.
17716         (eieio-change-class): Rename from change-class.
17717         (change-class): Redefine as obsolete alias.
17719 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17721         Some final fixes in file notification before merging with master
17723         * lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
17724         (file-notify-callback): Improve check for `stopped' event.  Call
17725         `file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
17726         (file-notify-add-watch): In case FILE is not a directory, call the
17727         file monitor for the kqueue backend.  Otherwise, call the
17728         directory monitor for the upper directory.
17730         * src/inotify.c (inotifyevent_to_event): Extract file name from
17731         watch_object if the event doesn't provide it.
17732         (Finotify_add_watch): Add file name to watch_object.
17734         * test/automated/file-notify-tests.el (file-notify--test-timeout):
17735         Use different timeouts for different libraries.
17736         (file-notify--test-with-events): Suppress lock files.  Flush
17737         outstanding events before running the body.
17738         (file-notify-test02-events, file-notify-test04-file-validity): Do
17739         not skip cygwin tests.  Add additional test for file creation.
17740         Adapt expected result for different backends.
17741         (file-notify-test03-autorevert): Some of the tests don't work for
17742         w32notify.
17743         (file-notify-test06-many-events): Rename into both directions.
17745 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17747         Rework file notifications, kqueue has problems with directory monitors
17749         * lisp/filenotify.el (file-notify-add-watch): Call the native
17750         add-watch function on the file, not on the dir.
17752         * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
17753         about already deleted entries.
17755         * test/automated/auto-revert-tests.el
17756         (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
17757         since this deletes the target file first.
17759         * test/automated/file-notify-tests.el (file-notify--test-event-test):
17760         Make stronger checks.
17761         (file-notify-test01-add-watch, file-notify-test02-events)
17762         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
17763         Rewrite in order to call file monitors but directory monitors.
17764         (file-notify-test06-many-events): Ler rename work in both directions.
17766 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17768         Continue with pending events
17770         * src/kqueue.c (pending_events): Remove global variable.
17771         (kqueue_compare_dir_list): Create `write' event for not used
17772         pending events.
17773         (globals_of_kqueue): Remove initialization of pending_events.
17775 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17777         Improve loops in file-notify-test06-many-events
17779         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
17780         Use `read-event' pauses for the `write-file' loops; otherwise
17781         events are lost in inotify and gfilenotify cases.
17783 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17785         Handle more complex rename operation in kqueue
17787         * src/kqueue.c (pending_events): New variable.
17788         (kqueue_compare_dir_list): Handle more complex rename operation.
17789         (globals_of_kqueue): Initialize pending_events.
17791         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
17792         Adapt expected events in the `rename-file' case.
17793         (file-notify-test06-many-events-remote): Declare.
17795 2015-11-25  Wolfgang Jenkner  <wjenkner@inode.at>
17797         New test with a larger number of events
17799         * test/automated/file-notify-tests.el (file-notify--test-with-events):
17800         Make timeout heuristically depend on the number of events.
17802         (file-notify-test06-many-events): Use it for new test.
17804 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17806         Further fixes for kqueue
17808         * lisp/filenotify.el (file-notify-callback): Raise also event if
17809         directory name matches.
17810         (file-notify-add-watch): Add `create' to the flags for `kqueue'.
17812         * src/kqueue.c (kqueue_generate_event): Use watch_object as
17813         argument instead of ident.  Remove callback argument.  Adapt
17814         callees.  Check actions whether they are monitored flags.
17816         * test/automated/file-notify-tests.el (file-notify--test-library):
17817         New defun.
17818         (file-notify-test00-availability, file-notify-test02-events)
17819         (file-notify-test04-file-validity)
17820         (file-notify-test05-dir-validity): Use it.
17821         (file-notify-test02-events, file-notify-test04-file-validity): Add
17822         `read-event' calls between different file actions, in order to
17823         give the backends a chance to rais an event.  Needed especially
17824         for kqueue.  In case of deleting a directory, there are two
17825         `deleted' events.
17827 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17829         Code cleanup of kqueue.c
17831         * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
17832         (kqueue_compare_dir_list): Do not loop when calling
17833         directory_files_internal.  Remove checks for "." and "..", this is
17834         done in kqueue_directory_listing now.
17835         (Fkqueue_add_watch): Check for proper emacs_open flags.
17837 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17839         Doc changes for kqueue
17841         * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
17842         Fix some glitches in the example.
17844 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17846         Finish implementation in kqueue.c
17848         * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
17849         Simplify access to list.
17850         (kqueue_compare_dir_list): Simplify access to list.  Raise
17851         `delete' event if directory does not exist any longer.  Otherwise,
17852         wait until directory contents has changed.  Fix error in check.
17854 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17856         * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
17858 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17860         More work on kqueue
17862         * lisp/filenotify.el (file-notify-callback): Handle also the
17863         `rename' event from kqueue.
17864         (file-notify-add-watch): Do not register an entry twice.
17866         * src/kqueue.c (kqueue_directory_listing): New function.
17867         (kqueue_generate_event): New argument FILE1.  Adapt callees.
17868         (kqueue_compare_dir_list): Rewrite in order to make it more robust.
17870 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17872         Implement directory events
17874         * lisp/filenotify.el (file-notify-handle-event)
17875         (file-notify-callback): Remove traces.
17877         * src/kqueue.c: Include <sys/time.h>.
17878         (kqueue_generate_event, kqueue_compare_dir_list): New functions.
17879         (kqueue_callback): Use them.  Call kevent() with a zero timeout.
17880         (Fkqueue_add_watch): Adapt docstring.  Support directory events.
17881         Compute initial directory listing.  Close file descriptor in case
17882         of errors.
17883         (syms_of_kqueue): Declare Qcreate.
17885 2015-11-25  Wolfgang Jenkner  <wjenkner@inode.at>
17887         Build fixes for kqueue support
17889         * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
17890         flag.
17892         * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
17893         kqueue on *BSD.
17895 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17897         Continue kqueue implementation
17899         * lisp/filenotify.el (file-notify-handle-event)
17900         (file-notify-callback): Enable trace messages.
17902         * src/kqueue.c: Include also <sys/types.h>.
17903         (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
17904         (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
17905         (syms_of_kqueue): Add them.
17907 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17909         Work on kqueue
17911         * lisp/filenotify.el (file-notify--library)
17912         (file-notify-descriptors, file-notify-callback)
17913         (file-notify-add-watch, file-notify-rm-watch)
17914         (file-notify-valid-p): Add kqueue support.
17916         * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
17918 2015-11-25  Michael Albinus  <michael.albinus@gmx.de>
17920         Add kqueue support
17922         * configure.ac (--with-file-notification): Add kqueue.
17923         (top): Remove special test for "${HAVE_NS}" and
17924         ${with_file_notification}, this is handled inside gfilenotify
17925         tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
17926         instead of library specific variables.
17928         * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
17930         * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
17932         * src/kqueue.c: New file.
17934         * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
17936 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17938         Update elisp-mode-tests for changed file location.
17940          * test/lisp/progmodes/elisp-mode-tests.el:
17942 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17944         Exclude manual tests from Makefile
17946          * test/Makefile.in:
17948 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17950         Move package test files to new directory.
17952          * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
17953          * test/data/package: Moved to test/lisp/emacs-lisp/package-resources
17955 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17957         Restore delete Makefiles and fix .gitignore.
17959          * .gitignore: Update Makefiles to changed locations
17960          * test/lisp/progmodes/flymake-resources/Makefile,
17961            test/manual/etags/Makefile,
17962            test/manual/etags/make-src/Makefile,
17963            test/manual/indent/Makefile: Restored and moved to new location.
17965 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17967         Test infrastructure: updates after directory move
17969          * (test/Makefile.in): Support directories several levels deep.
17970          * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
17971          * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
17973 2015-11-24  Phillip Lord  <phillip.lord@russet.org.uk>
17975         Rename all test files to reflect source layout.
17977          * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
17978            test directory moves.
17979          * test/file-organisation.org: New file.
17980          * test/automated/Makefile.in
17981            test/automated/data/decompress/foo.gz
17982            test/automated/data/epg/pubkey.asc
17983            test/automated/data/epg/seckey.asc
17984            test/automated/data/files-bug18141.el.gz
17985            test/automated/data/flymake/test.c
17986            test/automated/data/flymake/test.pl
17987            test/automated/data/package/archive-contents
17988            test/automated/data/package/key.pub
17989            test/automated/data/package/key.sec
17990            test/automated/data/package/multi-file-0.2.3.tar
17991            test/automated/data/package/multi-file-readme.txt
17992            test/automated/data/package/newer-versions/archive-contents
17993            test/automated/data/package/newer-versions/new-pkg-1.0.el
17994            test/automated/data/package/newer-versions/simple-single-1.4.el
17995            test/automated/data/package/package-test-server.py
17996            test/automated/data/package/signed/archive-contents
17997            test/automated/data/package/signed/archive-contents.sig
17998            test/automated/data/package/signed/signed-bad-1.0.el
17999            test/automated/data/package/signed/signed-bad-1.0.el.sig
18000            test/automated/data/package/signed/signed-good-1.0.el
18001            test/automated/data/package/signed/signed-good-1.0.el.sig
18002            test/automated/data/package/simple-depend-1.0.el
18003            test/automated/data/package/simple-single-1.3.el
18004            test/automated/data/package/simple-single-readme.txt
18005            test/automated/data/package/simple-two-depend-1.1.el
18006            test/automated/abbrev-tests.el
18007            test/automated/auto-revert-tests.el
18008            test/automated/calc-tests.el
18009            test/automated/icalendar-tests.el
18010            test/automated/character-fold-tests.el
18011            test/automated/comint-testsuite.el
18012            test/automated/descr-text-test.el
18013            test/automated/electric-tests.el
18014            test/automated/cl-generic-tests.el
18015            test/automated/cl-lib-tests.el
18016            test/automated/eieio-test-methodinvoke.el
18017            test/automated/eieio-test-persist.el
18018            test/automated/eieio-tests.el
18019            test/automated/ert-tests.el
18020            test/automated/ert-x-tests.el
18021            test/automated/generator-tests.el
18022            test/automated/let-alist.el
18023            test/automated/map-tests.el
18024            test/automated/advice-tests.el
18025            test/automated/package-test.el
18026            test/automated/pcase-tests.el
18027            test/automated/regexp-tests.el
18028            test/automated/seq-tests.el
18029            test/automated/subr-x-tests.el
18030            test/automated/tabulated-list-test.el
18031            test/automated/thunk-tests.el
18032            test/automated/timer-tests.el
18033            test/automated/epg-tests.el
18034            test/automated/eshell.el
18035            test/automated/faces-tests.el
18036            test/automated/file-notify-tests.el
18037            test/automated/auth-source-tests.el
18038            test/automated/gnus-tests.el
18039            test/automated/message-mode-tests.el
18040            test/automated/help-fns.el
18041            test/automated/imenu-test.el
18042            test/automated/info-xref.el
18043            test/automated/mule-util.el
18044            test/automated/isearch-tests.el
18045            test/automated/json-tests.el
18046            test/automated/bytecomp-tests.el
18047            test/automated/coding-tests.el
18048            test/automated/core-elisp-tests.el
18049            test/automated/decoder-tests.el
18050            test/automated/files.el
18051            test/automated/font-parse-tests.el
18052            test/automated/lexbind-tests.el
18053            test/automated/occur-tests.el
18054            test/automated/process-tests.el
18055            test/automated/syntax-tests.el
18056            test/automated/textprop-tests.el
18057            test/automated/undo-tests.el
18058            test/automated/man-tests.el
18059            test/automated/completion-tests.el
18060            test/automated/dbus-tests.el
18061            test/automated/newsticker-tests.el
18062            test/automated/sasl-scram-rfc-tests.el
18063            test/automated/tramp-tests.el
18064            test/automated/obarray-tests.el
18065            test/automated/compile-tests.el
18066            test/automated/elisp-mode-tests.el
18067            test/automated/f90.el
18068            test/automated/flymake-tests.el
18069            test/automated/python-tests.el
18070            test/automated/ruby-mode-tests.el
18071            test/automated/subword-tests.el
18072            test/automated/replace-tests.el
18073            test/automated/simple-test.el
18074            test/automated/sort-tests.el
18075            test/automated/subr-tests.el
18076            test/automated/reftex-tests.el
18077            test/automated/sgml-mode-tests.el
18078            test/automated/tildify-tests.el
18079            test/automated/thingatpt.el
18080            test/automated/url-future-tests.el
18081            test/automated/url-util-tests.el
18082            test/automated/add-log-tests.el
18083            test/automated/vc-bzr.el
18084            test/automated/vc-tests.el
18085            test/automated/xml-parse-tests.el
18086            test/BidiCharacterTest.txt
18087            test/biditest.el
18088            test/cedet/cedet-utests.el
18089            test/cedet/ede-tests.el
18090            test/cedet/semantic-ia-utest.el
18091            test/cedet/semantic-tests.el
18092            test/cedet/semantic-utest-c.el
18093            test/cedet/semantic-utest.el
18094            test/cedet/srecode-tests.el
18095            test/cedet/tests/test.c
18096            test/cedet/tests/test.el
18097            test/cedet/tests/test.make
18098            test/cedet/tests/testdoublens.cpp
18099            test/cedet/tests/testdoublens.hpp
18100            test/cedet/tests/testfriends.cpp
18101            test/cedet/tests/testjavacomp.java
18102            test/cedet/tests/testnsp.cpp
18103            test/cedet/tests/testpolymorph.cpp
18104            test/cedet/tests/testspp.c
18105            test/cedet/tests/testsppcomplete.c
18106            test/cedet/tests/testsppreplace.c
18107            test/cedet/tests/testsppreplaced.c
18108            test/cedet/tests/testsubclass.cpp
18109            test/cedet/tests/testsubclass.hh
18110            test/cedet/tests/testtypedefs.cpp
18111            test/cedet/tests/testvarnames.c
18112            test/etags/CTAGS.good
18113            test/etags/ETAGS.good_1
18114            test/etags/ETAGS.good_2
18115            test/etags/ETAGS.good_3
18116            test/etags/ETAGS.good_4
18117            test/etags/ETAGS.good_5
18118            test/etags/ETAGS.good_6
18119            test/etags/a-src/empty.zz
18120            test/etags/a-src/empty.zz.gz
18121            test/etags/ada-src/2ataspri.adb
18122            test/etags/ada-src/2ataspri.ads
18123            test/etags/ada-src/etags-test-for.ada
18124            test/etags/ada-src/waroquiers.ada
18125            test/etags/c-src/a/b/b.c
18126            test/etags/c-src/abbrev.c
18127            test/etags/c-src/c.c
18128            test/etags/c-src/dostorture.c
18129            test/etags/c-src/emacs/src/gmalloc.c
18130            test/etags/c-src/emacs/src/keyboard.c
18131            test/etags/c-src/emacs/src/lisp.h
18132            test/etags/c-src/emacs/src/regex.h
18133            test/etags/c-src/etags.c
18134            test/etags/c-src/exit.c
18135            test/etags/c-src/exit.strange_suffix
18136            test/etags/c-src/fail.c
18137            test/etags/c-src/getopt.h
18138            test/etags/c-src/h.h
18139            test/etags/c-src/machsyscalls.c
18140            test/etags/c-src/machsyscalls.h
18141            test/etags/c-src/sysdep.h
18142            test/etags/c-src/tab.c
18143            test/etags/c-src/torture.c
18144            test/etags/cp-src/MDiagArray2.h
18145            test/etags/cp-src/Range.h
18146            test/etags/cp-src/burton.cpp
18147            test/etags/cp-src/c.C
18148            test/etags/cp-src/clheir.cpp.gz
18149            test/etags/cp-src/clheir.hpp
18150            test/etags/cp-src/conway.cpp
18151            test/etags/cp-src/conway.hpp
18152            test/etags/cp-src/fail.C
18153            test/etags/cp-src/functions.cpp
18154            test/etags/cp-src/screen.cpp
18155            test/etags/cp-src/screen.hpp
18156            test/etags/cp-src/x.cc
18157            test/etags/el-src/TAGTEST.EL
18158            test/etags/el-src/emacs/lisp/progmodes/etags.el
18159            test/etags/erl-src/gs_dialog.erl
18160            test/etags/f-src/entry.for
18161            test/etags/f-src/entry.strange.gz
18162            test/etags/f-src/entry.strange_suffix
18163            test/etags/forth-src/test-forth.fth
18164            test/etags/html-src/algrthms.html
18165            test/etags/html-src/index.shtml
18166            test/etags/html-src/software.html
18167            test/etags/html-src/softwarelibero.html
18168            test/etags/lua-src/allegro.lua
18169            test/etags/objc-src/PackInsp.h
18170            test/etags/objc-src/PackInsp.m
18171            test/etags/objc-src/Subprocess.h
18172            test/etags/objc-src/Subprocess.m
18173            test/etags/objcpp-src/SimpleCalc.H
18174            test/etags/objcpp-src/SimpleCalc.M
18175            test/etags/pas-src/common.pas
18176            test/etags/perl-src/htlmify-cystic
18177            test/etags/perl-src/kai-test.pl
18178            test/etags/perl-src/yagrip.pl
18179            test/etags/php-src/lce_functions.php
18180            test/etags/php-src/ptest.php
18181            test/etags/php-src/sendmail.php
18182            test/etags/prol-src/natded.prolog
18183            test/etags/prol-src/ordsets.prolog
18184            test/etags/ps-src/rfc1245.ps
18185            test/etags/pyt-src/server.py
18186            test/etags/tex-src/gzip.texi
18187            test/etags/tex-src/nonewline.tex
18188            test/etags/tex-src/testenv.tex
18189            test/etags/tex-src/texinfo.tex
18190            test/etags/y-src/atest.y
18191            test/etags/y-src/cccp.c
18192            test/etags/y-src/cccp.y
18193            test/etags/y-src/parse.c
18194            test/etags/y-src/parse.y
18195            test/indent/css-mode.css
18196            test/indent/js-indent-init-dynamic.js
18197            test/indent/js-indent-init-t.js
18198            test/indent/js-jsx.js
18199            test/indent/js.js
18200            test/indent/latex-mode.tex
18201            test/indent/modula2.mod
18202            test/indent/nxml.xml
18203            test/indent/octave.m
18204            test/indent/pascal.pas
18205            test/indent/perl.perl
18206            test/indent/prolog.prolog
18207            test/indent/ps-mode.ps
18208            test/indent/ruby.rb
18209            test/indent/scheme.scm
18210            test/indent/scss-mode.scss
18211            test/indent/sgml-mode-attribute.html
18212            test/indent/shell.rc
18213            test/indent/shell.sh
18214            test/redisplay-testsuite.el
18215            test/rmailmm.el
18216            test/automated/buffer-tests.el
18217            test/automated/cmds-tests.el
18218            test/automated/data-tests.el
18219            test/automated/finalizer-tests.el
18220            test/automated/fns-tests.el
18221            test/automated/inotify-test.el
18222            test/automated/keymap-tests.el
18223            test/automated/print-tests.el
18224            test/automated/libxml-tests.el
18225            test/automated/zlib-tests.el: Files Moved.
18227 2015-11-20  Michael Albinus  <michael.albinus@gmx.de>
18229         Rework file notifications, kqueue has problems with directory monitors
18231         * lisp/filenotify.el (file-notify-add-watch): Call the native
18232         add-watch function on the file, not on the dir.
18234         * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
18235         about already deleted entries.
18237         * test/automated/auto-revert-tests.el
18238         (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
18239         since this deletes the target file first.
18241         * test/automated/file-notify-tests.el (file-notify--test-event-test):
18242         Make stronger checks.
18243         (file-notify-test01-add-watch, file-notify-test02-events)
18244         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
18245         Rewrite in order to call file monitors but directory monitors.
18246         (file-notify-test06-many-events): Ler rename work in both directions.
18248 2015-11-19  Michael Albinus  <michael.albinus@gmx.de>
18250         Continie with pending events
18252         * src/kqueue.c (pending_events): Remove global variable.
18253         (kqueue_compare_dir_list): Create `write' event for not used
18254         pending events.
18255         (globals_of_kqueue): Remove initialization of pending_events.
18257 2015-11-19  Michael Albinus  <michael.albinus@gmx.de>
18259         Improve loops in file-notify-test06-many-events
18261         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
18262         Use `read-event' pauses for the `write-file' loops; otherwise
18263         events are lost in inotify and gfilenotify cases.
18265 2015-11-19  Michael Albinus  <michael.albinus@gmx.de>
18267         Handle more complex rename operation in kqueue
18269         * src/kqueue.c (pending_events): New variable.
18270         (kqueue_compare_dir_list): Handle more complex rename operation.
18271         (globals_of_kqueue): Initialize pending_events.
18273         * test/automated/file-notify-tests.el (file-notify-test06-many-events):
18274         Adapt expected events in the `rename-file' case.
18275         (file-notify-test06-many-events-remote): Declare.
18277 2015-11-18  Wolfgang Jenkner  <wjenkner@inode.at>
18279         New test with a larger number of events.
18281         * test/automated/file-notify-tests.el (file-notify--test-with-events):
18282         Make timeout heuristically depend on the number of events.
18284         (file-notify-test06-many-events): Use it for new test.
18286 2015-11-18  Michael Albinus  <michael.albinus@gmx.de>
18288         Further fixes for kqueue.
18290         * lisp/filenotify.el (file-notify-callback): Raise also event if
18291         directory name matches.
18292         (file-notify-add-watch): Add `create' to the flags for `kqueue'.
18294         * src/kqueue.c (kqueue_generate_event): Use watch_object as
18295         argument instead of ident.  Remove callback argument.  Adapt
18296         callees.  Check actions whether they are monitored flags.
18298         * test/automated/file-notify-tests.el (file-notify--test-library):
18299         New defun.
18300         (file-notify-test00-availability, file-notify-test02-events)
18301         (file-notify-test04-file-validity)
18302         (file-notify-test05-dir-validity): Use it.
18303         (file-notify-test02-events, file-notify-test04-file-validity): Add
18304         `read-event' calls between different file actions, in order to
18305         give the backends a chance to rais an event.  Needed especially
18306         for kqueue.  In case of deleting a directory, there are two
18307         `deleted' events.
18309 2015-11-17  Michael Albinus  <michael.albinus@gmx.de>
18311         Code cleanup of kqueue.c
18313         * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
18314         (kqueue_compare_dir_list): Do not loop when calling
18315         directory_files_internal.  Remove checks for "." and "..", this is
18316         done in kqueue_directory_listing now.
18317         (Fkqueue_add_watch): Check for proper emacs_open flags.
18319 2015-11-16  Michael Albinus  <michael.albinus@gmx.de>
18321         Doc changes for kqueue
18323         * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
18324         Fix some glitches in the example.
18326 2015-11-16  Michael Albinus  <michael.albinus@gmx.de>
18328         Finish implementation in kqueue.c
18330         * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
18331         Simplify access to list.
18332         (kqueue_compare_dir_list): Simplify access to list.  Raise
18333         `delete' event if directory does not exist any longer.  Otherwise,
18334         wait until directory contents has changed.  Fix error in check.
18336 2015-11-16  Michael Albinus  <michael.albinus@gmx.de>
18338         * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
18340 2015-11-15  Michael Albinus  <michael.albinus@gmx.de>
18342         More work on kqueue
18344         * lisp/filenotify.el (file-notify-callback): Handle also the
18345         `rename' event from kqueue.
18346         (file-notify-add-watch): Do not register an entry twice.
18348         * src/kqueue.c (kqueue_directory_listing): New function.
18349         (kqueue_generate_event): New argument FILE1.  Adapt callees.
18350         (kqueue_compare_dir_list): Rewrite in order to make it more robust.
18352 2015-11-14  Michael Albinus  <michael.albinus@gmx.de>
18354         Implement directory events
18356         * lisp/filenotify.el (file-notify-handle-event)
18357         (file-notify-callback): Remove traces.
18359         * src/kqueue.c: Include <sys/time.h>.
18360         (kqueue_generate_event, kqueue_compare_dir_list): New functions.
18361         (kqueue_callback): Use them.  Call kevent() with a zero timeout.
18362         (Fkqueue_add_watch): Adapt docstring.  Support directory events.
18363         Compute initial directory listing.  Close file descriptor in case
18364         of errors.
18365         (syms_of_kqueue): Declare Qcreate.
18367 2015-11-11  Wolfgang Jenkner  <wjenkner@inode.at>
18369         Build fixes for kqueue support.
18371         * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
18372         flag.
18374         * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
18375         kqueue on *BSD.
18377 2015-11-11  Michael Albinus  <michael.albinus@gmx.de>
18379         Continue kqueue implementation
18381         * lisp/filenotify.el (file-notify-handle-event)
18382         (file-notify-callback): Enable trace messages.
18384         * src/kqueue.c: Include also <sys/types.h>.
18385         (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
18386         (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
18387         (syms_of_kqueue): Add them.
18389 2015-11-11  Michael Albinus  <michael.albinus@gmx.de>
18391         Work on kqueue
18393         * lisp/filenotify.el (file-notify--library)
18394         (file-notify-descriptors, file-notify-callback)
18395         (file-notify-add-watch, file-notify-rm-watch)
18396         (file-notify-valid-p): Add kqueue support.
18398         * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
18400 2015-11-11  Michael Albinus  <michael.albinus@gmx.de>
18402         Add kqueue support
18404         * configure.ac (--with-file-notification): Add kqueue.
18405         (top): Remove special test for "${HAVE_NS}" and
18406         ${with_file_notification}, this is handled inside gfilenotify
18407         tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
18408         instead of library specific variables.
18410         * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
18412         * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
18414         * src/kqueue.c: New file.
18416         * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
18418 2015-11-21  Wilson Snyder  <wsnyder@wsnyder.org>
18420         verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.
18422         * verilog-mode.el (verilog-save-font-no-change-functions):
18423         Commentary and fix pre-Emacs 21 behavior.
18425 2015-11-19  Przemysław Wojnowski  <esperanto@cumego.com>
18427         Use obarray functions from obarray.
18429         * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
18430           abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
18431           clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
18432           delegate to obarray.el functions.
18433         * lisp/loadup.el: load obarray before abbrev
18434         * test/automated/abbrev-tests.el: new tests
18436 2015-11-18  Christian Schwarzgruber  <c.schwarzgruber.cs@gmail.com>  (tiny change)
18438         epa.el: Add option to replace original text
18440         * lisp/epa.el (epa-replace-original-text): New user option.
18441         (Bug#21947)
18443 2015-11-18  Mark Oteiza  <mvoteiza@udel.edu>
18445         Add interactive seek command.
18447         * lisp/mpc.el (mpc-cmd-seekcur): New function.
18448         (mpc-seek-current): New command.
18449         (mpc-mode-menu): Add entry for mpc-seek-current
18450         (mpc-mode-map): Bind mpc-seek-current to "g"
18452 2015-11-18  Mark Oteiza  <mvoteiza@udel.edu>
18454         Fix issue where a new tempfile was created every refresh
18456         * lisp/mpc.el (mpc-format): Leave dir as relative path
18458 2015-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18460         * lisp/progmodes/cc-defs.el: Use with-silent-modifications
18462         (c-save-buffer-state): Use with-silent-modifications when available.
18463         (c--macroexpand-all): Check macroexpand-all directly rather than
18464         c--mapcan-status.
18466 2015-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18468         * lisp/loadup.el: Set max-lisp-eval-depth here
18470         * lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
18471         (BYTE_COMPILE_FLAGS): Adjust accordingly.
18473 2015-11-17  João Távora  <joaotavora@gmail.com>
18475         Minor fix to comment indentation and typo in last commit
18477         * linum.el (linum-update-window): Fix comment indentation and a
18478         typo.
18480 2015-11-17  João Távora  <joaotavora@gmail.com>
18482         linum-mode plays more nicely with other margin-setting extensions
18484         linum.el will only modify the left margin if it needs to, and will
18485         only reset the it back to 0 if it guesses that no-one has touched that
18486         margin in the meantime.
18488         As such, this is a more of a workaround than an actual fix, but fixes
18489         the problems described in bug#20674 regarding the interaction with
18490         modes such as darkroom-mode and olivetti-mode.
18492         A similar fix was commited to nlinum.el in ELPA.git's
18493         e7f5f549fbfb740b911fb7f33b42381ecece56d8
18495         * linum.el (linum-delete-overlays): Restore margins more
18496         criteriously.
18497         (linum-update-window): Set margins more criteriously.
18499 2015-11-16  Daiki Ueno  <ueno@gnu.org>
18501         * lisp/image-mode.el: Support encrypted file
18503         (image-toggle-display-image): Read content from the buffer instead
18504         of the file, if the buffer holds a decrypted data.  (Bug#21870)
18506 2015-11-15  Juanma Barranquero  <lekktu@gmail.com>
18508         * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
18510 2015-11-15  Artur Malabarba  <bruce.connor.am@gmail.com>
18512         * lisp/emacs-lisp/package.el: Fix a decoding issue
18514         (package--with-response-buffer): Use `url-insert-buffer-contents'.
18515         The previous code had some issues with decoding. Refactoring that
18516         function allows us to use the decoding from url-handlers while still
18517         treating both sync and async requests the same.
18519         * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
18520         `url-insert-buffer-contents'.
18521         (url-insert-buffer-contents): New function
18523 2015-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18525         * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
18527         (verilog-save-buffer-state): Use with-silent-modifications when available.
18528         (verilog-save-font-no-change-functions): Don't bind
18529         before/after-change-functions if it's not needed.
18531 2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>
18533         * CONTRIBUTE: Remove information about feature freeze.
18535         Merge branch 'release-process-lowercase'
18537 2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>
18539         Document the release process
18541         * admin/notes/versioning: Add information about RC releases.
18542         * admin/release-process: Document the release process.
18543         * admin/authors.el (authors-ignored-files):
18544         * admin/README: Change FOR-RELEASE to release-process.
18545         * CONTRIBUTE:
18546         * admin/notes/bugtracker: Don't mention FOR-RELEASE.
18548 2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>
18550         * admin/release-process: Rename from admin/FOR-RELEASE.
18552 2015-11-14  David Engster  <deng@randomsample.de>
18554         gitmerge: Fix git log command
18556         * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
18557         only want commits from the branch that is to be merged.
18558         (gitmerge-setup-log-buffer): Use the same symmetric range as in
18559         `gitmerge-missing'.
18561 2015-11-14  David Engster  <deng@randomsample.de>
18563         gitmerge: Try to detect cherry-picks
18565         * admin/gitmerge.el (gitmerge-default-branch): Change to
18566         origin/emacs-25.
18567         (gitmerge-missing): Use symmetric difference ('...') between
18568         branch and master so that cherry-picks can be detected.
18570 2015-11-14  Eli Zaretskii  <eliz@gnu.org>
18572         Increment Emacs version on master branch
18574         * lisp/cus-edit.el (customize-changed-options-previous-release):
18575         Increase previous version to 24.5.
18577         * configure.ac:
18578         * msdos/sed2v2.inp: Bump version to 25.1.50.
18580 2015-11-14  Xue Fuqiao  <xfq.free@gmail.com>
18582         Mention CONTRIBUTE in README, since it was moved from etc/ to root.
18583         * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
18584         * README: Mention CONTRIBUTE.
18586 2015-11-13  Wilson Snyder  <wsnyder@wsnyder.org>
18588         Update verilog-mode.el to 2015-11-09-b121d60-vpo
18590         * verilog-mode.el (verilog-auto, verilog-delete-auto)
18591         (verilog-modi-cache-results, verilog-save-buffer-state)
18592         (verilog-save-font-no-change-functions): When internally suppressing
18593         change functions, use `inhibit-modification-hooks' and call
18594         `after-change-funtions' to more nicely work with user hooks.
18595         Reported by Stefan Monnier.
18596         (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
18597         Create `verilog-delete-auto-buffer' to avoid double-calling
18598         fontification hooks.
18599         (verilog-restore-buffer-modified-p, verilog-auto)
18600         (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
18601         set-buffer-modified-p.  Reported by Stefan Monnier.
18602         (verilog-diff-auto, verilog-diff-buffers-p)
18603         (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
18604         (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
18605         AUTOINST with unpacked dimensional parameters, bug981.  Reported by
18606         by Amol Nagapurkar.
18607         (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
18608         properties inside internal structures.  No functional change
18609         intended.
18611 2015-11-13  Dmitry Gutov  <dgutov@yandex.ru>
18613         Use generic dispatch for xref backends
18615         * lisp/progmodes/xref.el (xref-backend-functions):
18616         New variable.
18617         (xref-find-function): Remove.
18618         (xref-find-backend)
18619         (xref--etags-backend): New functions.
18620         (xref-identifier-at-point-function)
18621         (xref-identifier-completion-table-function): Remove.
18622         (xref-backend-definitions, xref-backend-references)
18623         (xref-backend-apropos, xref-backend-identifier-at-point)
18624         (xref-backend-identifier-completion-table):
18625         New generic functions.
18627         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
18628         Add `elisp--xref-backend' to the beginning of
18629         `xref-backend-functions', locally.  Delete references to
18630         removed functions and vars.
18631         (elisp-xref-find): Remove.
18632         (elisp--xref-backend): New function.
18633         (elisp--xref-find-references, elisp--xref-find-apropos)
18634         (elisp--xref-identifier-completion-table):
18635         Turn into appropriately named generic methods.
18637         * lisp/progmodes/etags.el (etags-xref-find): Remove.
18638         (xref-backend-identifier-completion-table)
18639         (xref-backend-references, xref-backend-definitions)
18640         (xref-backend-apropos): New generic methods.
18642 2015-11-13  Juri Linkov  <juri@linkov.net>
18644         Support rectangular regions for more commands
18646         * lisp/simple.el (region-extract-function): Handle the arg
18647         value ‘bounds’.
18648         (region-insert-function): New function.
18649         (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
18650         If non-nil, operate on multiple chunks.
18651         (region-noncontiguous-p): New function.
18653         * lisp/rect.el: Add function rectangle--insert-region
18654         around region-insert-function.
18655         (extract-rectangle-bounds): New function.
18656         (rectangle--extract-region): Handle the arg value ‘bounds’.
18657         (rectangle--insert-region): New function.
18659         * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
18660         around region-insert-function.
18661         (cua--extract-rectangle-bounds): New function.
18662         (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
18664         * lisp/replace.el (query-replace, query-replace-regexp): Add arg
18665         ‘region-noncontiguous-p’.  Use ‘use-region-p’.
18666         (query-replace-regexp-eval, map-query-replace-regexp)
18667         (replace-string, replace-regexp): Use ‘use-region-p’.
18668         (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
18669         (perform-replace): Add arg ‘region-noncontiguous-p’.
18670         If non-nil, operate on multiple chunks.
18672         * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
18673         If non-nil, operate on multiple chunks.  (Bug#19829)
18675 2015-11-13  Dmitry Gutov  <dgutov@yandex.ru>
18677         Handle multiple matches on the same line; add highlighting
18679         * lisp/progmodes/xref.el (xref-location-marker): Interpret the
18680         column value in characters.
18681         (xref--collect-matches): Rename from `xref--collect-match'.
18682         Search for all matches in the hit line.  Add `highlight' face to
18683         the matched region in the summary.  Update both callers.
18685 2015-11-13  Dmitry Gutov  <dgutov@yandex.ru>
18687         Replace xref-match-bounds with xref-match-length
18689         Relying on xref-location-marker to point to the beginning of the match
18691         * lisp/progmodes/xref.el (xref-match-bounds): Remove.
18692         (xref-match-length): Add.
18693         (xref-make-match): Change the arguments.
18694         (xref--match-buffer-bounds): Remove.
18695         (xref-match-item): Store length, instead of end-column.
18696         (xref-pulse-momentarily)
18697         (xref--collect-match)
18698         (xref--query-replace-1): Update accordingly.
18699         (xref-query-replace): Ditto.  And check that the search results
18700         are up-to-date.
18702 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
18704         Merge from gnulib
18706         This incorporates:
18707         2015-11-13 xalloc-oversized: improve performance with GCC 5
18708         * lib/xalloc-oversized.h: Copy from gnulib.
18710 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
18712         Spruce up ftfont.c memory allocation
18714         * src/ftfont.c (setup_otf_gstring):
18715         Avoid O(N**2) behavior when reallocating.
18716         (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
18717         reallocating buffers; this simplifies the code.  Do not trust
18718         mflt_run to leave the output areas unchanged on failure, as
18719         this isn’t part of its interface spec.
18721 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
18723         Port recent XCB changes to 64-bit ‘long int’
18725         For historical reasons, libX11 represents 32-bit values like Atoms as
18726         ‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
18727         do that, so adapt the recent XCB code to behave properly on 64-bit
18728         platforms.  Also, fix what appears to be a bug in the interpretation
18729         of xcb_get_property_value_length, at least on my Fedora platform
18730         which is running libxcb-1.11-5.fc21.
18731         * src/xfns.c (x_real_pos_and_offsets):
18732         * src/xterm.c (get_current_wm_state):
18733         xcb_get_property_value_length returns a byte count, not a word count.
18734         For 32-bit quantities, xcb_get_property_value returns a vector
18735         of 32-bit words, not of (possibly 64-bit) long int.
18737 2015-11-13  Paul Eggert  <eggert@cs.ucla.edu>
18739         * src/undo.c (run_undoable_change): Now static.
18741 2016-01-30  Michael Albinus  <michael.albinus@gmx.de>
18743         Adapt Tramp version, do not merge with master
18745         * doc/misc/trampver.texi (trampver):
18746         * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
18748 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18750         Remove support for ':timeout' from w32 tray notifications
18752         * src/w32fns.c (Fw32_notification_notify): Delete the code that
18753         supports ':timeout'.
18754         (syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
18755         with dbusbind.c when D-Bus is compiled in.
18757         * doc/lispref/os.texi (Desktop Notifications): Don't mention
18758         ':timeout'.
18760 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
18762         * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
18763         (simple-test--transpositions): New macro.
18764         (simple-transpose-subr): New test.
18766 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
18768         * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
18770 2015-11-13  Juanma Barranquero  <lekktu@gmail.com>
18772         * src/undo.c: Small fixes for previous change
18773         (run_undoable_change): Mark void argument list.
18774         (record_property_change): Remove unused variable `boundary'.
18776 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18778         Add a few more variables to redisplay--variables
18780         * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
18781         and bidi-display-reordering to the list.
18783 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18785         * lisp/loadup.el: Enlarge the size of the hash table to 80000.
18787 2015-11-13  Eli Barzilay  <eli@barzilay.org>
18789         Fix point positioning after transposing with negative arg
18791         * lisp/simple.el (transpose-subr): When invoked with a negative
18792         argument, move point to after the transposed text, like we do
18793         when invoked with a positive argument.  (Bug#21885)
18795 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18797         Fix last change in shr.el
18799         * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
18800         have-fringes-p.  All callers changed.  Doc fix.  (Bug#21895)
18802 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18804         Fix last change
18806         * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
18807         Don't DEFSYM tray notification symbols if D-Bus is being used.
18809 2015-11-13  Eli Zaretskii  <eliz@gnu.org>
18811         Another fix for MinGW64 and Cygwin builds due to notifications
18813         * src/w32fns.c: Ifdef away tray notification code if D-Bus is
18814         being compiled into Emacs.
18815         (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
18816         Sw32_notification_notify and Sw32_notification_close if the code
18817         is not compiled.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
18819 2016-01-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18820 2015-11-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18822         Remove intern calls and XXX comments from Fx_export_frames
18824         * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
18825         Qsvg instead of intern calls.  Use "postscript" instead of "ps"
18826         for consistency with image types.  Remove XXX comments.
18827         (syms_of_xfns) <Qpdf>: DEFSYM it.
18829 2016-01-30  Eric Hanchrow  <eric.hanchrow@gmail.com>
18830 2015-11-12  Eric Hanchrow  <eric.hanchrow@gmail.com>
18832         shr: don't invoke unbound function (Bug#21895)
18834         * lisp/net/shr.el (have-fringes-p): New function.
18835         (shr-insert-document, shr-fill-text): Use it.
18837 2015-11-12  Juanma Barranquero  <lekktu@gmail.com>
18839         * test/automated/keymap-tests.el: Fix test to make it repeatable
18841         (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
18842         entry to its initial value to make the test repeatable in interactive
18843         sessions (assuming it doesn't fail and crashes Emacs, of course).
18845 2016-01-30  Artur Malabarba  <bruce.connor.am@gmail.com>
18847         * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
18849 2016-01-30  Phillip Lord  <phillip.lord@russet.org.uk>
18851         : Tests for undo-auto functionality.
18852 2015-11-12  Artur Malabarba  <bruce.connor.am@gmail.com>
18854         * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
18855         Small fix.
18857 2015-11-12  Phillip Lord  <phillip.lord@newcastle.ac.uk>
18859         The heuristic that Emacs uses to add an `undo-boundary' has been
18860         reworked, as it interacts poorly with functions on `post-command-hook'
18861         or `after-change-functions'.
18863         * lisp/simple.el: New section added.
18864         * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
18865         (self_insert_command): Calls simple.el to amalgamate.
18866         (delete_char): Calls simple.el to amalgamate.
18867         * src/keyboard.c (last_undo_boundary): Removed.
18868         * src/undo.c (run_undoable_change): New function.
18870 2015-11-12  Juri Linkov  <juri@linkov.net>
18872         Bind [?\S-\ ] to previous line command in Dired-like modes.
18874         * lisp/arc-mode.el (archive-mode-map):
18875         * lisp/dired.el (dired-mode-map):
18876         * lisp/proced.el (proced-mode-map):
18877         * lisp/vc/vc-dir.el (vc-dir-mode-map):
18878         Bind [?\S-\ ] to previous line command.
18879         (Bug#20790)
18881 2015-11-12  Eli Zaretskii  <eliz@gnu.org>
18883         Fix the MinGW64 and Cygwin-w32 builds
18885         * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
18886         (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
18887         use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
18888         which cause trouble with MinGW42 headers.  Ifdef away tray
18889         notifications code for Cygwin.  Reported by Andy Moreton
18890         <andrewjmoreton@gmail.com>.
18892 2015-11-12  Simen Heggestøyl  <simenheg@gmail.com>
18894         Enable sorting of JSON object keys when encoding
18896         * lisp/json.el (json-encoding-object-sort-predicate): New variable
18897         for specifying a sorting predicate for JSON objects during encoding.
18898         (json--plist-to-alist): New utility function.
18899         (json-encode-hash-table): Re-use `json-encode-alist' when object keys
18900         are to be sorted.
18901         (json-encode-alist): Sort output by
18902         `json-encoding-object-sort-predicate, when set.
18903         (json-encode-plist): Re-use `json-encode-alist' when object keys are
18904         to be sorted.
18905         (json-pretty-print-buffer-ordered): New command to pretty print the
18906         buffer with object keys sorted alphabetically.
18907         (json-pretty-print-ordered): New command to pretty print the region
18908         with object keys sorted alphabetically.
18910         * test/automated/json-tests.el (test-json-plist-to-alist)
18911         (test-json-encode-plist, test-json-encode-hash-table)
18912         (test-json-encode-alist-with-sort-predicate)
18913         (test-json-encode-plist-with-sort-predicate): New tests.
18915         * etc/NEWS: Add an entry for the new commands.
18917 2015-11-12  Juanma Barranquero  <lekktu@gmail.com>
18919         * test/automated/keymap-tests.el: New test file.
18921 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
18923         Speed up x_real_pos_and_offsets using XCB
18925         * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
18926         all X calls, and pipeline requests when possible, collecting results
18927         later.  Eliminate use of x_catch_errors (and thus XSync) in XCB case.
18929 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
18931         Enable use of XCB for checking window manager state
18933         * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
18934         of XGetWindowProperty plus error-catching, since we can explicitly
18935         check for errors in the XCB version.  This eliminates 3 XSync calls on
18936         top of the round-trip actually fetching the information.
18938 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
18940         Detect XCB and save a connection handle
18942         * configure.ac: If using X11, check for XCB libraries and header.
18943         * src/Makefile.in (XCB_LIBS): Define.
18944         (LIBX_EXTRA): Include it.
18946         * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
18947         (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
18948         * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
18950 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
18952         Reduce some data dependencies between X calls
18954         Gains nothing in the traditional-Xlib code, but more closely aligns
18955         with how the XCB version will work.
18957         * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
18958         send coordinates (0,0) to the X server and add in the real coordinates
18959         after getting the response.  Move XGetGeometry for outer window inside
18960         error-trapping block.  Use DPY variable more, since it's available.
18962 2015-11-12  Ken Raeburn  <raeburn@raeburn.org>
18964         Use color cache for creating bitmap
18966         * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
18967         Set attributes to use the caching color allocator.  Initialize and
18968         free the cache.
18970 2015-11-12  Eli Barzilay  <eli@barzilay.org>
18972         Add "^" to the interactive specs of `dired-next/previous-line'
18974         * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
18975         to bind these commands to the arrow keys, and that means that they work
18976         better with a "^" in the `interactive' declaration so selection works
18977         as expected.
18979 2016-01-30  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
18981         Sync with soap-client repository, version 3.0.2
18983         * lisp/net/soap-client.el: Bump version to 3.0.2.
18985         * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
18987         * lisp/net/soap-client.el: Add cl-lib to Package-Requires.  Require cl-lib.
18988         (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
18990         * lisp/net/soap-client.el: Support Emacs versions that do not have
18991         define-error.
18993         * lisp/net/soap-inspect.el: Remove version header.
18995         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
18996 2015-11-11  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
18998         Sync with soap-client repository, version 3.0.2
19000         * soap-client.el: Bump version to 3.0.2.
19002         * soap-client.el (soap-warning): Use format, not format-message.
19004         * soap-client.el: Add cl-lib to Package-Requires.  Require cl-lib.
19005         (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
19007         * soap-client.el: Support Emacs versions that do not have
19008         define-error.
19010         * soap-inspect.el: Remove version header.
19012         * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
19013         format.
19015 2015-11-11  Alan Mackenzie  <acm@muc.de>
19017         CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
19019         * lisp/progmodes/cc-engine.el (c-backward-single-comment)
19020         (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
19021         (c-guess-basic-syntax):
19022         Remove bindings of open-paren-in-column-0-is-defun-start to nil.
19023         (c-get-fallback-scan-pos): "New" function (existed several years ago).
19024         (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
19025         c-get-fallback-scan-pos.
19026         (c-parse-state-1): Handle 'BOD strategy.
19028         * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
19029         (c-font-lock-fontify-region): Remove bindings of
19030         open-paren-in-column-0-is-defun-start to nil.
19032         * doc/misc/cc-mode.texi (Performance Issues)
19033         (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
19035 2015-11-11  Artur Malabarba  <bruce.connor.am@gmail.com>
19037         * lisp/obarray.el: Fix shadowed variables.
19038         (obarray-map, obarray-remove, obarray-put, obarray-get):
19039         Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
19041 2015-11-11  Eli Zaretskii  <eliz@gnu.org>
19043         Avoid error in submitting a form with EWW
19045         * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
19046         CHUNK to be nil.  (Bug#21881)
19048 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
19050         Rename seq-p and map-p to seqp and mapp
19052         * lisp/emacs-lisp/seq.el (seqp): New name.
19053         * lisp/emacs-lisp/map.el (mapp): New name.
19054         * doc/lispref/sequences.texi: Update the documentation for seqp.
19055         * test/automated/map-tests.el: Update the tests for mapp.
19057 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
19059         Rename obarray-p to obarrayp
19061         * lisp/obarray.el (obarrayp): New name.
19062         * test/automated/obarray-tests.el: Update the tests.
19064 2015-11-11  Nicolas Petton  <nicolas@petton.fr>
19066         Rename obarray-foreach to obarray-map
19068         * lisp/obarray.el (obarray-map): New name.
19069         * test/automated/obarray-tests.el: Update the corresponding tests.
19071 2015-11-11  Przemysław Wojnowski  <esperanto@cumego.com>
19073         New file with obarray functions.
19075         * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
19076         * test/automated/obarray-tests.el: New file.
19078 2015-11-11  Eli Zaretskii  <eliz@gnu.org>
19080         Implement tray notifications for MS-Windows
19082         * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
19083         (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
19084         (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
19085         (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
19086         (EMACS_NOTIFICATION_MSG): New macros.
19087         (NI_Severity): New enumeration.
19088         (get_dll_version, utf8_mbslen_lim, add_tray_notification)
19089         (delete_tray_notification, Fw32_notification_notify)
19090         (Fw32_notification_close): New functions.
19091         (syms_of_w32fns): Defsubr functions exposed to Lisp.  DEFSYM
19092         keywords used by w32-notification-notify.
19094         * doc/lispref/os.texi (Desktop Notifications): Describe the native
19095         w32 tray notifications.
19097 2016-01-30  Alan Mackenzie  <acm@muc.de>
19099         First commit to scratch/follow.  Make Isearch work with Follow Mode, etc.
19101         doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
19102         Windows" and new @defun selected-window-group.
19103         (Window Start and End): Describe new &optional parameter GROUP and
19104         ...-group-function for window-start, window-end, set-window-start, and
19105         pos-visible-in-window-p.
19106         (Textual Scrolling) Describe the same for recenter.
19107         doc/lispref/positions.texi (Screen Lines): Describe the same for
19108         move-to-window-line.
19110         src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
19111         (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
19112         new optional parameter "group".  At the beginning of each, check whether the
19113         corresponding ...-group-function is set to a function, and if so execute this
19114         function in place of the normal processing.
19115         (syms_of_window): Define symbols for the six new variables below.
19116         (window-start-group-function, window-end-group-function)
19117         (set-window-start-group-function, recenter-group-function)
19118         (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
19119         New permanent local buffer local variables.
19120         src/keyboard.c (Fposn_at_point): Add extra parameter in call to
19121         Fpos_visible_in_window_p.
19123         lisp/window.el (selected-window-group-function): New permanent local buffer
19124         local variable.
19125         (selected-window-group): New function.
19127         lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
19128         enable, kill them at mode disable.  Add/remove follow-after-change to/from
19129         after-change-functions.
19130         (follow-start-end-invalid): New variable.
19131         (follow-redisplay): Manipulate follow-start-end-invalid.
19132         (follow-after-change, follow-window-start, follow-window-end)
19133         (follow-set-window-start, follow-pos-visible-in-window-p)
19134         (follow-move-to-window-line, follow-sit-for): New functions.
19136         lisp/isearch.el (isearch-call-message): New macro.
19137         (isearch-update, with-isearch-suspended, isearch-del-char)
19138         (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
19139         (with-isearch-suspended): Rearrange code such that isearch-call-message is
19140         invoked before point is moved.
19141         (isearch-message): Add comment about where point must be at function call.
19142         (isearch-search): Remove call to isearch-message.
19143         (isearch-lazy-highlight-window-group): New variable.
19144         (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
19145         the battery of tests to ...
19146         (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
19147         Note: (sit-for 0) is still called.
19148         (isearch-lazy-highlight-update): Check membership of
19149         isearch-lazy-highlight-window-group.  Don't set the `window' overlay
19150         property.
19151         (isearch-update, isearch-done, isearch-string-out-of-window)
19152         (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
19153         (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
19154         (isearch-lazy-highlight-update): Call the six amended primitives (see
19155         src/window.c above) with the new `group' argument set to t, to cooperate
19156         with Follow Mode.
19158 2015-11-11  Michael Albinus  <michael.albinus@gmx.de>
19160         Optimize `file-equal-p' and `file-in-directory-p' in Tramp
19162         * lisp/net/tramp.el (tramp-handle-file-equal-p)
19163         (tramp-handle-file-in-directory-p): New defuns.  Suggested by
19164         Harvey Chapman <hchapman@3gfp.com>.
19166         * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19167         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19168         * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19169         * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
19171 2015-11-10  Karl Fogel  <kfogel@red-bean.com>
19173         * CONTRIBUTE: Encourage adding tests.
19175         Based on this post from John Wiegley:
19177           From: "John Wiegley" <johnw@newartisans.com>
19178           Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
19179           To: Juanma Barranquero <lekktu@gmail.com>
19180           Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
19181               emacs-devel <emacs-devel@gnu.org>
19182           Date: Wed, 28 Oct 2015 18:45:29 -0700
19183           Message-ID: <m2y4emqwg6.fsf@newartisans.com>
19185           https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
19187 2015-11-10  David Reitter  <david.reitter@gmail.com>
19189         Avoid creating notification objects when possible
19191         * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
19192         (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
19193         functions that do not require a notification object.  When needed,
19194         define NSWindowDidEnterFullScreenNotification to allow for compilation
19195         on OS X 10.6.8.
19197 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
19199         Move INTEGER_TO_CONS body out of .h file
19201         * src/data.c (INTBIG_TO_LISP): New macro, with most
19202         of the contents of the old INTEGER_TO_CONS.
19203         (intbig_to_lisp, uintbig_to_lisp): New functions.
19204         * src/lisp.h (INTEGER_TO_CONS):
19205         Simplify by using EXPR_SIGNED and the new functions.
19206         This shrinks code size a bit, and makes it easier to
19207         put a breakpoint on handling of large integers.
19209 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
19211         Merge from gnulib
19213         This incorporates:
19214         2015-11-10 intprops: new public macro EXPR_SIGNED
19215         2015-11-10 intprops: fix typo in clang port
19216         * lib/intprops.h: Copy from gnulib.
19218 2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
19220         Spelling fixes
19222         * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
19223         Fix misspelling in output.
19225 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19227         * doc/lispref/variables.texi (Directory Local Variables):
19228         Document dir-locals wildcards.
19230         * lisp/files.el (dir-locals-file): Point to Info node.
19232         * doc/emacs/custom.texi (Directory Variables):
19233         Document dir-locals wildcards.
19235         * etc/NEWS: Document new functionality.
19237 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19239         * lisp/files.el: Don't allow customization of dir-locals sorting.
19240         In retrospect, this is not a good idea for the same reason that
19241         `dir-locals-file' is a defconst, because it is important that this
19242         behavior be "uniform across different environments and users".
19243         Sure, the user can still change the sorting with a hack, but we
19244         shouldn't encourage them to change it.
19245         (dir-locals--all-files): Return list in the order returned by
19246         `file-expand-wildcards'.
19247         (file-expand-wildcards): Document the sorting predicate used.
19248         (dir-locals-sort-predicate): Delete variable.
19250 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19252         * lisp/files.el (dir-locals-read-from-file): Better handle errors.
19254         * lisp/isearch.el (search-default-regexp-mode): Change default value.
19256 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19258         * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
19259         `locate-dominating-file' will now keep looking if the files it finds in
19260         a given directory are unreadable (or not files).
19262 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19264         * lisp/files.el (dir-locals-file): Allow wildcards.
19265         (dir-locals-find-file, dir-locals-collect-variables)
19266         (dir-locals-read-from-file): Update accordingly.
19267         (hack-dir-local-variables): Rename a local variable.
19269         * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
19271         * lisp/help-fns.el (describe-variable): Update accordingly.
19273         * .gitignore: Add .dir-locals?.el.
19275 2015-11-10  Artur Malabarba  <bruce.connor.am@gmail.com>
19277         * lisp/emacs-lisp/map.el (map-merge-with): New function.
19279         * test/automated/map-tests.el (test-map-merge-with): New test.
19281 2015-11-09  Karl Fogel  <kfogel@red-bean.com>
19283         Fix some recently-perturbed bookmark autoloads
19285         * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
19286         (bookmark-set): Restore autoload.
19287         (bookmark-set-no-overwrite): Add autoload.
19289         Thanks to Juanma Barranquero for noticing the autoload problems
19290         introduced by my recent commit adding/changing the above functions
19291         (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
19293 2016-01-30  Noah Friedman  <friedman@splode.com>
19295         (ydump-buffer): Handle case where gap is at the start of buffer.
19296         I don't recall if older versions of gdb were less strict but you
19297         cannot dump a 0-length range in gdb 7.9.1.
19299 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
19300 2015-11-09  Noah Friedman  <friedman@splode.com>
19302         * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
19303         the start of buffer.  I don't recall if older versions of gdb were
19304         less strict but you cannot dump a 0-length range in gdb 7.9.1.
19306 2015-11-09  Dmitry Gutov  <dgutov@yandex.ru>
19308         * lisp/progmodes/project.el: Update Commentary.
19310         Merge branch 'project-next'
19312 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
19314         Fold `project-ask-user' into `project-current'
19316         * lisp/progmodes/project.el (project-find-functions): Remove
19317         `project-ask-user'.
19318 2015-11-09  Dmitry Gutov  <dgutov@yandex.ru>
19320         Fold `project-ask-user' into `project-current'
19322         * lisp/progmodes/project.el (project-find-functions):
19323         Remove `project-ask-user'.
19324         (project-ask-user): Remove function and the corresponding
19325         `project-roots' implementation.
19326         (project-current): Add a new argument, MAYBE-PROMPT.  Prompt the
19327         user in case there's no project in the current directory.  Update
19328         all callers.
19330 2015-11-09  Karl Fogel  <kfogel@red-bean.com>
19332         When VC detects a conflict, specify which file
19334         * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
19335         * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
19336         * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
19337         * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
19338         * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
19339           to display a standard message that specifies the conflicted file.
19341         Before this change, the message VC used for indicating a conflicted
19342         file was just "There are unresolved conflicts in this file" without
19343         naming the file (and this language was duplicated in several places).
19344         After this change, it's "There are unresolved conflicts in file FOO"
19345         (and this language is now centralized in one function in vc.el).
19347         Justification: It's important for the message to name the conflicted
19348         file because the moment when VC realizes a file is conflicted does not
19349         always come interactively.  For example, some people automatically
19350         find a set of Org Mode files on startup, and may keep those .org files
19351         under version control.  If any of the files are conflicted, the user
19352         just sees some messages fly by, and might later check the "*Messages*"
19353         buffer to find out what files were conflicted.  I'm not saying this
19354         happened to me or anything; it's a purely hypothetical example.
19356 2015-11-09  Eli Zaretskii  <eliz@gnu.org>
19358         Fix assertion violation in define-key
19360         * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
19361         objects.  Reported by Drew Adams <drew.adams@oracle.com>
19362         and Juanma Barranquero <lekktu@gmail.com>.
19364 2015-11-09  Dima Kogan  <dima@secretsauce.net>
19366         Fix a memory leak in GC of font cache
19368         * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
19369         entities if some of the fonts it references are marked.  This
19370         plugs a memory leak.  (Bug#21556)
19372 2015-11-09  Paul Eggert  <eggert@cs.ucla.edu>
19374         Use INT_ADD_WRAPV etc. to check integer overflow
19376         * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
19377         * src/buffer.c (record_overlay_string, overlay_strings):
19378         * src/casefiddle.c (casify_object):
19379         * src/ccl.c (Fccl_execute_on_string):
19380         * src/character.c (char_width, c_string_width, lisp_string_width)
19381         (count_size_as_multibyte, string_escape_byte8):
19382         * src/coding.c (coding_alloc_by_realloc, produce_chars):
19383         * src/data.c (arith_driver):
19384         * src/dispnew.c (realloc_glyph_pool, init_display):
19385         * src/editfns.c (styled_format):
19386         * src/fns.c (Ffillarray):
19387         * src/ftfont.c (ftfont_shape_by_flt):
19388         * src/gnutls.c (gnutls_hex_string):
19389         * src/gtkutil.c (get_utf8_string):
19390         * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
19391         * src/keymap.c (Fkey_description):
19392         * src/lisp.h (SAFE_ALLOCA_LISP):
19393         * src/term.c (encode_terminal_code):
19394         * src/tparam.c (tparam1):
19395         * src/xselect.c (x_property_data_to_lisp):
19396         * src/xsmfns.c (smc_save_yourself_CB):
19397         * src/xterm.c (x_term_init):
19398         When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
19399         more-complicated code involving division and/or
19400         INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
19401         subtraction and/or INT_ADD_OVERFLOW.
19402         * src/casefiddle.c (casify_object): Simplify multibyte size check.
19403         * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
19404         * src/data.c (arith_driver): Also check for division overflow,
19405         as that’s now possible given that the accumulator can now contain
19406         any Emacs integer.
19407         * src/lisp.h (lisp_word_count): Remove; no longer used.
19409 2016-01-30  Dmitry Gutov  <dgutov@yandex.ru>
19410 2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>
19412         Make sure that the ignore file exists
19414         * lisp/vc/vc.el (vc-default-ignore-completion-table):
19415         Make sure that the ignore file exists.
19417 2016-01-30  Michael Sperber  <mike@xemacs.org>
19419         * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
19420 2015-11-08  Michael Sperber  <mike@xemacs.org>
19422         * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
19423         `gnus-summary-delete-article` in a way that also works on XEmacs.
19425 2015-11-08  Simen Heggestøyl  <simenheg@gmail.com>
19427         Add support for retrieving paths to JSON elements
19429         Add support for retrieving the path to a JSON element. This can for
19430         instance be useful to retrieve paths in deeply nested JSON
19431         structures.
19433         * lisp/json.el (json-pre-element-read-function)
19434         (json-post-element-read-function): New variables to hold pre- and post
19435         read callback functions for `json-read-array' and `json-read-object'.
19436         (json--path): New variable used internally by `json-path-to-position'.
19437         (json--record-path, json--check-position): New functions used
19438         internally by `json-path-to-position'.
19439         (json-path-to-position): New function for retrieving the path to a
19440         JSON element at a given position.
19441         (json-read-object, json-read-array): Call
19442         `json-pre-element-read-function' and `json-post-element-read-function'
19443         when set.
19445         * test/automated/json-tests.el (test-json-path-to-position-with-objects)
19446         (test-json-path-to-position-with-arrays)
19447         (test-json-path-to-position-no-match): New tests for
19448         `json-path-to-position'.
19450 2015-11-08  Karl Fogel  <kfogel@red-bean.com>
19452         * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
19454         This really should been part of my previous commit
19455         (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
19457 2015-11-08  Karl Fogel  <kfogel@red-bean.com>
19459         Offer non-overwrite bookmark setter (Bug#15746)
19461         * lisp/bookmark.el (bookmark-set-internal): New helper function to do
19462         what `bookmark-set' used to do, but with more choices for overwrite
19463         vs push, and with minor changes to the interactive prompt format.
19464         (bookmark-set): Rewrite as wrapper around above.
19465         If overwriting, inform the user of that in the prompt.
19466         (bookmark-set-no-overwrite): New function, also done as wrapper.
19467         Bind to "M" in `ctl-x-r-map' autoloads.
19468         (bookmark-map): Similarly bind "M" here.
19470 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
19472         * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
19474 2015-11-08  Alan Modra  <amodra@gmail.com>
19476         ELF unexec: Don't insert a new section
19478         Reuse the .bss section instead, making it SHT_PROGBITS.  This way we
19479         don't need to mess with symbol st_shndx, or section sh_link and
19480         sh_info.
19482         This does lead to eu-elflint complaints about symbols defined in .bss
19483         with a needed version, because normally it is undefined symbols that
19484         have needed versions;  Defined symbols have version definitions.
19485         The exception is symbols defined by the linker in .dynbss for
19486         variables copied from a shared library in order to avoid text
19487         relocations, with copy relocs to copy their initial values from the
19488         shared library.  These symbols are both defined and have needed
19489         versions, and eu-elflink only expects to see them in SHT_NOBITS
19490         sections.  Of course there is no real problem with having such symbols
19491         in SHT_PROGBITS sections.  glibc ld.so handles them fine.
19493         * src/unexelf.c: Delete outdated comments.
19494         (PATCH_INDEX): Delete.
19495         (find_section): Delete.
19496         (unexec): Don't add a new section.  Instead reuse the last bss
19497         section, extending it to cover dumped data.  Make bss sections
19498         SHT_PROGBITS.  Remove all patching of sh_link, sh_info and
19499         st_shndx.  Rename bss sections.
19501 2015-11-08  Alan Modra  <amodra@gmail.com>
19503         ELF unexec: Drive from PT_LOAD header rather than sections
19505         This rewrites bss handling in the ELF unexec code.  Finding bss
19506         sections by name results in complicated code that
19507         - does not account for all names of possible bss sections,
19508         - assumes specific ordering of bss sections,
19509         - can wrongly choose a SHT_NOBITS section not in the bss segment,
19510         - incorrectly calculates bss size (no accounting for alignment gaps),
19511         - assumes .data and .bss are in the same segment.
19513         All of these problems and more are solved by finding the bss segment
19514         in PT_LOAD headers, ie. the address range included in p_memsz but not
19515         p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
19516         in that address range.
19518         * src/unexelf.c: Delete old ppc comment.
19519         (OLD_PROGRAM_H): Define.
19520         (round_up): Delete.
19521         (unexec): Don't search for bss style sections by name.  Instead,
19522         use the last PT_LOAD header address range covered by p_memsz
19523         but not p_filesz and match any SHT_NOBITS section in that
19524         address range.  Simplify initialization of section header vars.
19525         Don't assume that section headers are above bss segment.  Move
19526         copying of bss area out of section loop.  Align .data2 section
19527         to 1, since it now covers the entire bss area.  For SHT_NOBITS
19528         sections in the bss segment, leave sh_addr and sh_addralign
19529         unchanged, but correct sh_offset.  Clear memory corresponding
19530         to SHT_NOBITS .plt section.  Delete comment and hacks for
19531         sections partly overlapping bss range now that the full range
19532         is properly calculated.  Delete now dead .sbss code.
19533         (Bug#20614)
19535 2015-11-08  Alan Modra  <amodra@gmail.com>
19537         ELF unexec: R_*_NONE relocs
19539         These should be ignored on all targets.
19541         * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
19542         not just Alpha.  Comment on reloc size assumption.
19544 2015-11-08  Alan Modra  <amodra@gmail.com>
19546         ELF unexec: _OBJC_ symbols in bss sections
19548         This code assumed that there was only one bss section.  Rather than
19549         checking for a particular index, check the section type.  Also, handle
19550         the possibility that the section was SHT_NOBITS originally and is
19551         unchanged, in which case no clearing is needed (and sh_offset isn't
19552         necessarily valid, which can lead to a wild memset).
19554         * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
19555         bss sections.
19557 2015-11-08  Alan Modra  <amodra@gmail.com>
19559         ELF unexec: Symbol table patching
19561         No st_shndx value larger than SHN_LORESERVE should be changed.
19562         * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
19563         SHN_LORESERVE.  Error on SHN_XINDEX.
19565 2015-11-08  Alan Modra  <amodra@gmail.com>
19567         ELF unexec: Merge Alpha and MIPS COFF debug handling
19569         * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
19570         Don't find .mdebug section index, find the section in the loop.
19571         Allow for unlikely possibility that .mdebug is located at sh_offset
19572         before bss segment, by calculating move from difference in
19573         sh_offset rather than just assuming new_data2_size.  Simplify
19574         cbLineOffset handling.
19576 2015-11-08  Alan Modra  <amodra@gmail.com>
19578         ELF unexec: Tidy code
19580         Separate out some of the more mechanical changes so following patches
19581         are smaller.
19583         * src/unexelf.c (unexec): Rearrange initialization of program
19584         header vars.  Use pointer vars in loops rather than indexing
19585         section header array via macros.  Simplify _OBJC_ sym code
19586         and reloc handling code.
19588 2015-11-08  Alan Modra  <amodra@gmail.com>
19590         ELF unexec: Correct section header index
19592         First a small fix.  The code incorrectly uses "NEW_SECTION_H (n)" when
19593         it should have been using "NEW_SECTION_H (nn)" to find the name of the
19594         section currently being processed.  Of course, before the bss
19595         sections, n and nn have the same value, so this doesn't matter except
19596         in the case of .sbss.  For .sbss this probably meant .bss (most likely
19597         the next section) was copied from memory.  A later patch removes the
19598         bogus .sbss handling anyway.
19600         * src/unexelf.c (unexec): Use correct index to look up names.
19602 2015-11-08  Michael Albinus  <michael.albinus@gmx.de>
19604         Fix Bug#21841
19606         * lisp/filenotify.el (file-notify--rm-descriptor):
19607         Use `descriptor' instead of computing its value.
19608         (file-notify--descriptor): Additional argument FILE.  Adapt all callees.
19609         (file-notify-rm-watch): Use `descriptor' when calling file name handler.
19610         (Bug#21841)
19612 2015-11-08  Dmitry Gutov  <dgutov@yandex.ru>
19614         Remove dirs in vc project roots from the the vc project library roots
19616         * lisp/progmodes/project.el (project-library-roots):
19617         Remove directories inside the project roots from the result.
19618         (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
19620 2015-11-07  Dmitry Gutov  <dgutov@yandex.ru>
19622         Move and rename xref-find-regexp to the project package
19624         * lisp/progmodes/project.el (project-find-regexp)
19625         (project--read-regexp)
19626         (project--find-regexp-in): New functions.
19628         * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
19629         xref--show-xrefs.  Use in existing callers in place of that
19630         function.
19631         (xref--show-xrefs): Only do the "show" part.
19632         (xref-find-regexp): Rename, more or less, to
19633         project-or-libraries-find-regexp.
19635 2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>
19637         Abolish temporary buffer management for xref
19639         * lisp/progmodes/xref.el (xref--temporary-buffers)
19640         (xref--current)
19641         (xref--inhibit-mark-current)
19642         (xref--mark-selected): Remove.  Remove all references.
19643         (xref--show-xrefs): Do not construct the
19644         list of the temporary buffers, nor pass it along.
19646 2015-11-06  Dmitry Gutov  <dgutov@yandex.ru>
19648         Rename "search path" to "library roots"
19650         * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
19651         of the elements from CL-LIST1.
19653         * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
19654         Update WRT to the above change.
19656         * lisp/progmodes/project.el (project-search-path-function): Rename
19657         to project-library-roots-function, update the documentation and
19658         references.
19659         (project-search-path): Likewise, to project-library-roots.
19660         (project-roots): Clarify documentation.
19661         (project-vc-search-path): Likewise, to project-vc-library-roots.
19662         (project-library-roots): In addition to the renames, thread the
19663         results through file-name-as-directory.
19664         (project-prune-directories): Accept a variable number of
19665         arguments.  Rename to project-combine-directories.
19666         (project-subtract-directories): New function.
19668         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
19669         Append project-roots and project-library-roots together.
19671         * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
19673 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
19675         Prefer xpalloc to doubling buffers by hand
19677         * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
19678         (read1): Use it for simplicity.
19679         * src/macros.c (store_kbd_macro_char):
19680         * src/minibuf.c (read_minibuf_noninteractive):
19681         * src/term.c (encode_terminal_code):
19682         * src/xrdb.c (magic_db):
19683         Prefer xpalloc to growing buffers by hand.
19684         This doesn’t fix any bugs, but simplifies the code a bit.
19686 2015-11-08  Paul Eggert  <eggert@cs.ucla.edu>
19688         Merge from gnulib
19690         This incorporates:
19691         2015-11-05 timespec-sub: fix overflow bug; add tests
19692         2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
19693         2015-11-03 intprops: add parentheses
19694         * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
19695         Copy from gnulib.
19697 2015-11-07  David Reitter  <david.reitter@gmail.com>
19699         Provide NS notification objects where required to eliminate warnings
19701         * src/nsterm.m (windowDidResize:, toggleFullScreen:):
19702         Call notification functions with notification objects
19703         as per delegate APIs.
19705 2015-11-07  Noam Postavsky  <npostavs@users.sourceforge.net>
19707         Add test for bug #21824
19709         * test/automated/buffer-tests.el: New file.
19710         (overlay-modification-hooks-message-other-buf): New test.
19712 2015-11-07  Kelvin White  <kwhite@gnu.org>
19714         * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
19716 2015-11-07  David Reitter  <david.reitter@gmail.com>
19718         Ignore fullscreen exit notifications on NS when frame is dead
19720         * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
19721         (windowDidExitFullScreen:): Return if frame is dead.
19722         These functions may be called when a fullscreen frame
19723         is closed; they are called before, not after.
19725         May address Bug#21428.
19727 2015-11-07  Eli Zaretskii  <eliz@gnu.org>
19729         Speed up lookup in redisplay--variables
19731         * lisp/frame.el (redisplay--variables): Make it a hash-table.
19733         * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
19734         as a hash-table.  This speeds up this function by an order of
19735         magnitude: where previously a setq was slowed down by 100% by
19736         introducing the maybe_set_redisplay test, it is now only 5%
19737         slower.
19738         (syms_of_xdisp) <redisplay--variables>: Doc fix.
19740 2015-11-07  Artur Malabarba  <bruce.connor.am@gmail.com>
19742         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
19744         The defsubst was being created as:
19745             (cl-defsubst name (args) ("DOC") ...)
19747         * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
19748         Add test.
19750 2015-11-07  Mihai Olteanu  <mihai_olteanu@fastmail.fm>  (tiny change)
19752         Update doc string of hexl-mode
19754         * lisp/hexl.el (hexl-mode): Doc fix.  (Bug#21800)
19756 2015-11-07  Eli Zaretskii  <eliz@gnu.org>
19758         Fix error in copy-abbrev-table
19760         * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
19761         property of the abbrev-table.  (Bug#21828)
19763         * test/automated/abbrev-tests.el: New file.
19765 2015-11-07  Michael Albinus  <michael.albinus@gmx.de>
19767         Add test to auto-revert-tests.el for Bug#21841
19769         * test/automated/auto-revert-tests.el
19770         (auto-revert-test01-auto-revert-several-files): New test.
19771         (auto-revert-test02-auto-revert-tail-mode)
19772         (auto-revert-test03-auto-revert-mode-dired): Rename them.
19774 2015-11-07  Martin Rudalics  <rudalics@gmx.at>
19776         * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
19778 2015-11-07  Martin Rudalics  <rudalics@gmx.at>
19780         In x_consider_frame_title don't set title of tooltip frames
19782         * src/xdisp.c (x_consider_frame_title): Return immediately for
19783         tooltip frames to avoid displaying empty tooltips.
19785 2015-11-06  Anders Lindgren  <andlind@gmail.com>
19787         Fixed NextStep fullscreen problem (bug#21770).
19789         * src/nsterm.m (ns_constrain_all_frames): Don't constrain
19790         fullscreen frames.
19792 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
19794         Ensure redisplay after evaluation
19796         * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
19797         Revert last change.
19798         * lisp/frame.el (redisplay--variables): Populate the
19799         redisplay--variables list.
19800         * src/xdisp.c (maybe_set_redisplay): New function.
19801         (syms_of_xdisp) <redisplay--variables>: New variable.
19802         * src/window.h (maybe_set_redisplay): Declare prototype.
19803         * src/data.c (set_internal): Call maybe_set_redisplay.  (Bug#21835)
19805 2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>
19807         * test/automated/subr-tests.el (subr-test-when): Fix again.
19809 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
19811         Don't invoke overlay modification hooks in wrong buffer
19813         * src/buffer.c (report_overlay_modification): When called with
19814         AFTER non-zero, don't invoke overlay modification hooks if the
19815         buffer recorded in last_overlay_modification_hooks is different
19816         from the current buffer.  (Bug#21824)
19818 2015-11-06  Juanma Barranquero  <lekktu@gmail.com>
19820         * admin/notes/repo: Fix a few obsolete references to Bazaar.
19822 2015-11-06  Artur Malabarba  <bruce.connor.am@gmail.com>
19824         * test/automated/subr-tests.el (subr-test-when): Fix test.
19826 2015-11-06  Martin Rudalics  <rudalics@gmx.at>
19828         Avoid division by zero crash observed by Yuan MEI
19830         See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
19832         * src/dispnew.c (required_matrix_height, required_matrix_width):
19833         Avoid division by zero.
19834         * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
19835         dpyinfo->smallest_char_width to 1.
19837 2015-11-06  Eli Zaretskii  <eliz@gnu.org>
19839         Ensure redisplay after "C-x C-e"
19841         * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
19842         redisplay happens to account for any side effects of the evaluated
19843         sexp.  (Bug#21835)
19845 2015-11-06  Michael Albinus  <michael.albinus@gmx.de>
19847         Skip some file notification tests for cygwin
19849         * test/automated/file-notify-tests.el (file-notify--test-with-events):
19850         Remove argument TIMEOUT.  Adapt all callees.
19851         (file-notify-test02-events, file-notify-test04-file-validity):
19852         Skip for cygwin.  (Bug#21804)
19854 2015-11-05  Stephen Leake  <stephen_leake@stephe-leake.org>
19856         * lisp/progmodes/xref.el: Require semantic/symref during compilation.
19858 2015-11-05  Daiki Ueno  <ueno@gnu.org>
19860         Suppress redundant Pinentry startup messages
19862         * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
19863         * lisp/epg.el: Declare `pinentry-start'.
19864         (epg--start): Call `pinentry-start' with QUIET argument set.
19866 2015-11-05  Xue Fuqiao  <xfq.free@gmail.com>
19868         * doc/emacs/ack.texi (Acknowledgments): Updates.
19870 2015-11-05  Juanma Barranquero  <lekktu@gmail.com>
19872         * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
19873         (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
19875 2015-11-05  Tassilo Horn  <tsdh@gnu.org>
19877         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
19878         Add prettification support for \times.
19880 2015-11-05  Juanma Barranquero  <lekktu@gmail.com>
19882         * test/automated/process-tests.el: Skip tests when bash is unavailable.
19883         (process-test-sentinel-accept-process-output)
19884         (process-test-sentinel-sit-for): skip-unless bash executable found.
19886 2015-11-05  Eli Zaretskii  <eliz@gnu.org>
19888         Add test for bug #21831
19890         * test/automated/process-tests.el
19891         (start-process-should-not-modify-arguments): New test.  (Bug#21831)
19892         Suggested by Nicolas Richard <youngfrog@members.fsf.org>
19894 2015-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19896         * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
19898         (eieio--generic-static-object-generalizer): Fix typo.
19899         * test/automated/eieio-tests.el: Byte-compile it again.  It looks
19900         like the underlying cause of bug#17852 was fixed in the mean time.
19902 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
19904         Revert "* lisp/subr.el (when): Use `macroexp-progn'"
19906         This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
19907         It breaks bootstrapping (duh).
19909 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
19911         * lisp/files.el (report-errors): Obsolete.
19913         (normal-mode, hack-local-variables, dir-locals-find-file):
19914         Use `with-demoted-errors' instead.
19916 2015-11-04  Artur Malabarba  <bruce.connor.am@gmail.com>
19918         * lisp/subr.el (when): Use `macroexp-progn'.
19920         * test/automated/subr-tests.el (subr-test-when): New test.
19922 2015-11-04  Juanma Barranquero  <lekktu@gmail.com>
19924         * lisp/progmodes/xref.el: Doc fixes.
19925         (xref-make-file-location, xref-make-buffer-location, xref-make)
19926         (xref-make-bogus-location, xref-make-match): Add cross-references.
19927         (xref--insert-xrefs): Fix typo in docstring.
19929 2015-11-04  Anders Lindgren  <andlind@gmail.com>
19931         Render fringe bitmaps correctly on NextStep (bug#21301)
19933         The fringe bitmaps were inverted, the background was not transparent,
19934         the image data was horizontally mirrored, and periodic fringe bitmaps
19935         were not supported.
19937         * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
19938         When both background and foreground colors are 0, set the background
19939         alpha channel to 0 (making the background transparent).  When
19940         copying the image data, do this from the most significant bit
19941         (leftmost) to the least (rightmost), to avoid mirroring.
19942         * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
19943         Add support for periodic images (e.g. the empty line indicator).
19945 2015-11-03  Michael Heerdegen  <michael_heerdegen@web.de>
19947         * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
19949 2015-11-03  Nicolas Petton  <nicolas@petton.fr>
19951         * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
19953         * admin/MAINTAINERS: Add thunk.el.
19955 2015-11-03  Jay Belanger  <jay.p.belanger@gmail.com>
19957         * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
19959 2015-11-03  Michael Albinus  <michael.albinus@gmx.de>
19961         Fix a stupid error in gfilenotify.c
19963         * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
19964         if we've got a `deleted' signal AND the file name is the watched one.
19966 2015-11-03  Stephen Leake  <stephen_leake@stephe-leake.org>
19968         Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
19970         * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
19971         Use case-insensitive string compare for file names.
19972         (emacs-test-dir): Add 'downcase' to cause case differences (at
19973         least on my system).
19975 2015-11-02  Juanma Barranquero  <lekktu@gmail.com>
19977         flymake-tests.el (warning-predicate-rx-gcc): Fix check
19979         * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
19980         Also check that "make" is available, not just "gcc".
19982 2015-11-02  Ken Brown  <kbrown@cornell.edu>
19984         Document behavior of collation on Cygwin
19986         * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
19987         expected failure on Cygwin.
19988         * doc/lispref/strings.texi (Text Comparison): Document that
19989         punctuation and whitespace are not ignored for sorting on Cygwin.
19991 2015-11-02  Dani Moncayo  <dmoncayo@gmail.com>
19993         * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
19995 2015-11-01  Glenn Morris  <rgm@gnu.org>
19997         * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
19998         (Bug#21794)
19999         * test/automated/f90.el (f90-test-bug21794): New test.
20001 2015-11-01  Juanma Barranquero  <lekktu@gmail.com>
20003         Fix incompatibility with TCC in test for bug#18745
20005         * test/automated/process-tests.el (process-test-quoted-batfile):
20006         Remove spaces unrelated to the bug being tested.
20008 2015-11-01  Michael Albinus  <michael.albinus@gmx.de>
20010         Improve completion in tramp-gvfs.el
20012         * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
20013         Rename from `tramp-zeroconf-parse-service-device-names'.
20014         (tramp-zeroconf-parse-webdav-device-names): Remove.  Code merged
20015         with `tramp-zeroconf-parse-device-names'.
20016         (tramp-gvfs-parse-device-names): New defun.
20017         (top): Use it when `tramp-zeroconf-parse-device-names' is not
20018         applicable.
20020         * lisp/net/tramp.el (tramp-set-completion-function): The argument
20021         could also be a zeroconf service type.
20023 2015-10-31  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
20025         * lisp/net/ntlm.el: Change version to 2.0.0.
20027 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
20029         Fix bug#21762
20030         * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
20031         `eql' instead of `=' to accommodate the case that (syntax-after (point))
20032         returns nil.
20033         * test/automated/python-tests.el (python-indent-inside-paren-7):
20034         New test.
20036 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
20038         * test/automated/python-tests.el: Avoid warnings.
20039         (python-tests-with-temp-buffer, python-tests-with-temp-file):
20040         Bind `python-indent-guess-indent-offset' to nil.
20042 2015-10-31  Juanma Barranquero  <lekktu@gmail.com>
20044         * src/alloc.c: Silence compiler warnings.
20045         (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
20047 2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
20049         * etc/NEWS: Fix js-jsx-mode entry punctuation.
20051 2015-10-31  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
20053         Add JSX indentation via js-jsx-mode  (Bug#21799)
20055         * lisp/progmodes/js.el: Add JSX indentation support.
20056         (js--jsx-end-tag-re)
20057         (js--jsx-after-tag-re): New variables.
20058         (js--jsx-find-before-tag)
20059         (js--jsx-indented-element-p)
20060         (js--as-sgml)
20061         (js--expression-in-sgml-indent-line)
20062         (js-jsx-indent-line)
20063         (js-jsx-mode): New functions.
20064         * test/indent/js-jsx.js: New file.
20065         * etc/NEWS: Add information about js-jsx-mode.
20067 2015-10-31  Michael Albinus  <michael.albinus@gmx.de>
20069         Minor fix in filenotify.el
20071         * lisp/filenotify.el (file-notify--event-file-name)
20072         (file-notify--event-file1-name): Normalize result with
20073         `directory-file-name'.
20075 2015-10-31  Eli Zaretskii  <eliz@gnu.org>
20077         Avoid errors in redisplay--pre-redisplay-functions
20079         * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
20080         use 'bobp', instead compare window-point with 1.  (Bug#21730)
20082 2015-10-30  Paul Eggert  <eggert@cs.ucla.edu>
20084         Merge from gnulib
20086         This incorporates:
20087         2015-10-30 intprops: add WRAPV and const flavors for GCC 5
20088         2015-10-25 stdalign: port to Sun C 5.9
20089         * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
20090         Copy from gnulib.
20092 2015-10-30  Eli Zaretskii  <eliz@gnu.org>
20094         * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
20095         (w32_compare_strings): Adjust for the correction.
20097 2015-10-30  Michael Albinus  <michael.albinus@gmx.de>
20099         * test/automated/vc-tests.el (vc-test--state)
20100         (vc-test--working-revision, vc-test--checkout-model):
20101         Add result messages.
20103 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20105         * test/automated/faces-tests.el: Add another test
20107 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20109         * lisp/faces.el (faces--attribute-at-point): Fix bug
20110         introduced by previous commit.
20112 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20114         * test/automated/faces-tests.el: New file.
20116 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20118         * lisp/faces.el: Refactor common code and fix a bug.
20119         (faces--attribute-at-point): New function.  Fix a bug when the
20120         face at point is a list of faces and the desired attribute is not
20121         on the first one.
20122         (foreground-color-at-point, background-color-at-point): Use it.
20124 2015-10-30  Przemysław Wojnowski  <esperanto@cumego.com>
20126         * etc/tutorials/TUTORIAL.translators: Fix PL names.
20128 2015-10-30  Juanma Barranquero  <lekktu@gmail.com>
20130         * lisp/character-fold.el: Provide `character-fold'.
20132 2015-10-30  Tassilo Horn  <tsdh@gnu.org>
20134         * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
20135         for Gnus and ivy.
20137 2015-10-30  Michael Albinus  <michael.albinus@gmx.de>
20139         Some minor fixes for tramp-gvfs.el
20141         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
20142         An attribute returned by gvfs-info might be empty.  In case of
20143         undetermined uid or gid, return "UNKNOWN" or -1, respectively.
20144         (tramp-zeroconf-parse-service-device-names): New defun.
20145         Derived from `tramp-zeroconf-parse-workstation-device-names'.
20146         (top): Add completion functions for "afp" and "smb" methods.
20148 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20150         * test/automated/character-fold-tests.el: New file
20152 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20154         * test/automated/sort-tests.el: New file.
20155         Tests in this file are randomly generated and then tested with
20156         regular, reverse, and case-fold sorting.
20158 2015-10-30  Eli Zaretskii  <eliz@gnu.org>
20160         Describe known problems with pinning Emacs to taskbar
20162         * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
20163         on Windows 10.  For the details, see the discussion starting at
20164         http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
20166 2015-10-30  Artur Malabarba  <bruce.connor.am@gmail.com>
20168         * lisp/isearch.el: Avoid an error that blocks isearch.
20169         (isearch-update): Don't error if `isearch--current-buffer' has
20170         been killed.
20172         * test/automated/isearch-tests.el (isearch--test-update):
20173         New file.
20175 2015-10-30  Phil Sainty  <psainty@orcon.net.nz>
20177         Fix documentation of 'beginning/end-of-buffer'
20179         * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
20180         conditions under which the mark will be pushed at the previous
20181         position.  (Bug#21748)
20183 2015-10-30  Tassilo Horn  <tsdh@gnu.org>
20185         Add RefTeX feature idea: editing RefTeX TOC buffers
20187         More face defs for ivy, swiper, ace-window, eshell
20189 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20191         * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
20192         (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
20193         just VAR.
20194         (auth-source-backend-parse): Use make-instance.
20195         (auth-source-search): Remove unused key args.
20196         Remove unused vars `accessor-key' and `backend'.  Avoid `eval'.
20197         (auth-source-search-backends): Use slot names rather than their initarg.
20198         (auth-source-netrc-create):
20199         (auth-source-delete):
20200         (auth-source-secrets-create, auth-source-plstore-search)
20201         (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
20202         (auth-source-plstore-create, auth-source-netrc-search)
20203         (auth-source-netrc-parse): Remove unused key args.
20204         (auth-source-forget+): Simplify the arglist.
20205         (auth-source-macos-keychain-search-items)
20206         (auth-source-token-passphrase-callback-function): Mark unused args.
20207         (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
20208         (pp-escape-newlines): Declare.
20209         (auto-source--symbol-keyword): New function.
20210         (auth-source-plstore-create, auth-source-netrc-create)
20211         (auth-source-netrc-normalize): Use it.
20212         (auth-source-netrc-search): Don't pass :delete to
20213         auth-source-netrc-parse since it doesn't use it.
20214         (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
20215         symbol-value to index in keyword args.
20216         (auth-source-macos-keychain-result-append): Avoid setq.
20217         (auth-source-netrc-create): Remove unused vars `file' and `add'.
20218         (auth-source-user-or-password): Remove unused var `cname'.
20220 2015-10-29  Juri Linkov  <juri@linkov.net>
20222         * lisp/dired.el (dired-unmark-all-files-query): Declare.
20223         (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
20224         (Bug#21746)
20226 2015-10-29  Juri Linkov  <juri@linkov.net>
20228         * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
20229         to go to the beginning of text line instead of command line.
20230         http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
20232 2015-10-29  Eli Zaretskii  <eliz@gnu.org>
20234         Fix encoding of saving *Help* buffers
20236         * lisp/help-fns.el (describe-function-1): If we use curved quotes,
20237         set help buffer's buffer-file-coding-system to UTF-8.  (Bug#21780)
20239 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20241         * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
20242         (cl--generic-derived-specializers): New function.
20243         (cl--generic-derived-generalizer): New generalizer.
20244         (cl-generic-generalizers): New specializer (derived-mode MODE).
20245         (cl--generic-split-args): Apply the rewriter, if any.
20246         (cl-generic-define-context-rewriter): New macro.
20247         (major-mode): Use it to define a new context-rewriter, so we can write
20248         `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
20250         * lisp/frame.el (window-system): New context-rewriter so we can write
20251         `(window-system VAL)' instead of (window-system (eql VAL)).
20252         (cl--generic-split-args): Apply the rewriter, if any.
20253         (frame-creation-function): Use the new syntax.
20255         * lisp/term/x-win.el (window-system-initialization)
20256         (handle-args-function, frame-creation-function)
20257         (gui-backend-set-selection, gui-backend-selection-owner-p)
20258         (gui-backend-selection-exists-p, gui-backend-get-selection):
20259         * lisp/term/w32-win.el (window-system-initialization)
20260         (handle-args-function, frame-creation-function)
20261         (gui-backend-set-selection, gui-backend-get-selection)
20262         (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
20263         * lisp/term/pc-win.el (gui-backend-get-selection)
20264         (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
20265         (gui-backend-set-selection, window-system-initialization)
20266         (frame-creation-function, handle-args-function):
20267         * lisp/term/ns-win.el (window-system-initialization)
20268         (handle-args-function, frame-creation-function)
20269         (gui-backend-set-selection, gui-backend-selection-exists-p)
20270         (gui-backend-get-selection):
20271         * lisp/startup.el (handle-args-function):
20272         * lisp/term/xterm.el (gui-backend-get-selection)
20273         (gui-backend-set-selection): Use the new syntax.
20275 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20277         * test/indent/css-mode.css: Add tests for url(...) syntax.
20279 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20281         * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
20282         (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
20283         (smie-prec2->grammar): Use `declare'.
20285 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20287         * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
20288         (cl--generic-generalizer): Add `name' field.
20289         (cl-generic-make-generalizer): Add corresponding `name' argument.
20290         (cl-generic-define-generalizer): New macro.
20291         (cl--generic-head-generalizer, cl--generic-eql-generalizer)
20292         (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
20293         (cl--generic-t-generalizer): Use it.
20294         (cl-generic-ensure-function): Add `noerror' argument.
20295         (cl-generic-define): Use it so we don't follow aliases.
20296         (cl-generic-define-method): Preserve pre-existing ordering of methods.
20297         (cl--generic-arg-specializer): New function.
20298         (cl--generic-cache-miss): Use it.
20299         (cl-generic-generalizers): Only fset a temporary definition
20300         during bootstrap.
20301         (cl--generic-struct-tag, cl--generic-struct-specializers):
20302         Allow extra arguments.
20304         * lisp/emacs-lisp/eieio-compat.el
20305         (eieio--generic-static-symbol-generalizer)
20306         (eieio--generic-static-object-generalizer):
20307         Use cl-generic-define-generalizer.
20308         (eieio--generic-static-symbol-specializers): Allow extra arguments.
20310         * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
20311         (eieio--generic-subclass-generalizer):
20312         Use cl-generic-define-generalizer.
20313         (eieio--generic-subclass-specializers): Allow extra arguments.
20315 2015-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20317         * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
20319 2015-10-29  Michael Albinus  <michael.albinus@gmx.de>
20321         Add "afp" method to Tramp
20323         * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
20325         * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
20326         (tramp-gvfs-handle-expand-file-name)
20327         (tramp-gvfs-handler-mounted-unmounted)
20328         (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
20329         (tramp-gvfs-maybe-open-connection): Support also "afp".
20330         (tramp-gvfs-handle-file-attributes): Handle the case of empty
20331         "owner::user" and "owner::group" entries.
20333 2015-10-29  Andy Moreton  <andrewjmoreton@gmail.com>
20335         Handle negative coordinates in ‘x_calc_absolute_position’
20337         * src/w32term.c (x_calc_absolute_position): Find display origin to
20338         allow for negative coordinates.
20340 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20342         (internal--syntax-propertize): Save match-data here (bug#21766)
20344         * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
20345         * lisp/simple.el (delete-trailing-whitespace): Undo last change.
20347 2015-10-28  Dmitry Gutov  <dgutov@yandex.ru>
20349         Don't require default-directory to end with a slash
20351         * doc/lispref/files.texi (Magic File Names): Document the change
20352         in unhandled-file-name-directory.
20354         * lisp/url/url-handlers.el
20355         (url-handler-unhandled-file-name-directory): Update accordingly.
20357         * src/buffer.c (default-directory): Update the docsting.
20359         * src/fileio.c (unhandled-file-name-directory): Default to calling
20360         `file-name-as-directory'
20361         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
20363 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20365         * lisp/isearch.el: Delete some outdated comments.
20367 2015-10-28  Vibhav Pant  <vibhavp@gmail.com>
20369         Fix eshell/clear not working if the output has a small line count
20371         * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
20372         number of newlines to be inserted. This fixes the issue where
20373         eshell/clear wouldn't work if the prompt was not at the bottom of the
20374         window, and the output wasn't too long.
20376 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20378         * lisp/files.el (write-file): Use vc-refresh-state.
20380         * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
20382         * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
20384 2015-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20386         * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
20387         (macroexp-unprogn): Make sure we never return an empty list.
20388         (macroexp-if): Remove unused (and unsafe) optimization.
20389         Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
20390         occur occasionally.
20392 2015-10-28  Juanma Barranquero  <lekktu@gmail.com>
20394         Fix bug#21766 and add test
20395         * lisp/simple.el (delete-trailing-whitespace): Save match data when
20396         calling `skip-syntax-backward'.
20397         * test/automated/simple-test.el (simple-delete-trailing-whitespace):
20398         New test.
20400 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20402         * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
20404 2015-10-28  Paul Eggert  <eggert@cs.ucla.edu>
20406         * src/dispnew.c (init_display): Simplify overflow checking.
20408 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20410         * lisp/character-fold.el (character-fold-to-regexp): Fix case
20411         where string ends in space
20413 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20415         * lisp/emacs-lisp/seq.el (seq-mapn): New function.
20417         * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
20419 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20421         * lisp/character-fold.el: Make compatible with lax-whitespace.
20422         (character-fold-to-regexp): Rework internals to play nice with
20423         lax-whitespacing.
20425         When the user types a space, we want to match the table entry for
20426         ?\s, which is generally a regexp like "[ ...]".  However, the
20427         `search-spaces-regexp' variable doesn't "see" spaces inside these
20428         regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
20429         manually expose a space).
20431         Furthermore, the lax search engine acts on a bunch of spaces, not
20432         on individual spaces, so if the string contains sequential spaces
20433         like "  ", we need to keep them grouped together like this:
20434         "\\(  \\|[ ...][ ...]\\)".
20436 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20438         * lisp/isearch.el: Refactor momentary messages.
20439         (isearch--momentary-message): New function.
20440         (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
20441         (isearch-toggle-invisible): Use it.
20443 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20445         * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
20446         (isearch-define-mode-toggle): New macro.
20447         (isearch-toggle-invisible): Rename to
20448         `isearch-define-mode-toggle'.
20449         (isearch-toggle-case-fold, isearch-toggle-invisible)
20450         (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
20451         with `isearch-define-mode-toggle'.
20453 2015-10-28  Michael Albinus  <michael.albinus@gmx.de>
20455         Avoid using `add-to-list' on a let-local var in tramp-smb.el
20457         * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
20458         * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
20460 2015-10-28  Michael Albinus  <michael.albinus@gmx.de>
20462         * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
20463         Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
20464         does not exist in XEmacs 21.4.
20466 2015-10-28  Anders Lindgren  <andlind@gmail.com>
20468         Fixed OS X startup crash
20470         Input events started to arrive before ns_term_init() was finished.
20471         Solved by blocking input.  This also seems to correct the "You
20472         can't open the application "Emacs" because it may be damaged or
20473         incomplete" error issued when double-clicking on the Emacs
20474         application.
20476         * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
20477         * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
20479 2015-10-28  Artur Malabarba  <bruce.connor.am@gmail.com>
20481         * src/process.c (Fget_buffer_process): Improve docstring.
20482         Document the fact that it doesn't return dead processes.
20484 2015-10-28  Anders Lindgren  <andlind@gmail.com>
20486         Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
20488         * src/nsterm.h (struct ns_output): New flag, in_animation.
20489         * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
20490         * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
20491         in_animation flag around call to "setVisible". Set new tool bar
20492         height before call to setVisible.
20493         * src/nsterm.m (x_set_window_size): Don't call [view setRow:
20494         andColumns:] as this fools the subsequent call to updateFrameSize
20495         from performing the real resize.
20496         (windowDidResize): Don't update anything when in_animation is
20497         non-zero.
20499         Trace output.
20501         * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
20502         (EmacsToolbar):
20503         * src/nsterm.m (x_set_window_size, updateFrameSize)
20504         ([EmacsView setRows: andColumns:])
20506 2015-10-28  Nicolas Petton  <nicolas@petton.fr>
20508         * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
20510 2015-10-28  Tassilo Horn  <tsdh@gnu.org>
20512         Prettify TeX macros not ending in a word char
20514         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
20515         Prettify macros which don't end in a word character.
20517 2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>
20519         Pipe Hg commit descriptions through 'tabindent'
20521         * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
20522         through 'tabindent'.
20523         (vc-hg-log-view-mode): Set tab-width to 2 locally.
20524         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
20526 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20528         * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
20529         (tramp-smb-handle-directory-files): Use `delete-dups'.
20531         * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
20533 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20535         * lisp/international/ccl.el: Use lexical-binding.
20536         (ccl-compile-if): Remove unused var `false-ic'.
20537         (ccl-compile-write-repeat): Remove unused var `i'.
20538         (ccl-compile-map-single): Remove unused var `id'.
20539         (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
20540         dynamic var `ccl-code'.
20542 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20544         * lisp/json.el (json-new-object): Optimize trivial `list' call.
20546 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20548         * lisp/help.el: Fix bug with incorrect arglist string.
20549         (help-add-fundoc-usage): Don't mistake a mis-formatted string
20550         for a list.
20552 2015-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20554         * lisp/gnus/gnus-topic.el: Silence some warnings.
20555         (gnus-topic-prepare-topic): Remove unused var `topic'.
20556         (gnus-topic-remove-topic): Mark unused arg `hide'.
20557         (gnus-tmp-header): Declare.
20558         (gnus-topic-goto-missing-group): Remove unused var `entry'.
20559         (gnus-topic-unmark-topic): Mark unused arg `dummy'.
20560         (gnus-topic-copy-matching): Mark unused arg `copyp'.
20561         Move initialization of `topic' into its declaration.
20563 2015-10-27  Stephen Leake  <stephen_leake@stephe-leake.org>
20565         Minor CEDET fixes
20567         * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
20568         Handle warnings from gtags about invalid options.
20569         (cedet-gnu-global-create/update-database): Do incremental update
20570         properly.
20572         * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
20573         Get monotone root right.
20575 2015-10-27  Michael Albinus  <michael.albinus@gmx.de>
20577         Fall back to polling in autorevert when needed
20579         * lisp/autorevert.el (auto-revert-notify-handler): When a
20580         `stopped' event arrives from file notification, fall back to polling.
20582         * test/automated/file-notify-tests.el
20583         (file-notify-test03-autorevert): Extend test for polling when file
20584         notification ceases to work.
20586 2015-10-27  Dmitry Gutov  <dgutov@yandex.ru>
20588         Show full commit messages in 'hg log' when appropriate
20590         * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
20591         (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
20592         (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
20594 2015-10-27  Nicolas Petton  <nicolas@petton.fr>
20596         Use a plain SVG file for the icon
20598         * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
20599           format instead of the Inkscape SVG format.
20601 2015-10-27  Michael Albinus  <michael.albinus@gmx.de>
20603         Fix subtle bug in auto-revert-tests.el
20605         * test/automated/auto-revert-tests.el
20606         (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
20607         buffer where it belongs to.  (Bug#21668)
20609 2015-10-26  Nicolas Petton  <nicolas@petton.fr>
20611         * lisp/emacs-lisp/map.el: Better docstrings.
20613         * lisp/emacs-lisp/seq.el: Better docstrings.
20615         * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
20617 2015-10-26  Phillip Lord  <phillip.lord@russet.org.uk>
20619         * lisp/emacs-lisp/ert.el: Print results without newline escaping.
20621 2015-10-26  Stephen Leake  <stephen_leake@stephe-leake.org>
20623         Clarify that load-path contents should be directory file names
20625         * doc/lispref/files.texi (Directory Names): Define and use "directory
20626         file name".  Recommend `expand-file-name'.
20628         * src/lread.c (load-path): Fix doc string; elements are directory file
20629         names.
20631 2015-10-26  Eli Zaretskii  <eliz@gnu.org>
20633         Fix simple-test.el test
20635         * test/automated/simple-test.el (simple-test--dummy-buffer):
20636         Make sure indentation doesn't use TABs, otherwise the 6th test
20637         might fail.
20639 2015-10-26  Mark Oteiza  <mvoteiza@udel.edu>
20641         * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
20642         `substring' does not account for full width characters.
20644 2015-10-26  Michael Albinus  <michael.albinus@gmx.de>
20646         Further work on `stopped' events in filenotify.el
20648         * doc/lispref/os.texi (File Notifications): Rework examples.
20650         * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
20651         (file-notify--rm-descriptor, file-notify-callback): Improve check
20652         for sending `stopped' event.
20653         (file-notify-add-watch): Check for more events for `inotify'.
20655         * test/automated/file-notify-tests.el
20656         (file-notify--test-expected-events): New defvar.
20657         (file-notify--test-with-events): Use it.
20658         (file-notify--test-cleanup): Make it more robust when deleting
20659         directories.
20660         (file-notify--test-event-test): Check also for watched directories.
20661         (file-notify--test-event-handler): Suppress temporary .#files.
20662         (file-notify-test02-events, file-notify-test04-file-validity):
20663         Rework `stopped' events.
20664         (file-notify-test05-dir-validity): Wait for events when appropriate.
20666 2015-10-26  Artur Malabarba  <bruce.connor.am@gmail.com>
20668         * src/keyboard.c (post-command-hook): Shorten docstring.
20670 2015-10-26  Tassilo Horn  <tsdh@gnu.org>
20672         Fix infinite loop in sh-script's SMIE code
20674         * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
20675         loop (bug#21747).
20677 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20679         * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
20680         Character-fold search _still_ doesn't play well with
20681         lax-whitespace.  So disable it by default (again) for now.
20683 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20685         * lisp/isearch.el: No visual feedback for default search mode.
20686         During an isearch where character-folding is the default, we don't
20687         want to take up minibuffer space just to tell the user that
20688         "Char-fold " is on.  The same goes for other modes, if the user
20689         changes the default.  In contrast, if the user toggles OFF the
20690         default mode, they should see "Literal", to distinguish it from
20691         the default mode.
20692         (isearch--describe-regexp-mode): Return "" if describing the
20693         default mode, and return "literal " if describing a plain search
20694         and it is not default.
20696 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20698         * test/automated/simple-test.el: New file.
20699         Define tests for `newline' and `open-line'.
20701 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20703         * lisp/simple.el (open-line): Integrate with electric-indent-mode.
20704         Also run `post-self-insert-hook' when called interactively.
20706 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20708         * lisp/simple.el (open-line): Fix docstring.
20709         Also explain apparently redundant line.
20711 2015-10-25  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
20712             Alexandru Harsanyi  <AlexHarsanyi@gmail.com>
20714         Sync with soap-client repository, version 3.0.1
20716         * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
20717         Bump version to 3.0.1.
20719         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
20721 2015-10-25  Eli Zaretskii  <eliz@gnu.org>
20723         * lisp/progmodes/grep.el (grep): Doc fix.  (Bug#21754)
20725 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20727         * src/keyboard.c (post-command-hook): Extend the docstring.
20728         Mainly, explain how to use it without hanging Emacs, or giving the
20729         impression that it is hanging.  Also mention `pre-command-hook'.
20730         (pre-command-hook): Mention `post-command-hook'.
20732 2015-10-25  Artur Malabarba  <bruce.connor.am@gmail.com>
20734         * lisp/custom.el (custom-declare-variable): Shorten code again.
20735         Without using pcase this time.  We can't use pcase because it is
20736         loaded after custom in loadup.el.  Also add a comment explaining
20737         this to future dummies like me.
20739 2015-10-25  Michael Albinus  <michael.albinus@gmx.de>
20741         * doc/lispref/os.texi (File Notifications): Document `stopped event'.
20743 2015-10-25  Michael Albinus  <michael.albinus@gmx.de>
20745         Introduce `stopped' event in file notification
20747         * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
20748         (file-notify-rm-watch): Use it.
20749         (file-notify-callback): Implement `stopped' event.
20750         (file-notify-add-watch): Mention `stopped' in the docstring.
20751         Check, that upper directory exists.
20753         * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
20754         Add two test cases.
20755         (file-notify-test02-events): Handle also `stopped' event.
20756         (file-notify-test04-file-validity): Add another test case.
20758 2015-10-25  Paul Eggert  <eggert@cs.ucla.edu>
20760         Revert commit that broke 'make bootstrap'
20762         * lisp/custom.el (custom-declare-variable): Revert commit
20763         79fac080d277fed07b3c192890ad59d36d9f83b6.  custom.el needs to work
20764         even when pcase has not been defined yet, when doing bootstrapping.
20766 2015-10-25  Paul Eggert  <eggert@cs.ucla.edu>
20768         Port recent inline functions fix to Standard C
20770         * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
20771         All uses rewritten to define the function directly rather than to
20772         use a macro to define the function.  This conforms to Standard C,
20773         which does not allow stray semicolons at the top level.  I hope it
20774         also avoids the problems with TAGS.  Those macros, though clever,
20775         were pretty confusing anyway, and it wasn’t clear they were worth
20776         the aggravation even without the TAGS problem.
20778 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20780         * lisp/isearch.el: Make character-fold search the default again.
20782 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20784         * lisp/character-fold.el: Many improvements.
20785         (character-fold-search-forward, character-fold-search-backward):
20786         New command.
20787         (character-fold-to-regexp): Remove lax-whitespace hack.
20788         (character-fold-search): Remove variable.  Only isearch and
20789         query-replace use char-folding, and they both have their own
20790         variables to configure that.
20792 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20794         * lisp/isearch.el: Generalize definition of regexp-function toggles.
20795         (isearch-specify-regexp-function): New macro for specifying
20796         possible values of `isearch-regexp-function'.
20797         (isearch-toggle-character-fold, isearch-toggle-symbol)
20798         (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
20800 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20802         * lisp/isearch.el (search-default-regexp-mode): New variable.
20803         (isearch-mode): Use it.
20805 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20807         * lisp/isearch.el (search-exit-option, search-slow-window-lines)
20808         (search-slow-speed, search-upper-case)
20809         (search-nonincremental-instead, search-whitespace-regexp)
20810         (search-invisible, isearch-hide-immediately)
20811         (isearch-resume-in-command-history, search-ring-max)
20812         (regexp-search-ring-max, search-ring-update, search-highlight)
20813         (isearch-fail): Delete :group entries.
20815 2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>
20817         * lisp/custom.el (custom-declare-variable): Shorten code a bit.
20819 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20821         addpm.c: Silence some warnings.
20823         * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
20824         to LPBYTE.
20825         (add_registry): Pass NULL to optional lpClass argument of
20826         RegCreateKeyEx, not an empty string.
20828 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20830         addpm.c: Do not add obsolete GTK libraries to the path.
20832         * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
20833         (add_registry): Remove variables `size' and `gtk_key'.
20834         Do not add the GTK DLL directory to the library search path; it is
20835         confusing behavior (in particular, the same Emacs version with and
20836         without invoking addpm will use a different path), and the GTK image
20837         libraries are obsolete anyway.
20839 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20841         addpm.c: Replace existing registry entries, but do not create new ones
20843         * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
20844         existing values from previous versions, but do not add new ones; the
20845         key could exist for other reasons unrelated to old Emacsen, like X-style
20846         resources, or to set some environment variables like HOME or LANG, and
20847         in that case we don't want to populate it with obsolete values.
20849 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20851         * nt/addpm.c (add_registry): Do not compute unused return value.
20853 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20855         addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
20857         * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
20858         RegOpenKeyEx, not REG_OPTION_NON_VOLATILE.  This doesn't change
20859         current behavior because REG_OPTION_NON_VOLATILE is defined to
20860         be 0L anyway, but that option is actually documented only for
20861         RegCreateKeyEx.
20863 2015-10-24  Juanma Barranquero  <lekktu@gmail.com>
20865         * src/w32notify.c (Fw32notify_add_watch): Fix version check.
20867 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
20869         Update frame title when redisplay scrolls selected window
20871         * src/xdisp.c (redisplay_window): Reconsider the frame's title
20872         when the mode-line of the frame's selected window needs to be
20873         updated.
20875 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
20877         Update frame title when scrolling the selected window
20879         * src/window.c (wset_update_mode_line): New function, sets either
20880         the window's update_mode_line flag or the global update_mode_lines
20881         variable.
20882         (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
20883         (window_scroll_line_based): Call it instead of only setting the
20884         window's update_mode_line flag.
20886 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
20888         An even better fix for bug#21739
20890         * src/window.c (set_window_buffer): If the window is the frame's
20891         selected window, set update_mode_lines, not the window's
20892         update_mode_line flag.
20893         * src/buffer.c (Fkill_buffer): Undo last change.
20894         (set_update_modelines_for_buf): Function deleted.
20896 2015-10-24  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
20897             Alexandru Harsanyi  <AlexHarsanyi@gmail.com>
20899         Sync with soap-client repository, version 3.0.0
20901         * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
20902         Bump version to 3.0.0.
20904         * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
20906         * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
20908         * lisp/net/soap-inspect.el: Shorten first line description.
20910         * lisp/net/soap-client.el: Make a small whitespace fix.
20912         * lisp/net/soap-inspect.el: Update copyright years.
20914         * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
20915         first use in soap-encode-xs-element.
20917         * lisp/net/soap-client.el (soap-type-is-array?): new defun
20918         (soap-encode-xs-element): handle array elements in this function
20919         (soap-encode-xs-complex-type): flag error if asked to encode an
20920         array type, this is handled in `soap-encode-xs-element'
20922         * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
20923         Do not print type for attribute group.
20925         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
20926         New function.
20927         (soap-inspect-xs-attribute-group): Likewise.
20929         * lisp/net/soap-inspect.el
20930         (soap-resolve-references-for-xs-attribute-group): Resolve
20931         references of attributes in an attribute group.
20933         * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
20934         type directly, not through soap-wsdl-get.
20936         * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
20937         nil if reference attribute is nil.
20939         * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
20940         Convert XML schema attributes to xsd:string.
20942         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
20943         New function.
20944         (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
20945         (soap-sample-value-for-xs-complex-type): Likewise.
20946         (soap-inspect-xs-attribute): New function.
20947         (soap-inspect-xs-simple-type): Print attributes.
20948         (soap-inspect-xs-complex-type): Likewise.
20950         * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
20951         Resolve references for attributes.
20952         (soap-resolve-references-for-xs-complex-type): Likewise.
20954         * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
20955         Rename from soap-xml-node-first-child.
20956         (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
20957         (soap-xs-parse-simple-type): Likewise.
20959         * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
20961         * lisp/net/soap-client.el (soap-invoke-internal): New function.
20962         (soap-invoke-async): Call soap-invoke-internal.
20963         (soap-invoke): Likewise.
20965         * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
20966         url-retrieve callback is killed.
20968         * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
20969         Rename function.
20970         (soap-parse-wsdl-phase-fetch-imports): Likewise.
20971         (soap-parse-wsdl-phase-parse-schema): Likewise.
20972         (soap-parse-wsdl-phase-fetch-schema): Likewise.
20973         (soap-parse-wsdl-phase-finish-parsing): Likewise.
20974         (soap-parse-wsdl): Update calls.
20976         * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
20978         * lisp/net/soap-client.el (soap-invoke-async): New function.
20979         (soap-invoke): Reimplement using soap-invoke-async.
20981         * lisp/net/soap-client.el (soap-parse-server-response):
20982         Improve docstring.
20983         (soap-invoke): Inline call to soap-parse-server-response.
20985         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
20986         Prevent incorrect warning.
20988         * lisp/net/soap-client.el (soap-parse-server-response):
20989         Rename soap-process-url-response.  Destroy the mime part.
20990         (soap-invoke): Call soap-parse-server-response.
20992         * lisp/net/soap-client.el: Update copyright date.
20994         * lisp/net/soap-client.el: Fix checkdoc issues.
20996         * lisp/net/soap-client.el: Fix indentation and long lines.
20998         * lisp/net/soap-client.el (soap-time-format): Remove variable.
20999         (soap-encode-xs-basic-type): Simplify date-time format detection.
21000         (soap-decode-xs-basic-type): Remove soap-time-format support.
21002         * lisp/net/soap-client.el (soap-process-url-response): New function.
21003         (soap-fetch-xml-from-url): Call soap-process-url-response.
21004         (soap-parse-wsdl-phase-1): New function.
21005         (soap-parse-wsdl-phase-2): Likewise.
21006         (soap-parse-wsdl-phase-3): Likewise.
21007         (soap-parse-wsdl-phase-4): Likewise.
21008         (soap-parse-wsdl-phase-5): Likewise.
21009         (soap-parse-wsdl): Call phase functions.
21011         * lisp/net/soap-client.el (soap-decode-xs-basic-type):
21012         Remove one-argument and call.
21014         * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
21016         * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
21017         (soap-parse-schema): Add wsdl argument.  Look up XML schema
21018         imports from wsdl.
21019         (soap-load-wsdl): Do not set soap-xmlschema-imports.
21020         (soap-parse-wsdl): Get XML schema imports from wsdl.
21022         * lisp/net/soap-client.el (soap-current-file): Remove variable.
21023         (soap-wsdl): Add current-file slot.
21024         (soap-fetch-xml-from-url): Add wsdl argument.  Look up current
21025         file from wsdl.
21026         (soap-fetch-xml-from-file): Likewise.
21027         (soap-fetch-xml): Likewise.
21028         (soap-load-wsdl): Always create wsdl object first.
21029         (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
21031         * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
21032         (soap-xs-parse-element): Set is-group slot.
21033         (soap-resolve-references-for-xs-element): Skip is-group elements.
21034         (soap-xs-complex-type): Add is-group slot.
21035         (soap-xs-parse-complex-type): Set is-group slot.
21036         (soap-xs-parse-sequence): Parse xsd:group elements.
21037         (soap-resolve-references-for-xs-complex-type): Inline elements
21038         from referenced xsd:group nodes.
21039         (soap-parse-schema): Parse xsd:group nodes.
21041         * lisp/net/soap-client.el (soap-invoke):
21042         Don't set url-http-version to 1.0.
21044         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
21045         Allow choice nodes to accept multiple values.
21047         * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
21048         for extra header values.
21050         * lisp/net/soap-client.el (soap-well-known-xmlns):
21051         Add wsa and wsaw tags.
21052         (soap-operation): Add input-action and output-action slots.
21053         (soap-parse-operation): Parse wsaw:Action nodes.
21054         (soap-encode-body): Encode service-url for WS-Addressing.
21055         (soap-create-envelope): Likewise.
21056         (soap-invoke): Update soap-create-envelope call to provide
21057         service-url argument.
21059         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
21060         Support xsi:type override attribute.
21061         (soap-decode-array): Likewise.
21063         * lisp/net/soap-client.el (soap-parse-schema):
21064         Handle location attribute.
21066         * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
21067         matched validation regexp.
21069         * lisp/net/soap-client.el (soap-encode-xs-simple-type):
21070         Encode xsd:list nodes.
21071         (soap-decode-xs-simple-type): Decode xsd:list nodes.
21073         * lisp/net/soap-client.el (soap-get-candidate-elements):
21074         Fix reference handling.
21076         * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
21077         (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
21078         (soap-xs-add-list): New function.
21080         * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
21081         expected, interpret nil as "false".
21083         * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
21084         gYear, gMonthDay, gDay and gMonth.
21086         * lisp/net/soap-client.el (soap-time-format): New variable.
21087         (soap-encode-xs-basic-type): Handle dateTime, time, date,
21088         gYearMonth, gYear, gMonthDay, gDay and gMonth.
21089         (soap-decode-date-time): New function.
21090         (soap-decode-xs-basic-type): Use soap-decode-date-time.
21092         * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
21093         after encoding.
21094         (soap-decode-xs-basic-type): Validate value before decoding.
21096         * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
21097         (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
21099         * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
21100         instead of overwriting it.
21101         (soap-validate-xs-simple-type): Add union support.
21103         * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
21104         to Emacs regexp using xsdre-translate.
21105         (soap-validate-xs-simple-type): Validate value against pattern.
21107         * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
21108         inline simpleType nodes.
21109         (soap-decode-type): Handle union types.
21111         * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
21112         attributes.
21114         * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
21115         from soap-xs-attribute-group-consolidate, all callers updated
21116         (soap-get-xs-attributes): Rename from
21117         soap-xs-attributes-consolidate, all callers updated
21119         * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
21120         (soap-xs-attribute-group): New type.
21121         (soap-xs-parse-attribute-group): New function.
21122         (soap-resolve-references-for-xs-attribute-group): Likewise.
21123         (soap-xs-add-extension): Handle attribute groups.
21124         (soap-resolve-references-for-xs-simple-type): Likewise.
21125         (soap-xs-parse-complex-type): Likewise.
21126         (soap-xs-parse-extension-or-restriction): Likewise.
21127         (soap-resolve-references-for-xs-complex-type): Likewise.
21128         (soap-xs-attribute-group-consolidate): New function.
21129         (soap-xs-attributes-consolidate): Handle attribute groups.
21130         (soap-parse-schema): Likewise.
21132         * lisp/net/soap-client.el (soap-encode-xs-basic-type):
21133         Fix boolean encoding.
21135         * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
21136         element names in warnings.
21138         * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
21140         * lisp/net/soap-client.el (soap-decode-xs-complex-type):
21141         Eliminate invalid warnings for choice types.
21143         * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
21144         Also encode base type attributes.
21146         * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
21147         warning.  Print e-name in warnings, or element if e-name is nil.
21149         * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
21150         (soap-xs-parse-element): Set substitution-group.
21151         (soap-resolve-references-for-xs-element): Populate alternatives slot.
21152         (soap-get-candidate-elements): New function.
21153         (soap-encode-xs-complex-type): Iterate through all candidate elements.
21154         Handle types with nil type indicator.  Fix warning logic.
21156         * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
21157         earlier in the file to prevent compiler warning.
21159         * lisp/net/soap-client.el (soap-node-optional): New function.
21160         (soap-node-multiple): Likewise.
21161         (soap-xs-parse-element): Call soap-node-optional and
21162         soap-node-multiple.
21163         (soap-xs-complex-type): Add optional? and multiple? slots.
21164         (soap-xml-get-children-fq): New function.
21165         (soap-xs-element-get-fq-name): Likewise.
21166         (soap-xs-complex-type-optional-p): Likewise.
21167         (soap-xs-complex-type-multiple-p): Likewise.
21168         (soap-xs-attributes-consolidate): Likewise.
21169         (soap-decode-xs-attributes): Likewise.
21170         (soap-decode-xs-complex-type): Decode types with nil type indicator.
21171         Support children that use local namespaces.  Decode attributes.
21172         Add type considerations to optional? and multiple? warnings.
21174         * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
21175         Store parsed attributes.
21176         (soap-encode-xs-complex-type-attributes): Encode custom attributes.
21178         * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
21179         Don't add the xsi:type attribute (Exchange refuses requests which have
21180         this attribute).
21182         * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
21183         correct compiler warnings about unused function arguments and
21184         local variables.
21186         * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
21187         type indicator.
21188         (soap-parse-envelope): Handle response headers.
21189         (soap-parse-response): Likewise.  Only return non-nil decoded values.
21191         * lisp/net/soap-client.el (soap-validate-xs-simple-type):
21192         Return validated value.
21194         * lisp/net/soap-client.el (soap-xs-parse-element)
21195         (soap-xs-parse-simple-type)
21196         (soap-xs-parse-complex-type)
21197         (soap-parse-message)
21198         (soap-parse-operation): Add the current namespace to the element
21199         being created.
21200         (soap-resolve-references-for-xs-element)
21201         (soap-resolve-references-for-xs-simple-type)
21202         (soap-resolve-references-for-xs-complex-type)
21203         (soap-resolve-references-for-operation): Resolve the namespace to
21204         the namespace tag.
21205         (soap-make-wsdl): specify a namespace tag when creating the xsd
21206         and soapenc namespaces
21207         (soap-wsdl-resolve-references): don't update namespace tags in
21208         elements here
21209         (soap-parse-port-type): bind the urn: to soap-target-xmlns
21210         (soap-encode-body): don't add nil namespace tags to
21211         soap-encoded-namespaces
21213         * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
21214         for registering the soap-inspect method.  Make debbugs tests pass.
21215         * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
21216         type name, also skip string only nodes when decoding a structure.
21217         (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
21218         types too.
21219         (soap-encode-body): Grab the header value from the param table.
21221         * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
21222         New function.
21223         (soap-encode-xs-element): Don't encode nil value unless needed.
21225         * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
21226         (soap-parse-binding): Parse the message parts required in the body.
21227         (soap-encode-body): Encode only the parts that are declared to be
21228         part of the body.
21230         * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
21231         when writing out the tag.
21232         (soap-encode-body): Remove hack that inserts the xmlns in the
21233         element attributes list.
21235         * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
21236         (soap-xs-parse-attribute): Default slot is set from the XML
21237         "fixed" attribute.
21238         (soap-encode-xs-complex-type-attributes): Encode any attributes
21239         that have a default value.  Also, don't put the xsi:nil attribute
21240         when the complex type has no content anyway.
21242         * lisp/net/soap-client.el (soap-well-known-xmlns):
21243         Add the xml namespace.
21244         (soap-local-xmlns): Start with the xml namespace.
21245         (soap-xml-node-first-child): Skip xsd:annotation nodes too.
21246         (soap-make-xs-basic-types): More xsd types added.
21247         (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
21248         Handle "language", "time", "date", "nonNegativeInteger".
21249         (soap-resolve-references-for-xs-element): Don't signal an error if
21250         the element does not have a type.
21251         (soap-xs-parse-simple-type): Subtypes are handled with ecase,
21252         added stum for xsd:list.
21253         (soap-xs-add-union): Call soap-l2fq on all union members.
21254         (soap-xs-add-extension): Call soap-l2fq on the base member.
21255         (soap-resolve-references-for-xs-simple-type): Don't signal an
21256         error if the simple type has no base.
21257         (soap-resolve-references-for-xs-simple-type): Bugfix, call
21258         soap-wsdl-get on each type of the base.
21260         * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
21261         Referenced type can be eiher a simple type or a basic type.
21262         (soap-xs-add-restriction)
21263         (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
21264         (soap-make-xs-basic-types)
21265         (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
21266         Add support for more XMLSchema basic types.
21267         (soap-current-file, soap-xmlschema-imports): New defvars.
21268         (soap-parse-schema): Add locations from xsd:import tags to
21269         `soap-xmlschema-imports'.
21270         (soap-wsdl): Make destructor private.
21271         (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
21272         (soap-wsdl-add-alias): Check if we try to replace aliases.
21273         (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
21274         (soap-fetch-xml): New defuns.
21275         (soap-load-wsdl): Update to load the WSDL from either a file or
21276         an url.
21277         (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
21278         (soap-parse-wsdl): Process wsdl:import tags and imports from
21279         `soap-xmlschema-imports'.
21280         * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
21281         symbol-name.
21282         (soap-l2fq): Make the name part always a string.
21283         (soap-name-p): New defun, used for name tests.
21285         * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
21286         Supply sample values for choice types with a special tag.
21287         * lisp/net/soap-client.el (soap-encode-xs-complex-type):
21288         Handle anonymous elements correctly.
21289         (soap-encode-value): Accept nodes that have no namespace tag.
21291         * lisp/net/soap-client.el (soap-invoke): Encode the string for
21292         `url-request-data' as UTF-8.  Fixes issue 16.
21294 2015-10-24  Nicolas Petton  <nicolas@petton.fr>
21296         Update the new icon
21298         Move the E slightly to the right in the circle.
21300         * etc/images/icons/hicolor/128x128/apps/emacs.png:
21301         * etc/images/icons/hicolor/16x16/apps/emacs.png:
21302         * etc/images/icons/hicolor/24x24/apps/emacs.png:
21303         * etc/images/icons/hicolor/32x32/apps/emacs.png:
21304         * etc/images/icons/hicolor/48x48/apps/emacs.png:
21305         * etc/images/icons/hicolor/scalable/apps/emacs.svg:
21306         * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
21307         * nt/icons/emacs.ico: New icom update.
21309 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
21311         Avoid missing inline functions from lisp.h in TAGS
21313         * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
21314         need to end each invocation with a semi-colon.
21315         Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
21316         and LISP_MACRO_DEFUN_VOID.  This is to avoid missing in TAGS
21317         inline functions defined immediately after each invocation, and
21318         also avoid tagging every invocation of these macros.
21320 2015-10-24  Eli Zaretskii  <eliz@gnu.org>
21322         A better fix for bug#21739
21324         * src/buffer.c (set_update_modelines_for_buf): New function.
21325         (Fkill_buffer): Use it to set the global variable
21326         update_mode_lines if the killed buffer was displayed in some
21327         window.  Don't set windows_or_buffers_changed.  This is a better
21328         fix for bug#21739 than the previous fix, since it will cause only
21329         redisplay of mode lines, not of entire windows, but will still
21330         catch attention of x_consider_frame_title in xdisp.c, which
21331         redraws the frame title.
21333 2015-10-24  Tassilo Horn  <tsdh@gnu.org>
21335         * lisp/dired-aux.el (dired-compress-files-alist): Add support for
21336         tar.bz2 and tar.xz archives.
21338 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
21340         Fix infloop in redisplay introduced by a recent change
21342         * src/xdisp.c (redisplay_internal): Avoid inflooping when
21343         redisplaying the selected window sets the selected frame's
21344         redisplay flag.  (Bug#21745)
21346 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
21348         * lisp/emacs-lisp/thunk.el: Better documentation.
21350 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
21352         Replace the old icon for Windows and Mac OSX
21354         * nt/icons/emacs.ico:
21355         * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
21356         Use the new icons.
21358 2015-10-23  Stephen Leake  <stephen_leake@stephe-leake.org>
21360         * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
21361         `load-path' should contain only directory names.
21363 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
21365         New library thunk.el
21367         thunk.el is extracted from stream.el in ELPA, with additional tests.
21369         * lisp/emacs-lisp/thunk.el: New file.
21370         * test/automated/thunk-tests.el: New file.
21371         * etc/NEWS: Add information about thunk.el
21373 2015-10-23  Michael Albinus  <michael.albinus@gmx.de>
21375         Fix bug#21669
21377         * lisp/filenotify.el (file-notify-rm-watch): Improve check for
21378         calling low-level functions.
21380         * test/automated/file-notify-tests.el (file-notify--test-timeout):
21381         Decrase to 6 seconds for remote directories.
21382         (file-notify-test02-events): Expect different number of
21383         `attribute-changed' events for the local and remote cases.  Apply
21384         short delays between the operations, in order to receive all
21385         events in the remote case.  Combine `attribute-change' tests.
21386         (Bug#21669)
21388 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
21390         Decode the HTML source when displaying it in EWW
21392         * lisp/net/eww.el (eww-view-source): Decode the HTML source
21393         according to its headers.
21395 2015-10-23  Nicolas Petton  <nicolas@petton.fr>
21397         New default icon
21399         * etc/images/icons/hicolor/128x128/apps/emacs23.png:
21400         * etc/images/icons/hicolor/16x16/apps/emacs23.png:
21401         * etc/images/icons/hicolor/24x24/apps/emacs23.png:
21402         * etc/images/icons/hicolor/32x32/apps/emacs23.png:
21403         * etc/images/icons/hicolor/48x48/apps/emacs23.png:
21404         * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
21405         * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
21406         Move the old logo files to emacs23.*.
21407         * etc/images/icons/hicolor/128x128/apps/emacs.png:
21408         * etc/images/icons/hicolor/16x16/apps/emacs.png:
21409         * etc/images/icons/hicolor/24x24/apps/emacs.png:
21410         * etc/images/icons/hicolor/32x32/apps/emacs.png:
21411         * etc/images/icons/hicolor/48x48/apps/emacs.png:
21412         * etc/images/icons/hicolor/scalable/apps/emacs.svg:
21413         * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
21414         New files.
21415         * etc/images/icons/README: Update the copyright information.
21417 2015-10-23  Eli Zaretskii  <eliz@gnu.org>
21419         Fix redisplay of frame title when current buffer is killed
21421         * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
21422         non-zero value, to redisplay more than just the affected windows.
21423         (Bug#21739)
21425 2015-10-23  Anders Lindgren  <andlind@gmail.com>
21427         NextStep maximization and NSTRACE rewrite
21429         Full-height, full-width, and maximized windows now cover the
21430         entire screen (except the menu bar), including the part where the
21431         system dock is placed.  The system zoom animation is no longer
21432         used.
21434         Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
21435         original size.
21437         * src/nsterm.m (ns_menu_bar_height): New function, return height of
21438         the menu bar, or 0 when it's hidden.
21439         (constrain_frame_rect): New function for constraining a frame.
21440         (ns_constrain_all_frames): Set frame size explicitly rather than
21441         relying on the system doing it for us by writing back the current
21442         frame size.
21443         (windowWillUseStandardFrame): Register non-maximized width or
21444         height as new user size.  When entering full width or height,
21445         the other size component is taken from the user size.
21446         (fullscreenState): New method for accessing the fullscreen state.
21447         (constrainFrameRect): Restrict frame to be placed under the menu bar,
21448         if present.  The old version, sometimes, restricted the height of a
21449         frame to the screen, this version never does this.
21450         (zoom): Perform zoom by setting the frame to the full size of the
21451         screen (minus the menu bar).  The default system function, with the
21452         zoom animation, is no longer used, as the final frame size doesn't
21453         cover the entire screen.
21455         Rework how to constrain resizing to the character grid.  The old
21456         system used "resizeIncrements" in NSWindows.  However, once a frame
21457         was resized so that it was not aligned to the text grid, it
21458         remained unaligned even after a resize.  In addition, it conflicted
21459         when resizing a fullheight window.
21461         * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
21462         unless when pixelwise frame resizing is enabled.
21463         (updateFrameSize, initFrameFromEmacs)
21464         (toggleFullScreen, handleFS): Don't set resizeIncrements.
21466         Redesign the NS trace system.  The call structure is represented
21467         using indentations and vertical lines.  The NSTRACE macro accepts
21468         printf-style arguments.  New macros for printing various
21469         information.
21471         * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
21472         (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
21473         block (typically a function), accept printf-style arguments.
21474         (NSTRACE_MSG): Macro for extra information, accepts
21475         printf-style arguments.
21476         (NSTRACE_what): Macros for printing various types.
21477         (NSTRACE_FMT_what): Macro with printf format string snippets.
21478         (NSTRACE_ARG_what): Macros for passing printf-style arguments,
21479         corresponds to NSTRACE_FMT_what.
21480         (NSTRACE_RETURN): Macro to print return value, accept
21481         printf-style arguments.
21482         (NSTRACE_RETURN_what): Macros to print return value for
21483         various types.
21485         * src/nsterm.m: Remove old NSTRACE macro
21486         * src/nsterm.m (nstrace_num): Trace counter.
21487         (nstrace_depth): Current call depth.
21488         (nstrace_leave): NSTRACE support function, called when the
21489         local variable "nstrace_enabled" goes out of scope using the
21490         "cleanup" extension.
21491         (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
21492         (constrain_frame_rect, ns_constrain_all_frames)
21493         (ns_update_auto_hide_menu_bar, ns_update_begin)
21494         (ns_update_window_begin, update_window_end, ns_update_end)
21495         (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
21496         (ns_frame_rehighlight, x_make_frame_visible)
21497         (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
21498         (x_destroy_window, x_set_offset, x_set_window_size)
21499         (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
21500         (ns_defined_color, frame_set_mouse_pixel_position)
21501         (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
21502         (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
21503         (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
21504         (ns_after_update_window_line, ns_shift_glyphs_for_insert)
21505         (dumpcursor, ns_draw_vertical_window_border)
21506         (ns_draw_window_divider, ns_draw_relief)
21507         (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
21508         (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
21509         (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
21510         (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
21511         (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
21512         (ns_create_terminal, ns_term_init, sendEvent)
21513         (applicationDidFinishLaunching, applicationDidBecomeActive)
21514         (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
21515         (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
21516         (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
21517         (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
21518         (mouse_autoselect_window, in_window, mouseDragged)
21519         (rightMouseDragged, otherMouseDragged, windowShouldClose)
21520         (updateFrameSize, windowWillResize, windowDidResize)
21521         (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
21522         (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
21523         (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
21524         (windowDidEnterFullScreen, windowWillExitFullScreen)
21525         (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
21526         (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
21527         (draggingEntered, performDragOperation, validRequestorForSendType)
21528         (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
21529         (EmacsScroller_initFrame, EmacsScroller_setFrame)
21530         (EmacsScroller_dealloc, condemn, reprieve, judge)
21531         (resetCursorRects, setPosition, EmacsScroller_mouseDown)
21532         (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
21534         * src/nsfns.m: Remove old NSTRACE macro
21535         * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
21536         (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
21537         (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
21539         * src/nsimage.m: Remove old NSTRACE macro
21540         * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
21541         (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
21543         * src/nsmenu.m: Remove old NSTRACE macro
21544         * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
21545         Use new trace system.
21547 2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
21549         No need to use eval-and-compile
21551         * lisp/gnus/auth-source.el: Do require epg (when compiling) before
21552         autoload epg functions.
21554 2015-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
21556         Fix auth-source-epa-make-gpg-token compilation (bug#21724)
21558         * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
21559         epg-context-set-passphrase-callback, epg-decrypt-string, and
21560         epg-encrypt-string; require epg when compiling for the setf-method
21561         for epg-context-armor. (bug#21724)
21563 2015-10-22  Eli Zaretskii  <eliz@gnu.org>
21565         Include file cleanup for w32 files in src directory
21567         * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
21568         fontset.h, blockinput.h.
21569         * src/w32uniscribe.c: Don't include dispextern.h, character.h,
21570         charset.h, fontset.h.
21571         * src/w32term.c: Don't include systty.h, systime.h, charset.h,
21572         character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
21573         process.h, atimer.h, keymap.h, w32heap.h.  Include bitmap/gray.xbm
21574         in an ifdef-ed away block.
21575         Include fcntl.h for CYGWIN.
21576         (set_frame_param): Remove unused function.
21577         * src/w32select.c: Don't include charset.h and composite.h.
21578         (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
21579         due to pointer signedness mismatches.
21580         * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
21581         due to pointer signedness mismatches.
21582         * src/w32proc.c: Include unistd.h.  Don't include systime.h,
21583         process.h, dispextern.h.
21584         (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
21585         (Fw32_application_type): Avoid compiler warnings due to pointer
21586         signedness mismatches.
21587         * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
21588         character.h, charset.h, dispextern.h.
21589         (simple_dialog_show, add_menu_item): Avoid compiler warnings due
21590         to pointer signedness mismatches.
21591         * src/w32inevt.c: Don't include dispextern.h, window.h,
21592         termhooks.h, w32heap.h.
21593         * src/w32font.c: Don't include dispextern.h, character.h,
21594         charset.h, fontset.h, font.h.
21595         (intern_font_name, add_font_entity_to_list)
21596         (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
21597         (list_all_matching_fonts): Avoid compiler warnings due to pointer
21598         signedness mismatches.
21599         * src/w32fns.c: Don't include character.h, intervals.h,
21600         dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
21601         termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
21602         (w32_color_map_lookup, add_system_logical_colors_to_map)
21603         (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
21604         (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
21605         (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
21606         (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
21607         compiler warnings, mainly due to pointer signedness mismatches.
21608         (unwind_create_frame_1): Remove unused function.
21609         * src/w32console.c: Don't include character.h, disptab.h, frame.h,
21610         window.h, termhooks.h, dispextern.h.
21611         (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
21612         signedness mismatch.
21613         * src/w32.c: Include c-strcase.h and systty.h.  Don't include
21614         w32heap.h.
21616 2015-10-22  Tassilo Horn  <tsdh@gnu.org>
21618         Improve doc-view wrt. auto-revert-mode
21620         * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
21621         is corrupted (bug#21729).
21622         (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
21624 2015-10-22  Oleh Krehel  <ohwoeowho@gmail.com>
21626         Describe dired-do-compress-to in the manual
21628         * etc/NEWS: Update.
21630         * lisp/dired-aux.el: Fix typo.
21632         * doc/emacs/dired.texi: Add entry.
21634 2015-10-22  Jürgen Hötzel  <juergen@archlinux.org>
21636         Further fix for proper locale handling in tramp-gvfs.el
21638         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
21639         Just suppress LC_MESSAGES locale category settings.
21641 2015-10-21  Paul Eggert  <eggert@cs.ucla.edu>
21643         New lispref section “Security Considerations”
21645         This attempts to document some of the issues recently discussed
21646         on emacs-devel, and to indicate other such issues.  The section
21647         could be a lot longer.
21648         * doc/lispref/os.texi (Security Considerations):
21649         New node.
21650         * doc/lispref/elisp.texi (Top):
21651         * doc/lispref/processes.texi (Shell Arguments):
21652         * lisp/subr.el (shell-quote-argument):
21653         * src/callproc.c (syms_of_callproc):
21654         Reference it.
21656 2015-10-21  Paul Eggert  <eggert@cs.ucla.edu>
21658         Merge from gnulib
21660         This incorporates:
21661         2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
21662         2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
21663         * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
21664         Copy from gnulib.
21666 2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
21668         * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
21669         (mailcap-viewer-passes-test): Do it instead.  Thanks to Stefan Monnier.
21671 2015-10-21  Ken Brown  <kbrown@cornell.edu>
21673         Further include-file cleanup
21675         * src/sheap.c: Include stdlib.h.
21676         * src/unexcw.c: Include string.h.
21678 2015-10-21  Eli Zaretskii  <eliz@gnu.org>
21680         Fix logic in 'server-kill-emacs-query-function'
21682         * lisp/server.el (server-kill-emacs-query-function): Correct the
21683         logic that controls whether the user is asked for confirmation.
21684         (Bug#21723)
21686 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
21688         * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
21689         (isearch--lax-regexp-function-p): New function.
21691 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
21693         * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
21694         (isearch-search-fun-default): Let-bind `search-spaces-regexp'
21695         around `isearch-regexp-function'.
21697 2015-10-21  Artur Malabarba  <bruce.connor.am@gmail.com>
21699         * lisp/isearch.el: Rename word search to regexp-function search.
21700         `isearch-word' went well beyond its original purpose, and the name
21701         no longer makes sense.  It is now called
21702         `isearch-regexp-function', and its value should always be a function
21703         that converts a string to a regexp (though setting it to t is still
21704         supported for now).
21705         (isearch-word): Make obsolete.
21706         (isearch-regexp-function): New variable.
21707         (isearch-mode, isearch-done, isearch--state, isearch--set-state)
21708         (with-isearch-suspended, isearch-toggle-regexp)
21709         (isearch-toggle-word, isearch-toggle-symbol)
21710         (isearch-toggle-character-fold, isearch-query-replace)
21711         (isearch-occur, isearch-highlight-regexp)
21712         (isearch-search-and-update, isearch-message-prefix)
21713         (isearch-search-fun-default, isearch-search)
21714         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
21715         Use it.
21716         (isearch-lazy-highlight-regexp-function): New var.
21717         (isearch-lazy-highlight-word): Make obsolete.
21718         (isearch--describe-regexp-mode): New function.
21719         (isearch--describe-word-mode): Make obsolete.
21721         * lisp/info.el (Info-isearch-search):
21722         * lisp/replace.el (replace-search, replace-highlight):
21723         * lisp/obsolete/longlines.el (longlines-search-function):
21724         * lisp/hexl.el (hexl-isearch-search-function):
21725         * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
21726         Use the new var.
21728 2015-10-21  Oleh Krehel  <ohwoeowho@gmail.com>
21730         Add dired-do-compress-to command bound to "c"
21732         * lisp/dired-aux.el (dired-shell-command): Use the caller's
21733           `default-directory', return the result of `process-file'.
21734         (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
21735         used by default.
21736         (dired-compress-files-alist): New defvar.
21737         (dired-do-compress-to): New command.
21739         * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
21740         (dired-do-compress-to): Add an autoload entry.
21742         * etc/NEWS: Add two entries.
21744 2015-10-21  Tassilo Horn  <tsdh@gnu.org>
21746         Make RefTeX work with LaTeX subfiles package
21748         * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
21749         document class argument as master file for referencing purposes.
21751 2015-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
21753         * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
21755 2015-10-20  Paul Eggert  <eggert@cs.ucla.edu>
21757         Include-file cleanup for src directory
21759         Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
21760         In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
21761         but does not include it directly.  As a general rule, a source
21762         file should include foo.h if it needs the interfaces that foo.h
21763         defines.
21764         * src/alloc.c: Don’t include process.h.  Include dispextern.h,
21765         systime.h.
21766         * src/atimer.c: Don’t include blockinput.h.
21767         * src/buffer.c: Include coding.h, systime.h.  Don’t include
21768         keyboard.h, coding.h.
21769         * src/callint.c: Don’t include commands.h, keymap.h.
21770         * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
21771         systty.h, termhooks.h.
21772         * src/casetab.c: Don’t include character.h.
21773         * src/category.c: Don’t include charset.h, keymap.h.
21774         * src/ccl.h: Don’t include character.h.
21775         * src/character.c: Don’t include charset.h.
21776         * src/charset.c: Don’t include disptab.h.
21777         * src/chartab.c: Don’t include ccl.h.
21778         * src/cm.c: Don’t include frame.h, termhooks.h.
21779         * src/cmds.c: Don’t include window.h, dispextern.h.
21780         * src/coding.c: Don’t include window.h, frame.h.
21781         * src/composite.c: Include composite.h.  Don’t include window.h,
21782         font.h.
21783         * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
21784         * src/dbusbind.c: Don’t include frame.h.
21785         * src/decompress.c: Don’t include character.h.
21786         * src/dired.c: Don’t include character.h, commands.h, charset.h.
21787         * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
21788         process.h, timespec.h.  Include systime.h.
21789         * src/doc.c: Include coding.h.  Don’t include keyboard.h.
21790         * src/editfns.c: Include composite.h.  Don’t include frame.h.
21791         * src/emacs.c: Include fcntl.h, coding.h.  Don’t include
21792         commands.h, systty.h..
21793         * src/fileio.c: Don’t include intervals.h, dispextern.h.
21794         Include composite.h.
21795         * src/filelock.c: Don’t include character.h, systime.h.
21796         * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
21797         keymap.h, frame.h, blockinput.h, xterm.h.  Include composite.h.
21798         * src/font.c: Include termhooks.h.
21799         * src/font.h: Don’t include ccl.h, frame.h.  Add forward decls of
21800         struct composition_it, struct face, struct glyph_string.
21801         * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
21802         intervals.h, window.h, termhooks.h.
21803         * src/frame.c: Don’t include character.h, commands.h, font.h.
21804         * src/frame.h: Don’t include dispextern.h.
21805         * src/fringe.c: Don’t include character.h.
21806         * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
21807         character.h, charset.h, fontset.h.
21808         * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
21809         fontset.h.
21810         * src/ftxfont.c: Don’t include dispextern.h, character.h,
21811         charset.h, fontset.h.
21812         * src/gfilenotify.c: Don’t include frame.h, process.h.
21813         * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
21814         Don’t include syssignal.h, buffer.h, charset.h, font.h.
21815         * src/gtkutil.h: Don’t include frame.h.
21816         * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
21817         Don’t include character.h.
21818         * src/indent.c: Don’t include keyboard.h, termchar.h.
21819         * src/inotify.c: Don’t include character.h, frame.h.
21820         * src/insdel.c: Include composite.h.  Don’t include blockinput.h.
21821         * src/intervals.c: Don’t include character.h, keyboard.h.
21822         * src/intervals.h: Don’t include dispextern.h, composite.h.
21823         * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
21824         Include coding.h.
21825         * src/keyboard.h: Don’t incldue systime.h.
21826         * src/keymap.c: Don’t include charset.h, frame.h.
21827         * src/lread.c: Include dispextern.h and systime.h.
21828         Don’t include frame.h.  Include systime.h.
21829         * src/macros.c: Don’t include commands.h, character.h, buffer.h.
21830         * src/menu.c: Include character.h, coding.h.  Don’t include
21831         dispextern.h.
21832         * src/menu.h: Don’t include systime.h.
21833         * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
21834         intervals.h, termhooks.h.
21835         * src/print.c: Include coding.h.  Don’t include keyboard.h,
21836         window.h, dispextern.h, termchar.h, termhooks.h, font.h.
21837         Add forward decl of struct terminal.
21838         * src/process.c: Don’t include termhooks.h, commands.h,
21839         dispextern.h, composite.h.
21840         * src/region-cache.c: Don’t include character.h.
21841         * src/scroll.c: Don’t include keyboard.h, window.h.
21842         * src/search.c: Don’t include category.h, commands.h.
21843         * src/sound.c: Don’t include dispextern.h.
21844         * src/syntax.c: Don’t include command.h, keymap.h.
21845         * src/sysdep.c: Don’t include window.h, dispextern.h.
21846         * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
21847         * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
21848         * src/terminal.c: Include character.h.
21849         Don’t include charset.h, coding.h.
21850         * src/textprop.c: Don’t include character.h.
21851         * src/undo.c: Don’t include character.h, commands.h, window.h.
21852         * src/unexsol.c: Don’t include character.h, charset.h.
21853         * src/widget.c: Include widget.h.  Don’t include keyboard.h,
21854         window.h, dispextern.h, blockinput.h, character.h, font.h.
21855         * src/widgetprv.h: Don’t include widget.h.
21856         * src/window.c: Don’t include character.h, menu.h, intervals.h.
21857         * src/xdisp.c: Include composite.h, systime.h.  Don’t include
21858         macros.h, process.h.
21859         * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
21860         intervals.h.
21861         * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
21862         epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
21863         * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
21864         * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
21865         * src/xgselect.c: Don’t include timespec.h, frame.h.
21866         Include systime.h.
21867         * src/xgselect.h: Don’t include time.h.
21868         Use a forward decl to struct timespec instead.
21869         * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
21870         dispextern.h.  Include systime.h.
21871         * src/xml.c: Don’t include character.h.
21872         * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
21873         * src/xselect.c: Don’t include dispextern.h, character.h,
21874         buffer.h, process.h.
21875         * src/xsmfns.c: Don’t include systime.h, sysselect.h.
21876         * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
21877         intervals.h process.h, keymap.h, xgselect.h.  Include composite.h.
21879 2015-10-20  Paul Eggert  <eggert@cs.ucla.edu>
21881         (/ N) now returns the reciprocal of N
21883         This is more compatible with Common Lisp and XEmacs (Bug#21690).  See:
21884         http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
21885         * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
21886         (color-xyz-to-srgb, color-xyz-to-lab):
21887         * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
21888         * lisp/net/shr-color.el (shr-color-hue-to-rgb)
21889         (shr-color-hsl-to-rgb-fractions):
21890         Exploit the change to simplify the code a bit.
21891         * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
21892         Don’t complain about single-argument calls to ‘/’.
21893         * src/data.c (arith_driver, float_arith_driver):
21894         Implement the change.
21896 2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>
21898         Call vc-dir-refresh after stash operations
21900         * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
21901         (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
21903         * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
21904         since it can be abbreviated (as returned by vc-find-root).
21906 2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>
21908         * lisp/vc/vc-svn.el:
21909         * lisp/vc/vc-mtn.el:
21910         * lisp/vc/vc-hg.el:
21911         * lisp/vc/vc-cvs.el:
21912         * lisp/vc/vc-git.el:
21913         * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
21914         Its usages have been replaced with vc-run-delayed.
21916 2015-10-20  Dima Kogan  <dima@secretsauce.net>
21918         Fix memory leak in fontset handling
21920         * src/font.c (copy_font_spec): Make a deep copy of the input
21921         argument FONT.  (Bug#21651)
21923 2015-10-20  Michael Sperber  <mike@xemacs.org>
21925         * lisp/gnus/mailcap.el (mailcap-mime-data):
21926         Conditonalize `doc-view-mode', which does not exist on XEmacs.
21928 2015-10-20  Oleh Krehel  <ohwoeowho@gmail.com>
21930         Update the way directories are compressed
21932         * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
21933         for *.tar.gz decompression to use a pipe.
21934         Add an entry for the default directory compression (to *.tar.g).
21935         (dired-compress-file): Update.
21937         See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
21939 2015-10-20  Michael Sperber  <mike@xemacs.org>
21941         Unbreak `group' option for `mail-sources'
21943         * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
21944         * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
21945         (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
21947 2015-10-19  Nicolas Petton  <nicolas@petton.fr>
21949         New function seq-position
21951         * lisp/emacs-lisp/seq.el (seq-position): New function.
21952         * test/automated/seq-tests.el: New tests for seq-position.
21953         * doc/lispref/sequences.texi: Add documentation for `seq-position'.
21955 2015-10-19  Ken Brown  <kbrown@cornell.edu>
21957         Enable --with-wide-int build on 32-bit Cygwin
21959         * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
21960         and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
21962 2015-10-19  Glenn Morris  <rgm@gnu.org>
21964         * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
21966 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
21968         Resurrect image loading under auto-image-file-mode
21970         * src/image.c (x_find_image_fd): Handle the case of -2 returned by
21971         'openp' specially.  This special case was lost in the changes on
21972         2015-08-18.  (Bug#21685)
21974 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
21976         Fix return value of 'set-file-extended-attributes'
21978         * lisp/files.el (set-file-extended-attributes): Return non-nil
21979         when setting either ACLs or SELinux context succeeds.  Document
21980         the return value.  (Bug#21699)
21982         * doc/lispref/files.texi (Changing Files): Document the return
21983         value of set-file-extended-attributes.
21985 2015-10-19  Eli Zaretskii  <eliz@gnu.org>
21987         Improve documentation of functions that change files
21989         * doc/lispref/files.texi (Changing Files): Document that these
21990         functions signal an error on failure.
21992 2015-10-18  Eli Zaretskii  <eliz@gnu.org>
21994         Fix doc string of 'shell-quote-argument'
21996         * lisp/subr.el (shell-quote-argument): Doc fix.  (Bug#21702)
21998 2015-10-18  Michael Albinus  <michael.albinus@gmx.de>
22000         Some minor Tramp changes
22002         * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
22004         * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
22005         Expand `tramp-auto-save-directory'.
22007 2015-10-18  Michael Albinus  <michael.albinus@gmx.de>
22009         Minor edits in Tramp
22011         * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
22012         Declare it.
22014         * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
22015         Remove declaration.
22017 2015-10-17  Mark Oteiza  <mvoteiza@udel.edu>
22019         * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
22021 2015-10-17  Eli Zaretskii  <eliz@gnu.org>
22023         Avoid crashes when redisplayng a window changes faces or fonts
22025         * src/xdisp.c (redisplay_internal): If redisplaying the selected
22026         window or one of the frames turns on the frame's 'redisplay' flag,
22027         redisplay again.  (Bug#21428)
22029         * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
22031 2015-10-17  Michael Albinus  <michael.albinus@gmx.de>
22033         Solve timimg issues in file-notify-tests.el
22035         * test/automated/file-notify-tests.el (file-notify-test02-events):
22036         Rectify `attribute-change' tests.  There are timing issues with
22037         gfilenotify.  (Bug#21669)
22039 2015-10-16  Paul Eggert  <eggert@cs.ucla.edu>
22041         Fix quoting of data within htmlfontify doc
22043         * doc/misc/htmlfontify.texi (Data Structures, Customization):
22044         Fix quoting of data structures.  A Lisp quote is needed only
22045         when data appears within Lisp code.
22047 2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>
22049         * lisp/emacs-lisp/package.el: Reload archive-contents if
22050         priorities change.
22051         (package--old-archive-priorities): New variable.
22052         (package-read-all-archive-contents, package-menu--refresh): Use it
22053         to decide when the `package-archive-contents' needs to be read
22054         again.
22056 2015-10-16  Paul Eggert  <eggert@cs.ucla.edu>
22058         Make src headers idempotent and standalone
22060         Redo src/*.h so that each include file is idempotent (that is, can
22061         be included multiple times with the latter inclusions having no
22062         effect) and standalone (that is, can be included by itself,
22063         with no include file other than config.h needed as a prerequisite).
22064         This is standard practice in GNU programs nowadays.
22065         * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
22066         * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
22067         * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
22068         * src/regex.h [emacs]:
22069         * src/syntax.h, src/systty.h, src/termhooks.h:
22070         Include lisp.h, for Lisp_Object.
22071         * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
22072         * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
22073         * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
22074         * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
22075         * src/termopts.h, src/tparam.h, src/unexec.h:
22076         Protect against multiple inclusion.
22077         * src/buffer.h: Include character.h, for STRING_CHAR.
22078         * src/emacsgtkfixed.h (struct frame):
22079         * src/fontset.h (struct face):
22080         * src/region-cache.h (struct buffer):
22081         * src/termhooks.h (struct glyph):
22082         * src/xsettings.h (struct x_display_info):
22083         Add possibly-forward decl.
22084         * src/syntax.h: Include buffer.h, for BVAR.
22085         * src/sysselect.h: Include lisp.h, for eassume.
22086         * src/termchar.h: Include <stdio.h>, for FILE.
22087         * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
22088         * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
22090 2015-10-16  Jürgen Hötzel  <juergen@archlinux.org>
22092         Handle symlink targets containing spaces in tramp-gvfs.el
22094         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
22095         Handle symlink targets containing spaces.
22097 2015-10-16  Artur Malabarba  <bruce.connor.am@gmail.com>
22099         * lisp/custom.el (custom-theme-load-path): Demote to defvar.
22101         `custom-theme-load-path' was a defcustom, but it shouldn't be for the
22102         same reason that `load-path' shouldn't.  Setting it via the customize
22103         interface is a trap for the user.
22105         Installed themes commonly add themselves to this variable, which means
22106         its value is not fit for being saved (it will permanently remember dirs
22107         that don't exist anymore).
22109         This is aggravated by the fact that Emacs always applies the `user'
22110         theme on top of any theme that's loaded, since this will apply the old
22111         variable value and remove any new directories that had been recently
22112         added by themes themselves.
22114         Not to mention, we already have `custom-theme-directory', which is safe
22115         to customize.
22117 2015-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
22119         * lisp/mpc.el: Rename the new toggling commands.
22120         (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
22121         (mpc-toggle-shuffle): Add "-toggle" in the name.
22123 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
22125         Improve the doc string of 'completion-boundaries'
22127         * lisp/minibuffer.el (completion-boundaries): Rename the argument
22128         TABLE to COLLECTION, for consistency with other high-level
22129         completion functions.  Document how COLLECTION is called if it
22130         is a function.  (Bug#21644)
22132 2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>
22134         * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
22136 2015-10-16  Oleh Krehel  <ohwoeowho@gmail.com>
22138         Make dired-do-compress work for *.zip files
22140         * lisp/dired-aux.el (dired-check-process): Transform the top-level
22141           comment into a docstring.
22142         (dired-shell-command): New command.  This mirrors
22143         `dired-check-process', but is more user-friendly for passing
22144         arguments.
22145         (dired-compress-file-suffixes): Allow to specify the command switches
22146         along with input (%i) and output (%o) inside the PROGRAM part.
22147         Add an entry for *.zip files, and update the entry for *.tar.gz files
22148         to the new style.  Update the docstring.
22149         (dired-compress-file): When PROGRAM matches %i or %o, use the new
22150         logic.
22151         (dired-update-file-line): Avoid an error when at end of buffer.
22153         Fixes bug#21637.
22155 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
22157         Minor improvement in documentation of internals
22159         * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
22161 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
22163         Improve documentation of COLLECTION in completion functions
22165         * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
22166         cross-reference to "Programmed Completion".
22168         * src/minibuf.c (Fcompleting_read): Improve the doc string.
22169         (Bug#21644)
22171 2015-10-16  Eli Zaretskii  <eliz@gnu.org>
22173         Add more release info to etc/HISTORY
22175         * etc/HISTORY: Add more release information about 19.x and 20.x
22176         versions.
22178 2015-10-15  Paul Eggert  <eggert@cs.ucla.edu>
22180         New file etc/HISTORY
22182         * admin/FOR-RELEASE: Procedure for etc/HISTORY.
22183         * etc/HISTORY: New file.
22184         * etc/NEWS: Mention it.
22186 2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>
22188         js-mode: Don't misindent generator methods
22190         * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
22191         generator methods from multiplication operator
22192         (https://github.com/mooz/js2-mode/issues/275).
22194 2015-10-15  Paul Eggert  <eggert@cs.ucla.edu>
22196         Fix animation timeout delay calculation
22198         * lisp/image.el (image-animate-timeout):
22199         Don’t assume speed is floating-point.
22201 2015-10-15  Mark Oteiza  <mvoteiza@udel.edu>
22203         Add commands for controlling MPD modes
22205         * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
22206         (mpc-cmd-single): New functions.
22207         (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
22208         (mpc-mode-menu): Add new commands as menu items.
22210 2015-10-15  Dmitry Gutov  <dgutov@yandex.ru>
22212         Refer to `(elisp)Basic Completion' in completing-read docstring
22214         * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
22215         Completion' in the docstring (bug#21644).
22217 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
22219         * lisp/mpc.el (mpc-format): Always push form to pred
22221 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
22223         Spelling fixes
22225         * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
22226         * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
22227         Fix misspelling of nonexistent file name.
22229 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
22231         * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
22233 2015-10-14  Michael Albinus  <michael.albinus@gmx.de>
22235         Some editing fixes in Tramp
22237         * lisp/net/tramp-gvfs.el:
22238         * doc/misc/tramp.texi: "customer option" -> "custom option".
22240         * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
22242 2015-10-14  Jürgen Hötzel  <juergen@archlinux.org>
22244         Use proper localization in tramp-gvfs.el
22246         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
22247         Suppress localized settings in order to proper parse gfvs output.
22249 2015-10-14  Warren Lynn  <wrn.lynn@gmail.com>  (tiny change)
22251         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22252         Quote argument in proper order.  (Bug#21562)
22254 2015-10-14  Nicolas Petton  <nicolas@petton.fr>
22256         Fix typos in docstrings
22258         * lisp/emacs-lisp/map.el:
22259         * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
22260           macros.
22262 2015-10-14  Mark Oteiza  <mvoteiza@udel.edu>
22264         * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
22266 2015-10-14  Oleh Krehel  <ohwoeowho@gmail.com>
22268         Make dired-jump work with tar-subfile-mode
22270         * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
22271           emitting an error, switch to `tar-superior-buffer'.
22273 2015-10-14  Juanma Barranquero  <lekktu@gmail.com>
22275         * .gitignore: Add build-aux/ar-lib.
22277 2015-10-14  Nicolas Petton  <nicolas@petton.fr>
22279         Better docstrings in seq.el and map.el
22281         * lisp/emacs-lisp/map.el:
22282         * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
22284 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
22286         Merge from gnulib
22288         This incorporates:
22289         2015-10-13 binary-io, u64, unistd: port to strict C
22290         2015-09-26 c-ctype: do not worry about EBCDIC + char signed
22291         2015-09-25 c-ctype: port better to z/OS EBCDIC
22292         2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
22293         * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
22294         * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
22295         Copy from gnulib.
22297 2015-10-14  Paul Eggert  <eggert@cs.ucla.edu>
22299         Take XPNTR private
22301         * src/alloc.c (PURE_POINTER_P): Remove.
22302         All uses replaced with PURE_P.
22303         (XPNTR_OR_SYMBOL_OFFSET): New function.
22304         (XPNTR): Move here from lisp.h.
22305         Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
22306         (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
22307         Remove unnecessary cast.
22308         (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
22309         to avoid an unnecessary runtime test for symbols.
22310         * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
22311         Only alloc.c needs XPNTR now.
22313 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
22315         Add MPC play/pause command
22317         * lisp/mpc.el (mpc-toggle-play): New command.
22318         (mpc-mode-map): Bind it to "s".
22319         (mpc-mode-menu): Add corresponding menu item.
22321 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
22323         Add bindings and menu items for prev and next tracks
22325         * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
22326         "<" to mpc-prev.
22327         (mpc-mode-menu): Add corresponding menu items
22329 2015-10-13  Ken Raeburn  <raeburn@raeburn.org>
22331         Reduce face-related consing during frame creation.
22333         * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
22334         attribute list once.
22335         (face-spec-reset-face): Use it instead of building the list.
22337 2015-10-13  Ken Raeburn  <raeburn@permabit.com>
22339         Do process ConfigureNotify events indicating size changes.
22341         * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
22342         events don't have the same size, process each one.
22344 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
22346         Derive mpc-mode from special-mode
22348         lisp/mpc.el (mpc-mode-map): Make from sparse keymap.  Unbind g.
22349         (mpc-mode): Derive from special mode.
22350         (mpc-songs-mode-map): Don't set parent keymap.
22352 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
22354         Fix error messages for when covers are not found.
22356         The last change to mpc-format let the binding to file call
22357         mpc-file-local-copy with nil argument.  Instead, employ if-let here
22358         so nil bindings don't result in needless computation and errors.
22359         * lisp/mpc.el: Require 'subr-x at compile time.
22360         * lisp/mpc.el (mpc-format): Use if-let.
22362 2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
22364         Make dired-do-compress work for *.tar.gz files
22366         * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
22367           "tar -zxvf" to *.tar.gz; update docstring.
22369         (dired-compress-file): Allow to specify switches after the command in
22370         `dired-compress-file-suffixes'.
22372 2015-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
22374         Make dired-do-compress work for directories
22376         * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
22377           instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
22378         Also convert the top comment into a docstring.
22380 2015-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22382         * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
22384         ... since it might come straight from the memoizing table.
22386 2015-10-13  Juanma Barranquero  <lekktu@gmail.com>
22388         * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
22390 2015-10-13  Mark Oteiza  <mvoteiza@udel.edu>
22392         Use special-mode in eww list modes
22394         * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
22395         (eww-buffers-mode): Derive from special-mode and remove redundant
22396         setting of buffer-read-only.
22397         (eww-mode-map): Remove redundant keymap parent setting.
22398         (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
22399         Remove redundant keymap suppressions and mappings.
22401 2015-10-13  Martin Rudalics  <rudalics@gmx.at>
22403         Allow setting frame pixel sizes from frame parameters (Bug#21415)
22405         Also fix some misfeatures in frame (re-)sizing code, add more
22406         debugging information and remove some dead code.
22408         * lisp/frame.el (frame-notice-user-settings, make-frame): Change
22409         parameter names when setting `frame-size-history'.
22410         (frame--size-history): New function.
22412         * src/frame.c (frame_inhibit_resize): If frame has not been made
22413         yet, return t if inhibit_horizontal_resize or
22414         inhibit_vertical_resize bit have been set.
22415         (adjust_frame_size): Simplify.
22416         (make_frame): Initialize inhibit_horizontal_resize,
22417         inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
22418         (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
22419         inhibit_vertical_resize slots.
22420         (x_set_frame_parameters): Handle `text-pixels' specification for
22421         width and height parameters.  Don't consider new_height or
22422         new_width changes.  Call adjust_frame_size instead of
22423         Fset_frame_size.
22424         (x_figure_window_size): Two new arguments x_width and y_width
22425         returning frame's figures width and height.  Calculate tool bar
22426         height before frame sizes so SET_FRAME_HEIGHT can pick it up.
22427         Handle `text-pixels' specification for width and height
22428         parameters.
22429         (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
22430         (Qx_set_window_size_1, Qx_set_window_size_2)
22431         (Qx_set_window_size_3, Qx_set_menu_bar_lines)
22432         (Qupdate_frame_menubar, Qfree_frame_menubar_1)
22433         (Qfree_frame_menubar_2): New symbols.
22434         * src/frame.h (structure frame): New booleans
22435         tool_bar_redisplayed, tool_bar_resized,
22436         inhibit_horizontal_resize, inhibit_vertical_resize.
22437         (x_figure_window_size): Update external declaration.
22438         * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
22439         calling gtk_window_resize.
22440         (update_frame_tool_bar): Make inhibiting of frame resizing more
22441         discriminative.  Set tool_bar_resized bit.
22442         * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
22443         resizing more discriminative.  Call adjust_frame_size instead of
22444         x_set_window_size.
22445         (Fx_create_frame): Handle x_width and x_height if
22446         set by x_figure_window_size.
22447         * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
22448         subtract 3 from tool bar height.
22449         (x_set_window_size): Add frame_size_history_add call.
22450         (x_new_font): Call adjust_frame_size instead of
22451         x_set_window_size.
22452         * src/w32fns.c (x_change_tool_bar_height): Reset
22453         tool_bar_redisplayed and tool_bar_resized bits when adding tool
22454         bar.  Make inhibiting of frame resizing more discriminative.
22455         (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
22456         (Fx_create_frame): Handle x_width and x_height if set by
22457         x_figure_window_size.  Set size hints before adjusting frame size.
22458         (x_create_tip_frame): Adjust x_figure_window_size call.
22459         * src/w32term.c (x_set_window_size): Add frame_size_history_add
22460         call.
22461         * src/widget.c (set_frame_size): Remove dead code.  Add
22462         frame_size_history_add call.  When frame_resize_pixelwise is t
22463         use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
22464         pixel_width and pixel_height.
22465         (update_various_frame_slots): Remove dead code.
22466         (EmacsFrameResize): Add more information in
22467         frame_size_history_add call.
22468         (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
22469         is not set.
22470         * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
22471         * src/xfns.c (x_set_menu_bar_lines): Change argument name.
22472         (x_change_tool_bar_height): Reset tool_bar_redisplayed and
22473         tool_bar_resized bits when adding tool bar.  Make inhibiting of
22474         frame resizing more discriminative.
22475         (Fx_create_frame): Handle x_width and x_height if set by
22476         x_figure_window_size.  Set size hints before adjusting frame size.
22477         (x_create_tip_frame): Adjust x_figure_window_size call.
22478         * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
22479         (set_frame_menubar): On Lucid never add core-border-width to
22480         avoid that adding XtNinternalBorderWidth adds it again.
22481         (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
22482         * src/xterm.c (x_new_font): In non-toolkit case handle size
22483         change of menu bar.
22484         (x_set_window_size_1): Fix calls to frame_size_history_add.
22485         (x_wm_set_size_hint): Remove dead code.  Set
22486         size_hints.min_width and size_hints.min_height to base_width and
22487         base_height.
22489 2015-10-13  Michael Albinus  <michael.albinus@gmx.de>
22491         * test/automated/file-notify-tests.el (file-notify--test-timeout):
22492         Add docstring.  Increase to 10 seconds for remote
22493         directories.  (Bug#21669)
22495 2015-10-12  Paul Eggert  <eggert@cs.ucla.edu>
22497         Unmacroize ebrowse.c and etags.c a bit
22499         * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
22500         (streq, filename_eq, set_flag, has_flag): Now inline functions.
22501         (set_flag): First arg is now an address, not an lvalue.
22502         All callers changed.
22503         (filename_eq, set_flag, has_flag):
22504         Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
22505         All callers changed.
22506         * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
22507         Now inline functions.  Remove asserts that are unnecessary these
22508         days (and in some cases were too-generous anyway).
22510 2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>
22512         Use highlight for current items
22514         * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
22515         Apply highlight face instead of region face.
22517 2015-10-12  Mark Oteiza  <mvoteiza@udel.edu>
22519         Search for more cover image names in MPC
22521         * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
22522         case insensitively
22524 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
22526         Remove or comment out unused variables
22528         * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
22529         nontext_cursor, mode_cursor, hand_cursor and count.
22530         (x_change_tool_bar_height): Remove variable old_text_height.
22531         (deliver_wm_chars): Remove variable strip_Alt.
22532         (Fw32_shell_execute): Remove variable document_a.
22533         (Fw32_frame_geometry): Remove variable fullboth.
22534         * src/w32term.c (w32_setup_relief_color): Comment out variable
22535         w32_display_info.
22536         (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
22537         (w32_read_socket): Comment out variables rows, columns.
22538         * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
22540 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
22542         * src/w32proc.c (sys_select): Fix bitwise test.
22544 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
22546         Minor typo corrections in doc strings
22548         * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
22549         Doc fixes.
22551 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
22553         * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
22555 2015-10-12  Eli Zaretskii  <eliz@gnu.org>
22557         Attempt to avoid crashes in plist-member
22559         * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
22560         and a call to XCDR.  (Bug#21655)
22562 2015-10-12  Mike FABIAN  <mfabian@redhat.com>
22564         * lisp/select.el (gui-get-primary-selection): In
22565         gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
22567 2015-10-12  Tassilo Horn  <tsdh@gnu.org>
22569         Support RTF in doc-view
22571         * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
22573 2015-10-12  Juanma Barranquero  <lekktu@gmail.com>
22575         * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
22577 2015-10-11  Nicolas Petton  <nicolas@petton.fr>
22579         Replace the usage of an obsolete function in auth-source.el
22581         * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
22582         Replace an usage of `epg-context-set-armor' with `setf'.
22584 2015-10-11  Nicolas Petton  <nicolas@petton.fr>
22586         * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
22588 2015-10-11  Jay Belanger  <jay.p.belanger@gmail.com>
22590         Have calc-yank recognize numbers in different bases.
22592         * lisp/calc/calc-yank.el (math-number-regexp): New function.
22593         (calc-yank): Use `math-number-regexp' to recognize numbers.
22595 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
22597         Handle an opaque-move X11 window manager operation more efficiently
22599         * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
22600         followed by more ConfigureNotify events for the same window, process
22601         only the last one.
22603 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
22605         Fix cursor setting for tip frame; re-enable cursor generation
22607         * src/xfns.c (x_create_tip_frame): Include the cursor in the window
22608         attributes sent when creating the new X window.  Don't skip setting
22609         the pointerColor parameter.
22611 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
22613         Rewrite x_set_mouse_color to sync less
22615         We can track serial numbers of X requests and correlate error events
22616         with the associated requests.  This way we can identify errors for
22617         specific calls without having to use XSync after every one.
22619         * src/xfns.c (enum mouse_cursor): New type.
22620         (struct mouse_cursor_types, struct mouse_cursor_data): New types.
22621         (mouse_cursor_types): New array listing the Lisp variables and default
22622         cursor appearances for each cursor type.
22623         (x_set_mouse_color_handler): New function; checks error event serial
22624         number against submitted requests.
22625         (x_set_mouse_color): Updated to use the new error handler callback,
22626         and to be more table-driven, to simplify repetitious code.
22628 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
22630         Add x_catch_errors_with_handler
22632         * src/xterm.c (struct x_error_message_stack): Add new fields for a
22633         callback function and associated data pointer.
22634         (x_error_catcher): If the callback function is set, call it after
22635         saving the error message string.
22636         (x_catch_errors_with_handler): Renamed from x_catch_errors but now
22637         accepts a callback function and data pointer.
22638         (x_catch_errors): Now a wrapper function.
22639         * src/xterm.h (x_special_error_handler): New typedef.
22640         (x_catch_errors_with_handler): Declare.
22642 2015-10-11  Ken Raeburn  <raeburn@raeburn.org>
22644         Introduce x_uncatch_errors_after_check to reduce XSync calls
22646         Both x_had_errors_p and x_check_errors call XSync, so if they're
22647         immediately followed by x_uncatch_errors, its XSync call will be
22648         redundant, resulting in a wasted round trip to the X server.
22650         * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
22651         x_uncatch_errors without the XSync call.
22652         (XTmouse_position, x_wm_supports):
22653         * src/xfns.c (x_set_mouse_color):
22654         * src/xmenu.c (Fx_menu_bar_open_internal):
22655         * src/xselect.c (x_own_selection, x_get_foreign_selection):
22656         (Fx_get_atom_name): Call it instead of x_uncatch_errors.
22657         * src/xterm.h (x_uncatch_errors_after_check): Declare.
22659 2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>
22661         Document the optional prefix to `calc-yank'
22663         * doc/misc/calc.texi (Yanking into the Stack): Document the optional
22664         prefix to `calc-yank'.
22665         * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
22666         the Calc buffer are yanked back unchanged.
22668 2015-10-10  Mark Oteiza  <mvoteiza@udel.edu>
22670         * lisp/calendar/calendar.el: Display buffer before executing body.
22672         In each use of this macro, the modeline is derived from a window width
22673         calculation, which will be wrong if (display-buffer) splits the window
22674         horizontally.
22676 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
22678         Use ‘echo’ safely with ‘\’ or leading ‘-’
22680         POSIX says that ‘echo FOO’ produces implementation-defined output
22681         if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
22682         behavior in that case.
22683         * Makefile.in (removenullpaths): Remove.
22684         (epaths-force): Rewrite to avoid the need for ‘echo’.
22685         (install-etc): Be clearer about escaping the shell metacharacters
22686         ‘\’ and ‘$’.
22687         * Makefile.in (install-arch-indep, install-etcdoc):
22688         * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
22689         * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
22690         * configure.ac, lib-src/rcs2log, make-dist:
22691         * src/Makefile.in (lisp.mk):
22692         Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
22693         For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
22694         if $foo can contain arbitrary characters.
22695         * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
22696         * doc/lispref/two-volume.make (vol1.pdf):
22697         * test/etags/make-src/Makefile (web ftp publish):
22698         Use ‘printf’ rather than ‘echo -e’.
22700 2015-10-10  Kaushal Modi  <kaushal.modi@gmail.com>
22702         Allow numbers with different radixes to be yanked.
22704         * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
22705         default base 10.
22707 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
22709         Improve CHECK_IMPURE and PURE_P speedup
22711         * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
22713 2015-10-10  Jay Belanger  <jay.p.belanger@gmail.com>
22715         Use events instead of chars to keep track of steps.
22717         * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
22718         to keep track of steps.
22720 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
22722         Fix --enable-gcc-warnings problem with older GCC
22724         * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
22725         This is for building with --enable-gcc-warnings with
22726         GCC 4.6 through 5.0.
22728 2015-10-10  Eli Zaretskii  <eliz@gnu.org>
22730         Fix vertical-motion in truncated lines that end in a stretch
22732         * src/indent.c (Fvertical_motion): Expect overshoot when point is
22733         beyond window margin and lines are truncated, even if we have a
22734         stretch at point.  (Bug#21468)
22736 2015-10-10  Eli Zaretskii  <eliz@gnu.org>
22738         Avoid link-time errors due to inline functions
22740         * src/emacs.c: Include puresize.h, to avoid link-time errors in
22741         unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
22742         inline functions.
22744 2015-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22746         * src/data.c (Faset): Fix last change.
22748 2015-10-10  Paul Eggert  <eggert@cs.ucla.edu>
22750         CHECK_IMPURE and PURE_P speedup
22752         * src/intervals.c (create_root_interval):
22753         Do CHECK_IMPURE only for strings; not needed for buffers.
22754         Prefer ! STRINGP to BUFFERP, for a tad more speed.
22755         * src/puresize.h (CHECK_IMPURE, PURE_P):
22756         Now inline functions instead of macros.
22757         (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
22758         All callers changed.
22759         (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
22760         All callers changed.
22762 2015-10-09  Noah Friedman  <friedman@splode.com>
22764         (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
22766 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
22768         * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
22770         our after-change-function, rather than re-adding it if it was removed.
22772 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
22774         * lisp/cedet/ede: Silence some compiler warnings
22776         * lisp/cedet/ede.el: Require cl-lib.  Silence some compiler warnings.
22777         (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
22778         (ede-apply-object-keymap, ede-reset-all-buffers)
22779         (ede-auto-add-to-target): Use dolist.
22780         (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
22781         Use field names rather than initarg names in `oref'.
22782         (ede-load-project-file): Remove unused var `file'.
22783         (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
22784         (ede-set): Remove unused var `a'.
22786         * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
22787         (ede-project-autoload): Avoid the old-style "name" argument.
22788         (ede-emacs-find-matching-target): Use field names rather than initarg
22789         names in `oref'.
22791         * lisp/cedet/ede/linux.el: Silence some compiler warnings.
22792         (ede-linux-load, ede-project-autoload): Avoid the old-style
22793         "name" argument.
22794         (ede-linux-find-matching-target): Use field names rather than initarg
22795         names in `oref'.
22797 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
22799         * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
22801 2015-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
22803         * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
22804         indenting too far after ":-".
22806 2015-10-09  Eli Zaretskii  <eliz@gnu.org>
22808         Update case-table and categories of recently added characters
22810         * lisp/international/characters.el: Update information about Latin
22811         Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
22812         Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
22813         blocks.  (Byug#21654)
22815 2015-10-09  Martin Rudalics  <rudalics@gmx.at>
22817         * src/frame.c (adjust_frame_size): In minibuffer-only windows
22818         don't count minibuffer height twice.  (Bug#21643)
22820 2015-10-09  Eli Zaretskii  <eliz@gnu.org>
22822         Avoid inflooping in font-lock
22824         * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
22825         inhibit-field-text-motion around the call to
22826         line-beginning-position, to avoid inflooping.  (Bug#21615)
22828 2015-10-09  Tassilo Horn  <tsdh@gnu.org>
22830         Refactor duplicated code; ensure default is in completions
22832         * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
22833         New function.
22834         (reftex-extract-bib-entries): Use it.
22835         (reftex-extract-bib-entries-from-thebibliography): Use it.
22837 2015-10-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
22839         * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
22840         in the example.
22842 2015-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22844         * lisp/calc/calc.el: Silence byte-compiler warnings.
22845         (calc-scan-for-dels): Use ignore-errors.
22846         (calc-dispatch, calc-do-dispatch): Make unused arg optional.
22847         (calc-read-key-sequence): Remove unused var `prompt2'.
22848         (calc-kill-stack-buffer): Remove unused var `buflist'.
22849         (calc): Remove unused var `oldbuf'.
22850         (calc-refresh): Use inhibit-read-only.
22851         (calc-can-abbrev-vectors): Declare.
22852         (calc-record): Remove unused var `mainbuf'.
22853         (math-sub-bignum): Remove unused var `sum'.
22854         (math-svo-c, math-svo-wid, math-svo-off): Declare.
22856 2015-10-08  Daiki Ueno  <ueno@gnu.org>
22858         Use g_clear_error instead of g_error_free
22860         * src/image.c: Define g_clear_error instead of g_error_free.
22861         (init_svg_functions): Resolve symbol g_clear_error instead of
22862         g_error_free.
22863         (svg_load_image): Use g_clear_error instead of g_error_free, to
22864         suppress GLib warnings when ERR is not set.  See bug#21641.
22866 2015-10-08  Paul Eggert  <eggert@cs.ucla.edu>
22868         * src/image.c (image_size_error): Simplify.
22870 2015-10-08  Paul Eggert  <eggert@cs.ucla.edu>
22872         Fix problems caught with --enable-gcc-warnings
22874         * src/image.c (lookup_rgb_color):
22875         * src/xfns.c (x_defined_color):
22876         * src/xterm.c (x_parse_color):
22877         Remove unused locals.
22879 2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>
22881         * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
22883 2015-10-08  Jay Belanger  <jay.p.belanger@gmail.com>
22885         Format initial input uniformly
22887         * lisp/calc/calc.el (calc-digit-start-entry): New function.
22888         * lisp/calc/calc.el (calcDigit-start):
22889         * lisp/calc/calc-aent.el (calc-alg-digit-entry):
22890         Use `calc-digit-start-entry' to format input.
22892 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
22894         Disable non-working pointerColor setting for X tooltip frame
22896         It generates a bunch of server traffic, but there's some bug wherein
22897         the new mouse cursor settings don't seem to get used.  In most
22898         situations the cursor isn't likely to be seen anyway, so it's not
22899         urgent to fix.
22901         * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
22903 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
22905         Reduce some unnecessary X calls
22907         * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
22908         call.  If border width is wanted, get it from the XGetGeometry call
22909         instead of calling XGetWindowAttributes on the same window.  Skip some
22910         X calls if we've already detected an error from the X server.
22911         * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
22912         (handle_one_xevent): Delete XSync call before x_uncatch_errors.
22914 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
22916         Reduce color allocation/query traffic in the TrueColor case
22918         When working with an X visual with TrueColor class, pixel values can
22919         be generated from the RGB values according to mask value provided by
22920         the server on connection.  Some of the image-handling code was already
22921         doing this.
22923         * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
22924         lookup_rgb_color.
22925         (x_mutable_colormap): New function.
22926         * src/image.c (lookup_rgb_color): Move pixel composition code to
22927         x_make_truecolor_pixel.
22928         (x_kill_gs_process): Call x_mutable_colormap.
22929         * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
22930         x_mutable_colormap.
22931         * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
22932         * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
22933         pixel value into RGB values directly, and don't send a request to the
22934         server.
22935         (x_alloc_nearest_color): For a TrueColor display, construct the pixel
22936         value with x_make_truecolor_pixel.
22937         (x_copy_color): For an immutable color map, just return the provided
22938         pixel value.
22940 2015-10-08  Ken Raeburn  <raeburn@raeburn.org>
22942         Cache XParseColor results in the X display info structure
22944         With repeated lookups of foreground and background colors for multiple
22945         faces per frame, we issue a lot of redundant color name lookups to the
22946         X server, waiting every time for the response.  On a remote network
22947         with, say, 30ms round-trip time, this can add nearly a full second to
22948         creation of a new frame.
22950         * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
22951         * src/image.c (get_spec_bg_or_alpha_as_argb):
22952         (xpm_init_color_cache, xpm_lookup_color):
22953         * src/xfns.c (x_defined_color):
22954         * src/xterm.c (x_parse_color): New function; caches color names not
22955         starting with "#" in the display-info structure.
22956         (x_delete_display): Delete the cache content.
22957         * src/xterm.h (struct color_name_cache_entry): New type.
22958         (x_parse_color): Declare.
22959         (struct x_display_info): Add a new field for the cache.
22961 2015-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22963         * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
22965 2015-10-07  Eli Zaretskii  <eliz@gnu.org>
22967         Fix segfault in image_size_error
22969         * src/image.c (image_size_error): Pass a Lisp string to
22970         image_error, not a C string.  (Bug#21641)
22972 2015-10-07  Simen Heggestøyl  <simenheg@gmail.com>
22974         Highlight CSS variable definitions
22976         * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
22977         CSS variables.  (Bug#21638)
22979 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
22981         * test/automated/tabulated-list-test.el: New file.
22982         Test bug#21639 and some basic functionality.
22984 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
22986         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
22987         Check if column can be sorted before trying.  (Bug#21639)
22989 2015-10-07  Nicolas Richard  <youngfrog@members.fsf.org>
22991         Add test for `self-insert-command' (bug#21633)
22993         * test/automated/cmds-tests.el: New file.
22995 2015-10-07  Martin Rudalics  <rudalics@gmx.at>
22997         * src/window.c (resize_frame_windows): Don't set root window's
22998         top position when resizing horizontally.
23000 2015-10-07  Artur Malabarba  <bruce.connor.am@gmail.com>
23002         * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
23003         Document more possible values.
23005 2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23007         * lisp/textmodes/tex-mode.el: Use lexical-binding.
23009 2015-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23011         * lisp/indent.el (indent--default-inside-comment): New function.
23012         (indent-for-tab-command): Use it for `noindent' indentation.
23014 2015-10-06  Paul Eggert  <eggert@cs.ucla.edu>
23016         Fix bug in GC_CHECK_MARKED_OBJECTS check
23018         * src/alloc.c (mark_object): Fix bug in checking code.
23019         When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
23020         CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
23021         CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
23022         bucket.  The bug did not affect behavior either in the normal case
23023         where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
23024         not have an internal error that a properly-written
23025         CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
23027 2015-10-06  Tassilo Horn  <tsdh@gnu.org>
23029         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
23030         Add prettified version for \\Bbb{Q}.
23032 2015-10-06  Artur Malabarba  <bruce.connor.am@gmail.com>
23034         * test/automated/package-test.el (package-test-install-single):
23035         Add a test for bug#21625.
23037 2015-10-06  Aaron Ecay  <aaronecay@gmail.com>
23039         * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
23040           not a package-desc object.  Also clarify documentation.  (Bug#21625)
23042 2015-10-06  Eli Zaretskii  <eliz@gnu.org>
23044         Fix display of characters adjacent to ZWJ and ZWNJ
23046         * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
23047         characters the same as directional formatting controls.
23048         (bidi_level_of_next_char): Include all Bn characters in rule L1,
23049         as mandated by the UBA.
23051 2015-10-06  Andreas Schwab  <schwab@suse.de>
23053         * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
23054         number.  (Bug#21633)
23056 2015-10-05  Xue Fuqiao  <xfq.free@gmail.com>
23058         * doc/lispref/objects.texi (Window Type): Add a cross reference.
23060         * src/buffer.c (syms_of_buffer): Typo fix.  (Bug#21622)
23062 2015-10-05  Eli Zaretskii  <eliz@gnu.org>
23064         * lisp/language/misc-lang.el (composition-function-table):
23065         Fix entries for Arabic and Syriac.
23067 2015-10-05  Damien Cassou  <damien@cassou.me>
23069         Add first unit tests for auth-source.el
23071         * test/automated/auth-source-tests.el: New file.
23073 2015-10-05  Eli Zaretskii  <eliz@gnu.org>
23075         Remove redundant redisplay code
23077         * src/xdisp.c (redisplay_internal, try_cursor_movement)
23078         (try_window_reusing_current_matrix, try_window_id): Remove
23079         redundant restrictions on redisplay optimizations based on the
23080         frame's 'redisplay' flag.  See
23081         http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
23082         discussions.
23084 2015-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23086         * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
23088 2015-10-04  Xue Fuqiao  <xfq.free@gmail.com>
23090         Update tutorials/TUTORIAL.cn
23092         * etc/tutorials/TUTORIAL.cn: Improve translation.
23094 2015-10-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23096         * src/macfont.m (macfont_encode_char, syms_of_macfont):
23097         Remove unused vars.
23099 2015-10-04  Stefan Merten  <stefan@merten-home.de>
23101         Pull in version numbers from rst.el upstream release.
23103         * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
23104         (rst-svn-timestamp, rst-official-version)
23105         (rst-official-cvs-rev, rst-package-emacs-version-alist):
23106         Update version numbers.
23108 2015-10-04  Eli Zaretskii  <eliz@gnu.org>
23110         * test/automated/coding-tests.el: New file.
23112 2015-10-04  Michael Albinus  <michael.albinus@gmx.de>
23114         Improve XEmacs compatibility of Tramp
23116         * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
23117         Declare if it doesn't exist.
23118         (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
23119         (redisplay): Make it an alias if it doesn't exist.
23121         * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
23122         `file-remote-p' (due to XEmacs compatibility).
23124         * lisp/net/trampver.el (locate-dominating-file)
23125         (tramp-compat-replace-regexp-in-string): Autoload.
23126         (tramp-repository-get-version): Do not dupe byte-compiler.
23128 2015-09-02  K. Handa  <handa@gnu.org>
23130         fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
23132         * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
23133         Adjusted for the change of type of elements in the array
23134         MFLTGlyphString.glyphs.
23136 2015-10-04  Eli Zaretskii  <eliz@gnu.org>
23137             Michael Heerdegen  <michael_heerdegen@web.de>
23139         shr: fix too long lines in rendered buffers (Bug#21012)
23141         * lisp/net/shr.el (shr-insert-document, shr-fill-text):
23142         Correct calculation of available width.
23143         (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
23144         is nil.
23146 2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>
23148         Restore blank line before next section, erroneously erased
23149         in my previous commit
23151         * etc/compilation.txt (symbol ant): Add an additional trailing blank
23152         line to this section, so that there are two of them immediately before
23153         the next section.
23155 2015-10-04  Vincent Belaïche  <vincentb1@users.sourceforge.net>
23157         Support MSW filename style for ant compilation error regexp
23159         * etc/compilation.txt (symbol ant):
23160         * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
23161         Support MSW filename style.
23163 2015-10-03  Paul Eggert  <eggert@cs.ucla.edu>
23165         * nt/INSTALL: Minor spelling and quote fixes.
23167         * lisp/ibuffer.el: Fix docstring length (Bug#21541).
23169 2015-10-03  Simen Heggestøyl  <simenheg@gmail.com>
23171         Maintain ordering of JSON object keys by default
23173         * lisp/json.el (json-object-type): Mention order handling in doc-string.
23174         (json--plist-reverse): New utility function.
23175         (json-read-object): Maintain ordering for alists and plists.
23176         (json-pretty-print): Ensure that ordering is maintained.
23178         * test/automated/json-tests.el (test-json-plist-reverse): New test for
23179         `json--plist-reverse'.
23180         (json-read-simple-alist): Update test to accommodate for changes in
23181         `json-read-object'.
23183         * etc/NEWS: Document the new behavior of the pretty printing functions.
23185 2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>
23187         * src/coding.c (complement_process_encoding_system): Revert last change.
23189 2015-10-03  Ulf Jasper  <ulf.jasper@web.de>
23191         * admin/MAINTAINERS: Add entry for Ulf Jasper.
23193 2015-10-03  Xue Fuqiao  <xfq.free@gmail.com>
23195         Doc fix for `defmacro'
23197         * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
23199 2015-10-03  Andreas Schwab  <schwab@linux-m68k.org>
23201         More validatation of coding systems
23203         * src/fileio.c (Finsert_file_contents): Remove redundant
23204         coding-system check.
23205         (choose_write_coding_system): Likewise.
23206         * src/coding.c (complement_process_encoding_system): Check argument
23207         for valid coding system.
23209 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
23211         Avoid crashes in coding_inherit_eol_type
23213         * src/coding.c (coding_inherit_eol_type): Check the validity of
23214         the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
23215         (Bug#21602)
23217 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
23219         More validatation of coding system in 'write-region'
23221         * src/coding.c (choose_write_coding_system): More validation of
23222         coding-system from various sources.  Suggested by Andreas Schwab
23223         <schwab@linux-m68k.org>.  (Bug#21602)
23225 2015-10-03  Eli Zaretskii  <eliz@gnu.org>
23227         Avoid crashes due to invalid coding-system
23229         * src/fileio.c (choose_write_coding_system)
23230         (Finsert_file_contents): Check validity of coding-system-for-write
23231         and coding-system-for-read bound by the caller.  (Bug#21602)
23233 2015-10-03  Tassilo Horn  <tsdh@gnu.org>
23235         Adapt to new prettify-symbols-unprettify-at-point default
23237         * etc/NEWS: Mention that unprettication of symbol at point is off
23238         by default.
23240 2015-10-03  Tassilo Horn  <tsdh@gnu.org>
23242         Revert my two recent process.c changes
23244         Revert "Improve last commit to process.c" and "Remove callback-handled
23245         channels from Available set" because they did not fix bug#21313.
23247         This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
23248         27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
23250 2015-10-02  Markus Triska  <triska@metalevel.at>
23252         * lisp/progmodes/prolog.el: Update and extend operator table.
23253         (prolog-smie-grammar): Add multifile, public etc.
23255 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
23257         Allow autogen even when Git is not installed
23259         * autogen.sh: Test ‘git status’ before trying to use Git.
23261 2015-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
23263         * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
23264         Adjust lto/lfrom when we have uncommitted changes.
23266 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
23268         Fix problems found by clang 3.5.0
23270         * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
23271         * src/font.c (font_parse_family_registry):
23272         Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
23274 2015-10-02  Eli Zaretskii  <eliz@gnu.org>
23276         * nt/INSTALL: Update instructions for running autogen.sh.
23278         * nt/INSTALL: Point to ezwinports for libXpm binaries.
23280 2015-10-02  Daniel Colascione  <dancol@dancol.org>
23282         Fix winner in cl-lib not loaded case
23284         * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
23285         without requiring CL
23287 2015-10-02  Paul Eggert  <eggert@cs.ucla.edu>
23289         Fix a few problems with directed quotes
23291         This is in response to a problem report by Kaushal Modi in:
23292         http://bugs.gnu.org/21588#25
23293         * lisp/cedet/mode-local.el (describe-mode-local-overload):
23294         * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
23295         * lisp/info-xref.el (info-xref-check-all-custom):
23296         * lisp/mail/emacsbug.el (report-emacs-bug-hook):
23297         Prefer directed to undirected single quotes in diagnostics.
23299 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
23301         Revert "Attempt to fix slow redisplay caused by last changes"
23303         * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
23304         (try_cursor_movement): Don't relax requirements for redisplay
23305         optimizations for the selected frame.  (Bug#21597)
23307         This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
23309 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
23311         Fix slow redisplay when daemon frame exists
23313         * src/xdisp.c (redisplay_internal): Don't consider daemon frames
23314         when looking for frames that need to be redisplayed.  (Bug#21597)
23316 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
23318         Attempt to fix slow redisplay caused by last changes
23320         * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
23321         (try_cursor_movement): Relax requirements for redisplay
23322         optimizations for the selected frame.  (Bug#21597)
23324 2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>
23326         * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
23327         Improve doc string.
23329 2015-10-01  Stephen Leake  <stephen_leake@stephe-leake.org>
23331         * lisp/minibuffer.el (minibuffer-completion-help):
23332         Set default base-size, in case completion table does not set it.
23334 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
23336         Fix GUD display of GDB output with non-ASCII text
23338         * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
23339         (gdb-mi-decode): New function.
23340         (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
23341         decode octal escapes in GDB output.  (Bug#21572)
23343 2015-10-01  Eli Zaretskii  <eliz@gnu.org>
23345         * nt/INSTALL: Document where to find XPM support files.
23347 2015-10-01  Tassilo Horn  <tsdh@gnu.org>
23349         Un- and re-prettification are not exclusive
23351         * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
23352         Re-apply prettification to previous symbol also when unprettifying
23353         next one.
23355 2015-10-01  Tassilo Horn  <tsdh@gnu.org>
23357         Don't unprettify symbol at point by default
23359         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
23360         Default to disabled (nil).
23362 2015-09-30  Artur Malabarba  <bruce.connor.am@gmail.com>
23364         * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
23365         Support unprettifying when point is after a symbol.
23367         * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
23369 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
23371         Avoid assertion violations in push_prefix_prop
23373         * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
23374         a line that has a line-prefix defined starts with an image.  (Bug#21428)
23376 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
23378         Disable some display optimizations when frames need redisplay
23380         These optimizations were previously disabled by the
23381         windows_or_buffers_changed flag, which now is not set
23382         when only some frames need to be redrawn.
23383         * src/xdisp.c (redisplay_internal): Redisplay any frame whose
23384         'redisplay' flag is set.
23385         (try_window_reusing_current_matrix, try_window_id)
23386         (try_cursor_movement): Disable these optimizations when the
23387         frame's 'redisplay' flag is set.
23389 2015-09-30  Tassilo Horn  <tsdh@gnu.org>
23391         Don't modify buffer by unprettification
23393         * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
23394         (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
23395         modify buffer when setting/removing custom prettify-symbols-start/end
23396         text properties.  Add them to font-lock-extra-managed-props, too.
23398 2015-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23400         Try to avoid redisplaying all frames when creating a new one
23402         * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
23403         * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
23404         (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
23405         * src/frame.c (x_set_screen_gamma): Set the specific frame's
23406         `redisplay' bit rather than windows_or_buffers_changed.
23408         * src/window.c (apply_window_adjustment): Remove redundant setting of
23409         windows_or_buffers_changed.
23411         * src/xdisp.c (redisplay_internal): Set the specific frame's
23412         `redisplay' bit rather than update_mode_lines in response to
23413         cursor_type_changed.
23414         (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
23415         (AINC): Adjust accordingly.
23417 2015-09-30  Tassilo Horn  <tsdh@gnu.org>
23419         Implement unprettification of symbol at point
23421         * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
23422         symbol at point.
23423         (prettify-symbols--current-symbol-bounds): New variable.
23424         (prettify-symbols--post-command-hook): New function.
23425         (prettify-symbols-unprettify-at-point): New defcustom.
23426         (prettify-symbols-mode): Use it.
23427         (prettify-symbols--compose-symbol): Use them.
23429 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23431         * src/macfont.m (mac_font_descriptor_supports_languages):
23432         Regard "zh" as synonym of "zh-Hans".
23434 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23436         Work around crash when displaying etc/HELLO on OS X 10.11
23438         * src/macfont.m (mac_font_get_weight)
23439         (mac_font_descriptor_get_adjusted_weight): New functions.
23440         (macfont_store_descriptor_attributes): Adjust weight.
23442 2015-09-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23444         * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
23446 2015-09-30  Nicolas Petton  <nicolas@petton.fr>
23448         * lisp/arc-mode.el (archive-rar-summarize): Better alignment
23449         of the columns.
23451 2015-09-30  Nicolas Petton  <nicolas@petton.fr>
23453         Use unar and lsar to handle RAR archives in arc-mode
23455         * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
23456         on unar and lsar instead of unrar-free for RAR archives (bug#17663).
23458 2015-09-30  Wieland Hoffmann  <themineo@gmail.com>  (tiny change)
23460         Clarify :create in auth-source's docs
23462         * lisp/gnus/auth-source.el (auth-source-search):
23463         Clarify :create's meaning.
23465 2015-09-30  Phil Sainty  <psainty@orcon.net.nz>
23467         Avoid empty -path arguments in rgrep
23469         * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
23470         the list produced according to grep-find-ignored-directories,
23471         before passing it to Find/Grep invocation.  (Bug#21548)
23473 2015-09-30  Eli Zaretskii  <eliz@gnu.org>
23475         Clarify documentation of pos-visible-in-window-p
23477         * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
23478         t for POS.  See
23479         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
23480         for the original report.
23482         * doc/lispref/windows.texi (Window Start and End): Clarify the
23483         meaning of t for the POSITION argument of pos-visible-in-window-p.
23485 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23487         * lisp/progmodes/prolog.el: Fix various indentation cases.
23488         (prolog-operator-chars): New const (add \\).
23489         (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
23490         (prolog-smie-rules): Add rules according to bug#21526.
23492 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23494         * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
23495         (sh-indent-after-continuation): Add new value `always' (bug#17620)
23496         (sh-smie-sh-rules): Remove old handling of continued lines.
23497         (sh-smie--indent-continuation): New function.
23498         (sh-set-shell): Use it.
23500 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23502         * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
23503         Remove redundant :group keyword args.
23504         (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
23505         Remove variables.
23506         (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
23507         turn them into compile-time variables.
23508         Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
23509         Add rules for break, continue, return, global, and persistent.
23510         Refine the rule for "until".
23511         (octave-smie--funcall-p, octave-smie--end-index-p)
23512         (octave-smie--in-parens-p): New functions.
23513         (octave-smie-backward-token, octave-smie-forward-token): Use them to
23514         distinguish the "enumeration" function and the "end" index from
23515         their corresponding keywords.
23516         (octave--block-offset-keywords): New constant.
23517         (octave-smie-rules): Use it.  Adjust rules for new global/persistent
23518         parsing.
23519         (octave-reserved-words): Redefine using octave-smie-grammar.
23520         (octave-font-lock-keywords): Use octave-smie--funcall-p and
23521         octave-smie--end-index-p.
23523 2015-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23525         * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
23527 2015-09-29  Eli Zaretskii  <eliz@gnu.org>
23529         * nt/INSTALL: Remove references to GTK site.
23530         That site no longer offers Windows downloads.
23532 2015-09-29  Eli Zaretskii  <eliz@gnu.org>
23534         * nt/INSTALL: Add instructions for installing Git.
23536 2015-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
23538         * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
23539         use colors.  Suggested by Eli Zaretskii.
23541 2015-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
23543         * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
23544         not supporting 256 above colors (bug#21557).
23546 2015-09-28  Dmitry Gutov  <dgutov@yandex.ru>
23548         Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
23550         This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
23552 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
23554         Add documentation for seq.el
23556         * doc/lispref/sequences.texi: Add documentation regarding extending
23557         seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
23558         seq-do and seq-map.
23560 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
23562         Better documentation for seq-some
23564         * doc/lispref/sequences.texi:
23565         * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
23566         guarantee that the returned value is the first non-nil value that
23567         resulted from applying the predicate.
23569 2015-09-28  Nicolas Petton  <nicolas@petton.fr>
23571         * lisp/arc-mode.el: Sharp-quote function arguments.
23573 2015-09-28  Eli Zaretskii  <eliz@gnu.org>
23575         Avoid redisplay error in ediff-regions-wordwise
23577         * lisp/vc/ediff-util.el
23578         (ediff-clone-buffer-for-region-comparison): Make sure the mark is
23579         set before activating it.  (Bug#21567)
23581 2015-09-28  Eli Zaretskii  <eliz@gnu.org>
23583         Another attempt to fix crashes due to prematurely freed faces
23585         * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
23586         faces for as long as we might have desired matrices that reference
23587         those faces.  (Bug#21428)
23589 2015-09-28  Tassilo Horn  <tsdh@gnu.org>
23591         Add auctex development list email address
23593 2015-09-28  Tassilo Horn  <tsdh@gnu.org>
23595         * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
23597 2015-09-28  Arash Esbati  <esbati@gmx.de>  (tiny change)
23599         Improve wrapfig package support and caption parsing
23601         * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
23602         Correct description string and add wraptable environment.
23603         (reftex-default-context-regexps): Improve caption regexp.
23605 2015-09-28  Anders Lindgren  <andlind@gmail.com>
23607         Respect value of frame_resize_pixelwise when handling fullscreen state
23609         * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
23610         setting size increments.
23612 2015-09-27  Michael Albinus  <michael.albinus@gmx.de>
23614         * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
23616 2015-09-27  Simen Heggestøyl  <simenheg@gmail.com>
23618         Add prettify-symbols-alist for js-mode
23620         * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
23621         (js-mode): Use it.
23623 2015-09-27  Eli Zaretskii  <eliz@gnu.org>
23625         * nt/subdirs.el: File deleted (no longer used).
23627 2015-09-26  Alan Mackenzie  <acm@muc.de>
23629         Fix follow-scroll-up/down, making them replacements for scroll-up/down
23631         1. Allow point to move between follow windows in scroll operations.
23632         2. Fix bug where `right-char' just before EOB caused spurious scrolling,
23633         when EOB was isolated in the last follow window.
23635         * lisp/follow.el (follow-fixed-window): New variable.
23636         (follow-get-scrolled-point): New function.
23637         (follow-scrol-up, follow-scroll-down): Add autoload cookies.
23638         Reformulate the code.  Put `scroll-command' properties on the functions.
23639         Correct minor errors in ...-down's doc string and code.
23640         (follow-calc-win-end): Amend incomplete doc string.  Use
23641         `pos-visible-in-window-p' to check whether EOB is in the window.
23642         (follow-estimate-first-window-start): Correct an off-by-1 error.
23643         (follow-adjust-window): Add handling for explicit scrolling operations.
23645 2015-09-26  Paul Eggert  <eggert@cs.ucla.edu>
23647         * admin/MAINTAINERS: Add self, plus list some more files
23648         sans maintaners.
23650 2015-09-26  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
23652         New DWIM commands for changing letter-case
23654         * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
23655         New functions.  (Bug#21501)
23657 2015-09-26  Eli Zaretskii  <eliz@gnu.org>
23659         * etc/PROBLEMS: Document problems with pasting on MS-Windows.
23661 2015-09-26  Eli Zaretskii  <eliz@gnu.org>
23663         Make face realization be more frame-specific
23665         * src/frame.h (struct f): New flag face_change.
23666         * src/xfaces.c (Finternal_make_lisp_face)
23667         (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
23668         (update_face_from_frame_parameter): Set the face_change flag only
23669         for the frame whose faces are affected.
23670         * src/xdisp.c (init_iterator): If a frame's face_change flag is
23671         set, free faces only on that frame.
23672         (redisplay_internal): Disable "display optimization 1" if the
23673         frame's face_change flag is set.
23674         (redisplay_window): Don't allow skipping a window's redisplay if
23675         its frame's face_change flag is set.
23676         * src/frame.c (x_set_screen_gamma): Instead of calling
23677         Fclear_face_cache, call clear_face_cache and set
23678         windows_or_buffers_changed to a non-zero value.  This avoids
23679         setting the global face_change flag that triggers face realization
23680         on all frames and thorough redisplay of all of them.
23682         * lisp/term/tty-colors.el (tty-register-default-colors): Don't
23683         clear face cache if the selected frame is a GUI frame.
23685 2015-09-26  Tassilo Horn  <tsdh@gnu.org>
23687         Remove font-latex specific check
23689         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
23690         Use syntax-ppss data to identify verbatim contents.
23692 2015-09-25  Tassilo Horn  <tsdh@gnu.org>
23694         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
23695         Fix some false negatives.
23697 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
23699         Reorder Windows version in Emacs manifests
23701         * nt/emacs-x64.manifest:
23702         * nt/emacs-x86.manifest: Reorder Windows version from lowest to
23703         highest.
23705 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
23707         Update Emacs manifest files for Windows 10
23709         * nt/emacs-x86.manifest:
23710         * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
23712 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
23714         Avoid non-ASCII decoding errors in C src files
23716         * src/nsterm.m:
23717         * src/lisp.h:
23718         * src/editfns.c:
23719         * src/doprnt.c: Add 'coding' cookies -- these files include
23720         Unicode characters and should be decoded as UTF-8.
23722 2015-09-25  Alan Mackenzie  <acm@muc.de>
23724         Resurrect edebug-set-initial-mode, repurposing it to set the global mode
23726         * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
23727         amend to match current modes and functions.
23728         (edebug-set-initial-mode): Uncomment and change from setting a defun's
23729         `edebug-initial-mode''s property to setting the variable
23730         `edebug-initial-mode'.
23731         (top level): Create new binding C-x C-a C-m for
23732         `edebug-set-initial-mode'.
23734         * doc/lispref/edebug.texi (Edebug Execution Modes): Document
23735         `edebug-set-initial-mode' and its new key binding.
23736         (Edebug Options): Mention the new command in the pertinent place.
23738         * etc/NEWS: Write entry for this change.
23740 2015-09-25  Eli Zaretskii  <eliz@gnu.org>
23742         Avoid non-ASCII decoding errors in Texinfo files
23744         * doc/misc/tramp.texi:
23745         * doc/lispref/strings.texi:
23746         * doc/lispref/positions.texi:
23747         * doc/lispref/help.texi:
23748         * doc/lispref/functions.texi:
23749         * doc/lispintro/emacs-lisp-intro.texi:
23750         * doc/emacs/text.texi:
23751         * doc/emacs/modes.texi:
23752         * doc/emacs/mini.texi:
23753         * doc/emacs/display.texi:
23754         * doc/emacs/custom.texi:
23755         * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
23756         Unicode characters and should be decoded as UTF-8.
23757         * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
23758         apostrophe unnecessarily.
23760 2015-09-25  Paul Eggert  <eggert@cs.ucla.edu>
23762         Merge from gnulib
23764         This incorporates:
23765         2015-09-25 c-ctype: rewrite to use inline functions
23766         2015-09-24 maint: add coding cookies to non-ASCII sources
23767         2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
23768         * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
23769         * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
23770         * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
23771         * lib/set-permissions.c:
23772         Copy from gnulib.
23774 2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>
23776         Update publicsuffix.txt from upstream
23778         * etc/publicsuffix.txt: Update from
23779         https://publicsuffix.org/list/effective_tld_names.dat
23780         dated 2015-09-24 17:29:21 UTC.
23782 2015-09-24  Eli Zaretskii  <eliz@gnu.org>
23784         Prevent timers from messing up TTY menus
23786         * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
23787         the TTY menu is open.  (Bug#21530)
23789 2015-09-24  Paul Eggert  <eggert@cs.ucla.edu>
23791         No need to mention K&R C in c-mode intro
23793 2015-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23795         Fix recent bootstrap problems
23797         * src/syntax.c (parse_sexp_propertize): Fix last fix.
23798         * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
23799         * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
23801 2015-09-24  Michael Albinus  <michael.albinus@gmx.de>
23803         * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
23805 2015-09-23  Ivan Andrus  <darthandrus@gmail.com>
23807         Properly quote nested xml comments (Bug#6267) (Bug#20001)
23809         * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
23810         (nxml-mode): Set comment-quote-nested-function.
23812 2015-09-23  Ivan Andrus  <darthandrus@gmail.com>
23814         Allow major-modes full control over quoting nested comments
23816         * lisp/newcomment.el (comment-quote-nested-function): New variable.
23817         (comment-quote-nested-default): New function.
23818         (comment-quote-nested): Use `comment-quote-nested-function'.
23820 2015-09-23  Paul Eggert  <eggert@cs.ucla.edu>
23822         Prefer CALLN in a few more places
23824         * src/macfont.m (macfont_set_family_cache):
23825         * src/nsterm.m (append2):
23826         * src/xterm.c (x_cr_export_frames):
23827         Prefer CALLN to allocating the arg arrays by hand.
23829 2015-09-23  Michael Albinus  <michael.albinus@gmx.de>
23831         Adapt file-notify-test02-events test case
23833         * test/automated/file-notify-tests.el (file-notify-test02-events):
23834         Create a new watch for every test.
23836 2015-09-23  Michael Albinus  <michael.albinus@gmx.de>
23838         Continue gfilenotify.c implementation of missing parts
23840         * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
23841         `gfile-add-watch' call.
23842         (file-notify-rm-watch): Modify `file-notify-descriptors' only
23843         after calling the low level functions.
23845         * src/gfilenotify.c (dir_monitor_callback): Check, whether
23846         event_type is expected.
23847         (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
23848         (Fgfile_rm_watch): Fix typo.
23849         (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
23851 2015-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23853         * src/syntax.c (parse_sexp_propertize): Handle spurious
23854         e_property_truncated flag.
23855         (update_syntax_table_forward): Remove invalid assertion.
23857 2015-09-23  Eli Zaretskii  <eliz@gnu.org>
23859         * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
23860         space display spec on text-mode terminals, by calling
23861         PRODUCE_GLYPHS instead of x_produce_glyphs.  Remove the
23862         HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
23863         test for a GUI frame.
23865 2015-09-23  Oleh Krehel  <ohwoeowho@gmail.com>
23867         Move let-when-compile to lisp-mode.el
23869         This fixes the bootstrapping problem of `let-when-compile' using
23870         `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
23872 2015-09-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
23874         * lisp/url/url-http.el (url-http-parse-headers): Do not
23875         automatically include Authorization header in redirect.
23876         (Bug#21350)
23878 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
23880         Clarify documentation of ':relative-width'
23882         * doc/lispref/display.texi (Specified Space): Document that
23883         ':relative-width' is only supported on GUI frames.
23885 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
23887         Fix 'current-column' in presence of :relative-width
23889         * src/indent.c (check_display_width): Support ':relative-width'
23890         in a display spec that specifies a stretch glyph.  (Bug#21533)
23892 2015-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
23894         Reformat the pdbtrack remote-file fix ChangeLog.2 entry
23896         ... to conform better to CONTRIBUTE guidelines.
23898 2015-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
23900         * lisp/progmodes/prolog.el: Fix indentation of empty line
23902         * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
23903         `empty-line-token' element.
23904         (smie-indent-empty-line): New function.
23905         (smie-indent-functions): Add it.
23907         * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
23908         behavior and use the new `empty-line-token' element (bug#21526).
23909         (prolog-mode-variables): Fix comment-start-skip setting to match
23910         comment-start.
23912         * test/indent/prolog.prolog: Add nested indentation tests.
23914         * lisp/newcomment.el (comment-normalize-vars): Fix default value of
23915         comment-start-skip not to misuse submatch 1.
23917 2015-09-22  Alan Mackenzie  <acm@muc.de>
23919         Make description of `edebug-initial-mode' user friendly
23921         Fixes bug#21365.
23923         * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
23924         description of `edebug-initial-mode' from that of its implementation
23925         to that of its visual effect and use.  Move the paragraph higher up.
23927 2015-09-22  Eli Zaretskii  <eliz@gnu.org>
23929         lisp/progmodes/gud.el (gud-format-command): Fix last commit
23931         * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
23932         functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
23934 2015-09-22  Tassilo Horn  <tsdh@gnu.org>
23936         Improve last commit to process.c
23938 2015-09-22  Michael Albinus  <michael.albinus@gmx.de>
23940         Implement gfile-valid-p
23942         * lisp/filenotify.el (file-notify-callback): Fix typo.
23943         (gfile-valid-p): Remove defalias.
23945         * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
23946         the file or directory to be watched is deleted.
23947         (Fgfile_add_watch): Make watch_object a triple.
23948         (Fgfile_rm_watch): Check, whether watch is cancelled already.
23949         (Fgfile_valid_p): New defun.
23950         (syms_of_gfilenotify): Declare Sgfile_valid_p.
23952 2015-09-22  Tassilo Horn  <tsdh@gnu.org>
23954         Remove callback-handled channels from Available set
23956         * src/process.c (wait_reading_process_output): Remove channel from
23957         Available set if it is handled by a callback, e.g., dbus or
23958         inotify (bug#21313).
23960 2015-09-21  Mark Oteiza  <mvoteiza@udel.edu>
23962         Use lunate epsilon for TeX \epsilon
23964         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
23965         Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
23966         \epsilon to use GREEK LUNATE EPSILON SYMBOL
23968 2015-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
23970         * lisp/progmodes/prolog.el: Fix nested electric if-then-else
23972         * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
23973         rather than outermost paren (bug#21526).
23975 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
23977         Improve git diff hunk headers for .el, .texi
23979         Problem reported by Alan Mackenzie in:
23980         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
23981         * .gitattributes (*.el, *.texi): New patterns.
23982         * autogen.sh: Configure diff.elisp.xfuncname and
23983         diff.texinfo.xfuncname if using Git.
23985 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
23987         Don't rely on defaults in decoding UTF-8 encoded Lisp files
23989         * lisp/replace.el:
23990         * lisp/textmodes/rst.el:
23991         * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
23993 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
23995         Clarify or replace a few \u escapes
23997         * doc/lispref/nonascii.texi (Character Properties)
23998         More-detailed commentary for \u escapes.
23999         * lisp/progmodes/python.el (python--prettify-symbols-alist):
24000         * lisp/replace.el (query-replace-from-to-separator):
24001         * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
24002         (rst-mode-syntax-table):
24003         * lisp/whitespace.el (whitespace-display-mappings):
24004         Prefer actual character to \u escape when this makes the code
24005         easier to follow in the usual case where Unicode chars can be
24006         displayed.
24008 2015-09-21  Paul Eggert  <eggert@cs.ucla.edu>
24010         Pacify GCC -Wmaybe-uninitialized in xdisp.c
24012         * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
24013         than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
24014         charpos.  The loop should always execute at least once anyway.
24016 2015-09-21  Tassilo Horn  <tsdh@gnu.org>
24018         Signal error on invalid regexp
24020         * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
24021         Signal an error when the user tries searching with a regexp
24022         matching the empty string.
24024 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
24026         Another fix of file-notify-tests for w32notify
24028         * test/automated/file-notify-tests.el (file-notify-test02-events):
24029         Further adaptation for w32notify: reduce the number of expected
24030         'changed' events.  (Bug#21435)
24032 2015-09-21  Michael Albinus  <michael.albinus@gmx.de>
24034         Adapt tests and manual for w32notify
24036         * doc/lispref/os.texi (File Notifications): w32notify does not
24037         send `attribute-changed' events.
24039         * test/automated/file-notify-tests.el (file-notify--test-with-events):
24040         Simplify parameters.  Adapt all callees.
24041         (file-notify-test02-events): w32notify does not send
24042         `attribute-changed' events.
24043         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
24044         Do not skip in case of w32notify.  Simply ignore this part of the test.
24046 2015-09-21  Dima Kogan  <dima@secretsauce.net>
24048         Fix setting breakpoints when remote-debugging
24050         * lisp/progmodes/gud.el (gud-format-command): Send localized file
24051         names to the debugger running on the remote.  (Bug#13304)
24053 2015-09-21  Nicolas Petton  <nicolas@petton.fr>
24055         Better docstring and parameter name for seq-find
24057         * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
24058         the parameter `sentinel' to `default'.
24060         * doc/lispref/sequences.texi (Sequence Functions): Update the
24061           documentation for `seq-find' accordingly.
24063 2015-09-21  Eli Zaretskii  <eliz@gnu.org>
24065         Avoid infinite recursion while displaying box face
24067         * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
24068         the previous string/buffer character position under bidi
24069         iteration.  (Bug#21428)
24071 2015-09-21  Anders Lindgren  <andlind@gmail.com>
24073         Keep upper edge unchanged when changing size of NS frame
24075         * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
24076         (Bug#21415).
24078 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24080         * lisp/progmodes/prolog.el: Improve handling of if/then/else.
24081         (prolog-smie-rules): Accommodate standard if/then/else special
24082         indentation.
24083         (prolog-mode): Add . to electric-indent-chars.
24084         (prolog-electric--if-then-else): Re-indent the line before adding space
24085         after the new char (bug#21526).
24087 2015-09-20  Mark Oteiza  <mvoteiza@udel.edu>
24089         Add prettify symbols to python-mode
24091         * lisp/progmodes/python.el (python-prettify-symbols-alist):
24092         New variable.
24093         (python-mode): Use it
24095 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24097         * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
24099 2015-09-20  Jostein Kjønigsen  <jostein@secure.kjonigsen.net>  (tiny change)
24101         (compilation-error-regexp-alist-alist): Tone down guile-file
24103         * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
24104         Make guile-file a bit less enthusiastic (bug#21496).
24106 2015-09-20  Drew Csillag  <drew@thecsillags.com>
24108         * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
24109         Fix m4_* highlighting.
24111         * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
24112         of commands when they have a "m4_" prefix.
24114 2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>
24116         '.' -> `.' in doc string
24118         * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
24119         individual chars with grave quotes instead of straight quotes, as
24120         this works better when they are translated to curved quotes.
24122 2015-09-20  Michael Albinus  <michael.albinus@gmx.de>
24124         Improve file notifications, especially for Tramp
24126         * doc/lispref/files.texi (Magic File Names):
24127         Mention `file-notify-valid-p'.
24129         * doc/lispref/os.texi (File Notifications):
24130         Describe `file-notify-valid-p'.
24132         * etc/NEWS: Add `file-notify-valid-p'.
24134         * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
24135         Improve implementation.
24136         (tramp-gvfs-monitor-file-process-filter): Rename from
24137         `tramp-gvfs-file-gvfs-monitor-file-process-filter'.  Delete
24138         process if appropriate.
24140         * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
24141         Improve implementation.
24142         (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
24143         `tramp-sh-file-gvfs-monitor-dir-process-filter'.  Delete process
24144         if appropriate.
24145         (tramp-sh-inotifywait-process-filter): Rename from
24146         `tramp-sh-file-inotifywait-process-filter'.  Delete process if
24147         appropriate.
24149         * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
24150         Use `delete-process'.
24151         (tramp-handle-file-notify-valid-p): Check also, that file or
24152         directory to be watched still exists.
24154         * test/automated/file-notify-tests.el (file-notify--test-timeout):
24155         New defun.  Use it at all places a timeout is needed.
24156         (file-notify--test-cleanup): Delete directories recursively.
24157         Cleanup also Tramp connections.
24158         (file-notify-test02-events): Add tests for `attribute-change'.
24159         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
24160         Add tests for `file-notify-rm-watch'.
24162 2015-09-20  Paul Eggert  <eggert@cs.ucla.edu>
24164         Use %s to format strings instead of splicing them
24166         If FOO might contain quotes that are part of a file or variable
24167         name, the quotes should not be translated when showing FOO’s name
24168         in a diagnostic.  So, for example, (message (concat (FOO ": bar")))
24169         is not quite right, as it would translate FOO’s quotes.
24170         Change it to (message "%s: bar" FOO) instead.
24171         * lisp/allout.el (allout-process-exposed):
24172         * lisp/calc/calc-ext.el (calc-do-prefix-help):
24173         * lisp/calc/calc-store.el (calc-store-into):
24174         * lisp/calendar/todo-mode.el (todo-category-completions):
24175         * lisp/cedet/semantic/complete.el (semantic-completion-message):
24176         * lisp/org/ob-latex.el (convert-pdf):
24177         * lisp/org/org-crypt.el (org-crypt-check-auto-save):
24178         * lisp/org/ox-latex.el (org-latex-compile):
24179         * lisp/org/ox-man.el (org-man-compile):
24180         * lisp/org/ox-odt.el (org-odt--export-wrap):
24181         * lisp/org/ox-texinfo.el (org-texinfo-compile):
24182         * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
24183         * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
24184         (verilog-signals-combine-bus, verilog-read-defines)
24185         (verilog-getopt-file, verilog-expand-dirnames)
24186         (verilog-modi-lookup, verilog-modi-modport-lookup-one):
24187         * lisp/term/ns-win.el (ns-spi-service-call):
24188         Use %s to avoid translating quotes of file names etc. in diagnostics.
24190 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24192         * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
24193         (js-mode): Don't set syntax-begin-function.
24195 2015-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24197         * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
24198         syntax-begin-function is a symbol.
24200 2015-09-20  Eli Zaretskii  <eliz@gnu.org>
24202         Improve documentation of 'run-at-time'
24203         * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
24204         In particular, don't refer to 'diary-entry-time', because it is
24205         unavailable until diary-lib is loaded.  Also, refer to
24206         'timer-duration-words', not 'timer-duration', as the latter's doc
24207         string says nothing about the accepted strings.
24209 2015-09-19  Jay Belanger  <jay.p.belanger@gmail.com>
24211         * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
24213 2015-09-19  Ken Manheimer  <ken.manheimer@gmail.com>
24215         Repair pdbtrack remote file tracking
24216         * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
24217         Rectify pdbtrack so it follows transitions from one remote source
24218         file to the next.
24220 2015-09-19  Artur Malabarba  <bruce.connor.am@gmail.com>
24222         * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
24224 2015-09-19  Eli Zaretskii  <eliz@gnu.org>
24226         Adapt vc-src to the old-new vc-checkin API
24227         * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
24228         additional optional parameter.
24230 2015-09-19  Simen Heggestøyl  <simenheg@gmail.com>
24232         Add overflow module to CSS property list
24233         * lisp/textmodes/css-mode.el (css-property-ids): Add properties
24234         from CSS Overflow Module Level 3.
24236 2015-09-19  Eli Zaretskii  <eliz@gnu.org>
24238         Fix documentation of "C-u C-x v v"
24239         * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
24240         documentation of "C-u C-x v v" match what the code does.
24242         Resurrect the ability to specify a revision in vc-next-action
24243         * lisp/vc/vc-bzr.el (vc-bzr-checkin):
24244         * lisp/vc/vc-dav.el (vc-dav-checkin):
24245         * lisp/vc/vc-git.el (vc-git-checkin):
24246         * lisp/vc/vc-hg.el (vc-hg-checkin):
24247         * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
24248         an additional optional argument, the revision to checkin.
24249         * lisp/vc/vc-sccs.el (vc-sccs-checkin):
24250         * lisp/vc/vc-cvs.el (vc-cvs-checkin):
24251         * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
24252         a revision to checkin.
24253         * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
24254         revision when checking in files.
24255         See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
24256         for the details.
24258 2015-09-18  Wilson Snyder  <wsnyder@wsnyder.org>
24260         * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
24261         (verilog-decls-princ, verilog-modport-princ)
24262         (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
24264 2015-09-17  Jay Belanger  <jay.p.belanger@gmail.com>
24266         Fix the routine for help on Calc's prefixes
24267         * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
24268         (calc-do-prefix-help): Use `read-char' to determine the next Calc
24269         command.
24271 2015-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24273         * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
24274         (font-lock-fontify-block): Don't let-bind it.
24275         (font-lock-compile-keywords): Don't use it.
24276         (font-lock-set-defaults): Don't set it.  Allow the variable alist to
24277         start one slot earlier, instead.
24278         * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
24279         Don't declare.
24280         (syntax-ppss): Don't use it either.
24281         * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
24282         from docstring.
24283         * doc/emacs/display.texi (Font Lock): Don't mention
24284         font-lock-beginning-of-syntax-function.
24285         * doc/lispref/modes.texi (Font Lock Basics): Update description of
24286         font-lock-defaults.
24287         (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
24288         * lisp/loadhist.el (unload-feature-special-hooks):
24289         Remove font-lock-beginning-of-syntax-function.
24290         * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
24291         * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
24292         font-lock-beginning-of-syntax-function.
24294 2015-09-17  Paul Eggert  <eggert@cs.ucla.edu>
24296         Backslash cleanup in Elisp source files
24297         This patch should not change behavior.  It typically omits backslashes
24298         where they are redundant (e.g., in the string literal "^\$").
24299         In a few places, insert backslashes where they make regular
24300         expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
24301         "^\\*", which has the same effect as a regular expression.
24302         Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
24303         and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
24304         RCS IDs, as that makes it clearer that the backslash is intended.
24306         Some more minor backslash fixes
24307         * test/automated/compile-tests.el (compile-tests--test-regexps-data):
24308         * test/automated/info-xref.el (info-xref-test-write-file):
24309         Double backslashes in strings.
24311         Fix several backslash typos in Elisp strings
24312         * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
24313         (todo-find-filtered-items-file, todo-reset-nondiary-marker)
24314         (todo-reset-done-string, todo-reset-comment-string)
24315         (todo-reset-highlight-item):
24316         * lisp/erc/erc-networks.el (erc-networks-alist):
24317         * lisp/gnus/gnus-art.el (gnus-button-handle-library):
24318         * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
24319         * lisp/gnus/nntp.el (nntp-via-shell-prompt)
24320         (nntp-telnet-shell-prompt):
24321         * lisp/gnus/spam-report.el (spam-report-gmane-regex):
24322         * lisp/image-dired.el (image-dired-rotate-original):
24323         (image-dired-get-exif-file-name):
24324         * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
24325         * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
24326         * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
24327         * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
24328         * lisp/net/shr-color.el (shr-color->hexadecimal):
24329         * lisp/org/org-bibtex.el (org-bibtex-fields):
24330         * lisp/org/org-docview.el (org-docview-export):
24331         * lisp/org/org-entities.el (org-entities):
24332         * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
24333         * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
24334         * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
24335         (ebnf-style-database):
24336         * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
24337         * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
24338         * lisp/progmodes/sql.el (sql-product-alist):
24339         * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
24340         (verilog-error-font-lock-keywords)
24341         (verilog-assignment-operator-re):
24342         * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
24343         * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
24344         * lisp/vc/add-log.el (change-log-version-number-regexp-list):
24345         Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
24346         For example, to get the regular expression ‘\.’ use the string
24347         literal "\\.", not "\." (which is equivalent to ".").
24348         * lisp/emulation/viper-util.el (viper-glob-unix-files):
24349         Remove stray ‘\j’ from string.
24350         * lisp/gnus/nntp.el (nntp-via-shell-prompt)
24351         (nntp-telnet-shell-prompt):
24352         Treat > like $ when matching a shell prompt.
24353         * lisp/progmodes/make-mode.el (makefile-browse):
24354         Properly quote a diagnostic.
24356         Fix minor quoting problems in diagnostics
24357         * lisp/tutorial.el (tutorial--describe-nonstandard-key):
24358         * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
24359         Follow text-quoting-style in diagnostic, and quote a file name.
24361 2015-09-17  Eli Zaretskii  <eliz@gnu.org>
24363         * doc/lispref/frames.texi (Cursor Parameters):
24364         Document 'x-stretch-cursor'.
24366 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24368         Omit unnecessary \ before paren in C docstrings
24369         Although \( is needed in docstrings in Elisp code, it is not needed in
24370         docstrings in C code, since C function definitiions do not start with
24371         a parenthesis.  The backslashes made the docstrings a bit harder to
24372         read and to format in columns.  Also, some C docstrings had ( in
24373         column 1 and this did not appear to be causing any problems.  So,
24374         simplify C docstrings by replacing \( with ( and \) with ).
24376         A few more minor quoting fixes in a script and a text file
24378         Minor quoting fixes in scripts and doc
24379         Prefer straight quotes in random script files, as they are not
24380         converted.  Prefer grave quotes in a couple of places in the manual
24381         that were missed earlier, as these quotes are converted.
24383         Minor backslash fixes in manuals and scripts
24384         * Makefile.in (install-arch-indep):
24385         * admin/charsets/compact.awk:
24386         * admin/charsets/gb180302.awk (gb_to_index):
24387         * admin/charsets/gb180304.awk (gb_to_index):
24388         Avoid undefined behavior in Awk regular expression backslashes.
24389         * doc/misc/efaq.texi (Matching parentheses):
24390         Omit unnecessary backslashes.
24391         * doc/misc/gnus-faq.texi (FAQ 5-8):
24392         Avoid undefined behavior in suggested sed backslash usage.
24394         Add -Wswitch to --enable-gcc-warnings
24395         Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
24396         * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
24397         * lib-src/etags.c (main, consider_token, C_entries):
24398         * src/coding.c (encode_invocation_designation):
24399         * src/data.c (Ftype_of):
24400         * src/eval.c (Fdefvaralias, default_toplevel_binding)
24401         (Fbacktrace__locals, mark_specpdl):
24402         * src/lisp.h (record_xmalloc):
24403         * src/syntax.c (scan_lists, scan_sexps_forward):
24404         * src/window.c (window_relative_x_coord):
24405         * src/xdisp.c (push_it, pop_it):
24406         * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
24407         Error out or do nothing (as appropriate) if a switch statement
24408         with an enum value does not cover all of the enum.
24409         * src/dispextern.h (struct iterator_stack_entry.u.comp):
24410         Remove unused member discovered by using -Wswitch.
24411         * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
24412         * src/vm-limit.c (check_memory_limits):
24413         Simplify warning-diagnostic computation by using a table.
24415         etags ‘fatal’ function is now printf-like
24416         * lib-src/etags.c (fatal): Now printf-like.  All callers changed.
24417         Also, now static; not clear why it needed to be extern.
24418         (verror): New function, with most of the old contents of ‘error’.
24419         (fatal, error): Use it.
24421 2015-09-16  Eli Zaretskii  <eliz@gnu.org>
24423         More adaptations in file-notify-tests.el
24424         * test/automated/file-notify-tests.el
24425         (file-notify-test05-dir-validity): Skip for w32notify in
24426         batch-mode.  (Bug#21432)
24428 2015-09-16  Michael Albinus  <michael.albinus@gmx.de>
24430         Adapt test in file-notify-tests.el
24431         * test/automated/file-notify-tests.el
24432         (file-notify-test04-file-validity): Skip for w32notify in
24433         batch-mode.  Add test lost last commit.
24435 2015-09-16  Dima Kogan  <dima@secretsauce.net>
24437         winner no longer holds on to dead frames
24438         * lisp/winner.el (winner-change-fun): Cull dead frames.
24439         This prevents a potentially massive memory leak.  See:
24440         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
24442 2015-09-16  Michael Albinus  <michael.albinus@gmx.de>
24444         Use common report_file_notify_error function
24445         * src/fileio.c (report_file_notify_error): New function.
24446         * src/inotify.c (report_inotify_error): Remove function.
24447         (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
24448         (Finotify_rm_watch): Use report_file_notify_error.
24449         * src/lisp.h (report_file_notify_error): Declare external function.
24450         * src/w32notify.c (report_w32notify_error): Remove function.
24451         (Fw32notify_add_watch, Fw32notify_rm_watch):
24452         Use report_file_notify_error.
24454 2015-09-16  Jay Belanger  <jay.p.belanger@gmail.com>
24456         Fix documentation.
24457         * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
24458         the documentation of the root mean square.
24460 2015-09-16  Martin Rudalics  <rudalics@gmx.at>
24462         Remove tool_bar_redisplayed_once and associated code.
24463         * src/frame.h (tool_bar_redisplayed_once): Remove slot.
24464         * src/frame.c (make_frame, x_set_font): Remove initialization of
24465         f->tool_bar_redisplayed_once.
24466         * src/w32fns.c (x_change_tool_bar_height):
24467         * src/xfns.c (x_change_tool_bar_height): Don't check for
24468         f->tool_bar_redisplayed_once.
24469         * src/xdisp.c (redisplay_internal): Remove handling of
24470         f->tool_bar_redisplayed_once.
24472 2015-09-16  Eli Zaretskii  <eliz@gnu.org>
24474         Restore some of the quoting in the manuals
24475         * doc/lispref/windows.texi (Coordinates and Windows)
24476         (Coordinates and Windows):
24477         * doc/lispref/variables.texi (Lexical Binding)
24478         (File Local Variables):
24479         * doc/lispref/text.texi (Format Properties):
24480         * doc/lispref/symbols.texi (Symbol Components):
24481         * doc/lispref/strings.texi (Creating Strings):
24482         * doc/lispref/sequences.texi (Sequence Functions):
24483         * doc/lispref/searching.texi (Regexp Special, Regexp Search)
24484         (Search and Replace):
24485         * doc/lispref/processes.texi (Bindat Spec):
24486         * doc/lispref/os.texi (Idle Timers):
24487         * doc/lispref/objects.texi (Basic Char Syntax):
24488         * doc/lispref/numbers.texi (Float Basics, Random Numbers):
24489         * doc/lispref/nonascii.texi (Character Properties):
24490         * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
24491         (Mode Line Variables):
24492         * doc/lispref/minibuf.texi (Text from Minibuffer):
24493         * doc/lispref/loading.texi (Autoload):
24494         * doc/lispref/keymaps.texi (Controlling Active Maps):
24495         * doc/lispref/frames.texi (Frame Layout, Size and Position)
24496         (Size Parameters, Implied Frame Resizing):
24497         * doc/lispref/files.texi (Changing Files, Magic File Names):
24498         * doc/lispref/eval.texi (Self-Evaluating Forms):
24499         * doc/lispref/display.texi (Progress, Abstract Display)
24500         (Abstract Display Example, Bidirectional Display):
24501         * doc/lispref/commands.texi (Event Mod):
24502         * doc/emacs/windows.texi (Displaying Buffers):
24503         * doc/emacs/trouble.texi (Bug Criteria, Checklist):
24504         * doc/emacs/text.texi (Enriched Text):
24505         * doc/emacs/programs.texi (MixedCase Words):
24506         * doc/emacs/picture-xtra.texi (Insert in Picture)
24507         (Tabs in Picture):
24508         * doc/emacs/misc.texi (Emacs Server, Printing):
24509         * doc/emacs/mini.texi (Minibuffer History):
24510         * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
24511         (Pulling / Pushing):
24512         * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
24513         * doc/emacs/help.texi (Help, Help Echo):
24514         * doc/emacs/glossary.texi (Glossary):
24515         * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
24516         (Frame Commands):
24517         * doc/emacs/files.texi (Reverting, Saving, Directories):
24518         * doc/emacs/entering.texi (Exiting):
24519         * doc/emacs/emacs.texi (Top):
24520         * doc/emacs/cmdargs.texi (Window Size X, Icons X):
24521         * doc/emacs/anti.texi (Antinews): Restore quoting of text where
24522         appropriate or replace quoting with @dfn.
24523         * doc/misc/ediff.texi (Window and Frame Configuration):
24524         * doc/lispref/processes.texi (Network Feature Testing):
24525         * doc/lispref/display.texi (Display Margins): Quote the phrase
24526         after "a.k.a." where appropriate.
24528 2015-09-16  Tassilo Horn  <tsdh@gnu.org>
24530         Clarify reftex-extra-bindings docs
24531         * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
24532         * doc/misc/reftex.texi (Key Bindings): Document that the variable
24533         only has an effect at load-time.
24535 2015-09-16  Daniel McClanahan  <danieldmcclanahan@gmail.com>  (tiny change)
24537         * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
24538         search argument.  (Bug#21492) (Bug#21493)
24540 2015-09-16  Tassilo Horn  <tsdh@gnu.org>
24542         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
24543         Add pretty symbols for \qquad and \varrho.
24545 2015-09-15  Jay Belanger  <jay.p.belanger@gmail.com>
24547         Add new functions for the root mean square of a (Calc) vector
24548         * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
24549         New functions.
24550         * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
24551         `calc-vector-rms', add autoloads for `calc-vector-rms' and
24552         `calcFunc-rms'.
24553         * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
24554         `calcFunc-rms'.
24555         * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
24556         `calc-vector-rms'.
24557         * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
24558         command.
24560 2015-09-15  Stephen Leake  <stephen_leake@stephe-leake.org>
24562         Add monotone EDE generic project
24563         * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
24564         Add monotone generic project.
24566         Revert premature commit
24567         * doc/lispref/files.texi: Revert premature commit of change to
24568         file-name-all-completions.
24570         Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
24571         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
24572         with cl-generic defaults.
24573         (elisp--xref-find-references): Add doc string.
24574         * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
24575         tests to find bug.
24577         Fix bugs in eieio-oref-default related to class symbols
24578         * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
24579         (eieio-oref-default): Handle class properly.
24581 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
24583         Quote “fullboth” when defining it
24584         * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
24585         and rewrite the containing paragraph, which was awkward.  (Bug#21472).
24587 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
24589         Minor doc fix in emacs/ack.texi
24590         * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
24591         first argument.
24593 2015-09-15  Michael Albinus  <michael.albinus@gmx.de>
24595         Adapt tests in auto-revert-tests.el
24596         * test/automated/auto-revert-tests.el (auto-revert--timeout):
24597         Make it a defconst.
24598         (auto-revert--wait-for-revert): New defun.
24599         (auto-revert-test00-auto-revert-mode)
24600         (auto-revert-test01-auto-revert-tail-mode)
24601         (auto-revert-test02-auto-revert-mode-dired): Use it.
24603 2015-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24605         * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
24606         Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
24607         (cl-lib-fdefs): Add defgeneric.
24608         (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
24609         (eieio-kw, cl-lib-kw, el-kw): Remove.
24611 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
24613         Quote less in manuals
24614         The manuals often used quotes ``...'' when it is better to use @dfn or
24615         @code or capitalized words or no quoting at all.  For example, there is
24616         no need for the `` and '' in “if a variable has one effect for
24617         @code{nil} values and another effect for ``non-@code{nil}'' values”.
24618         Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
24619         unnecessary quoting like this, and to use @dfn etc. instead when called
24620         for (Bug#21472).
24622 2015-09-15  Mark Oteiza  <mvoteiza@udel.edu>
24624         * lisp/custom.el (load-theme): Only compute hash when needed.
24626 2015-09-15  Paul Eggert  <eggert@cs.ucla.edu>
24628         Pacify --enable-gcc-warnings
24629         * src/inotify.c (report_inotify_error): Declare it _Noreturn.
24631 2015-09-15  Michael Albinus  <michael.albinus@gmx.de>
24633         Improve error reports in inotify.c
24634         * src/inotify.c (report_inotify_error): New function.  Clone of
24635         report_w32notify_error.
24636         (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
24637         (Finotify_rm_watch): Use it.
24639 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
24641         Fix the file-notify tests for watch validation on w32
24642         * test/automated/file-notify-tests.el
24643         (file-notify-test04-file-validity): Move the directory deletion
24644         out of the file-notify--test-with-events macro.
24645         (file-notify-test04-file-validity)
24646         (file-notify-test05-dir-validity): Enlarge the timeout of
24647         read-event to 0.5, as 0.1 is borderline on w32.  (Bug#21432)
24649 2015-09-15  Tassilo Horn  <tsdh@gnu.org>
24651         Use OPEN BOX instead of space for \quad.
24652         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
24653         character for \quad instead of a space.
24655 2015-09-15  Eli Zaretskii  <eliz@gnu.org>
24657         Add missing *.pbm images
24658         * etc/images/connect.pbm: New file.
24659         * etc/images/custom/down-pushed.pbm: New file.
24660         * etc/images/custom/down.pbm: New file.
24661         * etc/images/custom/right-pushed.pbm: New file.
24662         * etc/images/custom/right.pbm: New file.
24663         * etc/images/describe.pbm: New file.
24664         * etc/images/disconnect.pbm: New file.
24665         * etc/images/ezimage/bits.pbm: New file.
24666         * etc/images/ezimage/bitsbang.pbm: New file.
24667         * etc/images/ezimage/box-minus.pbm: New file.
24668         * etc/images/ezimage/box-plus.pbm: New file.
24669         * etc/images/ezimage/box.pbm: New file.
24670         * etc/images/ezimage/checkmark.pbm: New file.
24671         * etc/images/ezimage/dir-minus.pbm: New file.
24672         * etc/images/ezimage/dir-plus.pbm: New file.
24673         * etc/images/ezimage/dir.pbm: New file.
24674         * etc/images/ezimage/doc-minus.pbm: New file.
24675         * etc/images/ezimage/doc-plus.pbm: New file.
24676         * etc/images/ezimage/doc.pbm: New file.
24677         * etc/images/ezimage/info.pbm: New file.
24678         * etc/images/ezimage/key.pbm: New file.
24679         * etc/images/ezimage/label.pbm: New file.
24680         * etc/images/ezimage/lock.pbm: New file.
24681         * etc/images/ezimage/mail.pbm: New file.
24682         * etc/images/ezimage/page-minus.pbm: New file.
24683         * etc/images/ezimage/page-plus.pbm: New file.
24684         * etc/images/ezimage/page.pbm: New file.
24685         * etc/images/ezimage/tag-gt.pbm: New file.
24686         * etc/images/ezimage/tag-minus.pbm: New file.
24687         * etc/images/ezimage/tag-plus.pbm: New file.
24688         * etc/images/ezimage/tag-type.pbm: New file.
24689         * etc/images/ezimage/tag-v.pbm: New file.
24690         * etc/images/ezimage/tag.pbm: New file.
24691         * etc/images/ezimage/unlock.pbm: New file.
24692         * etc/images/gnus/important.pbm: New file.
24693         * etc/images/gnus/mail-send.pbm: New file.
24694         * etc/images/gnus/receipt.pbm: New file.
24695         * etc/images/gnus/toggle-subscription.pbm: New file.
24696         * etc/images/gnus/unimportant.pbm: New file.
24697         * etc/images/gud/all.pbm: New file.
24698         * etc/images/gud/rcont.pbm: New file.
24699         * etc/images/gud/recstart.pbm: New file.
24700         * etc/images/gud/recstop.pbm: New file.
24701         * etc/images/gud/rfinish.pbm: New file.
24702         * etc/images/gud/rnext.pbm: New file.
24703         * etc/images/gud/rnexti.pbm: New file.
24704         * etc/images/gud/rstep.pbm: New file.
24705         * etc/images/gud/rstepi.pbm: New file.
24706         * etc/images/gud/thread.pbm: New file.
24707         * etc/images/lock-broken.pbm: New file.
24708         * etc/images/lock-ok.pbm: New file.
24709         * etc/images/lock.pbm: New file.
24710         * etc/images/mail/copy.pbm: New file.
24711         * etc/images/mail/forward.pbm: New file.
24712         * etc/images/mail/not-spam.pbm: New file.
24713         * etc/images/mail/outbox.pbm: New file.
24714         * etc/images/mail/preview.pbm: New file.
24715         * etc/images/mail/save-draft.pbm: New file.
24716         * etc/images/mh-logo.pbm: New file.
24717         * etc/images/mpc/add.pbm: New file.
24718         * etc/images/mpc/ffwd.pbm: New file.
24719         * etc/images/mpc/next.pbm: New file.
24720         * etc/images/mpc/pause.pbm: New file.
24721         * etc/images/mpc/play.pbm: New file.
24722         * etc/images/mpc/prev.pbm: New file.
24723         * etc/images/mpc/rewind.pbm: New file.
24724         * etc/images/mpc/stop.pbm: New file.
24725         * etc/images/redo.pbm: New file.
24726         * etc/images/smilies/braindamaged.pbm: New file.
24727         * etc/images/smilies/cry.pbm: New file.
24728         * etc/images/smilies/dead.pbm: New file.
24729         * etc/images/smilies/evil.pbm: New file.
24730         * etc/images/smilies/forced.pbm: New file.
24731         * etc/images/smilies/grin.pbm: New file.
24732         * etc/images/smilies/indifferent.pbm: New file.
24733         * etc/images/sort-ascending.pbm: New file.
24734         * etc/images/sort-column-ascending.pbm: New file.
24735         * etc/images/sort-criteria.pbm: New file.
24736         * etc/images/sort-descending.pbm: New file.
24737         * etc/images/sort-row-ascending.pbm: New file.
24738         * etc/images/unchecked.pbm: New file.
24739         * etc/images/zoom-in.pbm: New file.
24740         * etc/images/README: Update instructions for PBM files.
24742         Add separator.pbm tool-bar image
24743         * etc/images/separator.pbm: New file.  Having it avoids the side
24744         effect of changing the tool-bar height when the default font's size
24745         changes and XPM image support is not available, due to the SPC
24746         characters that are left in the Lisp string used to display the tool
24747         bar, because there are no images to display instead of those SPC
24748         characters.
24750         Make show-paren-match face visible on mono-color displays
24751         * lisp/faces.el (show-paren-match): Use the underline face for
24752         mono-color displays.  (Bug#21481)
24754 2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>
24756         Don’t double-encode non-ASCII mail clipboard
24757         * lisp/mail/mailclient.el (mailclient-send-it):
24758         Also fix the case when mailclient-place-body-on-clipboard-flag
24759         is non-nil.  Problem reported by Eli Zaretskii (Bug#21471#37).
24761 2015-09-14  Michael Albinus  <michael.albinus@gmx.de>
24763         Adapt file-notify-tests.el test cases
24764         * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
24765         * src/inotify.c (Finotify_valid_p): Adapt docstring.
24766         * test/automated/file-notify-tests.el
24767         (file-notify-test03-autorevert)
24768         (file-notify-test04-file-validity)
24769         (file-notify-test04-file-validity-remote)
24770         (file-notify-test05-dir-validity)
24771         (file-notify-test05-dir-validity-remote): Adapt docstring.
24772         (file-notify-test04-file-validity): Let events arrive before
24773         calling final `file-notify-valid-p'.  Do not ignore errors.
24774         (file-notify-test05-dir-validity): Do not manipulate
24775         `temporary-file-directory', it isn't necessary.  Let events arrive
24776         before calling final `file-notify-valid-p'.  Do not ignore errors.
24778 2015-09-14  Paul Eggert  <eggert@cs.ucla.edu>
24780         Don’t double-encode non-ASCII for mail client
24781         * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
24782         Use RFC 6068’s list of unreserved characters.
24783         (mailclient-send-it): When encoding the body as a URL,
24784         first decode it as per Content-Type: and Content-Transfer-Encoding:,
24785         as URLs must use percent-encoded UTF-8 (Bug#21471).
24786         * doc/misc/url.texi (mailto): Update RFC number.
24788 2015-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
24790         * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
24792 2015-09-14  Alan Mackenzie  <acm@muc.de>
24794         Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
24795         (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
24796         `cadr/car'.
24798 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
24800         Clarify documentation of char-table extra slots
24801         * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
24802         slot numbers are zero-based.  (Bug#21467)
24804 2015-09-14  Alan Mackenzie  <acm@muc.de>
24806         Elisp mode: Make font-lock and imenu handle escaped characters in symbols
24807         Fixes bug#21449.
24808         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
24809         (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
24810         (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
24811         (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
24812         Insert "\\|\\\\." into regexps which match symbols.
24814 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
24816         Improve the doc string of w32notify-valid-p
24817         * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
24818         that removing a watch makes its object invalid.
24820 2015-09-14  Tassilo Horn  <tsdh@gnu.org>
24822         Fix tests for file-notify-valid-p
24823         * test/automated/file-notify-tests.el (file-notify--test-cleanup):
24824         Use delete-directory to delete file-notify--test-tmpfile if it is
24825         a directory.  Likewise for file-notify--test-tmpfile1.
24826         (file-notify-test04-file-validity)
24827         (file-notify-test05-dir-validity): Delete the parent directory of
24828         the test.  Ignore errors when cleaning up after the test.
24830 2015-09-14  Eli Zaretskii  <eliz@gnu.org>
24832         Report file-notify-error in w32notify.c
24833         * src/w32notify.c (report_w32notify_error): New function.
24834         (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
24835         errors, instead of calling report_file_error.  (Bug#21432)
24837         Implement w32notify-valid-p
24838         * src/w32notify.c (Fw32notify_valid_p): New function.  (Bug#21432)
24839         * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
24840         'identity'.
24842 2015-09-14  Tassilo Horn  <tsdh@gnu.org>
24844         Test file-notify-valid-p
24845         * test/automated/file-notify-tests.el
24846         (file-notify-test04-file-validity, file-notify-test05-dir-validity):
24847         New tests.
24849 2015-09-13  Eli Zaretskii  <eliz@gnu.org>
24851         Fix markup in ELisp manual
24852         * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
24853         of the 'alpha' parameter value.  (Bug#21470)
24855 2015-09-13  Michael Albinus  <michael.albinus@gmx.de>
24857         Introduce `file-notify-valid-p'
24858         * lisp/filenotify.el (file-notify-valid-p): New defun.
24859         (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
24860         * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
24861         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
24862         * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
24863         * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
24864         <file-notify-valid-p>: Add handler.
24865         * lisp/net/tramp.el (tramp-file-name-for-operation):
24866         Add `file-notify-valid-p'.
24867         (tramp-handle-file-notify-valid-p): New defun.
24868         * src/inotify.c (Finotify_valid_p): New defun.
24869         (syms_of_inotify): Declare Sinotify_valid_p.
24871 2015-09-13  Paul Eggert  <eggert@cs.ucla.edu>
24873         Port Unicode char detection to FreeBSD+svgalib
24874         Problem reported by Ashish SHUKLA in:
24875         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
24876         * configure.ac: Check for struct unipair.unicode instead of for
24877         <linux/kd.h>, since that’s more specific to what the code
24878         actually needs.
24879         * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
24881         * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
24883 2015-09-13  Eli Zaretskii  <eliz@gnu.org>
24885         Fix vertical cursor motion across overlay strings with newlines
24886         * src/indent.c (Fvertical_motion): Don't leave point in the middle
24887         of an overlay string with newlines, as that will position the
24888         cursor after the string at whatever column is there.  (Bug#21468)
24890 2015-09-12  Michael Albinus  <michael.albinus@gmx.de>
24892         Fix tests in file-notify-tests.el
24893         * test/automated/file-notify-tests.el: Remove Tramp declarations.
24894         (file-notify-test00-availability): Print remote command w/o Tramp
24895         internal functions.
24896         (file-notify-test02-events, file-notify-test02-events-remote):
24897         Adapt docstring.
24898         (file-notify-test03-autorevert): Use `format-message' when
24899         inspecting *Messages* buffer.
24901 2015-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24903         Bind inhibit-modification-hooks rather than a/b-c-f
24904         * lisp/wid-edit.el (widget-editable-list-insert-before)
24905         (widget-editable-list-delete-at):
24906         * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
24907         (cperl-font-lock-unfontify-region-function):
24908         * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
24909         * lisp/obsolete/longlines.el (longlines-mode):
24910         * lisp/obsolete/fast-lock.el (save-buffer-state):
24911         * lisp/mouse.el (mouse-save-then-kill-delete-region):
24912         * lisp/gnus/message.el (message-hide-headers):
24913         * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
24914         * lisp/ibuffer.el (ibuffer-update-title-and-summary)
24915         (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
24916         than after/before-change-functions to nil.
24918 2015-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
24920         (jit-lock-deferred-fontify): Pay attention to skipped redisplays
24921         * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
24922         the buffers, even if the forced redisplay is interrupted.
24924         * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
24926         Merge syntax-propertize--done and parse-sexp-propertize-done
24927         * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
24928         (syntax-propertize): Set syntax-propertize--done even if
24929         syntax-propertize-function is nil.  Avoid recursive invocations.
24930         (syntax-propertize-chunks): New var.
24931         (internal--syntax-propertize): Use it.  Rename from syntax--jit-propertize.
24932         Simplify.
24933         (parse-sexp-propertize-function): Don't set any more.
24934         * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
24935         (parse_sexp_propertize): Don't assume charpos is not yet propertized.
24936         Call Qinternal__syntax_propertize instead of
24937         Vparse_sexp_propertize_function.  Truncate e_property if needed.
24938         (update_syntax_table_forward): Streamline.
24939         (syms_of_syntax): Define Qinternal__syntax_propertize.
24940         (syntax_propertize__done): Rename from parse_sexp_propertize_done.
24942 2015-09-11  Paul Eggert  <eggert@cs.ucla.edu>
24944         Prefer straight quoting in some text files
24945         Mostly this just changes ` to ' in static text.  Some exceptions:
24946         * INSTALL.REPO: Use curved quotes, as the diagnostic in question
24947         typically does that now.
24948         * admin/quick-install-emacs (TRY, top level):
24949         Use straight quoting in diagnostics.
24950         * src/README: Fix working-directory confusion.
24952         * CONTRIBUTE: Move send-email here from git-workflow.
24954 2015-09-11  Michael Albinus  <michael.albinus@gmx.de>
24956         Improve file notifications in Tramp
24957         * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
24958         Set proper events to watch for.
24959         (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
24960         watched events.
24962 2015-09-11  Eli Zaretskii  <eliz@gnu.org>
24964         Fix NS build with --enable-checking='glyphs'
24965         * src/nsfns.m (unwind_create_frame): Make the preprocessor
24966         conditionals for referencing 'dpyinfo' consistent throughout the
24967         function.  (Bug#21426)
24969 2015-09-10  Nicolas Petton  <nicolas@petton.fr>
24971         Add seq-find
24972         This function is similar to `seq-some' but returns the found element.
24973         In the cases where nil can be the found element, a sentinel optional
24974         argument can be provided to avoid ambiguities.
24975         * lisp/emacs-lisp/seq.el (seq-find): New function.
24976         * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
24977         * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
24978         seq-find.
24980 2015-09-10  Tassilo Horn  <tsdh@gnu.org>
24982         Document file-notify--test-with-events.
24983         * test/automated/file-notify-tests.el (file-notify--test-with-events):
24984         Add docstring.
24986 2015-09-10  Michael Albinus  <michael.albinus@gmx.de>
24988         Report used native library in file-notify-tests.el
24989         * test/automated/file-notify-tests.el
24990         (tramp-get-remote-gvfs-monitor-dir)
24991         (tramp-get-remote-inotifywait): Declare them.
24992         (file-notify-test00-availability): Print used native library.
24994 2015-09-10  Mark Oteiza  <mvoteiza@udel.edu>
24996         * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
24997         (mpc-file-local-copy): Check for absolute path.  Check more config
24998         locations.
25000 2015-09-10  Eli Zaretskii  <eliz@gnu.org>
25002         Improve documentation of categories
25003         * doc/lispref/syntax.texi (Categories): Clarify the example of
25004         using define-category and modify-category-entry.  (Bug#21448)
25006 2015-09-10  Paul Eggert  <eggert@cs.ucla.edu>
25008         Revert some stray curved quotes I missed earlier
25009         Problem reported by David Kastrup in:
25010         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
25011         * lisp/international/mule-cmds.el (leim-list-header):
25012         Use format-message with an ASCII-only format.
25014         Prefer NUMBERP to spelling it out
25015         * src/editfns.c (styled_format):
25016         * src/frame.h (NUMVAL):
25017         * src/image.c (parse_image_spec):
25018         * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
25019         (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
25020         * src/process.c (Fsignal_process):
25021         * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
25022         * src/xfaces.c (check_lface_attrs):
25023         * src/xselect.c (x_fill_property_data, x_send_client_event):
25024         Use NUMBERP rather than INTEGERP || FLOATP.
25026 2015-09-10  Tassilo Horn  <tsdh@gnu.org>
25028         Improve file-notify-tests
25029         * test/automated/file-notify-tests.el: Use lexical-binding.
25030         (file-notify--test-cleanup): New function.
25031         (file-notify-test00-availability, file-notify-test01-add-watch)
25032         (file-notify-test02-events, file-notify-test03-autorevert): Use it.
25033         (file-notify--test-with-events): New macro.
25034         (file-notify-test02-events): Use it.
25036 2015-09-10  Paul Eggert  <eggert@cs.ucla.edu>
25038         Add patch-sending instructions to git-workflow
25039         From a suggestion by Mitchel Humpherys in:
25040         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
25041         * admin/notes/git-workflow (Sending patches): New section.
25043         Port to GIFLIB 5.0.6 and later
25044         Problem reported by Mitchel Humpherys in:
25045         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
25046         * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
25047         (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
25048         (gif_load) [HAVE_GIF]: Use it.
25050 2015-09-10  Glenn Morris  <rgm@gnu.org>
25052         * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
25054 2015-09-09  Glenn Morris  <rgm@gnu.org>
25056         * test/automated/file-notify-tests.el (file-notify-test02-events):
25057         Fix recent change.
25059 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
25061         Refix movemail GCC pacification
25062         Problem reported by Ken Brown in:
25063         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
25064         * lib-src/movemail.c (main): Fix previous change.
25066 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
25068         * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
25069         Mark unused vars with underscore.
25071         * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
25072         (parse_sexp_propertize): ...from here.
25074         * lisp/filenotify.el: Use lexical-binding
25075         (file-notify-add-watch): Avoid add-to-list.
25077 2015-09-09  Tassilo Horn  <tsdh@gnu.org>
25079         Start checking event types in file-notify tests
25080         * test/automated/file-notify-tests.el (file-notify--test-events):
25081         New variable.
25082         (file-notify--test-event-handler): Append received event to
25083         file-notify--test-events for later analysis.
25084         (file-notify-test02-events): Assert that the expected notifications have
25085         arrived in the expected order.
25087 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
25089         Merge from gnulib and texinfo
25090         This incorporates:
25091         2015-08-03 Improve port of stdalign to C++11
25092         * lib/stdalign.in.h: Copy from gnulib.
25093         * doc/misc/texinfo.tex: Copy from texinfo.
25095 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
25097         Make syntax.c call syntax-propertize on demand
25098         * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
25099         (parse-sexp-propertize-function): Use it.
25100         (syntax-propertize): Disable parse-sexp-propertize-function.
25101         * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
25102         New functions.
25103         (syms_of_syntax): New vars `parse-sexp-propertize-done' and
25104         `parse-sexp-propertize-function'.
25105         * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
25106         (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
25107         (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
25108         * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
25109         Don't assume `point' is set.
25111 2015-09-09  Eli Zaretskii  <eliz@gnu.org>
25113         Fix indentation of an @example in ELisp manual
25114         * doc/lispref/syntax.texi (Categories): Untabify the example.
25115         (Bug#21448)
25117 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
25119         Define internal-char-font even if --without-x
25120         The function is used now even in non-graphical environments.
25121         Problem reported by Glenn Morris in:
25122         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
25123         * src/font.c (Finternal_char_font): Move here ...
25124         * src/fontset.c (Finternal_char_font): ... from here.
25126 2015-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
25128         * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
25129         Remove warning.
25131 2015-09-09  Eli Zaretskii  <eliz@gnu.org>
25133         Fix display of complex local data types in GDB-MI
25134         * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
25135         variable has no value, display "<complex data type>" as a
25136         placeholder, instead of a confusing "nil".  (Bug#21438)
25138 2015-09-09  Oleh Krehel  <ohwoeowho@gmail.com>
25140         Remove redundant redefinition of seq-drop-while from seq.el
25141         * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
25143 2015-09-09  Phil Sainty  <psainty@orcon.net.nz>
25145         * lisp/emacs-lisp/package.el (package--ensure-init-file):
25146         More robust check for `package-initialize' calls in init file.
25147         This function accepts an optional argument, but calls passing
25148         an argument would not have been detected.
25150 2015-09-09  Paul Eggert  <eggert@cs.ucla.edu>
25152         Port movemail to RHEL 6 with --enable-gcc-warnings
25153         * lib-src/movemail.c (main): Declare local only if needed.
25155         Port recent Linux console changes to RHEL 6
25156         * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
25158         Improvements for curved quotes on Linux consule
25159         This should help Emacs work better out-of-the-box on Linux consoles,
25160         which have only limited support for displaying Unicode characters.
25161         Also, undo the recent change that caused text-quoting-style to
25162         affect quote display on terminals, so that the two features are
25163         independent.  See Alan Mackenzie in:
25164         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
25165         Finally, add a style parameter to startup--setup-quote-display,
25166         so that this function can also be invoked after startup, with
25167         different styles depending on user preference at the time.
25168         * configure.ac: Check for linux/kd.h header.
25169         * doc/emacs/display.texi (Text Display): Document quote display.
25170         * doc/lispref/display.texi (Active Display Table):
25171         * etc/NEWS:
25172         * lisp/startup.el (startup--setup-quote-display, command-line):
25173         text-quoting-style no longer affects quote display.
25174         * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
25175         * lisp/international/mule-util.el (char-displayable-p):
25176         * lisp/startup.el (startup--setup-quote-display):
25177         On a text terminal supporting glyph codes, use the reported
25178         glyph codes instead of the terminal coding system, as this
25179         is more accurate on the Linux console.
25180         * lisp/startup.el (startup--setup-quote-display):
25181         New optional arg STYLE.
25182         * src/fontset.c (Finternal_char_font):
25183         Report glyph codes for a text terminal, if they are available.
25184         Currently this is supported only for the Linux console.
25185         * src/termhooks.h (struct terminal): New member glyph-code-table.
25186         * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
25187         (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
25188         (terminal_glyph_code): New function.
25190 2015-09-08  Juri Linkov  <juri@linkov.net>
25192         * lisp/info.el (Info-fontify-node): Don't stop at the non-title
25193         underline.  (Bug#21433)
25195 2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
25197         * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
25199 2015-09-08  Tassilo Horn  <tsdh@gnu.org>
25201         Fix double-reporting of rename events with inotify
25202         * lisp/filenotify.el (file-notify-callback): Fix double-reporting
25203         of rename events with inotify (bug#21435).
25205 2015-09-08  Vasilij Schneidermann  <v.schneidermann@gmail.com>  (tiny change)
25207         * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
25208         (tetris-mode-map): Use it.
25210 2015-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
25212         Remove a few simple cases of global redisplay
25213         * src/dispnew.c (redraw_frame): Don't redisplay all frames.
25214         * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
25215         rather than returning a "resized_p" boolean.
25216         (redisplay_internal): Adjust call accordingly.
25217         * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
25218         (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
25219         tracking of this undesirable situation.
25221         * src/process.c (status_notify): Avoid global redisplay (bug#11822)
25222         * src/process.c (status_notify): Only set the update_mode_line on the
25223         relevant buffers rather than setting it globally.
25225 2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
25227         * lisp/electric.el (electric-quote-post-self-insert-function):
25228         Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
25229         (electric-quote-mode): Activate everywhere in message-mode.
25231 2015-09-07  Paul Eggert  <eggert@cs.ucla.edu>
25233         Go back to grave quoting in source-code docstrings etc.
25234         This reverts almost all my recent changes to use curved quotes
25235         in docstrings and/or strings used for error diagnostics.
25236         There are a few exceptions, e.g., Bahá’í proper names.
25237         * admin/unidata/unidata-gen.el (unidata-gen-table):
25238         * lisp/abbrev.el (expand-region-abbrevs):
25239         * lisp/align.el (align-region):
25240         * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
25241         (outlineify-sticky):
25242         * lisp/apropos.el (apropos-library):
25243         * lisp/bookmark.el (bookmark-default-annotation-text):
25244         * lisp/button.el (button-category-symbol, button-put)
25245         (make-text-button):
25246         * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
25247         * lisp/calc/calc-embed.el (calc-do-embedded):
25248         * lisp/calc/calc-ext.el (calc-user-function-list):
25249         * lisp/calc/calc-graph.el (calc-graph-show-dumb):
25250         * lisp/calc/calc-help.el (calc-describe-key)
25251         (calc-describe-thing, calc-full-help):
25252         * lisp/calc/calc-lang.el (calc-c-language)
25253         (math-parse-fortran-vector-end, math-parse-tex-sum)
25254         (math-parse-eqn-matrix, math-parse-eqn-prime)
25255         (calc-yacas-language, calc-maxima-language, calc-giac-language)
25256         (math-read-giac-subscr, math-read-math-subscr)
25257         (math-read-big-rec, math-read-big-balance):
25258         * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
25259         * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
25260         (calc-auto-recompute):
25261         * lisp/calc/calc-prog.el (calc-fix-token-name)
25262         (calc-read-parse-table-part, calc-user-define-invocation)
25263         (math-do-arg-check):
25264         * lisp/calc/calc-store.el (calc-edit-variable):
25265         * lisp/calc/calc-units.el (math-build-units-table-buffer):
25266         * lisp/calc/calc-vec.el (math-read-brackets):
25267         * lisp/calc/calc-yank.el (calc-edit-mode):
25268         * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
25269         * lisp/calendar/appt.el (appt-display-message):
25270         * lisp/calendar/diary-lib.el (diary-check-diary-file)
25271         (diary-mail-entries, diary-from-outlook):
25272         * lisp/calendar/icalendar.el (icalendar-export-region)
25273         (icalendar--convert-float-to-ical)
25274         (icalendar--convert-date-to-ical)
25275         (icalendar--convert-ical-to-diary)
25276         (icalendar--convert-recurring-to-diary)
25277         (icalendar--add-diary-entry):
25278         * lisp/calendar/time-date.el (format-seconds):
25279         * lisp/calendar/timeclock.el (timeclock-mode-line-display)
25280         (timeclock-make-hours-explicit, timeclock-log-data):
25281         * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
25282         (todo-item-mark, todo-check-format)
25283         (todo-insert-item--next-param, todo-edit-item--next-key)
25284         (todo-mode):
25285         * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
25286         * lisp/cedet/mode-local.el (describe-mode-local-overload)
25287         (mode-local-print-binding, mode-local-describe-bindings-2):
25288         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
25289         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
25290         * lisp/cus-start.el (standard):
25291         * lisp/cus-theme.el (describe-theme-1):
25292         * lisp/custom.el (custom-add-dependencies, custom-check-theme)
25293         (custom--sort-vars-1, load-theme):
25294         * lisp/descr-text.el (describe-text-properties-1, describe-char):
25295         * lisp/dired-x.el (dired-do-run-mail):
25296         * lisp/dired.el (dired-log):
25297         * lisp/emacs-lisp/advice.el (ad-read-advised-function)
25298         (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
25299         (ad-disable-advice, ad-remove-advice, ad-set-argument)
25300         (ad-set-arguments, ad--defalias-fset, ad-activate)
25301         (ad-deactivate):
25302         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
25303         (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
25304         (byte-optimize-while, byte-optimize-apply):
25305         * lisp/emacs-lisp/byte-run.el (defun, defsubst):
25306         * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
25307         (byte-compile-log-file, byte-compile-format-warn)
25308         (byte-compile-nogroup-warn, byte-compile-arglist-warn)
25309         (byte-compile-cl-warn)
25310         (byte-compile-warn-about-unresolved-functions)
25311         (byte-compile-file, byte-compile--declare-var)
25312         (byte-compile-file-form-defmumble, byte-compile-form)
25313         (byte-compile-normal-call, byte-compile-check-variable)
25314         (byte-compile-variable-ref, byte-compile-variable-set)
25315         (byte-compile-subr-wrong-args, byte-compile-setq-default)
25316         (byte-compile-negation-optimizer)
25317         (byte-compile-condition-case--old)
25318         (byte-compile-condition-case--new, byte-compile-save-excursion)
25319         (byte-compile-defvar, byte-compile-autoload)
25320         (byte-compile-lambda-form)
25321         (byte-compile-make-variable-buffer-local, display-call-tree)
25322         (batch-byte-compile):
25323         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
25324         * lisp/emacs-lisp/chart.el (chart-space-usage):
25325         * lisp/emacs-lisp/check-declare.el (check-declare-scan)
25326         (check-declare-warn, check-declare-file)
25327         (check-declare-directory):
25328         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
25329         (checkdoc-message-text-engine):
25330         * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
25331         (cl--describe-class):
25332         * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
25333         (cl--generic-describe, cl-generic-generalizers):
25334         * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
25335         (cl-symbol-macrolet):
25336         * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
25337         * lisp/emacs-lisp/copyright.el (copyright)
25338         (copyright-update-directory):
25339         * lisp/emacs-lisp/edebug.el (edebug-read-list):
25340         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
25341         * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
25342         (eieio-oref):
25343         * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
25344         * lisp/emacs-lisp/eieio-speedbar.el:
25345         (eieio-speedbar-child-make-tag-lines)
25346         (eieio-speedbar-child-description):
25347         * lisp/emacs-lisp/eieio.el (defclass, change-class):
25348         * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
25349         (elint-init-form, elint-check-defalias-form)
25350         (elint-check-let-form):
25351         * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
25352         (ert-results-pop-to-backtrace-for-test-at-point)
25353         (ert-results-pop-to-messages-for-test-at-point)
25354         (ert-results-pop-to-should-forms-for-test-at-point)
25355         (ert-describe-test):
25356         * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
25357         (find-function-library):
25358         * lisp/emacs-lisp/generator.el (iter-yield):
25359         * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
25360         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
25361         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
25362         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
25363         * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
25364         (advice--make, define-advice):
25365         * lisp/emacs-lisp/package-x.el (package-upload-file):
25366         * lisp/emacs-lisp/package.el (package-version-join)
25367         (package-disabled-p, package-activate-1, package-activate)
25368         (package--download-one-archive)
25369         (package--download-and-read-archives)
25370         (package-compute-transaction, package-install-from-archive)
25371         (package-install, package-install-selected-packages)
25372         (package-delete, package-autoremove, describe-package-1)
25373         (package-install-button-action, package-delete-button-action)
25374         (package-menu-hide-package, package-menu--list-to-prompt)
25375         (package-menu--perform-transaction)
25376         (package-menu--find-and-notify-upgrades):
25377         * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
25378         * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
25379         * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
25380         * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
25381         (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
25382         (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
25383         (rx-form):
25384         * lisp/emacs-lisp/smie.el (smie-config-save):
25385         * lisp/emacs-lisp/subr-x.el (internal--check-binding):
25386         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
25387         * lisp/emacs-lisp/testcover.el (testcover-1value):
25388         * lisp/emacs-lisp/timer.el (timer-event-handler):
25389         * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
25390         (viper-toggle-search-style, viper-kill-buffer)
25391         (viper-brac-function):
25392         * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
25393         * lisp/env.el (setenv):
25394         * lisp/erc/erc-button.el (erc-nick-popup):
25395         * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
25396         * lisp/eshell/em-dirs.el (eshell/cd):
25397         * lisp/eshell/em-glob.el (eshell-glob-regexp)
25398         (eshell-glob-entries):
25399         * lisp/eshell/em-pred.el (eshell-parse-modifiers):
25400         * lisp/eshell/esh-opt.el (eshell-show-usage):
25401         * lisp/facemenu.el (facemenu-add-new-face)
25402         (facemenu-add-new-color):
25403         * lisp/faces.el (read-face-name, read-face-font, describe-face)
25404         (x-resolve-font-name):
25405         * lisp/files-x.el (modify-file-local-variable):
25406         * lisp/files.el (locate-user-emacs-file, find-alternate-file)
25407         (set-auto-mode, hack-one-local-variable--obsolete)
25408         (dir-locals-set-directory-class, write-file, basic-save-buffer)
25409         (delete-directory, copy-directory, recover-session)
25410         (recover-session-finish, insert-directory)
25411         (file-modes-char-to-who, file-modes-symbolic-to-number)
25412         (move-file-to-trash):
25413         * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
25414         * lisp/find-cmd.el (find-generic, find-to-string):
25415         * lisp/finder.el (finder-commentary):
25416         * lisp/font-lock.el (font-lock-fontify-buffer):
25417         * lisp/format.el (format-write-file, format-find-file)
25418         (format-insert-file):
25419         * lisp/frame.el (get-device-terminal, select-frame-by-name):
25420         * lisp/fringe.el (fringe--check-style):
25421         * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
25422         * lisp/help-fns.el (help-fns--key-bindings)
25423         (help-fns--compiler-macro, help-fns--parent-mode)
25424         (help-fns--obsolete, help-fns--interactive-only)
25425         (describe-function-1, describe-variable):
25426         * lisp/help.el (describe-mode)
25427         (describe-minor-mode-from-indicator):
25428         * lisp/image.el (image-type):
25429         * lisp/international/ccl.el (ccl-dump):
25430         * lisp/international/fontset.el (x-must-resolve-font-name):
25431         * lisp/international/mule-cmds.el (prefer-coding-system)
25432         (select-safe-coding-system-interactively)
25433         (select-safe-coding-system, activate-input-method)
25434         (toggle-input-method, describe-current-input-method)
25435         (describe-language-environment):
25436         * lisp/international/mule-conf.el (code-offset):
25437         * lisp/international/mule-diag.el (describe-character-set)
25438         (list-input-methods-1):
25439         * lisp/mail/feedmail.el (feedmail-run-the-queue):
25440         * lisp/mouse.el (minor-mode-menu-from-indicator):
25441         * lisp/mpc.el (mpc-playlist-rename):
25442         * lisp/msb.el (msb--choose-menu):
25443         * lisp/net/ange-ftp.el (ange-ftp-shell-command):
25444         * lisp/net/imap.el (imap-interactive-login):
25445         * lisp/net/mairix.el (mairix-widget-create-query):
25446         * lisp/net/newst-backend.el (newsticker--sentinel-work):
25447         * lisp/net/newst-treeview.el (newsticker--treeview-load):
25448         * lisp/net/rlogin.el (rlogin):
25449         * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
25450         * lisp/obsolete/otodo-mode.el (todo-more-important-p):
25451         * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
25452         * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
25453         * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
25454         * lisp/org/ob-core.el (org-babel-goto-named-src-block)
25455         (org-babel-goto-named-result):
25456         * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
25457         * lisp/org/ob-ref.el (org-babel-ref-resolve):
25458         * lisp/org/org-agenda.el (org-agenda-prepare):
25459         * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
25460         (org-clock-resolve):
25461         * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
25462         * lisp/org/org-feed.el (org-feed-parse-atom-entry):
25463         * lisp/org/org-habit.el (org-habit-parse-todo):
25464         * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
25465         (org-mouse-context-menu):
25466         * lisp/org/org-table.el (org-table-edit-formulas):
25467         * lisp/org/ox.el (org-export-async-start):
25468         * lisp/proced.el (proced-log):
25469         * lisp/progmodes/ada-mode.el (ada-get-indent-case)
25470         (ada-check-matching-start, ada-goto-matching-start):
25471         * lisp/progmodes/ada-prj.el (ada-prj-display-page):
25472         * lisp/progmodes/ada-xref.el (ada-find-executable):
25473         * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
25474         * lisp/progmodes/etags.el (etags-tags-apropos-additional):
25475         * lisp/progmodes/flymake.el (flymake-parse-err-lines)
25476         (flymake-start-syntax-check-process):
25477         * lisp/progmodes/python.el (python-shell-get-process-or-error)
25478         (python-define-auxiliary-skeleton):
25479         * lisp/progmodes/sql.el (sql-comint):
25480         * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
25481         * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
25482         * lisp/recentf.el (recentf-open-files):
25483         * lisp/replace.el (query-replace-read-from)
25484         (occur-after-change-function, occur-1):
25485         * lisp/scroll-bar.el (scroll-bar-columns):
25486         * lisp/server.el (server-get-auth-key):
25487         * lisp/simple.el (execute-extended-command)
25488         (undo-outer-limit-truncate, list-processes--refresh)
25489         (compose-mail, set-variable, choose-completion-string)
25490         (define-alternatives):
25491         * lisp/startup.el (site-run-file, tty-handle-args, command-line)
25492         (command-line-1):
25493         * lisp/subr.el (noreturn, define-error, add-to-list)
25494         (read-char-choice, version-to-list):
25495         * lisp/term/common-win.el (x-handle-xrm-switch)
25496         (x-handle-name-switch, x-handle-args):
25497         * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
25498         * lisp/textmodes/reftex-ref.el (reftex-label):
25499         * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
25500         * lisp/textmodes/two-column.el (2C-split):
25501         * lisp/tutorial.el (tutorial--describe-nonstandard-key)
25502         (tutorial--find-changed-keys):
25503         * lisp/type-break.el (type-break-noninteractive-query):
25504         * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
25505         (wdired-do-perm-changes):
25506         * lisp/whitespace.el (whitespace-report-region):
25507         Prefer grave quoting in source-code strings used to generate help
25508         and diagnostics.
25509         * lisp/faces.el (face-documentation):
25510         No need to convert quotes, since the result is a docstring.
25511         * lisp/info.el (Info-virtual-index-find-node)
25512         (Info-virtual-index, info-apropos):
25513         Simplify by generating only curved quotes, since info files are
25514         typically that ways nowadays anyway.
25515         * lisp/international/mule-diag.el (list-input-methods):
25516         Don’t assume text quoting style is curved.
25517         * lisp/org/org-bibtex.el (org-bibtex-fields):
25518         Revert my recent changes, going back to the old quoting style.
25520 2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>
25522         * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
25523         (package--autoloads-file-name)
25524         (package--activate-autoloads-and-load-path): New function.
25525         (package-activate-1): Delegate autoloading and load-path
25526         configuration to `package--activate-autoloads-and-load-path'.
25527         (package--compile): Before compilation, call
25528         `package--activate-autoloads-and-load-path' instead of
25529         `package-activate-1'.
25531 2015-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
25533         * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
25535 2015-09-07  Eli Zaretskii  <eliz@gnu.org>
25537         Fix deletion of symlinks to directories on MS-Windows
25538         * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
25539         symlink to a directory, try again with 'rmdir'.
25540         (is_symlink): If the argument is a symlink to a directory, set a
25541         bit in the return value to indicate that fact.
25543 2015-09-07  Artur Malabarba  <bruce.connor.am@gmail.com>
25545         * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
25546         When `package-initialize' is called as part of loading the init file,
25547         the user probably doesn't want it to be called again afterwards.
25548         In this situation, `package-initialize' now sets
25549         `package-enable-at-startup' to nil to prevent that.  The user can have
25550         the old behavior by setting this variable to t after the call to
25551         `package-initialize'.  (Bug#21423)
25552         * doc/emacs/package.texi (Package Installation): Document it.
25553         * doc/lispref/package.texi (Packaging Basics): Document it.
25554         * etc/NEWS: Document it.
25556 2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
25558         Bump version of ntlm.el to 2.00
25559         * lisp/net/ntlm.el: Bump version to 2.00.  New maintainer.
25560         Add comm keyword.
25562 2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>
25564         * doc/misc/gnus.texi (Mail Source Specifiers):
25565         Allow :mailbox to be a list.
25567 2015-09-06  Dmitry Gutov  <dgutov@yandex.ru>
25569         * lisp/progmodes/etags.el (etags-tags-completion-table):
25570         Allow even one non-regular character before the implicit tag name.
25571         Reported at http://emacs.stackexchange.com/questions/15269/.
25573 2015-09-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
25575         Add support for NTLMv2 authentication
25576         * lisp/net/ntlm.el (ntlm): New customization group.
25577         (ntlm-compatibility-level): New defcustom.
25578         (ntlm-compute-timestamp): New function.
25579         (ntlm-generate-nonce): Likewise.
25580         (ntlm-build-auth-response): Add support for NTLMv2 authentication.
25582 2015-09-06  Artur Malabarba  <bruce.connor.am@gmail.com>
25584         * lisp/emacs-lisp/package.el: Rename custom faces.
25585         All of the recently introduced faces, like `package-name-face', have
25586         been renamed to no end in `-face' to comply with the convention
25587         described in (info "(elisp) Defining Faces").
25588         (package-name, package-description)
25589         (package-status-built-in, package-status-external)
25590         (package-status-available, package-status-new)
25591         (package-status-held, package-status-disabled)
25592         (package-status-installed, package-status-dependency)
25593         (package-status-unsigned, package-status-incompat)
25594         (package-status-avail-obso): New faces.
25595         (package-menu--print-info-simple): Use them.
25597 2015-09-06  Adam Sjøgren  <asjo@koldfront.dk>
25599         mail-source.el: Make the imap mail-source's :mailbox handle a list
25600         * lisp/gnus/mail-source.el (mail-source-fetch-imap):
25601         Allow :mailbox to be  a list.
25603 2015-09-06  Eric Abrahamsen  <eric@ericabrahamsen.net>
25605         nnimap.el: Handle nil arg to nnimap-request-group
25606         * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
25607         This arg isn't always passed in, check it's not nil before making it
25608         into a list.  The active arg will also be nil if the group is new,
25609         check for that.
25611 2015-09-06  Michael Albinus  <michael.albinus@gmx.de>
25613         File notifications: Support renaming over directory boundaries
25614         * lisp/filenotify.el (file-notify-handle-event):
25615         (file-notify--pending-event): Adapt docstring.
25616         (file-notify--descriptor, file-notify-callback): Reimplement in
25617         order to support renaming over directory boundaries.
25618         (file-notify-add-watch): Adapt `file-notify--descriptor' call.
25619         * doc/lispref/os.texi (File Notifications): Remove limitation of
25620         file renaming to the same directory.
25622 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
25624         Spelling fix (Bug#21420)
25626 2015-09-05  Nicolas Petton  <nicolas@petton.fr>
25628         Improve the semantic of map-some
25629         Update map-some to return the returned by the predicate, similar to
25630         seq-some.
25631         * lisp/emacs-lisp/map.el (map-some): Update the function to return the
25632           return value of the predicate.
25633         * test/automated/map-tests.el (test-map-some): Update the test to check
25634           for non-nil values only.
25636         Rename map-contains-key-p and map-some-p
25637         Remove the "-p" suffix from both function names.
25638         * lisp/emacs-lisp/map.el (map-contains-key, map-some):
25639           Rename the functions.
25640         * test/automated/map-tests.el (test-map-contains-key, test-map-some):
25641           Update both test functions.
25643         Improve the semantic of seq-some
25644         Update seq-some to return non-nil if the predicate returns non-nil for
25645         any element of the seq, in which case the returned value is the one
25646         returned by the predicate.
25647         * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
25648           docstring.
25649         * test/automated/seq-tests.el (test-seq-some): Add a regression test.
25650         * doc/lispref/sequences.texi (Sequence Functions): Update the
25651           documentation for seq-some.
25653         Rename seq-some-p to seq-some and seq-contains-p to seq-contains
25654         * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
25655           without the "-p" prefix.
25656         * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
25657           the tests accordingly.
25658         * doc/lispref/sequences.texi (Sequence Functions): Update the
25659           documentation for seq.el.
25661 2015-09-05  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
25663         text-quoting-style for usage of fn names with ‘’
25664         * lisp/help.el (help--docstring-quote): Don’t assume
25665         text-quoting-style is ‘curve’ when generating usage strings for
25666         functions whose names contain curved quotes.
25668 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
25670         Fix fix for describe-function keybinding confusion
25671         This fixes a bug introduced by the previous patch.
25672         * lisp/help-fns.el (help-fns--signature):
25673         Last arg of help-fns--signature is now a buffer, or nil if a
25674         raw signature is wanted.  All callers changed.
25675         (describe-function-1): Use this to do the right thing with signatures.
25677 2015-09-05  Johan Bockgård  <bojohan@gnu.org>
25679         * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
25681         Use PAT rather than UPAT in pcase macros
25682         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
25683         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
25684           than UPAT.
25686 2015-09-05  Paul Eggert  <eggert@cs.ucla.edu>
25688         Fix describe-function keybinding confusion
25689         * lisp/help-fns.el (describe-function-1): Compute signature
25690         in the original buffer, not in standard-output, so that
25691         substitute-command-keys uses the proper keybindings.
25692         This fixes Bug#21412, introduced in commit
25693         2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
25695 2015-09-05  Xue Fuqiao  <xfq.free@gmail.com>
25697         * doc/emacs/programs.texi (Program Modes): Remove an index entry.
25699 2015-09-05  Robert Pluim  <rpluim@gmail.com>  (tiny change)
25701         Avoid read error messages from 'inotify'
25702         * src/process.c (wait_reading_process_output): Add a
25703         'tls_available' set and manipulate it instead of 'Available' when
25704         checking TLS inputs.  Assign the value to 'Available' only if we
25705         find any TLS data waiting to be read.  This avoids error messages
25706         from 'inotify' that tries to read data it shouldn't.  (Bug#21337)
25708 2015-09-05  Eli Zaretskii  <eliz@gnu.org>
25710         Avoid errors in thing-at-point with 2nd argument non-nil
25711         * lisp/thingatpt.el (thing-at-point): Only call 'length' on
25712         sequences.  (Bug#21391)
25714 2015-09-05  Philip  <pipcet@gmail.com>  (tiny change)
25716         Fix segfaults due to using a stale face ID
25717         * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
25718         (display_echo_area_1, redisplay_internal): Call it to avoid
25719         reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
25720         faces, which could case a segfault if the frame's face cache was
25721         freed since the last redisplay.  (Bug#21394)
25722         * src/xfaces.c (free_realized_faces):
25723         Call forget_escape_and_glyphless_faces.
25724         * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
25726 2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>
25728         Fix minor problems with " in manual
25730 2015-09-04  Michael Albinus  <michael.albinus@gmx.de>
25732         * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
25733         multi-hop files.
25735 2015-09-04  Paul Eggert  <eggert@cs.ucla.edu>
25737         Support automated ‘make check’ in non-C locale
25738         This lets the builder optionally test Emacs behavior in other locales.
25739         The C locale is still the default for tests.
25740         * test/automated/Makefile.in (TEST_LOCALE): New macro.
25741         (emacs): Use it.
25742         * test/automated/flymake-tests.el (flymake-tests--current-face):
25743         Use C locale for subprocesses so that tests behave as expected.
25744         * test/automated/python-tests.el:
25745         (python-shell-prompt-validate-regexps-1)
25746         (python-shell-prompt-validate-regexps-2)
25747         (python-shell-prompt-validate-regexps-3)
25748         (python-shell-prompt-validate-regexps-4)
25749         (python-shell-prompt-validate-regexps-5)
25750         (python-shell-prompt-validate-regexps-6)
25751         (python-shell-prompt-set-calculated-regexps-1):
25752         Adjust expected output to match locale.
25753         * test/automated/tildify-tests.el (tildify-test--test)
25754         (tildify-space-test--test, tildify-space-undo-test--test):
25755         This test assumes UTF-8 encoding.
25757 2015-09-03  Paul Eggert  <eggert@cs.ucla.edu>
25759         Fix some more docstring etc. quoting problems
25760         Mostly these fixes prevent the transliteration of apostrophes
25761         that should stay apostrophes.  Also, prefer curved quotes in
25762         Bahá’í proper names, as that’s the preferred Bahá’í style and
25763         these names are chock-full of non-ASCII characters anyway.
25764         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
25765         (eieio-defclass-internal):
25766         * lisp/emacs-lisp/eieio.el (defclass):
25767         * lisp/hi-lock.el (hi-lock-mode):
25768         Don’t transliterate Lisp apostrophes when generating a
25769         doc string or diagnostic.
25770         * lisp/international/mule-diag.el (list-coding-systems-1):
25771         * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
25772         * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
25773         * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
25774         * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
25775         Substitute quotes before putting them in the help buffer.
25777 2015-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25779         Re-add the notion of echo_prompt lost in the translation
25780         * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
25781         echo_prompt which contains the actual string.  Update all uses.
25782         * src/keyboard.c (kset_echo_prompt): New function.
25783         (echo_update): Add echo_prompt at the very beginning.
25784         (read_char): Remove workaround for bug#19875, not needed any more.
25785         (read_key_sequence): Set echo_prompt rather than echo_string
25786         (bug#21403).
25787         (mark_kboards): Mark echo_prompt.
25789         Fix disassembly of non-compiled lexical functions (bug#21377)
25790         * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
25791         * lisp/emacs-lisp/disass.el: Use lexical-binding.
25792         (disassemble): Recognize `closure's as well.
25793         (disassemble-internal): Use indirect-function and
25794         help-function-arglist, and accept `closure's.
25795         (disassemble-internal): Use interactive-form.
25796         (disassemble-1): Use functionp.
25798         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
25799         Don't compose inside verbatim blocks!
25801 2015-09-03  Mark Oteiza  <mvoteiza@udel.edu>
25803         * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
25804         (bug#19441).
25806         * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
25808 2015-09-03  Dmitry Gutov  <dgutov@yandex.ru>
25810         vc-git-mode-line-string: Explicitly re-apply the face
25811         * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
25812         the face (bug#21404).
25814 2015-09-02  Paul Eggert  <eggert@cs.ucla.edu>
25816         Treat initial-scratch-message as a doc string
25817         * doc/emacs/building.texi (Lisp Interaction):
25818         * doc/lispref/os.texi (Startup Summary):
25819         * etc/NEWS: Document this.
25820         * lisp/startup.el (initial-scratch-message):
25821         Look up find-file’s key rather than hardcoding it.
25822         (command-line-1): Substitute the doc string.
25823         This also substitutes the quotes, which will help test display
25824         quoting at startup.
25826         Fix describe-char bug with glyphs on terminals
25827         * lisp/descr-text.el (describe-char): Terminals can have glyphs in
25828         buffers too, so don’t treat them differently from graphic displays.
25829         Without this fix, describe-char would throw an error on a terminal
25830         if given a glyph with a non-default face.
25832         Follow text-quoting-style in display table init
25833         This attempts to fix a problem reported by Alan Mackenzie in:
25834         http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
25835         * doc/lispref/display.texi (Active Display Table):
25836         Mention how text-quoting-style affects it.
25837         * doc/lispref/help.texi (Keys in Documentation):
25838         Say how to set text-quoting-style in ~/.emacs.
25839         * etc/NEWS: Document the change.
25840         * lisp/startup.el (startup--setup-quote-display):
25841         Follow user preference if text-quoting-style is set.
25842         (command-line): Setup quote display again if user expresses
25843         a preference in .emacs.
25845 2015-09-02  K. Handa  <handa@gnu.org>
25847         Fix typo
25848         * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
25849         -> OTF_positioning_type_components_mask.
25851         Fix previous change
25852         * src/ftfont.c (ftfont_drive_otf): Remember some bits of
25853         OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
25855 2015-09-01  David Caldwell  <david@porkrind.org>  (tiny change)
25857         * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
25858         Rename from vc-find-file-hook and make interactive.
25859         (vc-find-file-hook): Redefine as obsolete alias.
25861 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
25863         Escape ` and ' in doc
25864         Escape apostrophes and grave accents in docstrings if they are
25865         are supposed to stand for themselves and are not quotes.  Remove
25866         apostrophes from docstring examples like ‘'(calendar-nth-named-day
25867         -1 0 10 year)’ that confuse source code with data.  Do some other
25868         minor docstring fixups as well, e.g., insert a missing close quote.
25870 2015-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
25872         Generalize the prefix-command machinery of C-u
25873         * lisp/simple.el (prefix-command-echo-keystrokes-functions)
25874         (prefix-command-preserve-state-hook): New hooks.
25875         (internal-echo-keystrokes-prefix): New function.
25876         (prefix-command--needs-update, prefix-command--last-echo): New vars.
25877         (prefix-command-update, prefix-command-preserve): New functions.
25878         (reset-this-command-lengths): New compatibility definition.
25879         (universal-argument--mode): Call prefix-command-update.
25880         (universal-argument, universal-argument-more, negative-argument)
25881         (digit-argument): Call prefix-command-preserve-state.
25882         * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
25883         the "prefix argument" to echo.
25884         (this_command_key_count_reset, before_command_key_count)
25885         (before_command_echo_length): Delete variables.
25886         (echo_add_key): Always add a space.
25887         (echo_char): Remove.
25888         (echo_dash): Don't give up when this_command_key_count is 0, since that
25889         is now the case after a prefix command.
25890         (echo_update): New function, extracted from echo_now.
25891         (echo_now): Use it.
25892         (add_command_key, read_char, record_menu_key): Remove old disabled code.
25893         (command_loop_1): Don't refrain from pushing an undo boundary when
25894         prefix-arg is set.  Remove other prefix-arg special case, now handled
25895         directly in the prefix commands instead.  But call echo_now if there's
25896         a prefix state to echo.
25897         (read_char, record_menu_key): Use echo_update instead of echo_char.
25898         (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
25899         (Freset_this_command_lengths): Delete function.
25900         (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
25901         (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
25902         * lisp/simple.el: Use those new hooks for C-u.
25903         (universal-argument--description): New function.
25904         (prefix-command-echo-keystrokes-functions): Use it.
25905         (universal-argument--preserve): New function.
25906         (prefix-command-preserve-state-hook): Use it.
25907         (command-execute): Call prefix-command-update if needed.
25908         * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
25909         (kmacro-step-edit-prefix-index): Delete variables.
25910         (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
25911         support for prefix arg commands.
25912         (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
25913         * lisp/emulation/cua-base.el (cua--prefix-override-replay)
25914         (cua--shift-control-prefix): Use prefix-command-preserve-state.
25915         Remove now unused arg `arg'.
25916         (cua--prefix-override-handler, cua--prefix-repeat-handler)
25917         (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
25918         Update accordingly.
25919         (cua--prefix-override-timeout): Don't call reset-this-command-lengths
25920         any more.
25921         (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
25922         if the mark is not set.
25924 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
25926         Rework quoting in Emacs Lisp Introduction
25927         * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
25928         (if in more detail, type-of-animal in detail, else): Rework the
25929         early example to use " rather than ' so that we don’t burden
25930         complete novices with the low-priority detail of text quoting style.
25931         (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
25932         (kill-new function, kill-ring-yank-pointer)
25933         (Complete forward-sentence, Loading Files)
25934         (Code for current-kill, Code for current-kill, yank):
25935         Resurrect the Emacs 22 versions of the code, which uses grave
25936         quoting style in doc strings.
25937         (Complete zap-to-char): Mention how quoting works in doc strings.
25939         Setup quote display only if interactive
25940         * lisp/startup.el (command-line):
25941         Skip call to startup--setup-quote-display if noninteractive.
25942         Without this change, python-shell-prompt-validate-regexps-1
25943         fails in test/automated/python-tests.el when run in an
25944         en_US.utf8 locale on Fedora.
25946 2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
25948         Use defalias at the top level
25949         * lisp/gnus/gnus-util.el (gnus-format-message):
25950         * lisp/net/tls.el (tls-format-message): Use defalias at the top level
25951         so as to make eval-and-compile unnecessary.  Thanks to Stefan Monnier.
25953 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
25955         terminal-init-w32console mimics command-line
25956         Problem reported by Eli Zaretskii.
25957         * lisp/startup.el (startup--setup-quote-display):
25958         New function, refactored from a part of ‘command-line’.
25959         (command-line): Use it.
25960         * lisp/term/w32console.el (terminal-init-w32console):
25961         Use it, so that this function stays consistent with ‘command-line’.
25963         Display replacement quotes with shadow glyphs
25964         * lisp/startup.el (command-line): When displaying ASCII
25965         replacements for curved quotes, use a shadow glyph instead of a
25966         regular one, to avoid ambiguity.
25968 2015-09-01  Michael Albinus  <michael.albinus@gmx.de>
25970         * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
25972 2015-09-01  Paul Eggert  <eggert@cs.ucla.edu>
25974         Docstring fixes re quotes in C code
25975         Fix some docstring quoting problems, mostly by escaping apostrophe.
25977 2015-09-01  Michael Albinus  <michael.albinus@gmx.de>
25979         Some Tramp password fixes
25980         * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
25981         of the hops.
25982         * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
25983         at the beginning of the command.  Otherwise, it could be
25984         interpreted as password prompt if the remote host echoes the
25985         command.
25986         (tramp-remote-coding-commands): Add "openssl enc -base64".
25988 2015-09-01  Dmitry Gutov  <dgutov@yandex.ru>
25990         Make vc-git-working-revision always return the commit hash
25991         * lisp/vc/vc-git.el (vc-git-working-revision):
25992         Return the commit hash (bug#21383).
25993         (vc-git--symbolic-ref): New function, extracted from above.
25994         (vc-git-mode-line-string): Use it.
25996 2015-09-01  K. Handa  <handa@gnu.org>
25998         Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
25999         * src/ftfont.c (MFLTGlyphFT): New type.
26000         (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
26001         (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
26002         elements in the array MFLTGlyphString.glyphs.
26004 2015-09-01  Stephen Leake  <stephen_leake@stephe-leake.org>
26006         Improve comments in elisp-mode.el, elisp-mode-tests.el
26007         * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
26009         Delete Emacs 25 test in mode-local.el
26010         * lisp/cedet/mode-local.el (describe-mode-local-overload):
26011         Fix missed an edit in previous commit.
26013         Show all known mode-local overrides in *Help*
26014         * lisp/cedet/mode-local.el (describe-mode-local-overload):
26015         Assume Emacs 25. Add all known mode-local overrides.
26017 2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
26019         * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
26020         Ensure that the article where the search word is found is displayed
26021         and pointed to in the summary buffer.
26023 2015-08-31  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
26025         * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
26026         When the region is active, but is empty (length 0), act as though
26027         the region was not active; that is, put a comment at the end of
26028         the line.  (Bug#21119)
26030 2015-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
26032         Port tls.el to older Emacs
26033         * lisp/net/tls.el (tls-format-message):
26034         Alias to format-message, or format if not available.
26035         (open-tls-stream): Use it.
26037 2015-08-31  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26039         hideif.el: Recognize .h++ as C++ header
26040         * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
26042         isearch: Document character folding mode
26043         * lisp/isearch.el (isearch-forward):
26044         Mention `isearch-toggle-character-fold' in doc string.
26046 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26048         Quoting fixes in ERC and Eshell
26049         * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
26050         * lisp/erc/erc-backend.el (define-erc-response-handler):
26051         * lisp/erc/erc-fill.el (erc-fill-static-center):
26052         * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
26053         * lisp/eshell/em-glob.el (eshell-glob-entries):
26054         * lisp/eshell/em-hist.el (eshell-save-some-history):
26055         * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
26056         (eshell-shuffle-files):
26057         * lisp/eshell/esh-cmd.el (eshell-do-eval):
26058         * lisp/eshell/esh-proc.el (eshell-process-interact)
26059         (eshell-query-kill-processes):
26060         Respect ‘text-quoting-style’ in diagnostics and doc strings.
26062         Quoting fixes in Gnus
26063         * lisp/gnus/gnus-agent.el:
26064         (gnus-agent-possibly-synchronize-flags-server):
26065         * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
26066         * lisp/gnus/gnus-eform.el (gnus-edit-form):
26067         * lisp/gnus/gnus-group.el (gnus-group-edit-group)
26068         (gnus-group-nnimap-edit-acl):
26069         * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
26070         * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
26071         * lisp/gnus/message.el (message-strip-subject-encoded-words)
26072         (message-check-recipients, message-send-form-letter):
26073         * lisp/gnus/mm-decode.el (mm-display-part):
26074         * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
26075         * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
26076         (mml-smime-get-ldap-cert):
26077         * lisp/gnus/spam-report.el (spam-report-process-queue):
26078         Respect ‘text-quoting-style’ in diagnostics.
26079         * lisp/gnus/gnus-art.el (article-display-face)
26080         * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
26081         Use straight quoting in email.
26082         * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
26083         Escape apostrophes in doc strings.
26085         Quoting fixes in lisp mail, mh-e, net, url
26086         * lisp/mail/emacsbug.el (report-emacs-bug)
26087         (report-emacs-bug-hook): Use straight quotes in outgoing email,
26088         * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
26089         * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
26090         * lisp/mail/rmailout.el (rmail-output-read-file-name):
26091         * lisp/net/imap.el (imap-interactive-login):
26092         * lisp/net/tls.el (open-tls-stream):
26093         * lisp/url/url-auth.el (url-register-auth-scheme):
26094         Respect ‘text-quoting-style’ in diagnostics.
26095         * lisp/mh-e/mh-e.el (mh-sortm-args):
26096         Quote docstring example using text quotes, not as a Lisp quote.
26098 2015-08-31  Stephen Leake  <stephen_leake@stephe-leake.org>
26100         Fix some byte-compiler warnings in EDE
26101         This fixes a bug that caused ede-generic-new-autoloader to overwrite the
26102         existing autoloader list, rather than add to it.
26103         * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
26104         argument to eieio class constructor.
26105         (ede-show-supported-projects): New.
26106         (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
26107         with (oref ... name).
26108         (ede-auto-load-project): Use slot name, not initarg key.
26109         * lisp/cedet/ede/generic.el (ede-generic-load)
26110         (ede-generic-find-matching-target): Use slot name, not initarg key.
26111         (ede-find-target): Use oref-default on class name.
26112         (ede-generic-new-autoloader): Delete obsolete name argument to eieio
26113         class constructor.
26114         (ede-enable-generic-projects): Make project type names unique.
26116 2015-08-31  Eli Zaretskii  <eliz@gnu.org>
26118         Fix directory accessibility tests for w32 network volumes
26119         * src/w32.c (faccessat): Don't fail with network volumes without a
26120         share.
26121         (w32_accessible_directory_p): Handle network volumes without a
26122         share.
26124         Fix handling long file names in readdir on MS-Windows
26125         * src/w32.c (sys_readdir): Append "\*" to the directory after
26126         converting it to UTF-16/ANSI, not before, to avoid overflowing the
26127         260-character limit on file names in filename_to_utf16/ansi.
26129         Make file-accessible-directory-p reliable on MS-Windows
26130         * src/w32.c (w32_accessible_directory_p): New function.
26131         * src/w32.h (w32_accessible_directory_p): Add prototype.
26132         * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
26133         w32_accessible_directory_p to test a directory for accessibility
26134         by the current user.  (Bug#21346)
26135         (Ffile_accessible_directory_p): Remove the w32 specific caveat
26136         from the doc string.
26138 2015-08-31  Martin Rudalics  <rudalics@gmx.at>
26140         Don't call do_pending_window_change in signal handlers (Bug#21380)
26141         * src/gtkutil.c (xg_frame_resized):
26142         * src/xterm.c (x_set_window_size):
26143         * src/w32term.c (x_set_window_size): Don't call
26144         do_pending_window_change.
26146 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26148         Quoting fixes in lisp/org
26149         * lisp/org/org-agenda.el (org-search-view, org-todo-list)
26150         (org-tags-view):
26151         * lisp/org/org-capture.el (org-capture-mode)
26152         * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
26153         (org-ctags-ask-append-topic):
26154         * lisp/org/org.el (org-time-string-to-time)
26155         (org-time-string-to-absolute):
26156         * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
26157         (org-ctags-ask-append-topic):
26158         * lisp/org/org.el (org-time-string-to-time)
26159         (org-time-string-to-absolute):
26160         Respect ‘text-quoting-style’ in diagnostics.
26161         * lisp/org/org-agenda.el (org-agenda-custom-commands)
26162         (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
26163         * lisp/org/org-capture.el (org-capture-fill-template):
26164         Avoid contraction in output file that might be ASCII.
26165         * lisp/org/org-compat.el (format-message):
26166         Define if not already defined, for backward compatibility.
26167         * lisp/org/org-src.el (org-edit-src-save):
26168         * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
26169         Escape apostrophes in diagnostics.
26171         Treat “instead” strings as docstrings
26172         * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
26173         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
26174         Substitute quotes in instead strings.
26176 2015-08-31  Nicolas Petton  <nicolas@petton.fr>
26178         Better documentation of seq-let
26179         * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
26180         documentation of seq-let.
26182 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26184         * lisp/international/ccl.el: Fix quoting.
26186         Quoting fixes in lisp/international and lisp/leim
26187         * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
26188         * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
26189         * lisp/international/mule-cmds.el:
26190         (select-safe-coding-system-interactively, leim-list-file-name):
26191         * lisp/international/quail.el (quail-use-package, quail-help):
26192         * lisp/international/titdic-cnv.el (tit-process-header)
26193         (miscdic-convert):
26194         Respect text quoting style in doc strings and diagnostics.
26195         * lisp/international/quail.el (lisp/international/quail.el):
26196         * lisp/leim/quail/ethiopic.el ("ethiopic"):
26197         Escape apostrophes in doc strings.
26199         Make ‘text-quoting-style’ a plain defvar
26200         It doesn’t need customization, as it’s likely useful only by experts.
26201         Suggested by Stefan Monnier in:
26202         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
26203         * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
26205         Quoting fixes in lisp/textmodes
26206         * lisp/textmodes/bibtex.el (bibtex-validate)
26207         (bibtex-validate-globally, bibtex-search-entries):
26208         * lisp/textmodes/ispell.el (ispell-command-loop):
26209         * lisp/textmodes/page-ext.el (search-pages, pages-directory):
26210         * lisp/textmodes/texinfmt.el (texinfmt-version)
26211         (texinfo-format-region, texinfo-format-buffer-1):
26212         * lisp/textmodes/two-column.el (2C-split):
26213         Respect text quoting style in doc strings and diagnostics.
26214         * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
26215         * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
26216         Escape apostrophes in doc strings.
26218         Documentation fixes re quotes
26219         Prefer curved quotes in examples if users will typically see
26220         curved quotes when the examples run.
26221         Mention format-message when appropriate.
26222         Don’t use @code in examples.
26223         Quote an apostrophe with @kbd.
26225         Quoting fixes in lisp/progmodes
26226         * lisp/progmodes/cc-engine.el (c-bos-report-error):
26227         * lisp/progmodes/cpp.el (cpp-edit-reset):
26228         * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
26229         * lisp/progmodes/etags.el (etags-tags-apropos-additional)
26230         (etags-tags-apropos, list-tags, tags-apropos):
26231         * lisp/progmodes/executable.el (executable-set-magic):
26232         * lisp/progmodes/octave.el (octave-sync-function-file-names)
26233         (octave-help, octave-find-definition-default-filename)
26234         (octave-find-definition):
26235         Respect text quoting style in doc strings and diagnostics.
26236         * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
26237         * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
26238         * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
26239         Escape apostrophes in doc strings.
26240         * lisp/progmodes/cmacexp.el (c-macro-expansion):
26241         Use straight quoting in ASCII comment.
26242         * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
26243         (idlwave-pad-keyword):
26244         * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
26245         (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
26246         (vhdl-electric-semicolon, vhdl-electric-comma)
26247         (vhdl-electric-period, vhdl-electric-equal):
26248         Use directed quotes in diagnostics and doc strings.
26250 2015-08-30  Xue Fuqiao  <xfq.free@gmail.com>
26252         Minor documentation and NEWS tweak
26253         * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
26254         Add an index entry.
26255         * etc/NEWS: Fix a typo in character-fold-to-regexp.
26257 2015-08-30  Michael Albinus  <michael.albinus@gmx.de>
26259         * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
26260         Revert patch from 2015-08-24.  Tramp shall behave like for local files.
26261         * test/automated/tramp-tests.el (tramp-test18-file-attributes):
26262         Adapt test.
26264 2015-08-30  Paul Eggert  <eggert@cs.ucla.edu>
26266         Text quoting fixes in cedet, emulation, emacs-lisp
26267         * lisp/cedet/ede.el (ede-check-project-directory):
26268         * lisp/cedet/semantic/analyze/debug.el
26269         (semantic-analyzer-debug-insert-include-summary):
26270         * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
26271         * lisp/cedet/semantic/decorate/include.el
26272         (semantic-decoration-unknown-include-describe)
26273         (semantic-decoration-all-include-summary):
26274         * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
26275         * lisp/emulation/edt.el (edt-load-keys):
26276         * lisp/emulation/viper-cmd.el
26277         (viper-display-current-destructive-command)
26278         (viper-query-replace, viper-brac-function):
26279         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
26280         * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
26281         Respect text quoting style in doc string or diagnostic.
26282         * lisp/cedet/mode-local.el (describe-mode-local-overload):
26283         Use format-message to avoid overtranslating quotes.
26284         * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
26285         Escape an apostrophe in a docstring.
26286         * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
26288 2015-08-29  Daniel Colascione  <dancol@dancol.org>
26290         Fix which-func for curly quotes: look for symbol, not message
26291         * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
26292         imenu-unavailable error symbol instead of trying to match message
26293         exactly.
26294         * lisp/imenu.el (imenu-unavailable): New error.
26295         (imenu-unavailable-error): New function.
26297 2015-08-29  Eli Zaretskii  <eliz@gnu.org>
26299         Fix Python tests on MS-Windows
26300         * test/automated/python-tests.el
26301         (python-shell-calculate-command-1): Run python-shell-interpreter
26302         through shell-quote-argument before comparing with what
26303         python-shell-calculate-command returns.
26304         (python-shell-calculate-pythonpath-1)
26305         (python-shell-calculate-pythonpath-2)
26306         (python-shell-calculate-process-environment-2): Use path-separator
26307         instead of a literal ':'.
26308         (python-shell-calculate-exec-path-2)
26309         (python-shell-calculate-exec-path-3)
26310         (python-shell-calculate-exec-path-4)
26311         (python-shell-with-environment-1)
26312         (python-shell-with-environment-2): Run "/env/bin" through
26313         expand-file-name before comparing with exec-path.  (Bug#21375)
26315 2015-08-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
26317         Use Core Text types/functions/variables/enumerators directly
26318         * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
26319         (CharacterCollection): Remove typedefs.  All uses replaced with
26320         definitions.
26321         (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
26322         (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
26323         (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
26324         (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
26325         (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
26326         (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
26327         (MAC_FONT_SLANT_TRAIT): Remove macros.  All uses replaced with
26328         definitions.
26329         (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
26330         (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
26331         (MAC_FONT_FORMAT_BITMAP)
26332         (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
26333         (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
26334         All uses replaced with definitions.
26335         (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
26336         (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
26337         (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
26338         Add compatibility enumerators for older versions.
26339         (mac_font_descriptor_create_with_attributes)
26340         (mac_font_descriptor_create_matching_font_descriptors)
26341         (mac_font_descriptor_create_matching_font_descriptor)
26342         (mac_font_descriptor_copy_attribute)
26343         (mac_font_descriptor_supports_languages)
26344         (mac_font_create_with_name, mac_font_get_size)
26345         (mac_font_copy_family_name, mac_font_copy_character_set)
26346         (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
26347         (mac_font_get_descent, mac_font_get_leading)
26348         (mac_font_get_underline_position)
26349         (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
26350         (mac_font_copy_non_synthetic_table): Remove macros.  All uses
26351         replaced with definitions.
26352         (mac_font_create_preferred_family_for_attributes)
26353         (mac_font_get_advance_width_for_glyph)
26354         (mac_font_get_bounding_rect_for_glyph)
26355         (mac_font_create_available_families, mac_font_shape):
26356         Remove macros for renamed functions.
26357         (mac_nsctfont_copy_font_descriptor): Remove unused macro.
26358         * src/macfont.m (mac_font_descriptor_supports_languages):
26359         Rename from mac_ctfont_descriptor_supports_languages.
26360         (mac_font_create_preferred_family_for_attributes): Rename from
26361         mac_ctfont_create_preferred_family_for_attributes.
26362         (mac_font_get_advance_width_for_glyph): Rename from
26363         mac_ctfont_get_advance_width_for_glyph.
26364         Use kCTFontOrientationDefault also for older versions.
26365         (mac_font_get_bounding_rect_for_glyph): Rename from
26366         mac_ctfont_get_bounding_rect_for_glyph.
26367         Use kCTFontOrientationDefault also for older versions.
26368         (mac_font_create_available_families): Rename from
26369         mac_ctfont_create_available_families.
26370         (mac_font_equal_in_postscript_name): Rename from
26371         mac_ctfont_equal_in_postscript_name.  All uses changed.
26372         (mac_font_create_line_with_string_and_font): Rename from
26373         mac_ctfont_create_line_with_string_and_font.  All uses changed.
26374         (mac_font_shape): Rename from mac_ctfont_shape.
26375         (mac_font_family_compare): Remove unused declaration.
26377 2015-08-29  Paul Eggert  <eggert@cs.ucla.edu>
26379         Fix minor text quoting in calc, calendar, vc
26380         * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
26381         * lisp/calc/calc-help.el (calc-j-prefix-help):
26382         * lisp/calc/calc-misc.el (calc-help):
26383         * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
26384         Escape an apostrophe in a docstring.
26385         * lisp/calc/calc-forms.el (calc-hms-notation):
26386         * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
26387         Escape an apostrophe in a diagnostic.
26388         * lisp/calc/calc-misc.el (calc-help):
26389         * lisp/calendar/diary-lib.el (diary-include-files):
26390         * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
26391         * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
26392         * lisp/vc/ediff-diff.el (ediff-same-contents):
26393         * lisp/vc/ediff-merg.el (ediff-re-merge):
26394         * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
26395         * lisp/vc/ediff-util.el (ediff-test-save-region)
26396         (ediff-status-info):
26397         * lisp/vc/ediff.el (ediff-merge-revisions)
26398         (ediff-merge-revisions-with-ancestor):
26399         * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
26400         * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
26401         Respect text quoting style in doc string or diagnostic.
26402         * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
26403         * lisp/vc/add-log.el (change-log-goto-source):
26404         Avoid double-formatting.
26405         * lisp/vc/ediff-init.el (format-message):
26406         New backward-compatibility alias.
26408 2015-08-28  Paul Eggert  <eggert@cs.ucla.edu>
26410         Fix minor text quoting problems in lisp top level
26411         * lisp/apropos.el (apropos-describe-plist):
26412         * lisp/cus-theme.el (customize-themes):
26413         * lisp/dired.el (dired-log):
26414         * lisp/help-fns.el (describe-variable):
26415         * lisp/hexl.el (hexl-insert-multibyte-char):
26416         * lisp/info.el (Info-finder-find-node):
26417         * lisp/json.el (json-read-string):
26418         * lisp/novice.el (disabled-command-function)
26419         (disabled-command-function):
26420         * lisp/startup.el (normal-mouse-startup-screen):
26421         * lisp/woman.el (WoMan-log, WoMan-warn):
26422         Respect text quoting style in doc string or diagnostic.
26423         * lisp/replace.el (replace-character-fold):
26424         * src/syntax.c (Fmodify_syntax_entry):
26425         Escape an apostrophe in a docstring.
26426         * lisp/tempo.el (tempo-define-template):
26427         Remove confusing apostrophe from docstring.
26428         * lisp/whitespace.el (whitespace-mark-x):
26429         Use directed quotes in docstring.
26431 2015-08-28  Simen Heggestøyl  <simenheg@gmail.com>
26433         Fix indentation rule in css-mode
26434         * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
26435         brackets in presence of pseudo-selectors.  (Bug#21328)
26437 2015-08-28  Eli Zaretskii  <eliz@gnu.org>
26439         Fix a bug in recording a macro while flyspell-mode is active
26440         * lisp/subr.el (sit-for): Don't call read-event when recording a
26441         macro.  (Bug#21329)
26443 2015-08-27  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
26445         Tweak startup screen quoting
26446         * lisp/startup.el (normal-splash-screen): Use standard
26447         "M-" abbrevation rather than a confusingly-different one.
26448         (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
26450 2015-08-27  Paul Eggert  <eggert@cs.ucla.edu>
26452         Add test case for ‘format’ bug and refactor
26453         * src/editfns.c (styled_format): Refactor internally, mostly by
26454         moving declarations closer to uses.  This should not affect behavior.
26455         * test/automated/textprop-tests.el (textprop-tests-format): New test.
26457         Fix ‘format’ bug with property offsets
26458         * src/editfns.c (styled_format): Fix recently-introduced ‘format’
26459         bug in calculating string property offsets (Bug#21351).
26461         Use straight quotes in lib-src diagnostics
26462         These auxiliary programs can’t use Emacs’s text-quoting-style,
26463         and it’s too much trouble to redo that mechanism by hand.
26464         So just use straight quotes for now.
26465         * lib-src/ebrowse.c (main):
26466         * lib-src/emacsclient.c (decode_options, main):
26467         * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
26468         (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
26469         (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
26470         (none_help, print_language_names, print_help, add_regex)
26471         (suggest_asking_for_help):
26472         * lib-src/make-docfile.c (write_c_args, scan_c_stream):
26473         Use straight quotes in diagnostics.
26475         ‘text-quoting-style’ fixes for admin
26476         * admin/admin.el (cusver-scan, cusver-check):
26477         * admin/authors.el (authors-canonical-file-name):
26478         * admin/bzrmerge.el (bzrmerge-missing):
26479         Respect ‘text-quoting-style’ in diagnostics.
26481 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
26483         Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
26484         This removes the need for GCPRO1 etc.  Suggested by Stefan Monnier in:
26485         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
26486         * doc/lispref/internals.texi (Writing Emacs Primitives):
26487         * etc/NEWS:
26488         Document the change.
26489         * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
26490         (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
26491         (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
26492         * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
26493         * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
26494         * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
26495         (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
26496         (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
26497         (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
26498         (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
26499         Remove.  All uses removed.  The code now assumes
26500         GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
26501         * src/bytecode.c (relocate_byte_stack):
26502         Rename from unmark_byte_stack, since it now only relocates.
26503         All callers changed.
26504         * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
26505         with GCPROs removed.
26506         * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
26507         * test/automated/finalizer-tests.el (finalizer-basic)
26508         (finalizer-circular-reference, finalizer-cross-reference)
26509         (finalizer-error):
26510         * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
26511         Remove tests, as they depend on gc-precise.
26513 2015-08-26  Nicolas Petton  <nicolas@petton.fr>
26515         Improve seq-concatenate for new sequence types
26516         Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
26517         ensure that concatenation happens on sequences only.  This makes it
26518         possible to use `seq-concatenate' for new types of seqs.
26519         * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
26520         New function used in `seq-concatenate'.
26521         * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
26522         for seq-into-sequence.
26524 2015-08-26  Stephen Leake  <stephen_leake@stephe-leake.org>
26526         Add mode local overrides to xref-find-definitions
26527         * lisp/cedet/mode-local.el (xref-mode-local--override-present)
26528         (xref-mode-local-overload): New; add mode local overrides to
26529         xref-find-definitions.
26530         * test/automated/elisp-mode-tests.el: Add mode local override tests.
26531         (xref-elisp-test-run): Handle indented defuns.
26532         (xref-elisp-generic-*): Improve doc strings.
26533         * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
26534         (elisp--xref-find-definitions): Use it.
26536         Add mode local overrides to describe-function
26537         * lisp/cedet/mode-local.el (describe-mode-local-overload):
26538         New; add mode local overrides to describe-function.
26539         * etc/NEWS: Document change.
26541 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
26543         Prefer straight quoting in some etc text files
26544         These files are plain text and might be used by non-Emacs apps.
26545         They’re mostly ASCII, so just use straight quotes.
26547         Fix quoting in ‘message_with_string’
26548         * src/nsfont.m (nsfont_open): Use directed quotes in format; they
26549         should work now.
26550         * src/xdisp.c (message_to_stderr): New function, refactored from
26551         part of ‘message3_nolog’.
26552         (message3_nolog): Use it.
26553         (message_with_string): Use it.  Don’t mishandle NUL bytes when
26554         noninteractive.  Prefer AUTO_STRING when it’s most likely faster.
26555         Use ‘format-message’, not ‘format’, so that quotes are translated.
26557 2015-08-26  Eli Zaretskii  <eliz@gnu.org>
26559         Mention false positives of file-accessible-directory on w32
26560         * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
26561         (Bug#21346)
26563 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
26565         Treat error strings as help
26566         * src/print.c (print_error_message): Translate quotes and command
26567         keys in errmsg so that users see, e.g., "Symbol’s value as
26568         variable is void: foo" when text-quoting-style is curved.
26570 2015-08-26  Michael Albinus  <michael.albinus@gmx.de>
26572         * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
26574 2015-08-26  Paul Eggert  <eggert@cs.ucla.edu>
26576         Top-level elisp files respect ‘text-quoting-style’
26577         In top-level elisp files, use format-message in diagnostic formats,
26578         so that they follow user preference as per ‘text-quoting-style’
26579         rather than being hard-coded to quote `like this'.
26580         * lisp/allout.el (allout-get-configvar-values):
26581         * lisp/apropos.el (apropos-symbols-internal):
26582         * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
26583         (dired-do-create-files-regexp, dired-create-files-non-directory):
26584         * lisp/dired-x.el (dired-do-run-mail):
26585         * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
26586         * lisp/disp-table.el (standard-display-european):
26587         * lisp/find-dired.el (find-dired):
26588         * lisp/forms.el (forms-mode):
26589         * lisp/ido.el (ido-buffer-internal):
26590         * lisp/info.el (Info-index-next):
26591         * lisp/outline.el (outline-invent-heading):
26592         * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
26593         * lisp/proced.el (proced-log):
26594         * lisp/ps-print.el (ps-print-preprint, ps-get-size):
26595         * lisp/recentf.el (recentf-open-files, recentf-save-list):
26596         * lisp/savehist.el (savehist-save):
26597         * lisp/server.el (server-ensure-safe-dir):
26598         * lisp/ses.el (ses-rename-cell):
26599         * lisp/simple.el (list-processes--refresh):
26600         * lisp/startup.el (command-line):
26601         * lisp/strokes.el (strokes-unset-last-stroke)
26602         (strokes-execute-stroke):
26603         Use format-message so that quotes are restyled.
26604         * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
26605         Don’t quote ‘raised’.
26606         * lisp/descr-text.el (describe-char):
26607         * lisp/dirtrack.el (dirtrack-debug-message):
26608         * lisp/hexl.el (hexl-insert-multibyte-char):
26609         Apply substitute-command-keys to help string.
26610         * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
26611         (wdired-do-perm-changes):
26612         Let dired-log do the formatting.
26614 2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>
26616         Go back to grave quoting in Tramp
26617         * lisp/net/tramp-adb.el:
26618         * lisp/net/tramp-cache.el:
26619         * lisp/net/tramp-compat.el:
26620         * lisp/net/tramp-gvfs.el:
26621         * lisp/net/tramp-gw.el:
26622         * lisp/net/tramp-sh.el:
26623         * lisp/net/tramp-smb.el:
26624         * lisp/net/tramp.el:
26625         Stick with grave quoting in diagnostics strings.  This is more
26626         portable to older Emacs, desirable for Tramp.
26627         * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
26628         for diagnostic that needs requoting.
26629         * lisp/net/tramp-compat.el (format-message):
26630         Fall back on simple ‘format’, since that’s good enough now.
26632         Go back to grave quoting in Gnus
26633         * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
26634         * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
26635         (gnus-agent-fetch-headers):
26636         * lisp/gnus/gnus-int.el (gnus-start-news-server):
26637         * lisp/gnus/gnus-registry.el:
26638         (gnus-registry--split-fancy-with-parent-internal)
26639         (gnus-registry-post-process-groups):
26640         * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
26641         * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
26642         * lisp/gnus/gnus-topic.el (gnus-topic-rename):
26643         * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
26644         * lisp/gnus/spam.el (spam-check-blackholes):
26645         Stick with grave quoting in diagnostics strings.  This is more
26646         portable to older Emacs, desirable for Gnus.
26648         Fix customization of text-quoting-style
26649         * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
26650         * lisp/wid-edit.el (widget-docstring):
26651         Get raw docstring here since it’s cooked later and should not be
26652         cooked twice.
26653         * lisp/cus-edit.el (custom-group-value-create):
26654         Cook the docstring before inserting it.
26655         * lisp/cus-start.el (text-quoting-style): Quote the customization
26656         docstrings according to the new rules.  Give curved examples.
26658         format-message now curves ` and '
26659         That way, the caller doesn’t have to use curved quotes to
26660         get diagnostics that match the text-quoting-style preferences.
26661         Suggested by Dmitry Gutov in:
26662         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
26663         This means we no longer need %qs, so remove that format.
26664         While we’re at it, fix an unlikely bug and lessen the pressure
26665         on the garbage collector by processing the string once rather
26666         than twice in the usual case.
26667         * doc/lispref/strings.texi (Formatting Strings):
26668         * etc/NEWS: Document this.
26669         * lisp/subr.el (format-message): Remove; now done in C.
26670         * src/callint.c (Fcall_interactively):
26671         * src/editfns.c (Fmessage, Fmessage_box):
26672         Use Fformat_message instead of Finternal__text_restyle
26673         followed by Fformat.
26674         * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
26675         uLSQM and uRSQM.
26676         (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
26677         when pure ASCII now suffices.  Fix unlikely bug when parsing
26678         unibyte string containing non-ASCII bytes.  Use inline code
26679         rather than memcpy, as it’s a tiny number of bytes.
26680         (Finternal__text_restyle): Remove; no longer used.
26681         (syms_of_doc): Don’t declare it.
26682         * src/editfns.c (Fformat): Rewrite in terms of new function
26683         ‘styled_format’.
26684         (Fformat_message): New function, moved here from subr.el.
26685         (styled_format): New function, with the old guts of Fformat,
26686         except it now optionally transliterates quotes, and it transliterates
26687         traditional grave accent and apostrophe quoting as well.
26688         Remove recently-added q flag; no longer needed or used.
26689         (syms_of_editfns): Define format-message.
26690         * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
26691         Remove; no longer need to be global symbols.
26692         * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
26693         so that callers can use `%s'.
26694         * src/image.c (image_size_error, xbm_load_image, xbm_load)
26695         (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
26696         (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
26697         (svg_load_image, gs_load, x_kill_gs_process):
26698         * src/lread.c (load_warn_old_style_backquotes):
26699         * src/xfaces.c (load_pixmap):
26700         * src/xselect.c (x_clipboard_manager_error_1):
26701         Use `%s' instead of %qs in formats.
26703 2015-08-25  Eli Zaretskii  <eliz@gnu.org>
26705         Minor fixes in doc/emacs/search.texi
26706         * doc/emacs/search.texi (Basic Isearch): Fix a typo.
26707         (Special Isearch): Use @w{} to generate several consecutive spaces
26708         with Texinfo 6.  (Bug#21345)
26710 2015-08-25  Michael Albinus  <michael.albinus@gmx.de>
26712         * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
26713         (tramp-awk-coding-test): New defconsts.
26714         (tramp-remote-coding-commands): Use them.
26715         (tramp-find-inline-encoding): Check for Perl only if necessary.
26717 2015-08-25  Xue Fuqiao  <xfq.free@gmail.com>
26719         * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
26720         index entries for the special form `quote'.
26722 2015-08-25  Paul Eggert  <eggert@cs.ucla.edu>
26724         Spelling fixes
26726         Gnus format-message typo fix
26727         * lisp/gnus/gnus-util.el (gnus-format-message):
26728         Fix typo when running in older Emacs.
26730         Prefer directed to neutral quotes in docstings and diagnostics.
26731         In docstrings, escape apostrophes that would otherwise be translated
26732         to curved quotes using the newer, simpler rules.
26733         * admin/unidata/unidata-gen.el (unidata-gen-table):
26734         * lisp/align.el (align-region):
26735         * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
26736         * lisp/bookmark.el (bookmark-default-annotation-text):
26737         * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
26738         * lisp/calc/calc-lang.el (math-read-giac-subscr)
26739         (math-read-math-subscr):
26740         * lisp/calc/calc-misc.el (report-calc-bug):
26741         * lisp/calc/calc-prog.el (calc-fix-token-name)
26742         (calc-read-parse-table-part):
26743         * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
26744         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
26745         * lisp/dabbrev.el (dabbrev-expand):
26746         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
26747         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
26748         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
26749         * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
26750         * lisp/erc/erc-button.el (erc-nick-popup):
26751         * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
26752         * lisp/eshell/em-dirs.el (eshell/cd):
26753         * lisp/eshell/em-glob.el (eshell-glob-regexp):
26754         * lisp/eshell/em-pred.el (eshell-parse-modifiers):
26755         * lisp/eshell/esh-arg.el (eshell-parse-arguments):
26756         * lisp/eshell/esh-opt.el (eshell-show-usage):
26757         * lisp/files-x.el (modify-file-local-variable):
26758         * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
26759         (filesets-update-pre010505):
26760         * lisp/find-cmd.el (find-generic, find-to-string):
26761         * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
26762         * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
26763         (gnus-agent-fetch-headers):
26764         * lisp/gnus/gnus-int.el (gnus-start-news-server):
26765         * lisp/gnus/gnus-registry.el:
26766         (gnus-registry--split-fancy-with-parent-internal):
26767         * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
26768         * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
26769         * lisp/gnus/gnus-topic.el (gnus-topic-rename):
26770         * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
26771         * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
26772         * lisp/gnus/spam.el (spam-check-blackholes):
26773         * lisp/mail/feedmail.el (feedmail-run-the-queue):
26774         * lisp/mpc.el (mpc-playlist-rename):
26775         * lisp/net/ange-ftp.el (ange-ftp-shell-command):
26776         * lisp/net/mairix.el (mairix-widget-create-query):
26777         * lisp/net/tramp-cache.el:
26778         * lisp/obsolete/otodo-mode.el (todo-more-important-p):
26779         * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
26780         * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
26781         * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
26782         * lisp/org/ob-core.el (org-babel-goto-named-src-block)
26783         (org-babel-goto-named-result):
26784         * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
26785         * lisp/org/ob-ref.el (org-babel-ref-resolve):
26786         * lisp/org/org-agenda.el (org-agenda-prepare):
26787         * lisp/org/org-bibtex.el (org-bibtex-fields):
26788         * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
26789         (org-clock-resolve):
26790         * lisp/org/org-feed.el (org-feed-parse-atom-entry):
26791         * lisp/org/org-habit.el (org-habit-parse-todo):
26792         * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
26793         (org-mouse-context-menu):
26794         * lisp/org/org-table.el (org-table-edit-formulas):
26795         * lisp/org/ox.el (org-export-async-start):
26796         * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
26797         (dun-rooms, dun-endgame-questions):
26798         * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
26799         * lisp/progmodes/ada-xref.el (ada-find-executable):
26800         * lisp/progmodes/antlr-mode.el (antlr-options-alists):
26801         * lisp/progmodes/flymake.el (flymake-parse-err-lines)
26802         (flymake-start-syntax-check-process):
26803         * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
26804         * lisp/progmodes/sql.el (sql-comint):
26805         * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
26806         * lisp/server.el (server-get-auth-key):
26807         * lisp/subr.el (version-to-list):
26808         * lisp/textmodes/reftex-ref.el (reftex-label):
26809         * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
26810         * lisp/vc/ediff-diff.el (ediff-same-contents):
26811         * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
26812         * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
26813         Use directed rather than neutral quotes in diagnostics.
26815         Treat ' like ’ even when not matching `
26816         This is simpler and easier to explain, and should encourage better
26817         typography.  Do this in Electric Quote mode and when translating
26818         quotes in docstrings.  Inspired by a suggestion by Dmitry Gutov in:
26819         https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
26820         * doc/emacs/text.texi (Quotation Marks):
26821         * doc/lispref/help.texi (Keys in Documentation):
26822         * etc/NEWS:
26823         Document this.
26824         * lisp/electric.el (electric-quote-post-self-insert-function):
26825         * src/doc.c (Fsubstitute_command_keys):
26826         Always treat ' like ’ even when not matched by an open quote.
26828 2015-08-25  Glenn Morris  <rgm@gnu.org>
26830         * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
26831         * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
26833 2015-08-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
26835         * src/macfont.m (macfont_create_family_with_symbol):
26836         Accept localized names.
26838 2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>
26840         Tramp diagnostics as per ‘text-quoting-style’
26841         * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
26842         (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
26843         (tramp-adb-handle-delete-directory)
26844         (tramp-adb-handle-delete-file)
26845         (tramp-adb-handle-file-local-copy)
26846         (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
26847         (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
26848         (tramp-adb-maybe-open-connection):
26849         * lisp/net/tramp-cache.el:
26850         * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
26851         (tramp-compat-octal-to-decimal)
26852         (tramp-compat-coding-system-change-eol-conversion):
26853         * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
26854         (tramp-gvfs-do-copy-or-rename-file)
26855         (tramp-gvfs-handle-delete-directory)
26856         (tramp-gvfs-handle-delete-file)
26857         (tramp-gvfs-handle-expand-file-name)
26858         (tramp-gvfs-handle-file-local-copy)
26859         (tramp-gvfs-handle-file-notify-add-watch)
26860         (tramp-gvfs-handle-make-directory)
26861         (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
26862         * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
26863         (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
26864         * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
26865         (tramp-sh-handle-set-visited-file-modtime)
26866         (tramp-sh-handle-set-file-modes)
26867         (tramp-sh-handle-file-name-all-completions)
26868         (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
26869         (tramp-do-copy-or-rename-file-directly)
26870         (tramp-do-copy-or-rename-file-out-of-band)
26871         (tramp-sh-handle-make-directory)
26872         (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
26873         (tramp-sh-handle-insert-directory, tramp-process-sentinel)
26874         (tramp-sh-handle-start-file-process)
26875         (tramp-sh-handle-file-local-copy)
26876         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
26877         (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
26878         (tramp-find-file-exists-command, tramp-open-shell)
26879         (tramp-find-shell)
26880         (tramp-open-connection-setup-interactive-shell)
26881         (tramp-find-inline-encoding, tramp-find-inline-compress)
26882         (tramp-compute-multi-hops, tramp-maybe-open-connection)
26883         (tramp-wait-for-output, tramp-send-command-and-check)
26884         (tramp-send-command-and-read, tramp-get-remote-path)
26885         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
26886         (tramp-get-ls-command-with-quoting-style)
26887         (tramp-get-test-command, tramp-get-remote-ln)
26888         (tramp-get-remote-perl, tramp-get-remote-stat)
26889         (tramp-get-remote-readlink, tramp-get-remote-trash)
26890         (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
26891         (tramp-get-remote-inotifywait, tramp-get-remote-id)
26892         (tramp-get-remote-python):
26893         * lisp/net/tramp-smb.el (tramp-smb-errors)
26894         (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
26895         (tramp-smb-handle-delete-directory)
26896         (tramp-smb-handle-delete-file)
26897         (tramp-smb-handle-file-local-copy)
26898         (tramp-smb-handle-make-directory)
26899         (tramp-smb-handle-make-directory-internal)
26900         (tramp-smb-handle-make-symbolic-link)
26901         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
26902         (tramp-smb-handle-set-file-modes)
26903         (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
26904         * lisp/net/tramp.el (tramp-debug-message, tramp-error)
26905         (tramp-process-actions):
26906         Generate diagnostics according to ‘text-quoting-style’, by
26907         using curved quotes in format strings and ‘format-message’
26908         when appropriate.
26909         * lisp/net/tramp-compat.el (format-message):
26910         Define a replacement, if it’s an older version of Emacs
26911         that doesn’t have it already.
26913         * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
26915 2015-08-24  Xue Fuqiao  <xfq.free@gmail.com>
26917         Fix documentation for `save-excursion'
26918         * doc/lispref/positions.texi (Excursions):
26919         * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
26920         (Template for save-excursion, Point and mark): `save-excursion'
26921         does not save&restore the mark any more.
26923 2015-08-24  Michael Albinus  <michael.albinus@gmx.de>
26925         * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
26926         New defconsts.
26927         (tramp-do-file-attributes-with-stat)
26928         (tramp-do-directory-files-and-attributes-with-stat): Use them.
26929         (tramp-convert-file-attributes): Remove double slashes in symlinks.
26930         * test/automated/tramp-tests.el (tramp-test18-file-attributes):
26931         Handle symlinks with "//" in the file name.
26933         Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
26935 2015-08-24  Nicolas Petton  <nicolas@petton.fr>
26937         Fix cl-subseq and cl-concatenate
26938         * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
26939         seq functions.
26940         * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
26941         seq-concatenate.
26943 2015-08-24  Pip Cet  <pipcet@gmail.com>  (tiny change)
26945         Fix full-screen code when there is no window manager (Bug#21317)
26946         * src/xterm.h (x_wm_supports): Declare external.
26947         * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
26948         (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
26949         (x_check_fullscreen): Call `x_wm_set_size_hint', restore
26950         `fullscreen' frame parameter.
26951         * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
26952         without a window manager.
26954 2015-08-24  Glenn Morris  <rgm@gnu.org>
26956         * lisp/version.el (emacs-version): No longer include build host.
26957         * doc/lispref/intro.texi (Version Info): Update example.
26959 2015-08-24  Paul Eggert  <eggert@cs.ucla.edu>
26961         * doc/lispref/elisp.texi: Fix typo in previous change.
26963         More-conservative ‘format’ quote restyling
26964         Instead of restyling curved quotes for every call to ‘format’,
26965         create a new function ‘format-message’ that does the restyling,
26966         and using the new function instead of ‘format’ only in contexts
26967         where this seems appropriate.
26968         Problem reported by Dmitry Gutov and Andreas Schwab in:
26969         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
26970         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
26971         * doc/lispref/commands.texi (Using Interactive):
26972         * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
26973         * doc/lispref/display.texi (Displaying Messages, Progress):
26974         * doc/lispref/elisp.texi:
26975         * doc/lispref/help.texi (Keys in Documentation):
26976         * doc/lispref/minibuf.texi (Minibuffer Misc):
26977         * doc/lispref/strings.texi (Formatting Strings):
26978         * etc/NEWS:
26979         Document the changes.
26980         * lisp/abbrev.el (expand-region-abbrevs):
26981         * lisp/apropos.el (apropos-library):
26982         * lisp/calc/calc-ext.el (calc-record-message)
26983         (calc-user-function-list):
26984         * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
26985         * lisp/calc/calc-lang.el (math-read-big-balance):
26986         * lisp/calc/calc-store.el (calc-edit-variable):
26987         * lisp/calc/calc-units.el (math-build-units-table-buffer):
26988         * lisp/calc/calc-yank.el (calc-edit-mode):
26989         * lisp/calendar/icalendar.el (icalendar-export-region)
26990         (icalendar--add-diary-entry):
26991         * lisp/cedet/mode-local.el (mode-local-print-binding)
26992         (mode-local-describe-bindings-2):
26993         * lisp/cedet/semantic/complete.el (semantic-completion-message):
26994         * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
26995         * lisp/cedet/semantic/wisent/comp.el (wisent-log):
26996         * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
26997         * lisp/descr-text.el (describe-text-properties-1, describe-char):
26998         * lisp/dframe.el (dframe-message):
26999         * lisp/dired-aux.el (dired-query):
27000         * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
27001         * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
27002         (byte-compile-log-file, byte-compile-warn, byte-compile-form):
27003         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
27004         (cconv-analyze-form):
27005         * lisp/emacs-lisp/check-declare.el (check-declare-warn):
27006         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
27007         * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
27008         * lisp/emacs-lisp/edebug.el (edebug-format):
27009         * lisp/emacs-lisp/eieio-core.el (eieio-oref):
27010         * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
27011         (eldoc-message):
27012         * lisp/emacs-lisp/elint.el (elint-file, elint-log):
27013         * lisp/emacs-lisp/find-func.el (find-function-library):
27014         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
27015         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
27016         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
27017         * lisp/emacs-lisp/package.el (package-compute-transaction)
27018         (package-install-button-action, package-delete-button-action)
27019         (package-menu--list-to-prompt):
27020         * lisp/emacs-lisp/timer.el (timer-event-handler):
27021         * lisp/emacs-lisp/warnings.el (lwarn, warn):
27022         * lisp/emulation/viper-cmd.el:
27023         (viper-toggle-parse-sexp-ignore-comments)
27024         (viper-kill-buffer, viper-brac-function):
27025         * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
27026         * lisp/facemenu.el (facemenu-add-new-face):
27027         * lisp/faces.el (face-documentation, read-face-name)
27028         (face-read-string, read-face-font, describe-face):
27029         * lisp/files.el (find-alternate-file, hack-local-variables)
27030         (hack-one-local-variable--obsolete, write-file)
27031         (basic-save-buffer, delete-directory):
27032         * lisp/format.el (format-write-file, format-find-file)
27033         (format-insert-file):
27034         * lisp/help-fns.el (help-fns--key-bindings)
27035         (help-fns--compiler-macro, help-fns--obsolete)
27036         (help-fns--interactive-only, describe-function-1)
27037         (describe-variable):
27038         * lisp/help.el (describe-mode):
27039         * lisp/info-xref.el (info-xref-output):
27040         * lisp/info.el (Info-virtual-index-find-node)
27041         (Info-virtual-index, info-apropos):
27042         * lisp/international/kkc.el (kkc-error):
27043         * lisp/international/mule-cmds.el:
27044         (select-safe-coding-system-interactively)
27045         (select-safe-coding-system, describe-input-method):
27046         * lisp/international/mule-conf.el (code-offset):
27047         * lisp/international/mule-diag.el (describe-character-set)
27048         (list-input-methods-1):
27049         * lisp/international/quail.el (quail-error):
27050         * lisp/minibuffer.el (minibuffer-message):
27051         * lisp/mpc.el (mpc--debug):
27052         * lisp/msb.el (msb--choose-menu):
27053         * lisp/net/ange-ftp.el (ange-ftp-message):
27054         * lisp/net/gnutls.el (gnutls-message-maybe):
27055         * lisp/net/newst-backend.el (newsticker--sentinel-work):
27056         * lisp/net/newst-treeview.el (newsticker--treeview-load):
27057         * lisp/net/nsm.el (nsm-query-user):
27058         * lisp/net/rlogin.el (rlogin):
27059         * lisp/net/soap-client.el (soap-warning):
27060         * lisp/net/tramp.el (tramp-debug-message):
27061         * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
27062         * lisp/nxml/nxml-parse.el (nxml-parse-error):
27063         * lisp/nxml/rng-cmpct.el (rng-c-error):
27064         * lisp/nxml/rng-match.el (rng-compile-error):
27065         * lisp/nxml/rng-uri.el (rng-uri-error):
27066         * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
27067         * lisp/org/org-ctags.el:
27068         (org-ctags-ask-rebuild-tags-file-then-find-tag):
27069         * lisp/proced.el (proced-log):
27070         * lisp/progmodes/ebnf2ps.el (ebnf-log):
27071         * lisp/progmodes/flymake.el (flymake-log):
27072         * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
27073         * lisp/replace.el (occur-1):
27074         * lisp/simple.el (execute-extended-command)
27075         (undo-outer-limit-truncate, define-alternatives):
27076         * lisp/startup.el (command-line):
27077         * lisp/subr.el (error, user-error, add-to-list):
27078         * lisp/tutorial.el (tutorial--describe-nonstandard-key)
27079         (tutorial--find-changed-keys):
27080         * src/callint.c (Fcall_interactively):
27081         * src/editfns.c (Fmessage, Fmessage_box):
27082         Restyle the quotes of format strings intended for use as a
27083         diagnostic, when restyling seems appropriate.
27084         * lisp/subr.el (format-message): New function.
27085         * src/doc.c (Finternal__text_restyle): New function.
27086         (syms_of_doc): Define it.
27088 2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>
27090         * etc/NEWS: The new ‘q’ flag is not an incompatible change.
27092 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27094         python.el: Fix python-shell-buffer-substring on indented code
27095         (Bug#21086)
27096         * lisp/progmodes/python.el (python-shell-buffer-substring):
27097         Respect current line indentation when calculating string.
27098         * test/automated/python-tests.el
27099         (python-shell-buffer-substring-10)
27100         (python-shell-buffer-substring-11)
27101         (python-shell-buffer-substring-12): New tests.
27103 2015-08-23  Paul Eggert  <eggert@cs.ucla.edu>
27105         Fix minor glitches from ‘format’ reversion
27106         * doc/lispref/strings.texi (Formatting Strings):
27107         After reversion, ‘text-quoting-style’ is documented in ‘Keys in
27108         Documentation’, not below.
27109         * src/syntax.c (Finternal_describe_syntax_value):
27110         Prefer AUTO_STRING to build_string where either will do, as
27111         AUTO_STRING is a bit faster.
27113 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27115         python.el: Defer shell setup code until first interactive prompt
27116         * lisp/progmodes/python.el
27117         (python-shell-comint-watch-for-first-prompt-output-filter):
27118         New function.
27119         (inferior-python-mode): Use it.
27120         (python-shell-first-prompt-hook): New hook.
27121         (python-shell-send-setup-code)
27122         (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
27123         this hook instead of inferior-python-hook.
27125 2015-08-23  Nicolas Petton  <nicolas@petton.fr>
27127         Remove the calls to `seq-into` from `seq-concatenate`
27128         Since most new types of seq would have to be defined as sequences (cons
27129         cells or CL structs, mostly), there is no need to convert the seqs to
27130         sequences (which can be a fairly expensive operation).
27131         * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
27132         sequences.
27134 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27136         python.el: Fix completion for pdb interactions
27137         * lisp/progmodes/python.el (python-shell-completion-setup-code):
27138         Simplify.  Toggle print_mode for native wrapped completer.
27139         (python-shell-completion-native-setup): Ensure process buffer.
27140         Add print_mode attribute to completer wrapper to toggle returning
27141         or printing candidates.
27142         (python-shell-completion-native-get-completions): Cleanup.
27143         (python-shell-completion-get-completions): Cleanup.
27144         (python-shell-completion-at-point): Perform prompt checks.
27145         Force fallback completion in pdb interactions.
27147 2015-08-23  Nicolas Petton  <nicolas@petton.fr>
27149         Make seq.el more extensible by using cl-defmethod
27150         * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
27151         make it easier to extend seq.el with new "seq types".
27152         * test/automated/seq-tests.el (test-setf-seq-elt): New test.
27153         * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
27154         subseq in cl-extra.el, and use it in seq.el.
27156 2015-08-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27158         python.el: Fix prompt detection with user overridden interpreter
27159         * lisp/progmodes/python.el (python-shell-prompt-detect):
27160         Honor buffer local python-shell-interpreter and
27161         python-shell-interpreter-interactive-arg.
27163 2015-08-23  Eli Zaretskii  <eliz@gnu.org>
27165         Support exec-directory with non-ASCII characters on Windows
27166         * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
27167         in the system's ANSI codepage, when it is used for invoking
27168         cmdproxy.
27170 2015-08-23  Andreas Schwab  <schwab@linux-m68k.org>
27172         Revert "Extend ‘format’ to translate curved quotes"
27173         This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
27175         Revert "Prefer ‘format’ to ‘substitute-command-keys’"
27176         This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
27178 2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>
27180         * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
27181         Clarify "invisible window".
27183 2015-08-23  Xue Fuqiao  <xfq.free@gmail.com>
27185         * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
27186         magic-fallback-mode-alist.
27188 2015-08-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27190         python.el: fallback completion, ffap and eldoc setup enhancements
27191         Setup codes are now sent continuously so that the current frame is
27192         always taken into account.  This allows working within debuggers
27193         and always keeping a fresh version of setup codes that will return
27194         proper results.
27195         * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
27196         (python-shell-send-setup-code): Send code only when
27197         python-shell-setup-codes is non-nil.
27198         (python-shell-completion-string-code): Cleanup trailing newline.
27199         (python-shell-completion-get-completions): Always use
27200         python-shell-completion-setup-code.
27201         (python-ffap-setup-code): Work with any object, not only modules.
27202         (python-ffap-string-code): Cleanup trailing newline.
27203         (python-ffap-module-path): Always use python-ffap-setup-code.
27204         (python-eldoc-string-code): Cleanup trailing newline.
27205         (python-eldoc--get-doc-at-point): Always use
27206         python-eldoc-setup-code.  Return non-nil only if docstring is
27207         found.
27209         python.el: Increase native completion robustness
27210         * lisp/progmodes/python.el (python-shell-completion-native-setup):
27211         Make completer print real candidates and just return dummy ones to
27212         avoid input modification.
27213         (python-shell-completion-native-get-completions): Set
27214         comint-redirect-insert-matching-regexp to non-nil and make
27215         comint-redirect-finished-regexp match the last dummy candidate.
27216         Use python-shell-accept-process-output to wait for the full list
27217         of candidates.
27219 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
27221         Fix invocation of programs via cmdproxy.exe
27222         * src/w32proc.c (sys_spawnve): Use exec-directory, not
27223         invocation-directory, for finding cmdproxy.exe.  When Emacs is
27224         run from the source tree, look for cmdproxy.exe in the same source
27225         tree.  (Bug#21323)
27227 2015-08-22  Simen Heggestøyl  <simenheg@gmail.com>
27229         Handle comments inside unquoted URIs in css-mode
27230         * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
27231         (css-syntax-propertize-function): New defconst.
27232         (css--font-lock-keywords): Handle parens around unquoted URIs.
27233         (css-mode): Set `syntax-propertize-function'.
27235 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
27237         Support invocation of Hunspell with multiple dictionaries
27238         * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
27239         Support lists of dictionaries of the form "DICT1,DICT2,...".
27240         (ispell-hunspell-add-multi-dic): New command.  (Bug#20495)
27242         Minor formatting changes in ispell.el
27243         * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
27244         (ispell-print-if-debug, ispell-aspell-find-dictionary)
27245         (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
27246         (ispell-hunspell-dictionary-alist)
27247         (ispell-hunspell-fill-dictionary-entry)
27248         (ispell-find-hunspell-dictionaries, ispell-send-replacement)
27249         (ispell-buffer-with-debug, ispell-complete-word)
27250         (ispell-current-dictionary, ispell-current-personal-dictionary)
27251         (ispell-accept-output, ispell-minor-mode)
27252         (ispell-personal-dictionary, ispell-dictionary-alist)
27253         (ispell-really-aspell, ispell-really-hunspell)
27254         (ispell-encoding8-command, ispell-aspell-supports-utf8)
27255         (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
27256         Fix whitespace, inconsistent capitalization, and arguments in doc
27257         strings.
27259 2015-08-22  Martin Rudalics  <rudalics@gmx.at>
27261         * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
27262         function refused to resize a size-preserved window.
27264 2015-08-22  Eli Zaretskii  <eliz@gnu.org>
27266         * doc/lispref/windows.texi (Selecting Windows): Improve
27267         documentation and indexing of 'window-use-time'.
27269 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
27271         * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
27272         * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
27273         * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
27274         * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
27275         * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
27276         * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
27277         * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
27278         Fix up commenting style.
27280 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
27282         text-quoting-style in emacs-lisp diagnostics
27283         * lisp/emacs-lisp/advice.el (ad-read-advised-function)
27284         (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
27285         (ad-disable-advice, ad-remove-advice, ad-set-argument)
27286         (ad-set-arguments):
27287         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
27288         (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
27289         (byte-optimize-while, byte-optimize-apply):
27290         * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
27291         (byte-compile-log-file, byte-compile-format-warn)
27292         (byte-compile-nogroup-warn, byte-compile-arglist-warn)
27293         (byte-compile-cl-warn)
27294         (byte-compile-warn-about-unresolved-functions)
27295         (byte-compile-file, byte-compile-fix-header)
27296         (byte-compile--declare-var, byte-compile-file-form-defmumble)
27297         (byte-compile-form, byte-compile-normal-call)
27298         (byte-compile-variable-ref, byte-compile-variable-set)
27299         (byte-compile-subr-wrong-args, byte-compile-setq-default)
27300         (byte-compile-negation-optimizer)
27301         (byte-compile-condition-case--old)
27302         (byte-compile-condition-case--new, byte-compile-save-excursion)
27303         (byte-compile-defvar, byte-compile-autoload)
27304         (byte-compile-lambda-form)
27305         (byte-compile-make-variable-buffer-local, display-call-tree)
27306         (batch-byte-compile):
27307         * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
27308         (cconv-analyze-form):
27309         * lisp/emacs-lisp/chart.el (chart-space-usage):
27310         * lisp/emacs-lisp/check-declare.el (check-declare-scan)
27311         (check-declare-warn, check-declare-file)
27312         (check-declare-directory):
27313         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
27314         (checkdoc-message-text-engine):
27315         * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
27316         * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
27317         (cl-symbol-macrolet):
27318         * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
27319         * lisp/emacs-lisp/copyright.el (copyright)
27320         (copyright-update-directory):
27321         * lisp/emacs-lisp/edebug.el (edebug-read-list):
27322         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
27323         * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
27324         (eieio-oref, eieio-oset-default):
27325         * lisp/emacs-lisp/eieio-speedbar.el:
27326         (eieio-speedbar-child-make-tag-lines)
27327         (eieio-speedbar-child-description):
27328         * lisp/emacs-lisp/eieio.el (defclass, change-class):
27329         * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
27330         (elint-init-form, elint-check-defalias-form)
27331         (elint-check-let-form):
27332         * lisp/emacs-lisp/ert.el (ert-get-test):
27333         * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
27334         (find-function-library):
27335         * lisp/emacs-lisp/generator.el (iter-yield):
27336         * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
27337         * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
27338         * lisp/emacs-lisp/package-x.el (package-upload-file):
27339         * lisp/emacs-lisp/package.el (package-version-join)
27340         (package-disabled-p, package-activate-1, package-activate)
27341         (package--download-one-archive)
27342         (package--download-and-read-archives)
27343         (package-compute-transaction, package-install-from-archive)
27344         (package-install, package-install-selected-packages)
27345         (package-delete, package-autoremove)
27346         (package-install-button-action, package-delete-button-action)
27347         (package-menu-hide-package, package-menu--list-to-prompt)
27348         (package-menu--perform-transaction)
27349         (package-menu--find-and-notify-upgrades):
27350         * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
27351         * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
27352         * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
27353         * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
27354         * lisp/emacs-lisp/smie.el (smie-config-save):
27355         * lisp/emacs-lisp/subr-x.el (internal--check-binding):
27356         * lisp/emacs-lisp/testcover.el (testcover-1value):
27357         Use curved quotes in diagnostic format strings.
27359 2015-08-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
27361         python.el: Ensure remote process-environment on non-interactive processes
27362         * lisp/progmodes/python.el
27363         (python-shell-tramp-refresh-process-environment): New function.
27364         (python-shell-with-environment): Use it.
27365         * test/automated/python-tests.el (python-shell-with-environment-2):
27366         Update.
27368         python.el: Enhancements to process environment setup.
27369         * lisp/progmodes/python.el (python-shell-process-environment)
27370         (python-shell-extra-pythonpaths, python-shell-exec-path)
27371         (python-shell-virtualenv-root): Update docstring.  Remove :safe.
27372         (python-shell-setup-codes): Remove :safe.
27373         (python-shell-remote-exec-path): New defcustom.
27374         (python-shell--add-to-path-with-priority): New macro.
27375         (python-shell-calculate-pythonpath): Give priority to
27376         python-shell-extra-pythonpaths.  Update docstring.
27377         (python-shell-calculate-process-environment): Give priority to
27378         python-shell-process-environment.  Update docstring.
27379         (python-shell-calculate-exec-path): Give priority to
27380         python-shell-exec-path and calculated virtualenv bin directory.
27381         Update docstring.
27382         (python-shell-tramp-refresh-remote-path): New function.
27383         (python-shell-with-environment): Use it when working remotely and
27384         do not modify tramp-remote-path.  Allow nesting.
27385         (python-shell-calculate-command): Remove useless
27386         python-shell-with-environment call.
27387         * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
27388         (python-shell-calculate-pythonpath-2)
27389         (python-shell-calculate-process-environment-6)
27390         (python-shell-calculate-process-environment-7)
27391         (python-shell-calculate-process-environment-8)
27392         (python-shell-calculate-exec-path-3)
27393         (python-shell-calculate-exec-path-4)
27394         (python-shell-calculate-exec-path-5)
27395         (python-shell-calculate-exec-path-6)
27396         (python-shell-with-environment-3): New tests.
27397         (python-shell-calculate-process-environment-2)
27398         (python-shell-calculate-process-environment-3)
27399         (python-shell-calculate-process-environment-4)
27400         (python-shell-calculate-process-environment-5)
27401         (python-shell-calculate-exec-path-1)
27402         (python-shell-calculate-exec-path-2)
27403         (python-shell-with-environment-1)
27404         (python-shell-with-environment-2): Update and simplify.
27406 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
27408         Avoid hard-coding "M-x command" in docstrings
27409         * lisp/calendar/todo-mode.el (todo-mode):
27410         * lisp/desktop.el (desktop-save-mode):
27411         * lisp/edmacro.el (edit-kbd-macro):
27412         * lisp/emacs-lisp/package.el (package-menu-execute):
27413         * lisp/emulation/viper-cmd.el (viper-ask-level):
27414         * lisp/emulation/viper-init.el (viper-expert-level):
27415         * lisp/filesets.el (filesets-add-buffer):
27416         * lisp/follow.el (follow-mode):
27417         * lisp/gnus/auth-source.el (auth-sources):
27418         * lisp/international/ogonek.el (ogonek-informacja)
27419         (ogonek-information):
27420         * lisp/net/tramp.el (tramp-process-actions):
27421         * lisp/org/org-gnus.el (org-gnus-no-new-news):
27422         * lisp/org/org.el (org-ellipsis):
27423         * lisp/progmodes/python.el (python-shell-get-process-or-error):
27424         * lisp/progmodes/vhdl-mode.el (vhdl-mode):
27425         * lisp/server.el (server-start):
27426         * lisp/type-break.el (type-break-noninteractive-query):
27427         * lisp/userlock.el (ask-user-about-supersession-help):
27428         * lisp/whitespace.el (whitespace-report-region):
27429         Prefer (substitute-command-keys "`\\[foo-command]'")
27430         to "`M-x foo-command'" in docstrings and the like.
27432 2015-08-21  Tassilo Horn  <tsdh@gnu.org>
27434         Use add-function for prettify-symbols-compose-predicate
27435         * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
27436         prettify-symbols-compose-predicate in terms of add-function.
27437         * etc/NEWS: Mention prettify-symbols-compose-predicate and
27438         prettify-symbols-mode support in tex-mode.
27440 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
27442         * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
27443         (smie-indent-exps, smie-indent-keyword): Use it.
27444         * test/indent/css-mode.css: Test alignment with leading comment.
27446 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
27448         Respect text-quoting-style in (*Finder*) menus
27449         * lisp/info.el (info--prettify-description):
27450         Treat description as a docstring, so that it's requoted as
27451         per text-quoting-style.
27453 2015-08-21  Martin Rudalics  <rudalics@gmx.at>
27455         Document `window-use-time' in Elisp manual
27456         * doc/lispref/windows.texi (Selecting Windows): Document
27457         `window-use-time'.
27459 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
27461         * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
27462         This is a cleaner fix for Bug#21260 than the previous change.
27464 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
27466         Respect text-quoting-style in calc
27467         In calc, tespect text-quoting-style preference in diagnostic
27468         formats and fix a few similar problems in docstrings.
27469         * lisp/calc/calc-aent.el (math-read-factor):
27470         * lisp/calc/calc-embed.el (calc-do-embedded):
27471         * lisp/calc/calc-ext.el (calc-user-function-list)
27472         * lisp/calc/calc-graph.el (calc-graph-show-dumb):
27473         * lisp/calc/calc-help.el (calc-describe-key)
27474         (calc-describe-thing):
27475         * lisp/calc/calc-lang.el (calc-c-language)
27476         (math-parse-fortran-vector-end, math-parse-tex-sum)
27477         (math-parse-eqn-matrix, math-parse-eqn-prime)
27478         (calc-yacas-language, calc-maxima-language, calc-giac-language)
27479         (math-read-big-rec, math-read-big-balance):
27480         * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
27481         (calc-auto-recompute):
27482         * lisp/calc/calc-prog.el (calc-user-define-invocation)
27483         (math-do-arg-check):
27484         * lisp/calc/calc-store.el (calc-edit-variable):
27485         * lisp/calc/calc-units.el (math-build-units-table-buffer):
27486         * lisp/calc/calc-vec.el (math-read-brackets):
27487         * lisp/calc/calc-yank.el (calc-edit-mode):
27488         * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
27489         Use curved quotes in diagnostic format strings.
27490         * lisp/calc/calc-help.el (calc-describe-thing):
27491         Format docstrings with substitute-command-keys.
27492         * lisp/calc/calc-help.el (calc-j-prefix-help):
27493         * lisp/calc/calc-misc.el (calc-help):
27494         * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
27495         Escape a docstring "`".
27497 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
27499         Fix documentation of 'menu-set-font' and 'set-frame-font'
27500         * lisp/menu-bar.el (menu-set-font): Doc fix.  (Bug#21303)
27501         * doc/lispref/frames.texi (Frame Font): Document that
27502         set-frame-font with the last argument 't' will also make the font
27503         the default for the future GUI frames.
27505         Document '--create-frame' option to emacsclient
27506         * doc/emacs/misc.texi (emacsclient Options): Document the
27507         '--create-frame' option.  (Bug#21308)
27509 2015-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
27511         * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
27513 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
27515         Document 'get-mru-window' in the ELisp manual
27516         * doc/lispref/windows.texi (Cyclic Window Ordering): Document
27517         'get-mru-window'.  (Bug#21306)
27519         Clarify documentation of 'get-buffer-window-list'
27520         * doc/lispref/windows.texi (Buffers and Windows): Mention that the
27521         current window, if relevant, will be the first in the list
27522         returned by 'get-buffer-window-list'.
27523         * lisp/window.el (get-buffer-window-list): Doc fix.  (Bug#21305)
27525 2015-08-21  Vasilij Schneidermann  <v.schneidermann@gmail.com>
27527         In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
27528         * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
27529         `switch-to-buffer'.
27531 2015-08-21  Kaushal Modi  <kaushal.modi@gmail.com>  (tiny change)
27533         In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
27534         * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
27535         `display-buffer' instead of `switch-to-buffer'.
27537 2015-08-21  Paul Eggert  <eggert@cs.ucla.edu>
27539         Follow user preference in calendar diagnostics
27540         Respect text-quoting-style preference in diagnostic formats by
27541         using curved quotes (which are translated as per text-quoting-style)
27542         instead of grave accent and apostrophe (which are not).
27543         * lisp/calendar/appt.el (appt-display-message):
27544         * lisp/calendar/diary-lib.el (diary-check-diary-file)
27545         (diary-mail-entries, diary-from-outlook):
27546         * lisp/calendar/icalendar.el (icalendar-export-region)
27547         (icalendar--convert-float-to-ical)
27548         (icalendar--convert-date-to-ical)
27549         (icalendar--convert-ical-to-diary)
27550         (icalendar--convert-recurring-to-diary)
27551         (icalendar--add-diary-entry):
27552         * lisp/calendar/time-date.el (format-seconds):
27553         * lisp/calendar/timeclock.el (timeclock-mode-line-display)
27554         (timeclock-make-hours-explicit):
27555         * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
27556         (todo-item-mark, todo-check-format)
27557         (todo-insert-item--next-param, todo-edit-item--next-key)
27558         (todo-mode):
27559         Use curved quotes in diagnostic format strings.
27560         * lisp/calendar/icalendar.el (icalendar-import-format-sample):
27561         * test/automated/icalendar-tests.el (icalendar--import-format-sample):
27562         Just use straight quoting for simple test case.
27564 2015-08-21  Michael Albinus  <michael.albinus@gmx.de>
27566         * src/gfilenotify.c (Fgfile_add_watch):
27567         Handle errors from g_file_monitor.
27569 2015-08-21  Martin Rudalics  <rudalics@gmx.at>
27571         In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
27572         * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
27573         frame" instead of "non-minibuffer frame".
27575         Fix frame geometry related text
27576         * doc/lispref/frames.texi (Frame Layout):
27577         Rename `x-frame-geometry' to `frame-geometry'.
27578         * doc/lispref/frames.texi (Mouse Position):
27579         * doc/lispref/windows.texi (Coordinates and Windows):
27580         Use `set-mouse-absolute-pixel-position' instead of
27581         `x-set-mouse-absolute-pixel-position'.
27583         Sanitize frame geometry related functions
27584         * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
27585         (Fx_frame_edges): Rename to Fns_frame_edges.
27586         * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
27587         (Fx_frame_edges): Rename to Fw32_frame_edges.
27588         (Fx_mouse_absolute_pixel_position): Rename to
27589         Fw32_mouse_absolute_pixel_position.
27590         (Fx_set_mouse_absolute_pixel_position): Rename to
27591         Fw32_set_mouse_absolute_pixel_position.
27592         * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
27593         (ns-frame-geometry, x-frame-edges, w32-frame-edges)
27594         (ns-frame-edges, w32-mouse-absolute-pixel-position)
27595         (x-mouse-absolute-pixel-position)
27596         (w32-set-mouse-absolute-pixel-position)
27597         (x-set-mouse-absolute-pixel-position): Declare.
27598         (frame-geometry, mouse-absolute-pixel-position)
27599         (set-mouse-absolute-pixel-position): New functions.
27600         (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
27602 2015-08-21  Eli Zaretskii  <eliz@gnu.org>
27604         Fix MinGW64 build broken by latest w32uniscribe.c changes
27605         * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
27606         MinGW64.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
27607         (Bug#21260)
27609 2015-08-21  Tassilo Horn  <tsdh@gnu.org>
27611         Add TeX defaults for prettify-symbol-mode
27612         * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
27613         Rename from tex-prettify-symbols-alist.
27614         (tex--prettify-symbols-compose-p): New function.
27615         (tex-common-initialization): Use them as prettify-symbols-alist
27616         and prettify-symbols-compose-predicate.
27618         Generalize prettify-symbols to arbitrary modes
27619         * lisp/progmodes/prog-mode.el
27620         (prettify-symbols-default-compose-p): New function.
27621         (prettify-symbols-compose-predicate): New variable.
27622         (prettify-symbols--compose-symbol): Use it.
27624 2015-08-20  Paul Eggert  <eggert@cs.ucla.edu>
27626         Don't quote symbols 'like-this' in docstrings etc.
27627         * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
27628         * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
27629         * lisp/allout.el (allout-add-resumptions, allout-mode):
27630         * lisp/calculator.el (calculator-operators):
27631         * lisp/cedet/data-debug.el (dd-propertize):
27632         * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
27633         * lisp/cedet/semantic/analyze/debug.el:
27634         (semantic-analyzer-debug-global-miss-text):
27635         * lisp/cedet/semantic/lex-spp.el:
27636         (semantic-lex-spp-replace-or-symbol-or-keyword):
27637         * lisp/cedet/semantic/symref.el:
27638         (semantic-symref-cleanup-recent-buffers-fcn):
27639         * lisp/cedet/semantic/tag.el (semantic-tag-class):
27640         * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
27641         * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
27642         * lisp/gnus/pop3.el (pop3-authentication-scheme):
27643         * lisp/help-fns.el (describe-function-orig-buffer):
27644         * lisp/imenu.el (imenu--history-list):
27645         * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
27646         (feedmail-display-full-frame, feedmail-deduce-bcc-where)
27647         (feedmail-queue-default-file-slug)
27648         (feedmail-queue-buffer-file-name):
27649         * lisp/net/mairix.el (mairix-searches-mode-map):
27650         * lisp/net/newst-backend.el (newsticker-retrieval-method)
27651         (newsticker-auto-mark-filter-list):
27652         * lisp/obsolete/vi.el (vi-mode):
27653         * lisp/progmodes/cc-engine.el (c-literal-type):
27654         * lisp/progmodes/cpp.el (cpp-face):
27655         * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
27656         * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
27657         * lisp/progmodes/pascal.el (pascal-auto-lineup):
27658         * lisp/progmodes/prog-mode.el (prog-widen):
27659         * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
27660         (verilog-auto-lineup, verilog-auto-reset-widths)
27661         (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
27662         * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
27663         (flyspell-maybe-correct-doubling):
27664         * lisp/textmodes/table.el (table-justify, table-justify-cell)
27665         (table-justify-row, table-justify-column, table-insert-sequence)
27666         (table--justify-cell-contents):
27667         * lisp/url/url-auth.el (url-get-authentication):
27668         * lisp/window.el (display-buffer-record-window):
27669         * lisp/xml.el (xml-parse-file, xml-parse-region):
27670         * src/gfilenotify.c (Fgfile_add_watch):
27671         Don't quote symbols with apostrophes in doc strings.
27672         Use asymmetric quotes instead.
27673         * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
27674         Likewise for symbol in diagnostic.
27675         * lisp/image.el (image-extension-data):
27676         * lisp/register.el (frame-configuration-to-register):
27677         * src/buffer.c (syms_of_buffer):
27678         Remove bogus apostrophes after symbols.
27679         * lisp/thumbs.el (thumbs-conversion-program):
27680         Quote Lisp string values using double-quotes, not apostrophes.
27682 2015-08-20  Martin Rudalics  <rudalics@gmx.at>
27684         Describe frame geometry and related functions in Elisp manual
27685         * doc/lispref/display.texi (Size of Displayed Text, Line Height)
27686         (Showing Images): Update references.
27687         * doc/lispref/elisp.texi (Top): Update node listing.
27688         * doc/lispref/frames.texi (Frame Geometry): New node.
27689         Move `Size and Position' section here.
27690         (Size Parameters): Update references.
27691         (Mouse Position): Update references and nomenclature.
27692         Describe new functions `x-mouse-absolute-pixel-position' and
27693         `x-set-mouse-absolute-pixel-position'.
27694         * doc/lispref/windows.texi (Window Sizes): Update references.
27695         (Resizing Windows): Update references.  Move description of
27696         `fit-frame-to-buffer' here.
27697         (Coordinates and Windows): Update nomenclature and references.
27698         Describe new arguments of `window-edges'.  Comment out
27699         descriptions of `window-left-column', `window-top-line',
27700         `window-pixel-left' and `window-pixel-top'.  Describe
27701         `window-absolute-pixel-position'.
27703 2015-08-20  Alan Mackenzie  <acm@muc.de>
27705         Handling of `c-parse-state'.  Fix low level bug.
27706         * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
27707         Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
27709 2015-08-20  Andreas Politz  <politza@hochschule-trier.de>
27711         * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
27712         window instead of deleting it.
27714 2015-08-20  Martin Rudalics  <rudalics@gmx.at>
27716         In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
27717         * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
27718         determine whether frame has a titlebar.
27719         Suggested by Eli Zaretskii <eliz@gnu.org>
27721 2015-08-20  Tassilo Horn  <tsdh@gnu.org>
27723         Add a prettify-symbols-alist for (La)TeX
27724         * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
27725         New variable holding an alist suitable as prettify-symbols-alist in
27726         (La)TeX modes.
27728 2015-08-19  Alan Mackenzie  <acm@muc.de>
27730         Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
27731         Fixes debbugs#21275.
27732         In Emacs >= 25, let electric-pair-mode take precedence over
27733         delete-selection-mode.
27734         * lisp/delsel.el (delete-selection-uses-region-p): New function,
27735         previously a lambda expression in a property value for
27736         `self-insert-command'.
27737         (top-level): Set the `delete-selection' property of
27738         `self-insert-command' to `delete-selection-uses-region-p'.
27739         * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
27740         property for c-electric-\(brace\|paren\) the value
27741         `delete-selection-uses-region-p' when the latter function exists.
27743 2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>
27745         Fix key binding quoting in tutorial *Help*
27746         * lisp/tutorial.el (tutorial--describe-nonstandard-key):
27747         When generating help for custom key bindings, use the user-preferred
27748         quoting style rather than hardcoding the grave style.
27750 2015-08-19  Eli Zaretskii  <eliz@gnu.org>
27752         Improve and future-proof OTF fonts support in w32uniscribe.c
27753         * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
27754         about the expected results and why the new Uniscribe APIs are not
27755         used in this function.
27756         (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
27757         (ScriptGetFontFeatureTags_Proc): New function typedefs.
27758         (uniscribe_new_apis): New static variable.
27759         (uniscribe_check_features): New function, implements OTF features
27760         verification while correctly accounting for features in the list
27761         after the nil member, if any.
27762         (uniscribe_check_otf_1): New function, retrieves the features
27763         supported by the font for the requested script and language using
27764         the Uniscribe APIs available from Windows Vista onwards.
27765         (uniscribe_check_otf): If the new Uniscribe APIs are available,
27766         use them in preference to reading the font data directly.  Call
27767         uniscribe_check_features to verify that the requested features are
27768         supported, replacing the original incomplete code.
27769         (syms_of_w32uniscribe): Initialize function pointers for the new
27770         Uniscribe APIs.  (Bug#21260)
27771         (otf_features): Scan the script, langsys, and feature arrays back
27772         to front, so that the result we return has them in alphabetical
27773         order, like ftfont.c does.
27774         * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
27775         New variable for debugging w32uniscribe.c code.
27777 2015-08-19  Artur Malabarba  <bruce.connor.am@gmail.com>
27779         * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
27780         Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
27781         clause of `isearch-search-fun-default'.  That lax variable does not
27782         refer to lax-whitespacing.  Related to (bug#21777).
27783         This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
27784         * lisp/character-fold.el (character-fold-search): Set to nil.
27785         Default to nil for now, until someone implements proper
27786         lax-whitespacing with char-fold searching.
27788 2015-08-19  Martin Rudalics  <rudalics@gmx.at>
27790         Fix doc-string of `help-mode-finish'.
27791         * lisp/help-mode.el (help-mode-finish): Fix doc-string.
27793         In nsimage.m include coding.h (Bug#21292)
27794         * src/nsimage.m (top-level): Include coding.h (Bug#21292).
27796         Move window edge functions to Elisp.
27797         * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
27798         (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
27799         (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
27800         Move to window.el.
27801         (calc_absolute_offset): Remove.
27802         * lisp/frame.el (frame-edges): New function.
27803         * lisp/window.el (window-edges, window-pixel-edges)
27804         (window-absolute-pixel-edges): Move here from window.c.
27805         (window-body-edges, window-body-pixel-edges)
27806         (window-absolute-body-pixel-edges): Move here from window.c and
27807         rename "inside" to "body".  Keep old names as aliases.
27808         (window-absolute-pixel-position): New function.
27810 2015-08-19  Katsumi Yamaoka  <yamaoka@jpl.org>
27812         [Gnus]: Use overlay functions directly
27813         * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
27814         (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
27815         (gnus-article-highlight-signature, gnus-article-extend-url-button)
27816         (gnus-article-add-button, gnus-insert-prev-page-button)
27817         (gnus-insert-next-page-button, gnus-insert-mime-security-button):
27818         * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
27819         (gnus-cite-add-face):
27820         * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
27821         * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
27822         (gnus-tree-recenter, gnus-highlight-selected-tree):
27823         * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
27824         (gnus-summary-show-thread, gnus-summary-hide-thread)
27825         (gnus-highlight-selected-summary):
27826         * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
27827         * lisp/gnus/message.el (message-fix-before-sending)
27828         (message-toggle-image-thumbnails):
27829         * lisp/gnus/mm-decode.el (mm-convert-shr-links):
27830         * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
27831         Use overlay functions directly instead of using gnus-overlay-*,
27832         message-overlay-*, and sieve-overlay-*.
27833         * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
27834         * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
27835         (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
27836         (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
27837         (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
27838         * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
27839         (message-overlay-get, message-overlay-put, message-overlays-in):
27840         * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
27841         (sieve-overlays-at): Remove.
27843 2015-08-19  Martin Rudalics  <rudalics@gmx.at>
27845         In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
27846         * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
27847         builds can use the declaration from the system headers.
27848         (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
27849         definition of TITLEBAR_INFO.
27850         Suggested by Eli Zaretskii  <eliz@gnu.org>
27852 2015-08-19  Glenn Morris  <rgm@gnu.org>
27854         * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
27856 2015-08-19  Paul Eggert  <eggert@cs.ucla.edu>
27858         Use new q ‘format’ flag when fixing quotes in C
27859         * src/image.c (image_size_error): New function.  All uses of
27860         image_error with "Invalid image size ..."  changed to use it.
27861         * src/image.c (image_size_error, xbm_load_image, xbm_load)
27862         (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
27863         (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
27864         (imagemagick_load, svg_load, svg_load_image, gs_load)
27865         (x_kill_gs_process):
27866         * src/lread.c (load_warn_old_style_backquotes):
27867         * src/xfaces.c (load_pixmap):
27868         * src/xselect.c (x_clipboard_manager_error_1):
27869         Use %qs, not uLSQM and uRSQM.
27870         * src/syntax.c (Finternal_describe_syntax_value):
27871         Prefer Fsubstitute_command_keys to Fformat, as this lets
27872         us use AUTO_STRING.
27873         * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
27874         as it's now guaranteed to be ASCII.
27875         * src/xselect.c (x_clipboard_manager_error_2):
27876         Avoid grave accent in low-level stderr diagnostic.
27878 2015-08-19  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
27880         New q flag for ‘format’
27881         * doc/lispref/processes.texi (Sentinels):
27882         Don't hardwire grave quoting style in example.
27883         * doc/lispref/strings.texi (Formatting Strings):
27884         * etc/NEWS:
27885         Document new q flag.
27886         * src/editfns.c (Fformat): Implement it.
27888 2015-08-18  Daiki Ueno  <ueno@gnu.org>
27890         pinentry.el: Add debugging support
27891         * lisp/net/pinentry.el (pinentry-debug): New variable.
27892         (pinentry-debug-buffer): New variable.
27893         (pinentry--process-filter): Send input to the debug buffer, if
27894         `pinentry-debug' is set.
27896         pinentry.el: Improve multiline prompt
27897         * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
27898         (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
27899         command.
27901 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27903         Fix multibyte confusion in diagnostics
27904         * src/print.c (print_error_message):
27905         Don't assume that the caller's name is unibyte.
27906         * src/xdisp.c (vadd_to_log):
27907         Don't assume that the formatted diagnostic is unibyte.
27909         Fix file name encodings in diagnostics
27910         Also, close some minor races when opening image files, by opening
27911         them once instead of multiple times.
27912         * src/gtkutil.c (xg_get_image_for_pixmap):
27913         * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
27914         (svg_load):
27915         * src/nsimage.m (allocInitFromFile:):
27916         * src/xfns.c (xg_set_icon):
27917         Encode file name, since x_find_image_file no longer does that.
27918         * src/image.c (x_find_image_fd): New function.
27919         (x_find_image_file): Use it.  Do not encode resulting file name,
27920         since callers sometimes need it decoded.
27921         (slurp_file): File arg is now a fd, not a file name.
27922         All callers changed.  This saves us having to open the file twice.
27923         (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
27924         (svg_load):
27925         Use x_find_image_fd and fdopen to save a file-open.
27926         Report file name that failed.
27927         * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
27929 2015-08-18  Dmitry Gutov  <dgutov@yandex.ru>
27931         Allow blink-matching-paren to jump off screen
27932         * doc/emacs/programs.texi (Matching): Mention the
27933         `blink-matching-paren' value `jump-offscreen'.
27934         * lisp/simple.el (blink-matching-paren): New possible value.
27935         (blink-matching-paren-on-screen): Clarify the docstring.
27936         (blink-matching-open): Handle `jump-offscreen' (bug#21286).
27938         Refine the previous change
27939         * lisp/simple.el (blink-matching-open): Use minibuffer-message
27940         outside of save-excursion (bug#21286).
27942 2015-08-18  Martin Rudalics  <rudalics@gmx.at>
27944         Rewrite and add frame geometry related functions.
27945         * src/frame.c (Fframe_position): New function.
27946         (Fset_frame_position): Rename parameters and rewrite doc-string.
27947         (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
27948         Qtitle_height and Qframe_inner_size.  Add Qouter_edges,
27949         Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
27950         Qtitle_bar_size.
27951         * src/nsfns.m (frame_geometry): New function.
27952         (Fx_frame_geometry): Call frame_geometry.
27953         (Fx_frame_edges): New function.
27954         * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
27955         (GetTitleBarInfo_Proc): Define these so we can use the
27956         GetTitleBarInfo API.
27957         (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
27958         (Fx_frame_geometry): Rewrite.
27959         (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
27960         (Fx_set_mouse_absolute_pixel_position): New functions.
27961         * src/xfns.c (frame_geometry): New function.
27962         (Fx_frame_geometry): Call frame_geometry.
27963         (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
27964         (Fx_set_mouse_absolute_pixel_position): New functions.
27966 2015-08-18  Michael Albinus  <michael.albinus@gmx.de>
27968         Improve Tramp's compatibility
27969         * lisp/net/tramp.el (tramp-get-method-parameter):
27970         * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
27971         (tramp-adb-get-device):
27972         * lisp/net/trampver.el (tramp-repository-get-version):
27973         Use `tramp-compat-replace-regexp-in-string'.
27975 2015-08-18  Pierre Téchoueyres  <pierre.techoueyres@free.fr>  (tiny change)
27977         * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
27978         Encode/decode string.
27980 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27982         Clarify what happens to match data on failure
27983         Problem reported by Ernesto Alfonso (Bug#21279).
27984         * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
27985         Document more carefully what happens to match data after a failed
27986         search.
27987         * src/search.c (Fmatch_beginning, Fmatch_end): Document that
27988         the return value is undefined if the last search failed.
27989         (Fmatch_data): Simplify doc string line 1.
27991 2015-08-18  Daiki Ueno  <ueno@gnu.org>
27993         Revert "pinentry.el: Support external passphrase cache"
27994         This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
27995         pinentry.el shouldn't directly interact with the secrets service,
27996         but ask the caller to cache the passphrase.
27998 2015-08-17  Xue Fuqiao  <xfq.free@gmail.com>
28000         * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
28001         Message mode hooks.
28003 2015-08-17  Daiki Ueno  <ueno@gnu.org>
28005         epg.el: Make gpgconf output parsing future proof
28006         * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
28007         --list-options" output.
28009         pinentry.el: Support external passphrase cache
28010         * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
28011         (pinentry--allow-external-password-cache): New local variable.
28012         (pinentry--key-info): New local variable.
28013         (secrets-enabled, secrets-search-items, secrets-get-secret):
28014         Declare.
28015         (pinentry--send-passphrase): New function, split from
28016         `pinentry--process-filter'.
28017         (pinentry--process-filter): Use secrets.el to retrieve passphrase
28018         from login keyring.
28020         pinentry.el: Popup window for multiline prompt
28021         * lisp/net/pinentry.el (pinentry): New custom group.
28022         (pinentry-popup-prompt-window): New user option.
28023         (pinentry-prompt-window-height): New user option.
28024         (pinentry--prompt-buffer): New variable.
28025         (pinentry-prompt-mode-map): New variable.
28026         (pinentry-prompt-mode): New function.
28027         (pinentry--prompt): New function.
28028         (pinentry--process-filter): Use `pinentry--prompt' instead of
28029         `read-passwd' and `y-or-n-p'.
28031 2015-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
28033         message.el: Silent the byte compiler
28034         * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
28035         (message-kill-all-overlays, message-overlays-in, message-overlay-get)
28036         (message-delete-overlay, message-window-inside-pixel-edges):
28037         Declare before using.
28039         * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
28040         (message-window-inside-pixel-edges): XEmacs compatible functions.
28042 2015-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
28044         * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
28046 2015-08-17  Noah Friedman  <friedman@splode.com>
28048         * lisp/simple.el (blink-matching-open): Restore point before
28049         calling minibuffer-message.
28051 2015-08-17  Ronnie Schnell  <ronnie@driver-aces.com>
28053         * lisp/play/dunnet.el: Update version number in header (now
28054         matches help).
28056 2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>
28058         Curved quotes in --batch diagnostics in non-UTF-8
28059         When run with --batch, check that curved quotes are compatible with
28060         the system locale before outputting them in diagnostics.
28061         Problem reported by Eli Zaretskii in:
28062         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
28063         * lisp/startup.el (command-line): Set internal--text-quoting-flag
28064         after the standard display table is initialized.
28065         * src/doc.c (default_to_grave_quoting_style): New function.
28066         (text_quoting_style): Use it.
28067         (text_quoting_flag): New static var, visible to Lisp as
28068         internal--text-quoting-flag.
28069         * src/emacs.c: Include <wchar.h> if available.
28070         (using_utf8): New function.
28071         (main): Use it to initialize text_quoting_flag.
28072         * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
28073         Don't define, as it's not needed and it clashes with wchar.h.
28075 2015-08-17  Glenn Morris  <rgm@gnu.org>
28077         * doc/misc/tramp.texi (Configuration): Reword to avoid warning
28078         from makeinfo about spurious "Note:" cross-reference, and for grammar.
28080 2015-08-17  Ilya Zakharevich  <ilya@math.berkeley.edu>
28082         Minor change in variable initialization on MS-Windows
28083         * src/w32fns.c <after_dead_key>: Initialize to -1.
28084         (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
28085         non-zero.
28087         Fix a bug with LWindow key remapping on MS-Windows
28088         * src/w32fns.c (deliver_wm_chars): Fix a typo.  (Bug#21276)
28090 2015-08-17  Eli Zaretskii  <eliz@gnu.org>
28092         Improve fontset support for latest OTF script tags
28093         * lisp/international/fontset.el (otf-script-alist): Add some
28094         missing script tags.
28095         (setup-default-fontset): Include settings for v2 versions of the
28096         script tags used by some modern OTF/TTF fonts.
28098 2015-08-17  Paul Eggert  <eggert@cs.ucla.edu>
28100         Spelling fixes
28102 2015-08-16  Paul Eggert  <eggert@cs.ucla.edu>
28104         Use curved quotes in core elisp diagnostics
28105         In the core elisp files, use curved quotes in diagnostic formats,
28106         so that they follow user preference as per ‘text-quoting-style’
28107         rather than being hard-coded to quote `like this'.
28108         * lisp/abbrev.el (expand-region-abbrevs):
28109         * lisp/button.el (button-category-symbol, button-put)
28110         (make-text-button):
28111         * lisp/cus-start.el:
28112         * lisp/custom.el (custom-add-dependencies, custom-check-theme)
28113         (custom--sort-vars-1, load-theme):
28114         * lisp/emacs-lisp/byte-run.el (defun, defsubst):
28115         * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
28116         (cl-generic-generalizers):
28117         * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
28118         * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
28119         * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
28120         (advice--make, define-advice):
28121         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
28122         * lisp/emacs-lisp/timer.el (timer-event-handler):
28123         * lisp/env.el (setenv):
28124         * lisp/facemenu.el (facemenu-add-new-face)
28125         (facemenu-add-new-color):
28126         * lisp/faces.el (face-documentation, read-face-name)
28127         (face-read-string, read-face-font, face-spec-set-match-display)
28128         (read-color, x-resolve-font-name):
28129         * lisp/files.el (locate-user-emacs-file, find-alternate-file)
28130         (set-auto-mode, hack-local-variables)
28131         (hack-one-local-variable--obsolete)
28132         (dir-locals-set-directory-class, write-file)
28133         (basic-save-buffer, delete-directory, copy-directory)
28134         (recover-session, recover-session-finish, insert-directory)
28135         (file-modes-char-to-who, file-modes-symbolic-to-number)
28136         (move-file-to-trash):
28137         * lisp/font-lock.el (font-lock-fontify-buffer):
28138         * lisp/format.el (format-write-file, format-find-file)
28139         (format-insert-file):
28140         * lisp/frame.el (get-device-terminal, select-frame-by-name):
28141         * lisp/fringe.el (fringe--check-style):
28142         * lisp/help.el (describe-minor-mode-from-indicator):
28143         * lisp/image.el (image-type):
28144         * lisp/international/fontset.el (x-must-resolve-font-name):
28145         * lisp/international/mule-cmds.el (prefer-coding-system)
28146         (select-safe-coding-system-interactively)
28147         (select-safe-coding-system, activate-input-method)
28148         (toggle-input-method, describe-current-input-method):
28149         * lisp/international/mule-conf.el (code-offset):
28150         * lisp/mouse.el (minor-mode-menu-from-indicator):
28151         * lisp/replace.el (query-replace-read-from)
28152         (occur-after-change-function, occur-1):
28153         * lisp/scroll-bar.el (scroll-bar-columns):
28154         * lisp/simple.el (execute-extended-command)
28155         (undo-outer-limit-truncate, compose-mail, set-variable)
28156         (choose-completion-string, define-alternatives):
28157         * lisp/startup.el (site-run-file, tty-handle-args)
28158         (command-line, command-line-1):
28159         * lisp/subr.el (noreturn, define-error, add-to-list)
28160         (read-char-choice):
28161         * lisp/term/common-win.el (x-handle-xrm-switch)
28162         (x-handle-name-switch, x-handle-args):
28163         * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
28164         Use curved quotes in diagnostics.
28165         * lisp/international/mule.el (find-auto-coding):
28166         Use " to quote in a diagnostic, to be consistent with the rest of
28167         this file.
28169         Convert lisp/term/x-win.el to UTF-8
28170         * lisp/term/x-win.el: Convert to UTF-8.  This doesn't affect
28171         runtime behavior, and the file is multilingual so compile-time
28172         appearance shouldn't be an issue.
28173         * admin/notes/unicode: Document this.
28175 2015-08-16  Wilson Snyder  <wsnyder@wsnyder.org>
28177         Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
28178         * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
28179         issues and comments, bug#943.
28180         (verilog-type-font-keywords): Cycle delay operators like ##1 and
28181         ##[0:$] are now highlighted in their entirety similarly to the #
28182         delay-control operator.  Likewise, the followed-by operators #-#
28183         and #=# are no longer partially highlighed.
28184         (verilog-backward-syntactic-ws-quick)
28185         (verilog-skip-backward-comments): Minor performance improvements
28186         to buffer traversal functions for reduced latency.
28187         (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
28188         keyword 'final' follows 'assert/assume/cover', then it is part of
28189         a deferred immediate assertion item and should not be treated as a
28190         final construct for indentation.  Reported by Yuri Sugihara.
28191         (verilog-do-indent): Virtual task/function/class definition lines
28192         should not be considered as declarations.  Reported by Enzo Chi.
28193         (verilog-do-indent): Do not falsely indent to '=' of
28194         property/sequence operators on subsequent lines of a multi-line
28195         statement.
28196         (verilog-assignment-operator-re): Fix '!==' operator and add
28197         support for '<->', ':/', '#-#', and '#=#' operators.
28198         (verilog-calculate-indent, verilog-label-be): Enable
28199         case-sensitive regular expression parsing when looking for
28200         keywords.
28201         (verilog-calc-1): Detect 'pure virtual method' declarations which
28202         exist in abstract classes.  Reported by Enzo Chi and Kaushal Modi.
28203         (verilog-backward-ws&directives): When moving back to the start of
28204         a line and the preceeding line ended with an escaped-newline, then
28205         jump up one line.  This properly consumes a multi-line
28206         pre-processor directive.  Reported by Kaushal Modi.
28207         (verilog-dpi-import-export-re, verilog-extended-complete-re)
28208         (verilog-calc-1): Teach verilog-mode to properly indent after a
28209         DPI import/export statement that resides outside of a module.
28210         Reported by Kaushal Modi.
28211         (verilog-extended-complete-re): Update regexp to match both
28212         "DPI-C" and "DPI".  Reported by Kaushal Modi.
28214 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28216         substitute-command-keys a few more doc strings
28217         * lisp/allout.el (outlineify-sticky):
28218         * lisp/files.el (hack-one-local-variable--obsolete):
28219         * lisp/help-fns.el (help-fns--obsolete, describe-variable):
28220         Use substitute-command-keys on some doc strings so that
28221         they don't use hard-coded key bindings or quoting styles.
28223         Fix quoting in Fformat calls
28224         * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
28225         (xpm_load, xpm_load_image, pbm_load, png_load_body)
28226         (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
28227         (imagemagick_load, svg_load, svg_load_image, gs_load)
28228         (x_kill_gs_process):
28229         * src/lread.c (load_warn_old_style_backquotes):
28230         * src/xfaces.c (load_pixmap):
28231         * src/xselect.c (x_clipboard_manager_error_1):
28232         Quote diagnostics according to user preference when calling
28233         Fformat or its derivatives.
28235 2015-08-15  Glenn Morris  <rgm@gnu.org>
28237         * admin/admin.el (set-version, set-copyright): Remove deleted files.
28239 2015-08-15  Stephen Leake  <stephen_leake@stephe-leake.org>
28241         Allow describe-function helpers to access buffer-local values
28242         This will be used by cedet/mode-local.el `describe-mode-local-override'
28243         on `help-fns-describe-function-functions' in upstream CEDET.
28244         * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
28245         `describe-function'.
28246         (describe-function): Bind it, save it on the help xref stack.
28248         Handle pulse-background being nil
28249         * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
28250         pulse-background, handle it being nil.
28252 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28254         Fix "\`" confusion in Lisp strings
28255         * admin/authors.el (authors-canonical-author-name):
28256         Fix typo by using "\\`" not "\`" in string RE.
28257         * lisp/obsolete/complete.el (PC-complete-as-file-name):
28258         * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
28259         * lisp/progmodes/verilog-mode.el (verilog-mode-map):
28260         Use plain "`", not the equivalent-but-confusing "\`", in strings.
28261         * lisp/textmodes/texinfmt.el: Fix comment likewise.
28263 2015-08-15  Dani Moncayo  <dmoncayo@gmail.com>
28265         * nt/zipdist.bat: Remove -- no longer used.
28267 2015-08-15  Jürgen Hötzel  <juergen@archlinux.org>
28269         * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
28270         rather than "getenforce".
28271         (tramp-sh-handle-set-file-selinux-context): Do not
28272         cache SELinux context if not all context components are given.
28274 2015-08-15  Eli Zaretskii  <eliz@gnu.org>
28276         Add doc strings to 2 help-mode.el functions
28277         * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
28278         strings.  (Bug#21263)
28280         Remove files used by the old MS-Windows specific build procedure
28281         * admin/unidata/makefile.w32-in:
28282         * doc/emacs/makefile.w32-in:
28283         * doc/lispintro/makefile.w32-in:
28284         * doc/lispref/makefile.w32-in:
28285         * doc/misc/makefile.w32-in:
28286         * leim/makefile.w32-in:
28287         * lib-src/makefile.w32-in:
28288         * lib/makefile.w32-in:
28289         * lisp/makefile.w32-in:
28290         * nt/INSTALL.OLD:
28291         * nt/config.nt:
28292         * nt/emacs-src.tags:
28293         * nt/envadd.bat:
28294         * nt/gmake.defs:
28295         * nt/makefile.w32-in:
28296         * nt/multi-install-info.bat:
28297         * nt/nmake.defs:
28298         * nt/paths.h:
28299         * src/makefile.w32-in: Files deleted.
28300         * nt/configure.bat: Remove everything except the blurb about the
28301         new build procedure.
28302         * make-dist: Remove references to makefile.w32-in in various
28303         directories, and to files in nt/ that were deleted.
28304         * etc/NEWS: Mention the fact that the files were dropped.
28306 2015-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28308         * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
28309         (Bug#21248)
28311 2015-08-14  Paul Eggert  <eggert@cs.ucla.edu>
28313         Default to inotify instead of gfile
28314         * configure.ac (with_file_notification): Fix typo that
28315         prevented suppression of file notification if HAVE_NS.
28316         (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
28317         with_file_notification is 'yes' (Bug#21241).
28318         * etc/NEWS: Mention this.
28320         Fix broken URLs for ISO-IR
28321         * doc/emacs/mule.texi (Charsets):
28322         * lisp/international/mule-conf.el:
28323         Fix broken URL (Bug#21248).
28325         Low-level diagnostics now use ‘text-quoting-style’
28326         * src/doprnt.c (doprnt):
28327         Format ` and ' as per ‘text-quoting-style’.
28328         * src/xdisp.c (vmessage, message): Mention that the format should
28329         not contain ` or '.
28331         Prefer ‘format’ to ‘substitute-command-keys’
28332         * src/character.h (uLSQM, uRSQM): Move here ...
28333         * src/doc.c (uLSQM, uRSQM): ... from here.
28334         * src/doc.c (Fsubstitute_command_keys):
28335         * src/syntax.c (Finternal_describe_syntax_value):
28336         * lisp/cedet/mode-local.el (mode-local-print-binding)
28337         (mode-local-describe-bindings-2):
28338         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
28339         * lisp/cus-theme.el (describe-theme-1):
28340         * lisp/descr-text.el (describe-text-properties-1, describe-char):
28341         * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
28342         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
28343         * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
28344         * lisp/emacs-lisp/package.el (describe-package-1):
28345         * lisp/faces.el (describe-face):
28346         * lisp/help-fns.el (help-fns--key-bindings)
28347         (help-fns--compiler-macro, help-fns--parent-mode)
28348         (help-fns--obsolete, help-fns--interactive-only)
28349         (describe-function-1, describe-variable):
28350         * lisp/help.el (describe-mode):
28351         Prefer ‘format’ to ‘substitute-command-keys’ when either will do
28352         to implement quoting style.  This generally makes the code simpler.
28354         Extend ‘format’ to translate curved quotes
28355         This is a followup to the recent doc string change, and deals with
28356         diagnostics and the like.  This patch is more conservative than
28357         the doc string change, in that the behavior of ‘format’ changes
28358         only if its first arg contains curved quotes and the user prefers
28359         straight or grave quotes.  (Come to think of it, perhaps we should
28360         be similarly conservative with doc strings too, but that can wait.)
28361         The upside of this conservatism is that existing usage is almost
28362         surely unaffected.  The downside is that we'll eventually have to
28363         change Emacs's format strings to use curved quotes in places where
28364         the user might want curved quotes, but that's a simple and
28365         mechanical translation that I'm willing to do later.  (Bug#21222)
28366         * doc/lispref/help.texi (Keys in Documentation):
28367         Move description of text-quoting-style from here ...
28368         * doc/lispref/strings.texi (Formatting Strings):
28369         ... to here, and describe new behavior of ‘format’.
28370         * etc/NEWS: Describe new behavior.
28371         * lisp/calc/calc-help.el (calc-describe-thing):
28372         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
28373         * lisp/info.el (Info-find-index-name):
28374         Use ‘concat’ rather than ‘format’ to avoid misinterpretation
28375         of recently-added curved quotes.
28376         * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
28377         Move from here ...
28378         * src/lisp.h: ... to here.
28379         * src/doc.c (text_quoting_style): New function.
28380         (Fsubstitute_command_keys): Use it.
28381         * src/editfns.c (Fformat): Implement new behavior.
28382         * src/lisp.h (enum text_quoting_style): New enum.
28384 2015-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
28386         * src/keyboard.c: Use false/true instead of 0/1 for booleans.
28387         * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
28389 2015-08-14  Michael Albinus  <michael.albinus@gmx.de>
28391         * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
28392         stderr to /dev/null, this is done in `tramp-send-command-and-check'.
28394 2015-08-14  Jürgen Hötzel  <juergen@archlinux.org>
28396         Flush file properties in Tramp
28397         * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
28398         (tramp-sh-handle-set-file-times):
28399         * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
28400         (tramp-adb-handle-set-file-times): Flush the file properties of
28401         the directory.
28403 2015-08-14  Ronnie Schnell  <ronnie@driver-aces.com>
28405         * doc/emacs/misc.texi (Amusements): Fixed typo.
28407 2015-08-14  Eli Zaretskii  <eliz@gnu.org>
28409         Don't miss warnings about removing string text properties while dumping
28410         * src/alloc.c (purecopy): Warn about removing a string's text
28411         properties even when the same string was already pure-copied
28412         earlier.
28413         * lisp/progmodes/elisp-mode.el (elisp--xref-format)
28414         (elisp--xref-format-extra): Fix the commentary.
28416 2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
28418         * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
28420 2015-08-13  Magnus Henoch  <magnus.henoch@gmail.com>
28422         * lisp/progmodes/compile.el: Use lexical-binding.
28423         (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
28425 2015-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
28427         (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
28428         * lisp/uniquify.el: Remove redundant `:group's.
28430 2015-08-13  Jürgen Hötzel  <juergen@archlinux.org>
28432         * lisp/net/tramp-adb.el
28433         (tramp-adb-handle-directory-files-and-attributes): Make a copy of
28434         result to prevent modification of the tramp-cache by side effects.
28435         Use the correct cache key.
28437 2015-08-13  Paul Eggert  <eggert@cs.ucla.edu>
28439         Make add_to_log varargs
28440         * src/alloc.c (run_finalizer_handler):
28441         * src/charset.c (load_charset_map_from_vector):
28442         * src/nsimage.m (ns_load_image):
28443         * src/xfaces.c (load_pixmap, load_color2):
28444         Simplify, now that add_to_log has a variable number of args.
28445         * src/image.c (image_error): Take a variable number of args.
28446         Callers simplified.
28447         * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
28448         * src/xdisp.c (format_nargs, vadd_to_log): New functions.
28449         (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
28450         * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
28452         Optional args for holiday-greek-orthodox-easter
28453         * etc/NEWS: Document this.
28454         * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
28455         Add optional args N and STRING, mimicking the API and code of
28456         ‘holiday-easter-etc’.  From suggestion by Foivos S. Zakkak (Bug#21256).
28458 2015-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
28460         xref-find-definitions: Exclude more generic function items.
28461         * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
28462         Add doc string.
28463         (cl--generic-find-defgeneric-regexp): New.
28464         (find-function-regexp-alist): Add it.
28465         * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
28466         elisp-mode.el, change to search for ";;; Code:"
28467         (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
28468         (find-function-regexp-alist): Add them.
28469         * lisp/progmodes/elisp-mode.el:
28470         (elisp--xref-format, elisp--xref-format-extra): Change back to
28471         defvar due to bug#21237.
28472         (elisp--xref-find-definitions): Exclude co-located default methods for
28473         generic functions.  Also exclude implicitly declared defgeneric.
28474         (elisp--xref-find-definitions): Handle C source properly.  Exclude minor
28475         mode variables defined by 'define-minor-mode'.
28476         * test/automated/elisp-mode-tests.el: Declare generic functions, add
28477         tests for them.
28478         (xref-elisp-test-run): Fix bug.
28479         (emacs-test-dir): Improve initial value.
28480         (find-defs-defun-defvar-el): Don't expect defvar.
28481         (find-defs-feature-el): Match change to find-feature-regexp.
28483 2015-08-13  Eli Zaretskii  <eliz@gnu.org>
28485         Improve warning about purecopy of strings with properties
28486         * src/alloc.c (purecopy): Show the offending string with the
28487         warning about removing its text properties.
28489 2015-08-12  Alan Mackenzie  <acm@muc.de>
28491         Introduce new macros to cover Emacs's new names in cl-lib.el
28492         This also eliminates `mapcan' warnings in XEmacs.
28493         * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
28494         characterise [X]Emacs versions.
28495         (top-level): Require either 'cl or 'cl-lib, depending on
28496         c--mapcan-status.
28497         Change this back to cc-external-require from an eval-when-compile
28498         require.
28499         (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
28500         (c--delete-duplicates): New macros which expand into either old or new
28501         names.
28502         (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
28503         rather than the old names.
28504         * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
28505         rather than mapcan.
28506         * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
28507         * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
28508         depending on c--mapcan-status.
28509         (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
28510         (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
28511         (c-not-decl-init-keywords, c-not-primitive-type-keywords)
28512         (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
28513         (c-decl-block-key, c-keywords, c-keywords-obarray)
28514         (c-regular-keywords-regexp, c-primary-expr-regexp)
28515         (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
28516         (c-known-type-key, c-nonlabel-token-key)
28517         (c-make-init-lang-vars-fun): Use the new macros rather than the old
28518         names.
28520 2015-08-12  Oleh Krehel  <ohwoeowho@gmail.com>
28522         loadhist.el (read-feature): Conform to completing-read
28523         * lisp/loadhist.el (read-feature): According to `completing-read'
28524         documentation, if collection is a list, then it must be a list of
28525         strings, not a list of symbols like before.
28527 2015-08-12  David Kastrup  <dak@gnu.org>
28529         Deal gracefully with up-events (Bug#19746)
28530         * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
28531         (parse_modifiers_uncached): React gracefully to "up-" modifiers:
28532         those may easily be injected by user-level Lisp code.
28533         (read_key_sequence): Discard unbound up-events like unbound
28534         down-events: they are even more likely only relevant for special
28535         purposes.
28536         While Emacs will not produce up-events on its own currently (those are
28537         converted to drag or click events before being converted to
28538         Lisp-readable structures), the input queue can be made to contain them
28539         by synthesizing events to `unread-command-events'.  Emacs should deal
28540         consistently with such events.
28542 2015-08-12  Eli Zaretskii  <eliz@gnu.org>
28544         Fix display of thin lines whose newline has line-height property of t
28545         * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
28546         and descent values of non-empty glyph rows, since they could have
28547         forced low values deliberately.  (Bug#21243)
28549 2015-08-12  Richard Stallman  <rms@gnu.org>
28551         Offer to combine multiple To or CC fields.
28552         * lisp/mail/sendmail.el (mail-combine-fields): New function.
28553         (mail-send): Call 'mail-combine-fields'.
28555         Don't decrypt encrypted files.
28556         * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
28558         Handle encrypted mbox files.
28559         * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
28560         the mbox file if necessary.
28562         Re-enable mime processing after decryption.  Add 'decrypt' keyword.
28563         * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
28564         (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
28565         In a mime message, reenable Mime and show the parts that
28566         were shown before.
28567         Add keyword "decrypt" if anything decrypted.
28569         epa-inhibit inhibits auto-recognition of .gpg files
28570         * lisp/epa-file.el (epa-inhibit): New variable.
28571         (epa-file-handler): Check epa-inhibit.
28573 2015-08-12  Artur Malabarba  <bruce.connor.am@gmail.com>
28575         * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
28577 2015-08-11  Fabián Ezequiel Gallina  <fgallina@gnu.org>
28579         Respect python.el imenu when semantic-mode is off
28580         Fixes bug#21220
28581         * lisp/cedet/semantic/wisent/python.el: Do not force
28582         wisent-python-default-setup on python-mode-hook.
28584 2015-08-11  Paul Eggert  <eggert@cs.ucla.edu>
28586         Give names to Unicode code points in C code
28587         * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
28588         (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
28589         (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
28590         (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
28591         (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
28592         (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
28593         (OBJECT_REPLACEMENT_CHARACTER):
28594         New named constants for Unicode code points.
28595         * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
28596         * src/composite.c (char_composable_p):
28597         * src/lread.c (readevalloop, read1):
28598         * src/xdisp.c (get_next_display_element):
28599         Use them.
28600         * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
28601         Remove; now in character.h.
28603 2015-08-11  Stephen Leake  <stephen_leake@stephe-leake.org>
28605         elisp--xref-find-definitions handle cl-defstuct default constructor
28606         * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
28607         (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
28608         (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
28609         * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
28610         from xref-elisp-test for ease of debugging.
28611         (xref-elisp-deftest): Rename from xref-elisp-test.
28612         (find-defs-constructor): New test.
28613         (find-defs-defgeneric-el): Match batch test config.
28614         (compile): Required for find-defs compilation-minor-mode test.
28615         (find-defs-defvar-el): Match code change.
28616         (find-defs-face-el): Match code change.
28617         * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
28618         Improve doc string.
28620 2015-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
28622         * lisp/replace.el (perform-replace): Document `replacements'.
28623         (perform-replace): Move the description of the format of `replacements'
28624         from the body's comment to the doc string.
28626 2015-08-11  Jürgen Hötzel  <juergen@archlinux.org>
28628         * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
28629         sequence.  Recent adb version send initial escape sequences, even
28630         when terminal type is set to TERM=dumb.
28632 2015-08-10  Stephen Leake  <stephen_leake@stephe-leake.org>
28634         Rewrite elisp--xref-find-definitions to handle many more cases; add tests
28635         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
28636         Function deleted.
28637         (elisp--xref-format-cl-defmethod): New defconst.
28638         (find-feature-regexp, find-alias-regexp): New defcustoms.
28639         (elisp--xref-make-xref): New function.
28640         (elisp--xref-find-definitions): Rewrite using the above, handle many
28641         more cases.  Always output all available definitions.
28642         (xref-location-marker): No need for special cases.
28643         * test/automated/elisp-mode-tests.el: Add more tests of
28644         elisp--xref-find-definitions, improve current tests.
28646 2015-08-10  Eli Zaretskii  <eliz@gnu.org>
28648         Fix recording of events pushed onto unread-command-events
28649         * src/keyboard.c (read_char): Make sure events read from
28650         unread-command-events and unread-post-input-method-events are
28651         always recorded by record_char.  Reported by David Kastrup
28652         <dak@gnu.org>, see
28653         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
28655 2015-08-10  Samer Masterson  <samer@samertm.com>
28657         Set file buffer as current for "--file"
28658         * lisp/startup.el (command-line-1): Set file buffer as current before
28659         it is displayed so it can be used with options like "--eval".
28660         (Bug#21095)
28662 2015-08-10  Eli Zaretskii  <eliz@gnu.org>
28664         Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
28665         * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
28666         after setting LC_ALL to the desired locale, to avoid affecting how
28667         numbers are read and printed.  (Bug#21223)
28669 2015-08-10  Alan Mackenzie  <acm@muc.de>
28671         Fix "Invalid search bound (wrong side of point)" in fontification
28672         * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
28673         an initialization expression, check point is not beyond the
28674         fontification limit.
28676 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
28678         Fix DPI calculation when Xft/DPI is default
28679         * src/xsettings.c (parse_settings): Don't use Xft/DPI default
28680         value of -1, which evaluates to 2**32 - 1 (Bug#21152).
28681         Remove unnecessary cast while we're in the neighborhood.
28683 2015-08-09  Dmitry Gutov  <dgutov@yandex.ru>
28685         Add project-vc-search-path and project-vc-ignores
28686         * lisp/progmodes/project.el (project-vc): New group.
28687         (project-vc-search-path, project-vc-ignores): New variables.
28688         (project--value-in-dir): Utility function.
28689         (project-search-path, project-ignores): Use them.
28690         * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
28691         at bos.  Don't add extra `/'.  Don't prepend with `*' if replaced.
28693 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
28695         Fix some minor quoting issues with grave accent
28696         * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
28697         Remove redundant quotes.
28698         * src/doc.c (uLSQM, uRSQM): New macros.
28699         * src/doc.c (Fsubstitute_command_keys):
28700         * src/syntax.c (Finternal_describe_syntax_value): Follow the user
28701         preference for quotes rather than hardcoding the ‘grave’ style.
28702         * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
28703         (re_match_2_internal) [DEBUG]: In debugging output, quote C
28704         strings with "...", not `...'.
28706         ChangeLog.2 ignores remote-tracking merges
28707         * build-aux/gitlog-to-emacslog: Ignore commit logs matching
28708         "Merge remote-tracking branch '.*'" too.  See Eli Zaretskii in:
28709         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
28711 2015-08-09  Nicolas Richard  <youngfrog@members.fsf.org>
28713         Use kpsewhich in ffap-latex-mode, if available
28714         * lisp/ffap.el (ffap-latex-guess-rules): New variable.
28715         (ffap-latex-mode): Use kpsewhich if available.
28717         ffap: disallow braces in filenames for tex modes
28718         * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
28719         braces in tex-related modes.
28721         Remove useless backslashes from ffap-string-at-point-mode-alist
28722         * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
28723         misleading backslashes from default value.
28725         Augment docstring of ffap-string-at-point-mode-alist
28726         * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
28727         and END are handled.
28729 2015-08-09  Paul Eggert  <eggert@cs.ucla.edu>
28731         * lisp/org/org-src.el (org-edit-src-code)
28732         (org-edit-fixed-width-region):
28733         * lisp/simple.el (completion-setup-function):
28734         Remove calls to substitute-command-keys that always just return
28735         their argument.
28737 2015-08-09  Daiki Ueno  <ueno@gnu.org>
28739         * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
28740         (Bug#21210)
28742 2015-08-09  Ivan Kanis  <ivan@kanis.fr>
28744         Fix link to source code in help window
28745         * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
28746         will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
28747         'No longer include timestamp in header of .elc files'.  Add code
28748         that will return .el source file in load-path.
28750 2015-08-09  Artur Malabarba  <bruce.connor.am@gmail.com>
28752         * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
28753         Respect `isearch-lax-whitespace' when searching through
28754         `isearch-word'.
28756 2015-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
28758         * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
28760         * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
28761         * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
28762         (org-set-regexps-and-options, org-assign-fast-keys)
28763         (org-contextualize-keys, org-contextualize-validate-key)
28764         (org-notes-order-reversed-p, org-local-logging, org-map-entries)
28765         (org-find-olp, org-find-exact-heading-in-directory)
28766         (org-cycle-agenda-files, org-release-buffers, org-fill-template)
28767         (org-agenda-prepare-buffers, org-occur-in-agenda-files)
28768         (org-replace-escapes): Use dolist.
28769         (org-mode): Optimize away XEmacs-only code.
28770         (org-refile-get-targets): Remove unused var `f'.
28771         (org-fast-todo-selection): Remove unused var `e'.
28772         (org-make-tags-matcher): Use dolist.  Remove unused var `term'.
28773         (org-fast-tag-selection): Use dolist.  Remove unused var `e'.
28774         (org-format-latex): Use dolist.  Remove unused var `e'.
28775         (org-toggle-heading): Access vars lexically rather than dynamically.
28776         (org-backward-sentence, org-forward-sentence, org-meta-return)
28777         (org-kill-line): Mark arg as unused.
28778         (org-submit-bug-report): Silence compiler warning.
28779         (org-occur-in-agenda-files): Don't use add-to-list on local vars.
28780         (org-get-cursor-date): Remove unused var `tm'.
28781         (org-comment-or-uncomment-region): Use standard name `_'.
28782         (reftex-docstruct-symbol, reftex-cite-format): Declare to
28783         silence byte-compiler.
28784         (org-reftex-citation): Add `org--' prefix to dynamically scoped
28785         `rds' var.
28787 2015-08-08  Paul Eggert  <eggert@cs.ucla.edu>
28789         Electric quote if coding is undecided or no conv
28790         * lisp/electric.el (electric--insertable-p): Also say that a
28791         string is insertable if the buffer file coding system is undecided
28792         or uses no conversion, as curved quotes will work in either case.
28794         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
28796 2015-08-08  Eli Zaretskii  <eliz@gnu.org>
28798         Fix overlay string display regressions introduced in Emacs 24.5
28799         * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
28800         buffer position, if we move the iterator to a new position as
28801         result of jumping over text covered by a "replacing" display
28802         property.
28803         * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
28805         Support recovery from C stack overflow on MS-Windows
28806         * src/w32fns.c (w32_reset_stack_overflow_guard)
28807         (stack_overflow_handler): New functions for handling C stack
28808         overflow exceptions.
28809         (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
28810         specially, and zero out except_addr if we do.
28811         (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
28812         mode.
28813         * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
28814         the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
28815         the MinGW build, but the code guarded by that is for Posix hosts.
28816         * src/keyboard.c (command_loop) [WINDOWSNT]:
28817         Call w32_reset_stack_overflow_guard.
28818         * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
28819         (sigsetjmp): New macro.
28820         (w32_reset_stack_overflow_guard): Declare the prototype.
28821         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
28823 2015-08-07  Phillip Lord  <phillip.lord@newcastle.ac.uk>
28825         Improve error signalling for seq-subseq
28826         * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
28827         when indexes are too large, but to silently ignore numbers which
28828         are too negative for lists.  String and vector handling errors in
28829         both cases.  This has been regularized.  Error signaling behavior
28830         has been explicitly added to the doc string.
28832         * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
28833         therefore also impacted by this change.  Update the doc string
28834         to reflect this.
28836         * test/automated/seq-tests.el (test-seq-subseq): Tests have been
28837         added for these exceptional cases, as well as one non exceptional
28838         base case.
28840 2015-08-07  Jürgen Hötzel  <juergen@archlinux.org>
28842         Improve error checking in tramp-adb.el
28843         * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
28844         Improve error checking.  "ls -l" on Android in Enforcing mode can
28845         print "lstat './FILENAME failed: Permission denied".
28847 2015-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
28849         * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
28850         non-struct vectors.
28852 2015-08-07  Stephen Leake  <stephen_leake@stephe-leake.org>
28854         Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
28855         * lisp/window.el: Fix typo that broke build.
28856         (display-buffer--action-function-custom-type):
28857         Add `display-buffer-use-some-frame'.
28858         (display-buffer): Add `display-buffer-use-some-frame' to doc string.
28860         Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
28861         * lisp/window.el (display-buffer-use-some-frame): Add support for
28862         'inhibit-same-window in alist.
28863         * doc/lispref/windows.texi (display-buffer-use-some-frame):
28864         Doc support for 'inhibit-same-window in alist.
28866 2015-08-07  Eli Zaretskii  <eliz@gnu.org>
28868         Avoid infinite loop in display of invisible text in strings
28869         * src/xdisp.c (handle_invisible_prop): If the next change of
28870         invisibility spec does not mean the beginning of a visible text,
28871         update the string position from which to start the search for the
28872         next invisibility change.  This avoids an infinite loop when we
28873         have more than one invisibility spec that are made inactive by
28874         buffer-invisibility-spec.  Simplify code.  (Bug#21200)
28875         * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
28876         for the situation that caused bug #21200.
28878 2015-08-06  Artur Malabarba  <bruce.connor.am@gmail.com>
28880         * lisp/emacs-lisp/package.el: Simplify describe-package-1
28881         (package-help-section-name-face): New face.
28882         (package--print-help-section): New function.
28883         (describe-package-1): Refactor section printing.
28884         (package-make-button): Use face instead of font-lock-face, which
28885         doesn't work on buttons.
28887         * lisp/emacs-lisp/package.el: Define custom faces
28888         (package-name-face, package-description-face)
28889         (package-status-built-in-face, package-status-external-face)
28890         (package-status-available-face, package-status-new-face)
28891         (package-status-held-face, package-status-disabled-face)
28892         (package-status-installed-face, package-status-dependency-face)
28893         (package-status-unsigned-face, package-status-incompat-face)
28894         (package-status-avail-obso-face): New faces.
28895         (package-menu--print-info-simple): Use them.
28897 2015-08-05  Paul Eggert  <eggert@cs.ucla.edu>
28899         Fix some confusion with ‘format’
28900         * lisp/allout-widgets.el (allout-widgets-before-change-handler)
28901         (allout-graphics-modification-handler):
28902         Protect arbitrary string in a format context with "%s" format.
28903         * lisp/avoid.el:
28904         * lisp/cedet/semantic/bovine/scm.el: Fix comment.
28905         * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
28906         * lisp/erc/erc-button.el (erc-button-beats-to-time):
28907         * lisp/gnus/message.el (message-send-form-letter):
28908         * lisp/org/ob-core.el (org-babel-check-evaluate)
28909         (org-babel-confirm-evaluate):
28910         * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
28911         * lisp/org/ox-latex.el (org-latex-compile):
28912         * lisp/org/ox-man.el (org-man-compile):
28913         * lisp/org/ox-odt.el (org-odt-template):
28914         * lisp/org/ox-texinfo.el (org-texinfo-compile):
28915         * lisp/progmodes/prolog.el (prolog-help-info)
28916         (prolog-view-predspec):
28917         * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
28918         * lisp/progmodes/verilog-mode.el (verilog-showscopes):
28919         * lisp/textmodes/rst.el (rst-replace-lines):
28920         Change (message (format ...)) to (message ...), and likewise
28921         for ‘error’.  This lessens the probability of confusion when the
28922         output of ‘format’ contains ‘%’.
28924 2015-08-05  Artur Malabarba  <bruce.connor.am@gmail.com>
28926         * lisp/replace.el (replace-character-fold): Default to nil.
28928         * lisp/character-fold.el: Fix lax whitespace.
28929         (character-fold-table): Don't make space match other whitespace chars.
28930         (character-fold-to-regexp): Simplify lax behavior.
28932 2015-08-05  Dmitry Gutov  <dgutov@yandex.ru>
28934         Preserve window point in xref-find-definitions-other-window
28935         Fix the problem reported by Ingo Logmar in
28936         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
28937         * lisp/progmodes/xref.el (xref--goto-char): Extract from
28938         xref--goto-location.
28939         (xref--pop-to-location): Use it.  Replace xref--goto-location with
28940         a direct xref-location-marker call.
28941         (xref--show-location): Likewise.
28942         (xref--display-position): Use xref--goto-char.
28944         * lisp/progmodes/project.el: Add a paragraph to the front matter.
28946 2015-08-04  David Kastrup  <dak@gnu.org>
28948         * lisp/vc/emerge.el (emerge-show-file-name):
28949         * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
28950         (vhdl-comment-insert, vhdl-hooked-abbrev):
28951         * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
28952         * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
28953         * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
28954         * lisp/progmodes/cperl-mode.el (cperl-putback-char):
28955         * lisp/obsolete/vip.el (vip-escape-to-emacs)
28956         (vip-prefix-arg-value, vip-prefix-arg-com):
28957         * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
28958         * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
28959         (quail-tibkey-update-translation):
28960         * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
28961         * lisp/leim/quail/lao.el (quail-lao-update-translation):
28962         * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
28963         (quail-japanese-self-insert-and-switch-to-alpha):
28964         * lisp/leim/quail/hangul.el (hangul2-input-method)
28965         (hangul3-input-method, hangul390-input-method):
28966         * lisp/language/hanja-util.el (hangul-to-hanja-char):
28967         * lisp/international/robin.el (robin-input-method):
28968         * lisp/international/quail.el (quail-start-translation)
28969         (quail-start-conversion):
28970         * lisp/gnus/gnus-art.el (gnus-article-describe-key)
28971         (gnus-article-describe-key-briefly):
28972         * lisp/eshell/em-hist.el (eshell-list-history):
28973         * lisp/term.el (term-dynamic-list-input-ring)
28974         (term-dynamic-list-completions):
28975         * lisp/subr.el (momentary-string-display):
28976         * lisp/simple.el (read-quoted-char):
28977         * lisp/pcomplete.el (pcomplete-show-completions):
28978         * lisp/kmacro.el (kmacro-repeat-on-last-key):
28979         * lisp/info.el (Info-summary):
28980         * lisp/ehelp.el (electric-help-command-loop):
28981         * lisp/ebuff-menu.el (electric-buffer-list)
28982         (Electric-buffer-menu-exit):
28983         * lisp/double.el (double-translate-key):
28984         * lisp/comint.el (comint-dynamic-list-input-ring)
28985         (comint-dynamic-list-completions): Do not overwrite preexisting
28986         contents of `unread-command-events' when putting new events into it.
28988 2015-08-04  Daniel Colascione  <dancol@dancol.org>
28990         Improve ansi-color filtering of unrecognized escape sequences
28991         * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
28992         escape sequences.
28993         (ansi-color-filter-apply, ansi-color-apply): Filter out
28994         unrecognized escape sequences.
28996 2015-08-04  Artur Malabarba  <bruce.connor.am@gmail.com>
28998         * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
28999         definitions to `easy-menu-define', improve a couple to account for
29000         async, and add a couple of new commands.
29002 2015-08-03  Jürgen Hötzel  <juergen@archlinux.org>
29004         * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
29006 2015-08-03  Ingo Lohmar  <i.lohmar@gmail.com>
29008         Add new 'calendar-weekend-days' option
29009         Make the days receiving the 'calendar-weekend-header' face freely
29010         customizable, as they differ by region/culture.
29011         * doc/emacs/calendar.texi (Move to Beginning or End): Document the
29012         new variable.
29013         * lisp/calendar/calendar.el (calendar-generate-month): New variable
29014         calendar-weekend-days to customize day header fontification.
29016 2015-08-03  Paul Eggert  <eggert@cs.ucla.edu>
29018         Redo text-quoting-style variable
29019         Rename help-quote-translation to text-quoting-style,
29020         and use symbols rather than characters as values.
29021         This follows suggestions along these lines by Alan Mackenzie in:
29022         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
29023         and by Drew Adams in:
29024         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
29025         * doc/lispref/help.texi (Keys in Documentation)
29026         * etc/NEWS:
29027         * lisp/cus-start.el (standard):
29028         * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
29029         Document and/or implement the new behavior instead of the old.
29030         (syms_of_doc): New symbols 'grave' and 'straight'.
29032 2015-08-03  Nikolaus Rath  <Nikolaus@rath.org>
29034         nnimap.el: Use IMAP MOVE extension if available
29035         * lisp/gnus/nnimap.el (nnimap-request-move-article)
29036         (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
29037         Use MOVE extension if available.
29039         nnimap.el: Explicitly ask for server capabilities
29040         * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
29041         capabilities will be returned in the login-result.
29043 2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>
29045         Treat help strings like other doc strings
29046         * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
29047         * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
29048         substitute-command-keys.
29049         * src/keyboard.c (show_help_echo, parse_menu_item): Call
29050         substitute-command-keys on the help string before displaying it.
29052         Also mention "curly quotes"
29053         See Drew Adams's email in:
29054         http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
29055         * doc/lispref/help.texi (Keys in Documentation):
29056         Add index entry "curly quotes".
29057         * etc/NEWS: Use the phrase "curly quotes" too.
29059         ede-proj-target-makefile docstring tweaks
29060         * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
29061         Consistently use "all:" to describe the all: target,
29062         replacing three different and confusingly-quoted usages.
29064 2015-08-02  Evgeny Fraimovitch  <johnlen7@gmail.com>  (tiny change)
29066         Don't abort emacsclientw when -a was specified
29067         * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
29068         out if we are in emacsclientw and -a was specified.
29070 2015-08-02  Eli Zaretskii  <eliz@gnu.org>
29072         Fix handling of 1st keystroke on MS-Windows
29073         * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
29074         This is needed to correctly handle the session's first keystroke,
29075         if it has any modifiers.  (Bug#19994)
29077 2015-08-02  Paul Eggert  <eggert@cs.ucla.edu>
29079         Substitute some customization etc. doc strings
29080         These changes apply substitute-command-keys to some
29081         doc strings that were going through untranslated
29082         when creating customization or other widgets.
29083         * lisp/cus-edit.el (custom-group-value-create):
29084         * lisp/wid-edit.el (widget-default-create):
29085         (widget-push-button-value-create):
29086         Treat the widget tag as a doc string.
29087         * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
29088         Treat the :documentation value as a doc string.
29089         * lisp/wid-edit.el (widget-choose):
29090         Treat the choice names as doc strings.
29091         (widget-default-create): Treat the :doc value as a doc string.
29092         (widget-toggle-value-create): Treat the :on and :off values
29093         as doc strings.
29094         (widget-documentation-string-value-create):
29095         Substitute the doc string.
29097 2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>
29099         Add a second argument to project-ignores
29100         * lisp/progmodes/project.el (project-ignores): Add a second
29101         argument DIR.
29102         * lisp/progmodes/project.el (project-ignores): Only include the VC
29103         ignores if DIR is the VC root.
29104         * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
29106 2015-08-01  Eli Zaretskii  <eliz@gnu.org>
29108         Prevent incorrect display when 'line-spacing' variable is set
29109         * src/xdisp.c (try_window_id): Give up this optimization if the
29110         buffer has its 'line-spacing' variable set non-nil.
29112 2015-08-01  Dmitry Gutov  <dgutov@yandex.ru>
29114         Don't pass NOVISIT to find-file
29115         * lisp/progmodes/etags.el (next-file):
29116         Don't pass NOVISIT to find-file (bug#21175).
29118         Ignore buffer restriction for tags-loop-eval
29119         * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
29120         restriction (bug#21167).
29122 2015-08-01  Eli Zaretskii  <eliz@gnu.org>
29124         Fix a thinko in 'ffap-gopher-at-point'
29125         * lisp/ffap.el (ffap-gopher-at-point): Fix last change.  (Bug#21168)
29127         Honor 'line-spacing' for empty lines
29128         * src/xdisp.c (append_space_for_newline): Honor 'line-height'
29129         property and 'line-spacing' frame parameter or variable or
29130         property for empty lines, by doing the same processing as in
29131         x_produce_glyph for newline characters.  (Bug#21165)
29133 2015-08-01  Paul Eggert  <eggert@cs.ucla.edu>
29135         Simplify by assuming C99 integer division
29136         * src/floatfns.c (ceiling2, floor2, truncate2):
29137         Assume C99 (i.e., Fortran) semantics for integer division.
29138         This simplifies the code.
29140 2015-07-31  Paul Eggert  <eggert@cs.ucla.edu>
29142         Don't overflow if computing approximate percentage
29143         * lisp/align.el (align-region):
29144         * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
29145         * lisp/cedet/semantic/wisent.el (wisent-parse-region):
29146         * lisp/cus-edit.el (custom-buffer-create-internal):
29147         * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
29148         (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
29149         (checkdoc-next-message-error):
29150         * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
29151         * lisp/epa.el (epa-progress-callback-function):
29152         * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
29153         * lisp/ffap.el (ffap-menu-rescan):
29154         * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
29155         * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
29156         * lisp/gnus/nneething.el (nneething-retrieve-headers):
29157         * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
29158         * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
29159         * lisp/gnus/nnml.el (nnml-retrieve-headers):
29160         * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
29161         * lisp/gnus/nntp.el (nntp-retrieve-headers)
29162         (nntp-retrieve-articles):
29163         * lisp/imenu.el (imenu--relative-position):
29164         * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
29165         (skkdic-convert-okuri-nasi):
29166         * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
29167         * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
29168         * lisp/org/org-list.el (org-update-checkbox-count):
29169         * lisp/org/org.el (org-table-map-tables)
29170         (org-update-parent-todo-statistics):
29171         * lisp/play/decipher.el (decipher-insert-frequency-counts)
29172         (decipher-analyze-buffer):
29173         * lisp/profiler.el (profiler-format-percent):
29174         * lisp/progmodes/cc-cmds.el (c-progress-update):
29175         * lisp/progmodes/cpp.el (cpp-highlight-buffer):
29176         * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
29177         (idlwave-list-load-path-shadows):
29178         * lisp/progmodes/opascal.el (opascal-step-progress):
29179         * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
29180         (vhdl-scan-directory-contents):
29181         * lisp/textmodes/bibtex.el (bibtex-progress-message):
29182         * lisp/textmodes/flyspell.el (flyspell-small-region)
29183         (flyspell-external-point-words):
29184         * lisp/textmodes/table.el (table-recognize):
29185         Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
29186         progress-report percentages and the like.  This avoids problems
29187         if (* 100 NUMERATOR) would overflow.
29188         * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
29189         * lisp/gnus/registry.el (registry-reindex):
29190         Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
29191         * lisp/descr-text.el (describe-char):
29192         * lisp/org/org-colview.el (org-nofm-to-completion):
29193         * lisp/ps-print.el (ps-plot):
29194         * lisp/simple.el (what-cursor-position):
29195         Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
29196         more-complicated and less-accurate approximation.
29198         Fix some int overflows in profiler.c
29199         * src/profiler.c (make_log): Make args EMACS_INT, not int,
29200         to avoid unwanted behavior on 'int' overflow.
29201         (make_log, evict_lower_half, record_backtrace):
29202         Use ptrdiff_t, not int, for object indexes.
29204         Port to pedantic memcpy
29205         * src/keyboard.c (menu_bar_items, tool_bar_items):
29206         * src/xrdb.c (magic_db):
29207         Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
29209         Merge from gnulib
29210         This incorporates:
29211         2015-07-29 time_rz: port to pedantic memcpy
29212         * lib/time_rz.c: Copy from gnulib.
29214 2015-07-31  Artur Malabarba  <bruce.connor.am@gmail.com>
29216         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
29217         When updating the very last entry, tabulated-list-print would
29218         erase it and then try to look at the next one (which obviously
29219         isn't there).
29221 2015-07-31  Eli Zaretskii  <eliz@gnu.org>
29223         Allow to use the old key processing code on MS-Windows
29224         * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
29225         New variable.
29226         (w32_wnd_proc): Use it to invoke the old code that processed
29227         character keys, as fallback, when this variable is non-nil.
29228         Fix typos in comments.  (Bug#19994)
29230 2015-07-31  Ilya Zakharevich  <ilya@math.berkeley.edu>
29232         Improve handling of Unicode keyboard input on MS-Windows
29233         * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
29234         (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
29235         (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
29236         upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages.  If that is
29237         successful, don't call TranslateMessage.  (Bug#19994)
29239 2015-07-30  Dmitry Gutov  <dgutov@yandex.ru>
29241         Fix default-directory in changeset diffs after vc-print-log
29242         * lisp/vc/log-view.el (log-view-diff-common): Move the
29243         revision-granularity check back into log-view-diff-changeset.
29244         (log-view-diff-changeset): Bind default-directory to the current
29245         VC root.
29247         Rename project-directories to project-roots
29248         * lisp/progmodes/project.el (project-search-path-function)
29249         (project-search-path): Update the docstring.
29250         (project-directories): Rename to `project-roots', update all
29251         callers and implementations accordingly.
29252         (project-root): Remove.
29253         * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
29254         as the default file mask.
29256 2015-07-30  Eli Zaretskii  <eliz@gnu.org>
29258         Support long URLs in w32-shell-execute
29259         * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
29260         and filename_to_ansi to convert the DOCUMENT argument, as it could
29261         be a URL that is not limited to MAX_PATH characters.  Instead, use
29262         MultiByteToWideChar directly, and allocate heap storage as
29263         required to accommodate the converted string.  Likewise with
29264         non-Unicode operation.  Ensure OPERATION is null-terminated, even
29265         if it is longer than 32K bytes.  (Bug#21158)
29267 2015-07-30  Stephen Leake  <stephen_leake@stephe-leake.org>
29269         * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
29271 2015-07-29  Stephen Leake  <stephen_leake@stephe-leake.org>
29273         Add docs for display-buffer action display-buffer-use-some-frame
29274         * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
29275         * doc/lispref/windows.texi (Display Action Functions):
29276         Add display-buffer-use-some-frame.
29277         * etc/NEWS: Mention display-buffer-use-some-frame.
29279         Add display-buffer action display-buffer-use-some-frame
29280         * lisp/window.el (display-buffer-use-some-frame): New.
29282         Handle vc-mtn error more gently
29283         * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
29284         branch is nil.
29286 2015-07-29  Michael Albinus  <michael.albinus@gmx.de>
29288         Fix Tramp problems with multihops, and nc
29289         * lisp/net/tramp-cache.el (tramp-get-file-property)
29290         (tramp-set-file-property, tramp-flush-file-property)
29291         (tramp-get-connection-property, tramp-set-connection-property)
29292         (tramp-flush-connection-property): Remove hop from vector.
29293         * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
29294         * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
29295         (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
29296         netstat to 60".
29297         (tramp-sh-handle-start-file-process): Do not show hops in prompt.
29298         * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
29299         (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
29300         Keep hop in result.
29301         * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
29302         Add hop tests.
29304 2015-07-29  Eli Zaretskii  <eliz@gnu.org>
29306         Resurrect highlighting of repeated words by Flyspell Mode
29307         * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
29308         characters between point and the doublon candidate, so that
29309         flyspell-word-search-backward finds it.  (Bug#21157)
29311         Fix redisplay of large images on expose events
29312         * src/xdisp.c (expose_window, expose_area): Avoid comparisons
29313         between signed negative values and unsigned values.  This
29314         prevented redisplay on expose events when the window showed a very
29315         large image.
29317 2015-07-29  Paul Eggert  <eggert@cs.ucla.edu>
29319         Remove unnecessary stack overflow dependency
29320         * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
29321         Don't worry about $ac_cv_header_sys_resource_h and
29322         $ac_cv_func_getrlimit, as they're no longer needed for this.
29323         Problem reported by Eli Zaretskii in:
29324         http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
29326 2015-07-28  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)
29328         Pacify compilation -Wincompatible-pointer-types warnings
29329         * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
29330         warning.
29331         (CompareStringW_Proc): New typedef.
29332         (w32_compare_strings): Use it, to pacify compiler warnings under
29333         "-Wincompatible-pointer-types".
29334         * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
29335         (GetDiskFreeSpaceExA_Proc): New typedefs.
29336         (Ffile_system_info): Use them, to pacify compiler warnings under
29337         "-Wincompatible-pointer-types".
29339 2015-07-28  Paul Eggert  <eggert@cs.ucla.edu>
29341         Fix subscript error in calculate_direct_scrolling
29342         Use slightly-longer cost vectors.  Without this change,
29343         calculate_direct_scrolling can have a subscript violation when
29344         FRAME_LINES (frame) <= delta.
29345         * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
29346         (line_ins_del, do_line_insertion_deletion_costs):
29347         Allocate and use slightly-larger cost vectors, ones based on
29348         FRAME_TOTAL_LINES instead of FRAME_LINES.
29350         Fix uninitalized value in encode_coding_object
29351         * src/coding.c (encode_coding_object): Also initialize
29352         coding->src_pos and coding->src_pos_byte when NILP (src_object).
29353         This avoids later use of uninitialized storage.
29355 2015-07-27  Xue Fuqiao  <xfq.free@gmail.com>
29357         * doc/lispref/variables.texi (Variable Aliases): Typo fix.
29358         (Bug#21141)
29360 2015-07-27  Paul Eggert  <eggert@cs.ucla.edu>
29362         Merge from gnulib
29363         This incorporates:
29364         2015-07-27 time_rz: port better to MinGW
29365         2015-07-27 time: port __need_time_t to MinGW
29366         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
29367         * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
29368         * lib/time-internal.h: New file, from gnulib.
29370 2015-07-27  Eli Zaretskii  <eliz@gnu.org>
29372         Handle NULL pointers in w32heap.c allocation routines
29373         * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
29374         freeable".
29375         (realloc_after_dump, realloc_before_dump, free_before_dump):
29376         Handle NULL pointers gracefully, as Emacs now seems to expect that.
29378         Fix Cairo build without PNG
29379         * src/image.c: Define PNG function when USE_CAIRO is defined, even
29380         if HAVE_PNG is not.  (Bug#21133)
29382         MS-Windows follow-up for recent TZ-related changes
29383         * nt/mingw-cfg.site (ac_cv_header_pthread_h)
29384         (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
29385         picking up 'struct timespec' from pthread.h, if it is installed on
29386         the user's system.  We want either the definitions from MinGW
29387         system headers, if available, or the Gnulib replacements if not.
29388         * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
29389         lib/time.h.
29390         * lib/time.in.h: Don't let __need_* symbols affect what happens on
29391         MinGW.  These symbols are defined by MinGW system headers, but we
29392         don't want that to affect whether Gnulib portions of the header
29393         are or aren't used.
29395 2015-07-26  Paul Eggert  <eggert@cs.ucla.edu>
29397         * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
29399         New optional ZONE arg for format-time-string etc.
29400         This simplifies time conversions in other time zones.
29401         It also prevents display-time-world tampering with TZ (Bug#21020).
29402         * admin/admin.el (add-release-logs):
29403         Use improved add-log-time-format API.
29404         * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
29405         (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
29406         * configure.ac (tzalloc): Remove test for this, since
29407         Emacs no longer uses HAVE_TZALLOC directly.
29408         * doc/lispref/os.texi (Time of Day, Time Conversion)
29409         (Time Parsing):
29410         * etc/NEWS: Document the new behavior.
29411         Merge from gnulib, incorporating:
29412         2015-07-25 strftime: fix newly-introduced bug on Solaris
29413         2015-07-23 fprintftime, strftime: use timezone_t args
29414         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
29415         * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
29416         * m4/time_h.m4:
29417         Update from gnulib.
29418         * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
29419         New files from gnulib.
29420         * lisp/time-stamp.el (time-stamp-string):
29421         * lisp/time.el (display-time-world-list)
29422         (display-time-world-display):
29423         Use new API, with time zone arg.
29424         * lisp/time.el (display-time-world-display):
29425         Fix race when current-time advances while we're running.
29426         * lisp/vc/add-log.el (add-log-iso8601-time-zone)
29427         (add-log-iso8601-time-string): Accept optional time zone arg.
29428         * lisp/vc/add-log.el (add-change-log-entry):
29429         * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
29430         * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
29431         Add rules for the time module, since they're now needed
29432         for tzalloc etc.
29433         * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
29434         (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
29435         * src/editfns.c: Include errno.h.
29436         (set_time_zone_rule): Omit unnecessary forward decl.
29437         (initial_tz): Remove, replacing with ...
29438         (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
29439         (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
29440         (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
29441         (tzlookup): New static functions.
29442         (init_editfns): New arg DUMPING.  All uses changed.
29443         (init_editfns): Omit most initialization if dumping, not if
29444         !initialized.  Initialize wall_clock_tz and local_tz.
29445         (emacs_nmemftime, format_time_string): Time zone argument can now
29446         be any time zone, not just a boolean for UTC or local time.  All
29447         callers changed.
29448         (Fformat_time_string, Fencode_time, Fcurrent_time_string)
29449         (Fcurrent_time_zone): New optional arg ZONE.
29450         (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
29451         the same form as with the other new additions.
29452         (decode_time_zone): Remove; no longer needed.
29453         (tzvalbuf): Now file-scope.
29454         (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
29455         (syms_of_editfns): Define Qwall.
29456         * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
29457         * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
29458         [!HAVE_TZALLOC]:
29459         Remove; now supplied by gnulib.
29460         * src/emacs.c (main):
29461         * src/lisp.h (init_editfns): Adjust to init_editfns API change.
29463 2015-07-26  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
29465         Fix infinite loop in delete-consecutive-dups
29466         * lisp/subr.el (delete-consecutive-dups): Work even if the last
29467         element is nil (Bug#20588).  Avoid rescan of a circular list in
29468         deletion of last element.
29470 2015-07-26  Martin Rudalics  <rudalics@gmx.at>
29472         Have `x-frame-geometry' return nil for terminal and initial
29473         frames (Bug#21132)
29474         * src/nsfns.m (Fx_frame_geometry):
29475         * src/xfns.c (Fx_frame_geometry): Return nil for initial and
29476         terminal frames.
29477         * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
29478         (Fx_frame_geometry): Return nil for terminal frames
29480 2015-07-26  HOSOYA Kei  <hosoyakei.free@gmail.com>  (tiny change)
29482         * etc/tutorials/TUTORIAL.ja: Improve translation.
29484 2015-07-25  Eli Zaretskii  <eliz@gnu.org>
29486         Avoid crashes when w32 GUI functions are called in -batch
29487         * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
29488         (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
29489         FRAME_W32_WINDOW for initial frame.  (Bug#21132)
29491         Fix flyspell-check-previous-highlighted-word
29492         * lisp/textmodes/flyspell.el
29493         (flyspell-check-previous-highlighted-word): Really accept a
29494         numeric argument, as the doc string describes.  Fix an off-by-one
29495         error in looking up overlays, so invocation with point immediately
29496         after a word would check that word.  Clarify the doc string as
29497         Suggested by N. Jackson <nljlistbox2@gmail.com>.  (Bug#21129)
29499 2015-07-24  Michael Albinus  <michael.albinus@gmx.de>
29501         Minor cleanup in tramp-tests.el
29502         * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
29503         Implement using the documented interface
29504         `tramp-connection-properties', rather than with internal functions.
29506 2015-07-24  Harald Hanche-Olsen  <hanche@math.ntnu.no>  (tiny change)
29508         Pass lambdas to `skeleton-read'
29509         * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
29510         * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
29511         lambdas to `skeleton-read' (bug#20386).
29513 2015-07-24  Eli Zaretskii  <eliz@gnu.org>
29515         * INSTALL (DETAILED BUILDING AND INSTALLATION):
29516         Mention --without-imagemagick.
29518         Don't require GUI frames and mouse for Flyspell menus
29519         * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
29520         (flyspell-emacs-popup): Require neither a GUI frame nor mouse
29521         support, since pop-up menus work with text terminals and can be
29522         controlled via the keyboard.
29524         Improve documentation of Flyspell commands
29525         * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
29526         can be invoked via the keyboard.  Mention those commands by name
29527         and add them to the fn index.  (Bug#21125)
29529 2015-07-23  Michael Albinus  <michael.albinus@gmx.de>
29531         Fix some Tramp problems with HP-UX
29532         * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
29533         Add "tab0" to stty call.
29534         * test/automated/tramp-tests.el (tramp-persistency-file-name):
29535         Set to nil.
29536         (tramp--test-hpux-p): New defun.
29537         (tramp--test-utf8): Use it.
29539 2015-07-22  Glenn Morris  <rgm@gnu.org>
29541         * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
29543 2015-07-22  Eli Zaretskii  <eliz@gnu.org>
29545         Fix point positioning in ffap-next-guess
29546         * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
29547         as our callers expect.  This was clobbered as part of fixing
29548         bug#5673.  (Bug#21107)
29549         (ffap-gopher-at-point): Set ffap-string-at-point-region.
29551 2015-07-22  Martin Rudalics  <rudalics@gmx.at>
29553         * lisp/window.el (even-window-sizes): Fix customization type.
29555         Optionally even widths of `display-buffer' windows.  (Bug#21100)
29556         * lisp/window.el (quit-restore-window): Restore width if
29557         requested.
29558         (display-buffer-record-window): Record width when window is
29559         reused and horizontally combined.
29560         (even-window-sizes): New option to allow evening window widths.
29561         (even-window-heights): Defalias to `even-window-sizes'.
29562         (window--even-window-heights): Rename to
29563         `window--even-window-sizes'.  Handle side-by-side windows.
29564         (display-buffer-use-some-window): Call `window--even-window-sizes'
29565         instead of `window--even-window-heights'.
29566         * lisp/help.el (resize-temp-buffer-window): Fix indentation.
29567         * doc/lispref/windows.texi (Choosing Window Options): Describe
29568         `even-window-sizes'.
29569         (Coordinates and Windows): Fix typo.
29571 2015-07-22  Stephen Leake  <stephen_leake@stephe-leake.org>
29573         Add file name to autoload error messages
29574         * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
29575         Add condition-case to add file name to error message.
29577 2015-07-22  Michael Albinus  <michael.albinus@gmx.de>
29579         * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
29580         Use 0.0.0.1 as test host.
29582 2015-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
29584         (advice--called-interactively-skip): Fix inf-loop (bug#21083)
29585         * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
29586         Fix inf-loop (bug#21083).
29588 2015-07-21  Glenn Morris  <rgm@gnu.org>
29590         * test/automated/package-test.el (package-test-signed):
29591         Update for recent changes.
29593         * test/automated/elisp-mode-tests.el
29594         (elisp-xref-finds-both-function-and-variable)
29595         (elisp-xref-finds-only-function-for-minor-mode):
29596         Update for recent xref name changes.
29598 2015-07-21  Dmitry Gutov  <dgutov@yandex.ru>
29600         Make eldoc timer non-repeatable
29601         * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
29602         non-repeatable.  Since it's on post-command hook, that just wasted
29603         CPU cycles.
29605 2015-07-21  Michael Albinus  <michael.albinus@gmx.de>
29607         Mention `tramp-connection-properties' in NEWS
29609         Sync with Tramp repository
29610         * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
29611         required prior changing its configuration.
29612         (Connection caching, Predefined connection information)
29613         (Remote shell setup): Fix typos.
29614         (Predefined connection information): Describe, how to overwrite
29615         parameters of `tramp-methods'.
29616         (Remote programs, Remote processes, Traces and Profiles):
29617         Simplify example.
29618         (Remote programs): Remove superfluous comment.
29619         * doc/misc/trampver.texi: Update release number.
29620         * lisp/net/tramp-cache.el (tramp-connection-properties):
29621         Adapt docstring.
29622         * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
29623         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
29624         (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
29625         "gvfs-mkdir -p ..." does not work robust.
29626         (tramp-gvfs-maybe-open-connection):
29627         Adapt `tramp-get-method-parameter' call.
29628         * lisp/net/tramp-sh.el (tramp-methods):
29629         Add `tramp-remote-shell-login' parameter where it fits.
29630         (tramp-get-remote-path): Use it.
29631         (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
29632         (all): Adapt `tramp-get-method-parameter' calls.
29633         * lisp/net/tramp.el (tramp-methods): Adapt docstring.
29634         (tramp-get-method-parameter): Replace argument METHOD by VEC.
29635         Check also for hits in `tramp-connection-properties'.  Adapt docstring.
29636         (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
29637         (all): Adapt `tramp-get-method-parameter' calls.
29638         * lisp/net/trampver.el: Update release number.
29639         * test/automated/tramp-tests.el (tramp--instrument-test-case):
29640         Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
29641         (tramp-test13-make-directory, tramp--test-adb-p)
29642         (tramp--test-smb-or-windows-nt-p): Simplify.
29643         (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
29644         (tramp--test-special-characters): Fix docstring.  Add gvfs and
29645         ftp tests.
29646         (tramp--test-utf8): Fix docstring.
29648 2015-07-20  Dmitry Gutov  <dgutov@yandex.ru>
29650         Add new xref-query-replace command
29651         * lisp/progmodes/xref.el (xref--match-buffer-bounds):
29652         New function, extracted from xref-pulse-momentarily.
29653         (xref-query-replace): New command.
29654         (xref--query-replace-1): New helper function.
29655         (xref--xref-buffer-mode-map): Add `r' binding.
29657 2015-07-20  Paul Eggert  <eggert@cs.ucla.edu>
29659         Simplify icalendar decoding of Z dates
29660         * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
29661         Simplify calculation of time strings with trailing "Z".
29663 2015-07-19  Dmitry Gutov  <dgutov@yandex.ru>
29665         Do not corrupt grep-find-ignored-files
29666         * lisp/progmodes/project.el (project-ignores): Change the order of
29667         the arguments to nconc, in order not to corrupt grep-find-ignored-files.
29669         Add xref-match-item, and use it
29670         * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
29671         (xref-file-location): Add reader for the column slot.
29672         (xref-match-item): New class.
29673         (xref-match-bounds): A method implementation for it.
29674         (xref-make-match): New constructor function.
29675         (xref--current-item): New private variable.
29676         (xref-pulse-momentarily): Use it.
29677         (xref--pop-to-location): Change the first argument to an xref
29678         item, instead of location, bind xref--current-item.
29679         Update all callers.
29680         (xref-next-line, xref-prev-line, xref--next-error-function)
29681         (xref--mouse-2): Look for the property `xref-item',
29682         instead of `xref-location'.
29683         (xref--item-at-point): Likewise.  This function replaces
29684         `xref-location-at-point'.  Update all callers.
29685         (xref--insert-xrefs): Add the `xref-item' text property, instead
29686         of `xref-location'.
29687         (xref--collect-match): Use xref-make-match.
29689         * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
29690         Update all references.
29692         * lisp/progmodes/xref.el (xref--xref): Rename the `description'
29693         slot to `summary'.
29695         vc-hg: Perform the print-log call asynchronously
29696         * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
29697         asynchronously (bug#21067).
29699         Add xref-after-jump-hook and xref-after-return-hook
29700         * lisp/progmodes/xref.el (xref-after-jump-hook)
29701         (xref-after-return-hook): New hooks.
29702         (xref-pulse-on-jump): Remove, in favor of the above.
29703         (xref-pulse-momentarily): Rename from xref--maybe-pulse.
29704         (xref--pop-to-location, xref--display-position)
29705         (xref-pop-marker-stack): Use the new hooks, as requested in
29706         http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
29708 2015-07-19  Bozhidar Batsov  <bozhidar@batsov.com>
29710         * lisp/progmodes/js.el (js-mode): Correct the lighter.
29712 2015-07-19  Leo Liu  <sdl.web@gmail.com>
29714         Fix a bug in cfengine3-mode
29715         * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
29716         eldoc-documentation-function.
29718 2015-07-18  Julien Danjou  <julien@danjou.info>
29720         sieve-mode: support "body" test command
29721         * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
29722         Add missing "body" test command.
29724 2015-07-18  Eli Zaretskii  <eliz@gnu.org>
29726         Fix info-apropos when the default encoding is Latin-N
29727         * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
29728         'undecided', so that it is set to the encoding of the Info file we
29729         are about to insert.  Otherwise, 'info-apropos' will fail to find
29730         some index nodes in some UTF-8 encoded files, if the buffer's
29731         previous encoding is Latin-N or some such.
29733 2015-07-18  Ivan Andrus  <darthandrus@gmail.com>
29735         * lisp/epg.el (epg--start): Check that gpgconf can be found
29736         before calling it.
29738         Expose more file types to OS X that Emacs understands
29739         * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
29740         sty, dtx, json, and org files.  Export UTIs for el, elc, and org files.
29742 2015-07-18  Eli Zaretskii  <eliz@gnu.org>
29744         Fix visual-order cursor movement when lines are truncated
29745         * src/xdisp.c (Fmove_point_visually): When lines are truncated,
29746         simulate display in a window of infinite width, to allow move_it_*
29747         functions reach positions outside of normal window dimensions.
29748         Remove code that tried to handle a subset of these situations by
29749         manual iteration of buffer text.  (Bug#17777)
29751         Fix following Info cross-references to anchors
29752         * lisp/info.el (Info-read-subfile): Add to the returned value the
29753         length of subfile preamble, after converting it to file's byte
29754         offset, as expected by the caller.  Use bufferpos-to-filepos.
29755         (Info-find-node-2): If searching for a node with a
29756         1000-character slop fails, try again with a 10000-character slop,
29757         to account for known bugs in Texinfo 5.0 and 5.1.  (Bug#21055)
29758         * lisp/international/mule-util.el (bufferpos-to-filepos): New
29759         function.
29760         * etc/NEWS: Mention bufferpos-to-filepos.
29762         Fix scrolling backwards on TTY frames under scroll-conservatively
29763         * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
29764         in moving backwards on TTY frames.  (Bug#21080)
29766 2015-07-17  Dmitry Gutov  <dgutov@yandex.ru>
29768         Consider a jsdoc tag to be a beginning of a paragraph as well
29769         * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
29770         consider a jsdoc tag to be a beginning of a paragraph as well.
29772 2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>
29774         * lisp/emacs-lisp/package.el: Fix warnings.
29776         * lisp/emacs-lisp/package.el (package-buffer-info):
29777         Add author and maintainers to `package-buffer-info'.
29779         * lisp/emacs-lisp/package.el: Many small changes.
29780         Replace all instances of 'face with 'font-lock-face.
29781         (describe-package-1): Improve some strings and move the summary
29782         up the list.
29783         (package-install-file): Update docstring.
29784         (package-menu-hide-package): Bind to `H'.
29786         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
29787         Fix error handling.
29789 2015-07-17  Paul Eggert  <eggert@cs.ucla.edu>
29791         Fix hang with large yanks This should fix the bug fixed by Mike
29792         Crowe's patch in:
29793         https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
29794         A problem in this area has been reported by several users; see
29795         Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
29796         This fix differs from Mike Crowe's patch in that it should avoid a
29797         race condition that could lose SIGIO signals.  ignore_sigio dates
29798         back to the 1980s when some platforms couldn't block signals, and
29799         could only ignore them, which led to races when signals arrived
29800         while being ignored.  We shouldn't have to worry about those old
29801         platforms now.
29802         * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
29803         * src/emacs.c (shut_down_emacs):
29804         Don't call ignore_sigio; unrequest_sigio should suffice.
29805         * src/keyboard.c (kbd_buffer_store_buffered_event):
29806         Use unrequest_sigio, not ignore_sigio.
29807         (kbd_buffer_get_event):
29808         Call request_sigio when getting the ball rolling again.
29810 2015-07-17  Artur Malabarba  <bruce.connor.am@gmail.com>
29812         * lisp/obsolete/longlines.el (longlines-search-function):
29813         Fallback on `isearch-search-fun-default'.
29815 2015-07-17  Tassilo Horn  <tsdh@gnu.org>
29817         Support @-mentions
29818         * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
29819         of mentions/messages with @nick instead of just nick.
29821 2015-07-16  Michael Albinus  <michael.albinus@gmx.de>
29823         Fix bug#20943
29824         * lisp/autorevert.el (auto-revert-handler): Do not check for
29825         `buffer-modified-p'.
29826         * lisp/files.el (buffer-stale--default-function): Check for
29827         `buffer-modified-p'.
29828         * test/automated/auto-revert-tests.el
29829         (auto-revert-test02-auto-revert-mode-dired): Adapt test.
29831 2015-07-16  Ari Roponen  <ari.roponen@gmail.com>
29833         Fix delete-dups bug on long lists
29834         * lisp/subr.el (delete-dups):
29835         Don't mistakenly keep some dups when applied to long lists.
29837 2015-07-16  Paul Eggert  <eggert@cs.ucla.edu>
29839         Better heuristic for C stack overflow
29840         Improve the heuristic for distinguishing stack overflows from
29841         other SIGSEGV causes (Bug#21004).  Corinna Vinschen explained that
29842         the getrlimit method wasn't portable to Cygwin; see:
29843         https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
29844         Corinna suggested pthread_getattr_np but this also has problems.
29845         Instead, replace the low-level system stuff with a simple
29846         heuristic based on known good stack addresses.
29847         * src/eval.c, src/lisp.h (near_C_stack_top): New function.
29848         * src/sysdep.c: Don't include <sys/resource.h>.
29849         (stack_direction): Remove.  All uses removed.
29850         (stack_overflow): New function.
29851         (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
29852         Make SEGV fatal in non-main threads.
29854 2015-07-16  Daiki Ueno  <ueno@gnu.org>
29856         epg: Automatically start pinentry server
29857         * lisp/epg-config.el (epg-gpgconf-program): New variable.
29858         * lisp/epg.el (epg--start): Call `pinentry-start' if
29859         allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
29861 2015-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
29863         * lisp/gnus/nnimap.el: Fix my last bogus change.
29864         Reinstall Stefan Monnier's change that was made in
29865         <83d824bc4041332f338ad7e5e830f443535aa300>.
29867 2015-07-15  Paul Eggert  <eggert@cs.ucla.edu>
29869         Merge from gnulib
29870         This incorporates:
29871         2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
29872         2015-07-05 acl-permissions: Fix on FreeBSD
29873         2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
29874         * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
29875         * lib/set-permissions.c: Copy from gnulib.
29877         Port to stricter C99
29878         * src/keyboard.h (kbd_buffer_store_event_hold):
29879         Don't return a void expression.
29881 2015-07-15  Xue Fuqiao  <xfq.free@gmail.com>
29883         * doc/emacs/frames.texi (Creating Frames):
29884         Fix the command `C-x 5 m' runs.
29886 2015-07-14  Michael Albinus  <michael.albinus@gmx.de>
29888         New autorevert tests
29889         * test/automated/auto-revert-tests.el: New file.
29891 2015-07-14  Paul Eggert  <eggert@cs.ucla.edu>
29893         Clear gcprolist etc. after stack overflow
29894         After stack overflow, command_loop calls init_eval, and this needs to
29895         clear gcprolist and byte_stack_list (Bug#20996).
29896         * src/alloc.c (init_alloc):
29897         Move gcprolist and byte_stack_list initialization from here ...
29898         * src/eval.c (init_eval): ... to here.
29900 2015-07-13  Xue Fuqiao  <xfq.free@gmail.com>
29902         * doc/emacs/windows.texi (Pop Up Window): Fix the description
29903         of `C-x 4 m'.
29905 2015-07-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
29907         Avoid deprecated enums in mac-ct font backend driver
29908         * src/macfont.m (mac_font_copy_default_descriptors_for_language)
29909         (mac_ctfont_get_advance_width_for_glyph)
29910         (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
29912         Cache font family in mac-ct font backend driver
29913         * src/macfont.m (macfont_family_cache): New variable.
29914         (syms_of_macfont): Initialize it.
29915         (macfont_available_families_cache): New variable.
29916         (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
29917         (macfont_set_family_cache, macfont_invalidate_available_families_cache)
29918         (macfont_handle_font_change_notification)
29919         (macfont_init_font_change_handler)
29920         (macfont_copy_available_families_cache): New functions.
29921         (macfont_create_family_with_symbol): Use font family caches.
29922         (macfont_list, macfont_list_family):
29923         Use macfont_copy_available_families_cache instead of
29924         mac_font_create_available_families.
29926 2015-07-12  Dmitry Gutov  <dgutov@yandex.ru>
29928         Show the default value in the prompt
29929         * lisp/progmodes/xref.el: Add `M-?' binding for
29930         xref-find-references.  Declare functions `grep-read-files' and
29931         `grep-expand-template'.
29932         (xref--read-identifier): Show the default value in the prompt.
29934         * lisp/progmodes/xref.el (xref-find-regexp): When called with
29935         prefix argument, ask for file patterns to search as well.  When
29936         prompting for the directory, require an existing one.
29937         (xref-collect-matches): Add a new argument, FILES.  Use it in the
29938         above function.
29940         Add `project-ignores'
29941         * lisp/progmodes/project.el (project-ignores): New generic
29942         function, and an implementation for the VC project type.
29943         * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
29944         variant of rgrep-default-command that handles a generic list of
29945         ignores.
29946         (xref-collect-matches): Use it, and pass through to it the value
29947         of the newly added argument.
29948         (xref-find-regexp): Handle ignored paths within the project.
29949         Remove outdated comment.
29950         * lisp/vc/vc.el (vc-default-ignore-completion-table):
29951         Skip the comments and the empty lines.
29953 2015-07-12  Xue Fuqiao  <xfq.free@gmail.com>
29955         * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
29957 2015-07-11  Eric Abrahamsen  <eric@ericabrahamsen.net>
29959         gnus-registry.el: Correct function argument order
29960         * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
29961         Reverse the order of function arguments.
29963 2015-07-11  Dmitry Gutov  <dgutov@yandex.ru>
29965         Bind grep-highlight-matches to nil
29966         * lisp/progmodes/xref.el (xref-collect-matches):
29967         Bind grep-highlight-matches to nil (bug#20728).
29969 2015-07-11  Nikolaus Rath  <Nikolaus@rath.org>
29971         nnimap.el: Fix IMAP message size parsing
29972         * lisp/gnus/nnimap.el (nnimap-transform-headers):
29973         Don't assume that UID comes before RFC822.SIZE.
29975 2015-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
29977         * lisp/gnus/nnimap.el: Clean up "unused var" warnings
29978         (auth-source-creation-prompts): Declare.
29979         (nnimap-retrieve-headers, nnimap-status-message)
29980         (nnimap-request-create-group, nnimap-request-delete-group)
29981         (nnimap-close-group, nnimap-request-move-article)
29982         (nnimap-request-accept-article, nnimap-request-newgroups)
29983         (nnimap-request-post, nnimap-dummy-active-number)
29984         (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
29985         (nnimap-parse-flags): Remove unused var `p'.
29986         (nnimap-retrieve-group-data-early): Remove unused var `groups'.
29987         (nnimap-flags-to-marks): Remove unused var `totalp'.
29989 2015-07-10  Andy Moreton  <andrewjmoreton@gmail.com>  (tiny change)
29991         * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
29993 2015-07-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
29995         * src/macfont.m (macfont_list): Ignore font families lacking
29996         font descriptors.
29998 2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>
30000         Don't check the exit status, it can be misleading
30001         * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
30002         exit status, it can be misleading.
30004         Introduce a Project API
30005         * lisp/progmodes/project.el: New file.
30006         * lisp/cedet/ede.el (project-try-ede): New function.
30007         (project-root): New implementation.
30008         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
30009         Set project-search-path-function.
30010         (elisp--xref-find-references): Delegate some logic to
30011         project-search-path.
30012         (elisp-search-path): New function.
30013         (elisp-xref-find): Don't implement `matches' anymore.
30014         * lisp/progmodes/etags.el: Don't implement `matches'.
30015         Delegate some logic to project-search-path.
30016         (etags-search-path): New function.
30017         * lisp/progmodes/xref.el (xref-find-function):
30018         Remove `matches' from the API.
30019         (xref-find-regexp): Move whatever common logic was in elisp and
30020         etags implementations, and search the directories returned by
30021         project-directories and project-search-path.
30023 2015-07-09  Nicolas Petton  <nicolas@petton.fr>
30025         * test/automated/map-tests.el (test-map-delete-return-value):
30026         Uncomment test.
30028         Add support for gv.el in map.el
30029         * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
30030         * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
30031         * test/automated/map-tests.el: Update tests to work with the new
30032         implementations of map-elt and map-put.
30034 2015-07-09  Glenn Morris  <rgm@gnu.org>
30036         * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
30038 2015-07-09  Dmitry Gutov  <dgutov@yandex.ru>
30040         Syntax-propertize until the end of the line first
30041         * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
30042         until the end of the line first.
30044 2015-07-09  Xue Fuqiao  <xfq.free@gmail.com>
30046         * doc/emacs/files.texi (File Archives): Add a cross reference.
30048 2015-07-08  Nikolaus Rath  <Nikolaus@rath.org>
30050         nnimap.el: Handle plain value for nnimap-stream
30051         * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
30052         capabilities, so that a 'plain value for the `nnimap-stream' server
30053         variable is handled correctly.
30054         * doc/misc/gnus.texi (Customizing the IMAP Connection):
30055         Document the 'plain option.
30057 2015-07-08  Leo Liu  <sdl.web@gmail.com>
30059         Fix bug in thing-at-point--bounds-of-well-formed-url
30060         * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
30061         sure boundary contains current point.
30063 2015-07-08  Dmitry Gutov  <dgutov@yandex.ru>
30065         * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
30066         in the end.
30068         Declare whitespace-line-column a safe file-local
30069         * lisp/whitespace.el (whitespace-line-column): Declare to be a
30070         safe file-local when the value is an integer.
30072 2015-07-08  Eric Abrahamsen  <eric@ericabrahamsen.net>
30074         gnus-group.el: Check if group names are already strings
30075         * lisp/gnus/gnus-group.el (gnus-group-group-name):
30076         The group name may already be a string.
30077         Specifically, in the group list reached from the *Server* buffer,
30078         the 'gnus-group text property returns a string.  Everywhere else
30079         it returns a symbol.
30081         nnimap.el: Remove unused let variables
30082         * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
30084 2015-07-08  Eli Zaretskii  <eliz@gnu.org>
30086         Support "maximized" property of runemacs's shortcut
30087         * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
30088         the '--maximized' switch to Emacs.
30090         Support "minimized" property of runemacs's shortcut
30091         * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
30092         pass the '--iconic' switch to Emacs.  (Bug#20991)
30094 2015-07-08  Xue Fuqiao  <xfq.free@gmail.com>
30096         Doc fixes
30097         * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
30098         C-w' in Diff mode.
30099         * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
30100         Add a cross reference.
30102 2015-07-08  Nicolas Richard  <youngfrog@members.fsf.org>
30104         * lisp/obsolete/landmark.el: Add Obsolete-since header.
30106 2015-07-07  Glenn Morris  <rgm@gnu.org>
30108         * test/automated/ert-tests.el (ert-test-deftest):
30109         Update for recent changes.
30111 2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
30113         (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
30114         * lisp/emacs-lisp/gv.el (gv-setter): New function.
30115         (gv-invalid-place): New error.
30116         (gv-get): Use them.
30117         (gv-synthetic-place, gv-delay-error): New places.
30118         * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
30119         (cl-defgeneric, cl-defmethod): Use gv-setter.
30121 2015-07-07  Fabrice Popineau  <fabrice.popineau@gmail.com>
30123         Make vc-tests work with MSYS svn program
30124         * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
30125         svn is an MSYS program.
30127 2015-07-07  Ken Brown  <kbrown@cornell.edu>
30129         Improve recent change to emacsclient on Cygwin
30130         * lisp/server.el (server-process-filter): Remove redundant check
30131         that 'cygwin-convert-file-name-from-windows' is defined as a
30132         function on Cygwin.  Don't call that function unless its argument
30133         starts with a drive letter.
30135 2015-07-07  Artur Malabarba  <bruce.connor.am@gmail.com>
30137         * lisp/emacs-lisp/package.el (package-compute-transaction):
30138         Fix void variable due to `found-something' being in the wrong `let'.
30140 2015-07-07  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
30142         * lisp/play/landmark.el: Move to lisp/obsolete/.
30144 2015-07-07  Martin Rudalics  <rudalics@gmx.at>
30146         Have `x-show-tip' handle `right' and `bottom' frame parameters
30147         * src/nsfns.m (compute_tip_xy, Fx_show_tip)
30148         * src/w32fns.c (compute_tip_xy, Fx_show_tip)
30149         * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
30150         tooltips also via `right' and `bottom' frame parameters.
30152 2015-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
30154         Add online-help support to describe types
30155         * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
30156         (describe-symbol): Improve the selection of default.
30157         * lisp/help-mode.el: Require cl-lib.
30158         (describe-symbol-backends): Move from help-fns.el.
30159         (help-make-xrefs): Use it.
30160         * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
30161         for types.
30162         (cl--typedef-regexp): New const.
30163         (find-function-regexp-alist): Add entry for types.
30164         (cl-help-type, cl-type-definition): New buttons.
30165         (cl-find-class): New function.
30166         (cl-describe-type): New command.
30167         (cl--describe-class, cl--describe-class-slot)
30168         (cl--describe-class-slots): New functions, moved from eieio-opt.el.
30169         * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
30170         (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
30171         New functions.  Moved from eieio-opt.el.
30172         (cl--generic-class-parents): New function, extracted from
30173         cl--generic-struct-specializers.
30174         (cl--generic-struct-specializers): Use it.
30175         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
30176         Improve constructor's docstrings.
30177         (cl-struct-unknown-slot): New error.
30178         (cl-struct-slot-offset): Use it.
30179         * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
30180         definition in current-load-list.
30181         * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
30182         (eieio--add-new-slot): Set it.
30183         (eieio-defclass-internal): Use new name for current-load-list.
30184         (eieio-oref): Add compiler-macro to warn about unknown slots.
30185         * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
30186         as compile-time as well.  Improve constructor docstrings.
30187         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
30188         (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
30189         (eieio-class-def): Remove button.
30190         (eieio-help-constructor): Use new name for load-history element.
30191         (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
30192         (eieio-method-documentation): Move to cl-generic.el.
30193         (eieio-display-method-list): Use new names.
30194         * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
30195         Add "define-linline".
30196         (lisp-fdefs): Remove "defsubst".
30197         (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
30198         * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
30199         (macroexp--warn-and-return): Use it to avoid inf-loops.
30200         Add `compile-only' argument.
30202 2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>
30204         python.el: Fix local/remote shell environment setup
30205         * lisp/progmodes/python.el (python-shell-with-environment):
30206         Fix remote/local environment setup.
30207         * test/automated/python-tests.el (python-shell-with-environment-1)
30208         (python-shell-with-environment-2): New tests.
30210 2015-07-06  Glenn Morris  <rgm@gnu.org>
30212         * lisp/simple.el (set-variable): Tweak recent doc fix.
30214 2015-07-06  Ken Brown  <kbrown@cornell.edu>
30216         * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
30218 2015-07-06  Glenn Morris  <rgm@gnu.org>
30220         * lisp/simple.el (set-variable): Use user-error for type mismatch.
30222 2015-07-06  Ken Brown  <kbrown@cornell.edu>
30224         * src/emacs.c (main): Don't increase the stack size on Cygwin.
30226 2015-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
30228         (describe-symbol): Rewrite describe-function-or-variable
30229         * lisp/help-fns.el (describe-symbol-backends): New var.
30230         (help-xref-stack-item): Declare.
30231         (describe-symbol): Rename from describe-function-or-variable.
30232         Rewrite using describe-symbol-backends instead of help-xref-interned.
30233         * lisp/help.el (help-map): Use it.
30234         * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
30235         (help-xref-interned): Make it into an obsolete alias.
30237         * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
30238         `file' arg (bug#20972).  Always use utf-8-emacs.  Use with-temp-buffer
30239         and cl-letf.
30241 2015-07-06  Wolfgang Jenkner  <wjenkner@inode.at>
30243         Fix parsing glitches in dired-mark-sexp (bug#13575)
30244         * lisp/dired-x.el (dired-x--string-to-number): New function.
30245         (dired-mark-sexp): Use it.  Tweak dired-re-inode-size.  Fix usage
30246         of directory-listing-before-filename-regexp.  Consider
30247         forward-word harmful and replace it.  Add more verbiage in
30248         comments and doc string.
30250 2015-07-06  Fabián Ezequiel Gallina  <fgallina@gnu.org>
30252         python.el: Respect process environment for remote shells
30253         * lisp/progmodes/python.el
30254         (python-shell-calculate-process-environment): Calculate
30255         process-environment or tramp-remote-process-environment depending
30256         whether current file is remote.
30257         (python-shell-calculate-exec-path): Calculate exec-path or
30258         tramp-remote-path depending whether current file is remote.
30259         (python-shell-with-environment): New macro.
30260         (python-shell-prompt-detect, python-shell-calculate-command)
30261         (python-shell-make-comint, python-check): Use it.
30263         python.el: Avoid making let-bound defvars buffer local  (Bug#18244)
30264         * lisp/progmodes/python.el (python-shell--interpreter)
30265         (python-shell--interpreter-args): New vars.
30266         (inferior-python-mode, python-shell-make-comint): Use them.
30268         python.el: Fixes for IPython 3.x  (Bug#20580)
30269         * lisp/progmodes/python.el:
30270         (python-shell-completion-native-setup): Fix IPython 3.x setup.
30271         (python-shell-completion-native-get-completions): Fix timeout
30272         logic.
30274         python.el: Fix mark-defun behavior  (Bug#19665)
30275         * lisp/progmodes/python.el (python-mark-defun): New function.
30276         * test/automated/python-tests.el (python-mark-defun-1)
30277         (python-mark-defun-2, python-mark-defun-3): New tests.
30279 2015-07-05  Glenn Morris  <rgm@gnu.org>
30281         * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
30282         such as "extends(parent), private".  (Bug#20969)
30283         * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
30284         New tests.
30286 2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>
30288         Avoid duplicate calls to current_timespec
30289         * src/process.c (wait_reading_process_output):
30290         Cache current_timespec results as long as we're not waiting.
30292 2015-07-05  Ian Kelling  <ian@iankelling.org>
30294         Avoid returning early reading process output due to SIGIO
30295         * src/process.c (wait_reading_process_output): Extend the behavior of
30296         not breaking due to not finding output when a timer has lowered the
30297         timeout to include when SIGIO lowers the timeout.
30299         Don't return as fast reading any process output
30300         * src/process.c (wait_reading_process_output):
30301         The patch for Bug#17647 returns too fast sometimes when reading
30302         from any processes.  Revert part of it, and limit the timeout more
30303         sensibly (Bug#20978).
30305         Refactor timeouts in wait_reading_process_output
30306         * src/process.c (wait_reading_process_output):
30307         Simplify timeouts with an enum.  Remove a redundant condition.
30308         (Bug#20978)
30310         Remove ADAPTIVE_READ_BUFFERING ifdef
30311         * src/process.c (make-process, make-pipe-process, deactivate_process)
30312         (wait_reading_process_output, read_process_output, send_process)
30313         (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
30314         added in case there was an operating system in which it was not
30315         useful.  That was 11 years ago and it hasn't happened.  Make
30316         development easier by not considering the effect of changes on a
30317         theoretical OS where this is disabled (Bug#20978).
30319 2015-07-05  Glenn Morris  <rgm@gnu.org>
30321         * lisp/simple.el (set-variable): Doc fix.
30323         * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
30325 2015-07-05  Ian Kelling  <ian@iankelling.org>
30327         accept-process-output fix
30328         This is a followon to the fix for bug#17647 (Bug#20976).
30329         * src/process.c (status_notify): Fix too high return in some cases.
30331 2015-07-05  Artur Malabarba  <bruce.connor.am@gmail.com>
30333         * lisp/character-fold.el (character-fold-table):
30334         Only fold decompositions if at least one character is non-spacing.
30335         (Bug#20975)
30337 2015-07-05  Paul Eggert  <eggert@cs.ucla.edu>
30339         Merge from gnulib
30340         This incorporates:
30341         2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
30342         2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
30343         2015-07-02 update-copyright: fix test failure with perl >= 5.22
30344         2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
30345         2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
30346         * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
30347         * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
30349 2015-07-05  Christoph Wedler  <christoph.wedler@sap.com>
30351         Respect `prog-indentation-context' in python.el
30352         * lisp/progmodes/python.el (python-indent-guess-indent-offset)
30353         (python-indent-context, python-indent--calculate-indentation)
30354         (python-info-current-defun)
30355         (python-info-dedenter-opening-block-message)
30356         (python-info-line-ends-backslash-p)
30357         (python-info-beginning-of-backslash)
30358         (python-info-continuation-line-p): Use `prog-widen'.
30359         (python-indent--calculate-indentation)
30360         (python-indent--calculate-levels)
30361         (python-indent-calculate-indentation): Use `prog-first-column'.
30362         (python-indent--calculate-levels): Simplify.
30363         Ignore also initial empty lines for syntax calculation.
30364         * lisp/progmodes/python.el (python-indent-context): Return
30365         :no-indent for first non-empty line, not just in line 1.
30366         * test/automated/python-tests.el (python-indent-base-case)
30367         (python-indent-inside-paren-1, python-indent-inside-paren-2)
30368         (python-indent-inside-paren-3, python-indent-inside-paren-4)
30369         (python-indent-inside-paren-5, python-indent-inside-paren-6)
30370         (python-indent-after-backslash-1)
30371         (python-indent-after-backslash-2)
30372         (python-indent-after-backslash-3)
30373         (python-indent-after-backslash-4, python-indent-inside-string-1):
30374         Expect :no-indent for first non-empty line.
30376 2015-07-04  Daniel Colascione  <dancol@dancol.org>
30378         Factor isearch word description into new function
30379         * lisp/isearch.el (isearch--describe-word-mode): New function.
30380         (isearch-message-prefix, isearch-query-replace): Use it.
30382 2015-07-04  Eli Zaretskii  <eliz@gnu.org>
30384         Fix mouse pointer on w32 when a menu is active
30385         * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
30386         shape while a menu is in use.  This started happening since we now
30387         send WM_EMACS_SHOWCURSOR messages when the mouse moves.
30389 2015-07-04  Martin Rudalics  <rudalics@gmx.at>
30391         Fix processing of alpha parameter for Windows tip frames  (Bug#17344)
30392         * src/w32fns.c (x_create_tip_frame): Fix processing alpha
30393         parameter.  (Bug#17344)
30395         Have `compilation-set-window' use right window for getting fringes
30396         (Bug#20829)
30397         * lisp/progmodes/compile.el (compilation-set-window):
30398         Take `window-fringes' from argument window.
30400 2015-07-03  Glenn Morris  <rgm@gnu.org>
30402         Update eieio tests for recent eieio-core change.
30403         * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
30404         * test/automated/eieio-tests.el
30405         (eieio-test-32-slot-attribute-override-2):
30406         Replace the deleted eieio--class-v with cl--find-class.
30408 2015-07-03  Martin Rudalics  <rudalics@gmx.at>
30410         Fix some issues with `window-divider-mode'
30411         * lisp/frame.el (window-divider-default-places): New option.
30412         (window-divider-mode): Remove option.
30413         (window-divider-mode): Make it a "regular" minor mode.
30414         (window-divider-width-valid-p): Drop frame- prefix.
30415         (window-divider-mode-apply): New argument ENABLE.  Drop frame-
30416         prefix.  Handle `window-divider-default-places'.
30417         (frame--window-divider-mode-set-and-apply): Remove.
30418         (window-divider-default-bottom-width)
30419         (window-divider-default-right-width): Drop :group entries.
30420         * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
30421         (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
30422         (menu-bar-no-window-divider): Set `window-divider-default-places'
30423         and call `window-divider-mode'.
30424         * doc/emacs/frames.texi (Window Dividers): Document
30425         `window-divider-default-places'.
30427 2015-07-02  Xue Fuqiao  <xfq.free@gmail.com>
30429         * doc/emacs/display.texi (Displaying Boundaries):
30430         * doc/emacs/search.texi (Word Search): Add cross references.
30432 2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>
30434         -batch should not affect ‘’ -> `' display
30435         * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
30436         -batch (Bug#20926).
30438 2015-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
30440         * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
30441         * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
30442         * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
30443         Use cl--find-class instead.
30445         * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
30447 2015-07-02  Martin Rudalics  <rudalics@gmx.at>
30449         Some further fixes in Change Window node (Bug#20183)
30450         * doc/emacs/windows.texi (Change Window): Replace "rearranging"
30451         by "resizing" in section title.  Add some concept indices.
30452         Suggested by N. Jackson (Bug#20183).
30454         * doc/emacs/windows.texi (Change Window): Reference window
30455         dividers.
30457         Document new `window-divider-mode'.
30458         * lisp/frame.el (window-divider-mode): Fix doc-string.
30459         * doc/emacs/frames.texi (Window Dividers): New section.
30461         Improve accessibility of window dividers (Bug#20183)
30462         * lisp/faces.el (window-divider)
30463         (window-divider-first-pixel, window-divider-last-pixel): Change
30464         membership from `frames' to `window-divider' customization group.
30465         * lisp/frame.el (window-divider): New customization group.
30466         (window-divider-mode): New minor mode.
30467         (window-divider-default-bottom-width)
30468         (window-divider-default-right-width): New options.
30469         (frame--window-divider-previous-mode): New variable.
30470         (frame-window-divider-width-valid-p)
30471         (frame--window-divider-mode-apply)
30472         (frame--window-divider-mode-set-and-apply): New functions.
30473         * lisp/menu-bar.el (menu-bar-options-save): Save
30474         window-divider-mode settings.
30475         (menu-bar-window-divider-customize)
30476         (menu-bar-bottom-and-right-window-divider)
30477         (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
30478         (menu-bar-no-window-divider): New functions.
30479         (menu-bar-showhide-window-divider-menu): New variable.
30480         (menu-bar-showhide-menu): Show/hide window divider menu.
30481         * lisp/mouse.el (mouse-split-window-vertically)
30482         (mouse-split-window-horizontally): Replace `error' by
30483         `user-error'.  Bind `window-combination-resize' to nil.
30484         (top-level): Add/reorder mouse key bindings on mode- and
30485         vertical-line.
30487 2015-07-02  Paul Eggert  <eggert@cs.ucla.edu>
30489         Don't display ‘’ as `' under X in en_GB
30490         The curved quote setup code invokes (char-displayable-p ?‘),
30491         but this isn’t reliable until after the X frame replaces the
30492         terminal frame (Bug#20926).
30493         * lisp/international/mule-cmds.el (set-locale-environment):
30494         Move curved quote setup code from here ...
30495         * lisp/startup.el (command-line): ... to here, after creating
30496         the X frame.
30498 2015-07-01  Nicolas Richard  <youngfrog@members.fsf.org>
30500         * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
30502         * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
30503         to reverse the meaning (Bug#15631).
30505 2015-07-01  Eli Zaretskii  <eliz@gnu.org>
30507         Be more tolerant to fonts named "Foobar-12"
30508         * src/frame.c (x_set_font): If font_spec_from_name returns nil,
30509         don't barf; instead, request a new fontset to be generated.  This
30510         avoids unnecessarily rejecting fonts named against XLFD rules.  See
30511         http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
30512         for the description of the original problem.
30513         * lisp/faces.el (set-face-attribute): Don't be fooled too easily
30514         by a hyphen in a font's name.
30516         Fix value of posn-at-pont in R2L lines
30517         * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
30518         coordinate of -1, for a newline in a right-to-left line that
30519         overflowed into the left fringe.
30521 2015-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
30523         (cl--copy-slot-descriptor): Copy the `props' alist as well
30524         * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
30525         Rename from cl--copy-slot-descriptor.
30526         (cl--copy-slot-descriptor): New function.  Copy the alist (bug#20914).
30528 2015-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
30530         * lisp/term/xterm.el (xterm--query): Avoid generating garbage
30531         (xterm-query-timeout): New var.
30532         (xterm--query): Use it.  Fallback on async method if we timeout before
30533         getting the first byte of the reply (bug#12354).
30535 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
30537         Spelling fixes
30538         * lisp/character-fold.el (character-fold-search):
30539         * lisp/emacs-lisp/package.el (package-hidden-regexps):
30540         Fix typos.
30542 2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>
30544         * doc/emacs/frames.texi (Frame Commands): Typo fix.  (Bug#20946)
30546 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
30548         In strings, prefer plain ` and ' to \` and \'
30549         * lisp/allout.el (allout-insert-listified):
30550         * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
30551         * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
30552         (ls-lisp-string-lessp):
30553         * lisp/menu-bar.el (menu-bar-open):
30554         * lisp/obsolete/otodo-mode.el (todo-top-priorities):
30555         * lisp/progmodes/compile.el (compile):
30556         * lisp/progmodes/etags.el (tags-loop-scan):
30557         * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
30558         * lisp/subr.el (posn-actual-col-row):
30559         * lisp/term/pc-win.el (x-list-fonts):
30560         * lisp/textmodes/texinfmt.el (texinfmt-version):
30561         * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
30562         * lisp/time.el (display-time-world-list):
30563         * lisp/tmm.el (tmm-menubar):
30564         * src/buffer.c (syms_of_buffer):
30565         * src/fileio.c (syms_of_fileio):
30566         Omit unnecessary and confusing backslash before quote.
30567         * lisp/erc/erc.el (erc-cmd-LASTLOG):
30568         * lisp/progmodes/flymake.el (flymake-fix-file-name):
30569         * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
30570         Fix string that was intended to escape a backslash and not a quote.
30572 2015-06-30  Glenn Morris  <rgm@gnu.org>
30574         * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
30576         * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
30577         Replace hard-coded lists with wildcard + filter-out.
30579         * configure.ac (system-configuration-features): Add X11, NS.
30581         Improve reproducibility of generated loaddefs file
30582         * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
30583         Make the return value the modtime of the input file (if no autoloads).
30584         (update-directory-autoloads): In the "no autoloads" section,
30585         use "most recent modtime" rather than "current time".
30587 2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>
30589         * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
30590         (Bug#20930)
30592 2015-06-30  Nicolas Petton  <nicolas@petton.fr>
30594         * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
30596         Add seq-min and seq-max
30597         Bump version number.
30598         * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
30599         * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
30601 2015-06-30  Eli Zaretskii  <eliz@gnu.org>
30603         Make sure sleep-for always delays for as long as it's told
30604         * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
30605         a loop, to ensure we always wait exactly the required amount of
30606         time.  (Bug#15990)
30608 2015-06-30  Paul Eggert  <eggert@cs.ucla.edu>
30610         Fix pointer signedness glitch
30611         * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
30613 2015-06-30  Eli Zaretskii  <eliz@gnu.org>
30615         Don't block changes in mouse pointer inside 'track-mouse'
30616         * etc/NEWS:
30617         * doc/lispref/frames.texi (Mouse Tracking): Document the special
30618         effect of setting 'track-mouse' to 'dragging'.
30619         * lisp/textmodes/artist.el (artist-mouse-draw-continously):
30620         * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
30621         * lisp/mouse-drag.el (mouse-drag-throw):
30622         * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
30623         to avoid changes in the shape of the mouse pointer.
30624         * src/xdisp.c (define_frame_cursor1): Don't change the mouse
30625         pointer shape when do_mouse_tracking has the value of 'dragging',
30626         not just any non-nil value.  (Bug#20934)
30627         (syms_of_xdisp): DEFSYM 'dragging'.
30629 2015-06-30  Artur Malabarba  <bruce.connor.am@gmail.com>
30631         * lisp/isearch.el (isearch-toggle-word): Fix toggle.
30633         * lisp/emacs-lisp/package.el (package-compute-transaction):
30634         Don't assume version sorting.
30636         * lisp/emacs-lisp/package.el (package--save-selected-packages):
30637         Don't save before init time, to avoid overwriting configurations.
30638         (Bug#20855)
30640 2015-06-30  Xue Fuqiao  <xfq.free@gmail.com>
30642         * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
30643         references.
30645 2015-06-29  Ted Zlatanov  <tzz@lifelogs.com>
30647         Update for the upcoming CFEngine 3.7 release: support macros and
30648         quoted context strings; reformat JSON; indent promise attributes 2
30649         units by default; give function parameter descriptions in the eldoc
30650         glue.
30651         * lisp/progmodes/cfengine.el: Update version and docs and fix name.
30652         Autoload `json-pretty-print'.  Support new features in 3.7.
30653         (cfengine-parameters-indent): Set default promise attribute indent to
30654         2 more than the promise itself.
30655         (cfengine3-macro-regex): New variable to match the new macro syntax.
30656         (cfengine3-font-lock-keywords): Use it to highlight macros.
30657         (cfengine3-indent-line): Use it to indent macros to column 0.
30658         (cfengine3-class-selector-regex): Update for the new quoted strings
30659         format.
30660         (cfengine3-reformat-json-string): New function to reformat a JSON
30661         string using `json-pretty-print'.
30662         (cfengine3-format-function-docstring): Use function parameter
30663         description if it's provided by the cf-promises syntax dump.
30665 2015-06-29  Michael R. Mauger  <michael@mauger.com>
30667         Cygwin emacsclient handles w32 file names
30668         * lisp/server.el (server-process-filter): Allow Cygwin's
30669         emacsclient to be used as a file handler on MS-Windows.
30671 2015-06-29  Katsumi Yamaoka  <yamaoka@jpl.org>
30673         * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
30674         (bug#20925).
30676 2015-06-29  Eli Zaretskii  <eliz@gnu.org>
30678         * doc/lispref/text.texi (Sticky Properties): Improve wording.
30679         (Bug#20924)
30681         Allow font names that end in "-NN", where NN is a number
30682         * src/font.c (font_load_for_lface): If the font-spec didn't match
30683         any available fonts, try again without interpreting trailing "-NN"
30684         as the font size.  For the description of the original problem, see
30685         http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
30687         .gdbinit followup to changes in !USE_LSB_TAG
30688         * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
30689         !USE_LSB_TAG, as Emacs no longer does.
30691 2015-06-29  Wolfgang Jenkner  <wjenkner@inode.at>
30693         * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
30694         Otherwise `s p' of f and F will stomp on each other's value.
30695         (Bug#20916)
30697 2015-06-29  Artur Malabarba  <bruce.connor.am@gmail.com>
30699         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
30700         Don't block remember-pos if buffer isn't displayed.  (Bug#20921)
30702 2015-06-29  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
30704         * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
30705         as additional guess.
30707         * lisp/emacs-lisp/package.el (describe-package): Convert the guess
30708         to a string.
30710 2015-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30712         apropos-library quoting fix
30713         * lisp/apropos.el (apropos-library): Quote library consistently
30714         with the rest of the quoting used by apropos.
30716         Clarify interpreter-mode-alist doc
30717         * lisp/files.el (interpreter-mode-alist):
30718         Reword to avoid confusing quoting that wasn't working anyway.
30720 2015-06-28  Michael Albinus  <michael.albinus@gmx.de>
30722         Sync with Tramp 2.2.12
30723         * doc/misc/trampver.texi:
30724         * lisp/net/trampver.el: Update release number.
30725         * test/automated/tramp-tests.el (tramp-test13-make-directory):
30726         Fix cleanup.
30728 2015-06-28  Artur Malabarba  <bruce.connor.am@gmail.com>
30730         * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
30732 2015-06-27  Dmitry Gutov  <dgutov@yandex.ru>
30734         Bind grep-highlight-matches around the rgrep call
30735         * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
30736         around the rgrep call (bug#20728).
30738         Put "--color" before the other options in grep-command
30739         * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
30740         before the other options in grep-command (bug#20912).
30742         Add --color Grep option to the command dynamically
30743         * lisp/progmodes/grep.el (grep-template, grep-find-template):
30744         Update the description for <C>.  (Bug#20728)
30745         (grep-compute-defaults): Don't add the --color option to
30746         grep-options.  Only add it to grep-command.
30747         (grep-expand-keywords): Expand the env value opts into <C>.
30748         (grep-expand-template): Replace cf in the env with the opts list,
30749         that can include -i and --color.
30750         * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
30751         "--color=always" from the template, because we don't have to.
30753 2015-06-27  Paul Eggert  <eggert@cs.ucla.edu>
30755         cl-extra fixes for most-negative-fixnum
30756         * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
30757         Don't mishandle an argument equal to most-negative-fixnum,
30758         whose absolute value equals itself.
30759         (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
30761         Initialize cl--gensym-counter to 0
30762         Previously it was initialized to a random value, which made it
30763         harder to reproduce earlier Emacs runs.  The need for a random
30764         value went away when Emacs introduced and used the #: syntax for
30765         uninterned symbols (Bug#20862).
30766         * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
30767         Document that cl--gensym-counter now starts with 0.
30768         * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
30769         (cl--random-time): Move to near only remaining use.
30770         * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
30772         Improve docstring for macroexp-let2
30773         * lisp/emacs-lisp/macroexp.el (macroexp-let2):
30774         Improve as per suggestion by RMS in:
30775         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
30776         Also, rename args to match new doc string.
30778 2015-06-27  Eli Zaretskii  <eliz@gnu.org>
30780         Fix VC test suite on MS-Windows
30781         * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
30782         always starts with 3 slashes after the colon.
30783         * test/automated/vc-tests.el (vc-test--create-repo-function): Use
30784         'w32-application-type' to invoke CVS on MS-Windows with properly
30785         formatted CVSROOT directory name.
30787         Add a new function w32-application-type
30788         * src/w32proc.c (Fw32_application_type): New function.
30790         Avoid error in TLS connections due to incorrect format
30791         * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
30792         the call to 'error', instead of the unsupported %u.  Reported by
30793         lo2net <fangtao0901@gmail.com>.  (Bug#20908)
30795 2015-06-26  Artur Malabarba  <bruce.connor.am@gmail.com>
30797         * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
30799 2015-06-26  Leo Liu  <sdl.web@gmail.com>
30801         * lisp/emacs-lisp/cl-indent.el: Fix indentation for
30802         `with-output-to-string' in elisp.
30804         Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
30805         with-output-to-string".
30806         This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
30808 2015-06-26  Eli Zaretskii  <eliz@gnu.org>
30810         Minor corrections in ELisp manual
30811         * doc/lispref/nonascii.texi (Character Properties): Correct
30812         inaccuracies in description of values of the Unicode properties.
30814         Fix invisible mouse pointers on Windows.
30815         * src/w32fns.c: Include windowsx.h.
30816         (w32_wnd_proc): If the mouse moved and the mouse pointer is
30817         invisible, make it visible again even when the main (Lisp)
30818         thread is busy.
30819         * src/w32term.c (w32_toggle_invisible_pointer): Rather then
30820         garbaging the frame have the input thread call SetCursor.
30822 2015-06-26  Martin Rudalics  <rudalics@gmx.at>
30824         Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
30825         * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
30826         for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
30827         * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
30828         (w32_toggle_invisible_pointer): New function.
30829         (w32_create_terminal): Add w32_toggle_invisible_pointer as
30830         toggle_invisible_pointer_hook for this terminal.
30832 2015-06-25  Xue Fuqiao  <xfq.free@gmail.com>
30834         Doc fix for deletion commands
30835         'delete-char' does not respect the value of 'delete-active-region'.
30836         * doc/emacs/killing.texi (Deletion):
30837         Fix documentation for some single-char deletion commands.
30839         * doc/emacs/help.texi (Apropos):
30840         Improve documentation of 'apropos-do-all'.
30842         * doc/emacs/help.texi (Help Summary):
30843         Improve documentation of 'describe-mode'.
30845 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
30847         Fix submake dependency bug with .h files
30848         * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
30849         Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
30850         before the submake in $(libsrc) would spin off a subsubmake
30851         for $(lib) in parallel with our submake for $(lib) (Bug#20894).
30853 2015-06-25  Artur Malabarba  <bruce.connor.am@gmail.com>
30855         * lisp/character-fold.el (character-fold-table): Reuse `table'.
30857 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
30859         Translate undisplayable ‘ to `
30860         * doc/lispref/help.texi (Keys in Documentation):
30861         * lisp/international/mule-cmds.el (set-locale-environment):
30862         * lisp/term/w32console.el (terminal-init-w32console):
30863         * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
30864         If ‘ is not displayable, transliterate it to `, not to '.  See:
30865         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
30867         Fix C99 incompatibilities in Cairo code
30868         * src/image.c (xpm_load) [USE_CAIRO]:
30869         * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
30870         Fix pointer signedness problem.
30872 2015-06-25  Oleh Krehel  <ohwoeowho@gmail.com>
30874         lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
30875         * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
30876         `with-output-to-string' should have the same indent as `progn'.
30877         This is in line with the declaration of `with-output-to-string'.
30879 2015-06-25  Paul Eggert  <eggert@cs.ucla.edu>
30881         Get ‘./configure; make -C src emacs’ to work
30882         Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
30883         * lib-src/Makefile.in (../lib/libgnu.a):
30884         * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
30886 2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>
30888         Fix GC bugs --with-wide-int and Qnil == 0
30889         Use the same alignment for the !USE_LSB_TAG case as for the
30890         more-typical USE_LSB_TAG case.  The attempt to support arbitrary
30891         alignments with !USE_LSB_TAG had subtle bugs in garbage collection
30892         once we changed the representation of symbols so that Qnil == 0.
30893         Problem reported by Eli Zaretskii (Bug#20862).
30894         * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
30895         * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
30896         (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
30897         Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
30898         * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
30899         This optimization in the !USE_LSB_TAG case is no longer valid when
30900         symbols are represented via offsets.  Change the only use to
30901         assume that pointers might hide in objects.
30902         * src/lisp.h (alignas) [!USE_LSB_TAG]:
30903         Require support in this case, too.
30904         (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
30905         This is OK, because the !USE_LSB_TAG case now applies only when
30906         Lisp_Object is wider than void *, so there's no longer any need
30907         to shift the offset.  Not shifting the offset means that
30908         symbol representations have the same alignment as pointers,
30909         which the GC assumes.
30911 2015-06-24  Xue Fuqiao  <xfq.free@gmail.com>
30913         * doc/lispintro/emacs-lisp-intro.texi (Data types):
30914         Improve documentation of 'substring'.
30916 2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>
30918         * lisp/character-fold.el (character-fold-table): Fix table generation.
30920 2015-06-24  Glenn Morris  <rgm@gnu.org>
30922         * nextstep/Makefile.in (all): Make it the first target.
30923         (../src/emacs${EXEEXT}): Add rule for making it.
30925 2015-06-24  Artur Malabarba  <bruce.connor.am@gmail.com>
30927         * etc/NEWS: Fix mention to old function name.
30929         * lisp/character-fold.el: New file (Bug#20887)
30930         (character-fold-to-regexp): New function.
30931         * lisp/replace.el (replace-search): Check value of
30932         `character-fold-search'.
30933         * lisp/isearch.el: Move character-folding code to
30934         character-fold.el
30935         (isearch-toggle-character-fold): New command.
30936         (isearch-mode-map): Bind it to "\M-sf".
30937         (isearch-mode): Check value of `character-fold-search'.
30939 2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
30941         lisp/subr.el (remove-from-invisibility-spec): Handle the t case
30942         * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
30943         is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
30945         * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
30946         (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
30948 2015-06-24  Glenn Morris  <rgm@gnu.org>
30950         * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
30952 2015-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
30954         lisp/gnus/nnmaildir.el: Silence lexical warnings
30955         * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
30956         functional style.
30957         (nnmaildir--update-nov): Remove unused var `numdir'.
30958         (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
30959         (nnmaildir-request-group, nnmaildir-request-create-group)
30960         (nnmaildir-request-post, nnmaildir-request-move-article)
30961         (nnmaildir-request-accept-article, nnmaildir-active-number):
30962         Mark unused args.
30963         (nnmaildir-get-new-mail, nnmaildir-group-alist)
30964         (nnmaildir-active-file): Declare.
30965         (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
30966         (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
30967         `mark', `end', `new-mark', and `mark-sym'.
30968         (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
30969         `nlist2'.
30970         (nnmaildir-request-expire-articles):
30971         Remove unused vars `article', `stop' and `nlist2'.
30972         (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
30973         `end'.  Use nnmaildir--article when dyn-binding is needed.
30974         Give the value directly in the `let' for `del-mark', `del-action',
30975         `add-action', and `set-action'.  Don't use `add-to-list' on a local var.
30976         (nnmaildir-close-server): Declare those local vars that need to be
30977         dyn-bound.
30979 2015-06-24  Paul Eggert  <eggert@cs.ucla.edu>
30981         * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
30983         Port selection info fix to clang
30984         * src/keyboard.h (kbd_buffer_store_event_hold):
30985         Don't assume C11 semantics for alignof (Bug#20756).
30987         Fix bug that munged selection info
30988         On some optimizing C compilers, copying a structure did not
30989         copy the padding bytes between elements, and the type punning
30990         between struct input_data and struct selection_input_data did
30991         not work.  Change the C code to use a proper union type instead.
30992         Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
30993         * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
30994         (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
30995         (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
30996         (mark_kboards):
30997         Use union buffered_input_event, not struct input_event.
30998         (clear_event, deliver_input_available_signal, process_special_events):
30999         Remove unnecessary forward decls.
31000         (kbd_buffer_store_buffered_event): New function, mostly just the
31001         old kbd_buffer_store_event_hold, except its argument is of type
31002         union buffered_input_event, not struct input_event.
31003         (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
31004         not needed otherwise.  Argument is now of type
31005         struct selection_input_event *, not struct input_event *.
31006         All callers changed.
31007         (clear_event): Arg is now of type union buffered_input_event *,
31008         not struct input_event *.  All callers changed.
31009         * src/keyboard.h [HAVE_X11]: Include "xterm.h".
31010         (union buffered_input_event): New type.
31011         (kbd_buffer_store_event_hold): Now an inline function,
31012         defined here.
31013         * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
31014         (struct input_event): Use it.
31015         * src/xselect.c (struct selection_event_queue):
31016         Make elements be of type struct selection_input_event,
31017         not struct input_event.
31018         (selection_input_event_equal): New static function.
31019         (x_queue_event): Use it.
31020         (x_queue_event, x_decline_selection_request)
31021         (x_selection_current_request, x_reply_selection_request)
31022         (x_handle_selection_request, x_handle_selection_clear)
31023         (x_handle_selection_event): Use struct selection_input_event,
31024         not struct input_event.  All callers changed.
31025         (x_convert_selection): Omit unused first arg.  All callers changed.
31026         (Fx_disown_selection_internal): Omit unnecessary union.
31027         * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
31028         rather than rolling our own equivalent.  Prefer sie.kind when
31029         setting up that kind of structure.
31030         Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
31031         * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
31032         (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
31033         (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
31034         (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
31035         (SELECTION_EVENT_TIME, x_handle_selection_event):
31036         Arg is now of type struct selection_input_event *)
31037         not struct input_event *.  All callers changed.
31039 2015-06-23  Glenn Morris  <rgm@gnu.org>
31041         * Makefile.in (install-arch-dep): Simplify with Make conditionals.
31043 2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>
31045         * lisp/isearch.el: Fold many unicode characters to ASCII.
31046         (isearch-character-fold-search, isearch--character-fold-extras)
31047         (isearch--character-fold-table): New variable.
31048         (isearch--character-folded-regexp): New function.
31049         (isearch-search-fun-default): Use them.
31050         * lisp/replace.el (replace-character-fold): New variable.
31051         (replace-search): Use it.
31052         * etc/NEWS: Document it.
31054 2015-06-23  Glenn Morris  <rgm@gnu.org>
31056         Check for an input event before showing a dialog box.  (Bug#20813)
31057         * lisp/subr.el (y-or-n-p):
31058         * src/fns.c (Fyes_or_no_p): Check last-input-event as well
31059         as last-nonmenu-event.
31061 2015-06-23  Jürgen Hartmann  <juergen_hartman_@hotmail.com>  (tiny change)
31063         Respect ‘switch-to-visible-buffer’ more rigidly.  (Bug#20861)
31064         * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
31065         (switch-to-prev-buffer, switch-to-next-buffer): Respect
31066         switch-to-visible-buffer independent of the windows history.
31068 2015-06-23  Paul Eggert  <eggert@cs.ucla.edu>
31070         * src/keyboard.c (last_timer_event): Remove unused var.
31072 2015-06-23  Artur Malabarba  <bruce.connor.am@gmail.com>
31074         * test/automated/package-test.el (package-test-update-listing):
31075         Fix test.
31077 2015-06-23  Glenn Morris  <rgm@gnu.org>
31079         Revert 2014-06-25 nextstep/Makefile change.
31080         * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
31081         (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
31082         not as an order-only prerequisite.
31084         * configure.ac (--with-ns): Enable by default on OS X.
31086 2015-06-23  Leo Liu  <sdl.web@gmail.com>
31088         Fix shell-for/backward-command to exclude spaces
31089         * lisp/shell.el (shell-forward-command, shell-backward-command):
31090           Handle the 'move case from re-search-forward/backward.
31091           fixes debbugs:20873
31093 2015-06-22  Juri Linkov  <juri@linkov.net>
31095         * lisp/replace.el (query-replace-read-from): Add separator to
31096         the local binding of text-property-default-nonsticky.  (Bug#20690)
31098         * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
31099         (Bug#20785)
31101 2015-06-22  Ken Brown  <kbrown@cornell.edu>
31103         Enable CPU profiling on Cygwin
31104         * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
31105         change that undefined this.
31106         (SIGEV_SIGNAL): Ensure that this is defined as a macro.
31107         * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
31108           Cygwin.
31110         Improve diagnostics of profiler-cpu-start
31111         * src/profiler.c (setup_cpu_timer): Change return type to 'int';
31112         return -1 if the sampling interval is invalid.
31113         (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
31114         fails.  (Bug#20843)
31116 2015-06-22  Artur Malabarba  <bruce.connor.am@gmail.com>
31118         * lisp/emacs-lisp/package.el: Exclude packages by name.
31119         (package-hidden-regexps): New variable.
31120         (package-menu--refresh): Use it.
31121         (package-menu-hide-package): New command.
31123         * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
31125 2015-06-22  Eli Zaretskii  <eliz@gnu.org>
31127         Fix debug-timer-check on systems without HAVE_TIMERFD
31128         * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
31129         the expired timers, since wait_reading_process_output doesn't.
31130         (debug_timer_callback): Enlarge the tolerance to 20 msec.
31132         Fix RCS crashes in vc-test
31133         * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
31134         ports of 'ci' on MS-Windows by always passing the -t- switch.
31136 2015-06-22  Glenn Morris  <rgm@gnu.org>
31138         * doc/emacs/package.texi (Packages):
31139         * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
31141         * doc/misc/efaq-w32.texi (Downloading): Copyedits.  (Bug#20851)
31143 2015-06-22  Paul Eggert  <eggert@cs.ucla.edu>
31145         Port tests to help-quote-translation
31146         * test/automated/ert-x-tests.el (ert-test-describe-test):
31147         * test/automated/package-test.el (package-test-describe-package)
31148         (package-test-signed): Allow straight quotes, too.
31150 2015-06-22  Dmitry Gutov  <dgutov@yandex.ru>
31152         Make find-function-on-key use the current window
31153         * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
31154         Extract from `find-function-on-key', add a second argument.
31155         (find-function-on-key): Use it (bug#19679).
31156         (find-function-on-key-other-window)
31157         (find-function-on-key-other-frame): New commands.
31159 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
31161         Revert "Define `map-elt' as a generalized variable"
31162         This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
31164 2015-06-21  Ken Brown  <kbrown@cornell.edu>
31166         Drop support for CPU profiling on Cygwin
31167         * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
31168         (Bug#20843)
31170 2015-06-21  Paul Eggert  <eggert@cs.ucla.edu>
31172         Fix some “nested” quoting confusion in doc strings
31173         * lisp/emacs-lisp/advice.el (ad-map-arglists):
31174         * lisp/kermit.el (kermit-clean-on):
31175         * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
31176         * src/keyboard.c (Frecursive_edit):
31177         Use curved quotes when quoting text containing apostrophe,
31178         so that the apostrophe isn't curved in the output.
31180 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
31182         Define `map-elt' as a generalized variable
31183         * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
31184         * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
31185         * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
31186         `setf' with `map-elt'.
31187         * test/automated/map-tests.el: Comment out `test-map-put-literal'.
31189 2015-06-21  Michael Albinus  <michael.albinus@gmx.de>
31191         Improve error handling in tramp-adb.el
31192         * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
31193         Improve error handling.
31195 2015-06-21  Nicolas Petton  <nicolas@petton.fr>
31197         Reuse `alist-get' in map.el
31198         * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
31199         elements.
31201 2015-06-21  Eli Zaretskii  <eliz@gnu.org>
31203         Fix bytecomp-tests--warnings when $TMPDIR has a long name
31204         * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
31205         Allow the warning to begin on the 3rd, not only 2nd line, which
31206         happens if temporary-file-directory has a very long name.
31208         Expect 2 icalendar tests to fail on MS-Windows
31209         * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
31210         (icalendar-real-world): Make them expected failures on MS-Windows.
31212 2015-06-20  Paul Eggert  <eggert@cs.ucla.edu>
31214         Improve port of settings UI to older displays
31215         * lisp/cus-start.el (standard): Don't assume curved quotes are
31216         easily distinguishable when users are tinkering with a setting
31217         that affects how curved quotes are generated.
31219         Fix quoting in electric-quote-mode doc string
31220         * lisp/electric.el (electric-quote-mode): Fix quoting.
31221         This is a fallout from the recent change introducing
31222         ‘help-quote-translation’.
31224         Spelling fix
31226         * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
31228         * src/doc.c (syms_of_doc): Remove unused symbols.
31230 2015-06-20  Martin Rudalics  <rudalics@gmx.at>
31232         * lisp/window.el (window-state-put): Undedicate target window
31233         before putting STATE into it.  (Bug#20848)
31235 2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>
31237         Merge from origin/emacs-24
31238         a5e6f33 Fixes: debbugs:20832
31239         b9f02cf Fixes: debbugs:20832
31241 2015-06-19  Eli Zaretskii  <eliz@gnu.org>
31243         Fix file-in-directory-p when the directory is UNC
31244         * lisp/files.el (file-in-directory-p): Support files and
31245         directories that begin with "//".  (Bug#20844)
31247 2015-06-19  Stephen Berman  <stephen.berman@gmx.net>
31249         * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
31250         in the minibuffer.  (Bug#20832)
31252 2015-06-19  Nicolas Richard  <youngfrog@members.fsf.org>
31254         * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
31255         for adding new todo file is empty but modified.  (Bug#20832)
31257 2015-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
31259         (filepos-to-bufferpos): Further tweaks to the utf-16 code
31260         * lisp/international/mule-util.el (filepos-to-bufferpos):
31261         Fix typo.  Move non-exact check to the utf-16 branch (the only one
31262         affected).  Don't use byte-to-position for the utf-16 case.
31264 2015-06-19  Eli Zaretskii  <eliz@gnu.org>
31266         Minor fixes in filepos-to-bufferpos
31267         * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
31268         test for utf-8-emacs.  Exempt single-byte encodings from the
31269         'use-exact' path when QUALITY is 'exact'.  Test UTF-16 encodings
31270         for BOM before subtracting 2 bytes.  Use 'identity' when adjusting
31271         UTF-16 encoded files for CR-LF EOLs.
31273 2015-06-19  Paul Eggert  <eggert@cs.ucla.edu>
31275         Improve the optional translation of quotes
31276         Fix several problems with the recently-added custom variable
31277         help-quote-translation where the code would quote inconsistently
31278         in help buffers.  Add support for quoting 'like this', which
31279         is common in other GNU programs in ASCII environments.  Change
31280         help-quote-translation to use more mnemonic values: values are now the
31281         initial quoting char, e.g., (setq help-quote-translation ?`) gets the
31282         traditional Emacs help-buffer quoting style `like this'.  Change the
31283         default behavior of substitute-command-keys to match what's done in
31284         set-locale-environment, i.e., quote ‘like this’ if displayable,
31285         'like this' otherwise.
31286         * doc/lispref/help.texi (Keys in Documentation): Document
31287         new behavior of substitute-command-keys, and document
31288         help-quote-translation.
31289         * doc/lispref/tips.texi (Documentation Tips):
31290         Mention the effect of help-quote-translation.
31291         * etc/NEWS: Mention new behavior of substitute-command-keys,
31292         and merge help-quote-translation news into it.
31293         When talking about doc strings, mention new ways to type quotes.
31294         * lisp/cedet/mode-local.el (overload-docstring-extension):
31295         Revert my recent change to this function, which shouldn't be
31296         needed as the result is a doc string.
31297         * lisp/cedet/mode-local.el (mode-local-print-binding)
31298         (mode-local-describe-bindings-2):
31299         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
31300         * lisp/cus-theme.el (describe-theme-1):
31301         * lisp/descr-text.el (describe-text-properties-1, describe-char):
31302         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
31303         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
31304         (eieio-help-constructor):
31305         * lisp/emacs-lisp/package.el (describe-package-1):
31306         * lisp/faces.el (describe-face):
31307         * lisp/help-fns.el (help-fns--key-bindings)
31308         (help-fns--compiler-macro, help-fns--parent-mode)
31309         (help-fns--obsolete, help-fns--interactive-only)
31310         (describe-function-1, describe-variable):
31311         * lisp/help.el (describe-mode):
31312         Use substitute-command-keys to ensure a more-consistent quoting
31313         style in help buffers.
31314         * lisp/cus-start.el (standard):
31315         Document new help-quote-translation behavior.
31316         * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
31317         * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
31318         (help-xref-url-regexp):
31319         * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
31320         * lisp/wid-edit.el (widget-documentation-link-regexp):
31321         Also match 'foo', in case we're in a help buffer generated when
31322         help-quote-translation is ?'.
31323         * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
31324         (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
31325         (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
31326         (Fsubstitute_command_keys): Document and implement new behavior.
31327         (Vhelp_quote_translation): Document new behavior.
31329 2015-06-18  Glenn Morris  <rgm@gnu.org>
31331         * lisp/cus-start.el (help-quote-translation): Add :version.
31333         * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
31335 2015-06-18  Alan Mackenzie  <acm@muc.de>
31337         Make translation of quotes to curly in doc strings optional.
31338         * src/doc.c (traditional, prefer-unicode): New symbols.
31339         (help-quote-translation): New variable.
31340         (Fsubstitute_command_keys): Make translation of quotes dependent on
31341         `help-quote-translation'; also translate curly quotes back to ASCII
31342         ones.
31343         * lisp/cus-start.el (top-level): Add a customization entry for
31344         `help-quote-translation'.
31346 2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>
31348         * lisp/emacs-lisp/package.el: Don't always propagate async errors
31349         (package--with-work-buffer-async): Only propagate the error if the
31350         callback returns non-nil.
31351         (package--download-one-archive): Return nil on the signature
31352         checking callback if we accept unsigned.
31353         (package--download-and-read-archives): Return non-nil on the
31354         archive download callback.
31356 2015-06-18  Martin Rudalics  <rudalics@gmx.at>
31358         Set image_cache_refcount before x_default_parameter calls.  (Bug#20802)
31359         * src/nsfns.m (Fx_create_frame):
31360         * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
31361         image_cache_refcount before first x_default_parameter call.
31363 2015-06-18  Eli Zaretskii  <eliz@gnu.org>
31365         Improve and extend filepos-to-bufferpos
31366         * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
31367         Don't barf if F returns nil for some argument.
31368         (filepos-to-bufferpos): Expand to support UTF-16 and not assume
31369         that every encoding of type 'charset' is single-byte.
31371 2015-06-18  Artur Malabarba  <bruce.connor.am@gmail.com>
31373         * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
31374         Properly delete packages.  (Bug#20836)
31376 2015-06-18  Eli Zaretskii  <eliz@gnu.org>
31378         Update data files from just-released Unicode 8.0
31379         * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
31380         status.
31381         * test/BidiCharacterTest.txt: Update from Unicode 8.0.
31382         * admin/unidata/BidiMirroring.txt:
31383         * admin/unidata/BidiBrackets.txt:
31384         * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
31386 2015-06-18  Paul Eggert  <eggert@cs.ucla.edu>
31388         Document curved quotes a bit better
31389         * doc/emacs/basic.texi (Inserting Text):
31390         Mention C-x 8.  Change example to use curved quote rather
31391         than infinity, as this lets us give more ways to do it.
31392         * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
31393         and quotation marks.
31394         * doc/emacs/text.texi (Quotation Marks):
31395         * doc/lispref/tips.texi (Documentation Tips):
31396         Add "curly quotes" and "curved quotes" to the index.
31397         * doc/emacs/text.texi (Quotation Marks):
31398         Give the C-x 8 shorthands for curved quotes.
31399         Cross-reference to "Quotation Marks".
31401 2015-06-17  Daiki Ueno  <ueno@gnu.org>
31403         Add pinentry.el for better GnuPG integration
31404         * lisp/pinentry.el: New file.
31405         * etc/NEWS: Add entry about pinentry.el.
31406         * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
31407         (Bug#20550)
31409 2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>
31411         * lisp/emacs-lisp/package.el: Slightly better error reporting.
31413 2015-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
31415         (define-minor-mode): Use setq-default for :global minor modes
31416         * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
31417         Use setq-default for :global minor modes (bug#20712).
31419 2015-06-17  Eli Zaretskii  <eliz@gnu.org>
31421         Avoid infloop in redisplay with tall images
31422         * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
31423         down near ZV.  (Bug#20808)
31424         Call bidi_unshelve_cache to avoid memory leaks.  Use IT_CHARPOS
31425         instead of CHARPOS.
31427 2015-06-17  Artur Malabarba  <bruce.connor.am@gmail.com>
31429         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
31430         Fix error reporting.
31432         * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
31434         * lisp/emacs-lisp/package.el: Revert buffer after any operation
31435         Call `package-menu--post-refresh' after any operation that changes
31436         the package database (`package-install' and `package-delete').  To
31437         avoid performance issues in large transactions, these functions
31438         add `post-refresh' to `post-command-hook' instead of calling it
31439         immediately.
31440         (package-menu--mark-or-notify-upgrades): New function.
31441         (list-packages): Add it to `package--post-download-archives-hook'.
31442         (package-menu--post-refresh): Lose the upgrade-checking code, add
31443         code to remove itself from `post-command-hook'.
31444         (package-install, package-delete): Add it to `post-command-hook'.
31445         (package-menu-execute): Don't call `package-menu--post-refresh'.
31447 2015-06-17  Stephen Leake  <stephen_leake@stephe-leake.org>
31449         Add missing function xref-location-group for elisp-mode.
31450         * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
31452 2015-06-17  Wolfgang Jenkner  <wjenkner@inode.at>
31454         * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
31455         The behavior now matches the description in the manual.  (Bug#20783)
31457 2015-06-17  Xue Fuqiao  <xfq.free@gmail.com>
31459         * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
31461 2015-06-17  Glenn Morris  <rgm@gnu.org>
31463         Generate char-script-table from Unicode source.  (Bug#20789)
31464         * admin/unidata/Makefile.in (AWK): New, set by configure.
31465         (all): Add charscript.el.
31466         (blocks): New variable.
31467         (charscript.el, ${unidir}/charscript.el): New targets.
31468         (extraclean): Also remove generated charscript.el.
31469         * admin/unidata/blocks.awk: New script.
31470         * admin/unidata/Blocks.txt: New data file, from unicode.org.
31471         * lisp/international/characters.el: Load charscript.
31472         * src/Makefile.in (charscript): New variable.
31473         (${charscript}): New target.
31474         (${lispintdir}/characters.elc): Depend on charscript.elc.
31475         (temacs$(EXEEXT)): Depend on charscript.
31477         * lisp/international/characters.el (char-script-table): Tweak
31478         some ranges to better match the source.  (Bug#20789#17)
31480         Remove "no-byte-compile: t" from a few files.
31481         * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
31482         * lisp/obsolete/patcomp.el: No reason not to compile these.
31484 2015-06-16  Glenn Morris  <rgm@gnu.org>
31486         Fix some typos in copied Unicode data.  (Bug#20789)
31487         * lisp/international/characters.el (char-script-table):
31488         * lisp/international/fontset.el (script-representative-chars)
31489         (setup-default-fontset): Fix typos.
31491         * lisp/emacs-lisp/check-declare.el (check-declare-warn):
31492         Don't print filename twice (it's in the prefix now).
31494         * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
31495         No longer needed.
31497         Address a compilation warning.
31498         * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
31499         Replace 't' with '_' in pcase.
31501         Address some check-declare warnings.
31502         * lisp/simple.el (tabulated-list-print):
31503         * lisp/progmodes/elisp-mode.el (xref-collect-matches):
31504         * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
31505         (ns-get-selection): Update declarations.
31507         Address some compilation warnings.
31508         * lisp/elec-pair.el (electric-pair-post-self-insert-function):
31509         * lisp/vc/vc-git.el (vc-git-file-type-as-string):
31510         Replace 't' with '_' in pcase.
31512         Address some compilation warnings.
31513         * lisp/face-remap.el (text-scale-adjust):
31514         * lisp/menu-bar.el (popup-menu-normalize-position):
31515         * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
31516         * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
31517         * lisp/emacs-lisp/generator.el (cps--transform-1):
31518         * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
31519         * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
31520         * lisp/progmodes/octave.el (octave-goto-function-definition)
31521         (octave-find-definition-default-filename):
31522         Replace 't' with '_' in pcase.
31524         * lisp/emacs-lisp/pcase.el (pcase--u1):
31525         Paper-over today's bootstrap failure.
31527 2015-06-16  Nicolas Petton  <nicolas@petton.fr>
31529         * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
31531         * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
31533         Better confirmation message in `find-alternate-file' (Bug#20830)
31534         * lisp/files.el (find-alternate-file'): Improve the confirmation
31535         message to show the buffer name.
31537         Better docstring for null.  (Bug#20815)
31538         * src/data.c (null): Improves the docstring, saying what null returns
31539         when OBJECT is non-nil.
31541 2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
31543         * lisp/net/newst-treeview.el: Use lexical-binding.
31545         (filepos-to-bufferpos): Add missing cases.  Make sure it terminates.
31546         * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
31547         New auxiliary function, extracted from filepos-to-bufferpos.
31548         Make sure it terminates.
31549         (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
31550         Add support for the `exact' quality.
31552 2015-06-16  Cédric Chépied  <cedric.chepied@gmail.com>
31554         Identify feeds in newsticker treeview with :nt-feed property
31555         * lisp/net/newst-treeview.el:
31556         (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
31558 2015-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
31560         * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
31561         (pcase--self-quoting-p): Floats aren't self-quoting.
31562         (pcase): Tweak docstring.
31563         (pcase--u1): Deprecate the t pattern.  Improve error detection for
31564         the nil pattern.
31565         (\`): Tweak docstring.  Signal an error for unrecognized cases.
31566         (bug#20784)
31568 2015-06-16  Eli Zaretskii  <eliz@gnu.org>
31570         Fix infloop in filepos-to-bufferpos
31571         * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
31572         offset calculation, and make it conditional on the eol-type of the
31573         file's encoding.  (Bug#20825)
31575 2015-06-16  Martin Rudalics  <rudalics@gmx.at>
31577         Fix handling of image cache refcounts.  (Bug#20802)
31578         This backports Eli Zaretskii's solution of this problem for W32
31579         to X and NS.
31580         * src/nsfns.m (image_cache_refcount): Define unconditionally.
31581         (unwind_create_frame): If the image cache's reference count
31582         hasn't been updated yet, do that now.
31583         (Fx_create_frame): Set image_cache_refcount unconditionally.
31584         * src/xfns.c (image_cache_refcount): Define unconditionally.
31585         (unwind_create_frame): If the image cache's reference count
31586         hasn't been updated yet, do that now.
31587         (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
31588         unconditionally.
31589         * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
31590         X and NS.
31592 2015-06-16  Nils Ackermann  <nils@ackermath.info>
31594         Improve reftex-label-regexps default value
31595         * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
31596         keyvals label regexp more strict to better cope with unbalanced
31597         brackets common in math documents.
31599 2015-06-16  Glenn Morris  <rgm@gnu.org>
31601         * doc/emacs/calendar.texi (Format of Diary File):
31602         Move "nonmarking" from here...
31603         (Displaying the Diary): ... to here.
31605         * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
31606         Swap the order of these nodes.
31607         * doc/emacs/emacs.texi: Update detailed menu for the above change.
31609         * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
31610         Update date of examples.
31611         (Diary, Format of Diary File): Move example from former to latter.
31612         Reduce duplication.
31614         No need for cp51932.el, eucjp-ms.el to not be compiled any more.
31615         * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
31616         Don't set no-byte-compile in the outputs.
31617         * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
31619 2015-06-15  Glenn Morris  <rgm@gnu.org>
31621         * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
31622         * doc/emacs/calendar.texi (Diary, Format of Diary File):
31623         Update for above diary-file change.
31625         * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
31626         (apply-macro-to-region-lines): Use user-error.
31628         * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
31629         (pages-directory-for-addresses): Doc fixes.
31631 2015-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
31633         * lisp/info.el: Cleanup bytepos/charpos issues
31634         * lisp/international/mule-util.el: Use lexical-binding.
31635         (filepos-to-bufferpos): New function.
31636         * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
31637         (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
31638         (Info-read-subfile, Info-search): Use 0-based file positions.
31640         * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
31641         (perl--syntax-exp-intro-keywords): New var.
31642         (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
31643         (bug#20800).
31645 2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>
31647         Fix quoting when making derived mode docstring
31648         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
31649         Nest regexp-quote inside format, not the reverse.
31650         Problem reported by Artur Malabarba in:
31651         http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
31653 2015-06-15  Eli Zaretskii  <eliz@gnu.org>
31655         Fix current-iso639-language on MS-Windows
31656         * lisp/international/mule-cmds.el (set-locale-environment):
31657         Downcase the locale name before interning it.  This is so the
31658         'current-iso639-language' on MS-Windows matches the ':lang'
31659         property of font-spec objects.
31661         Limit Symbola usage some more
31662         * lisp/international/fontset.el (setup-default-fontset): Limit
31663         Symbol coverage of Currency Symbols to u+20B6..u+20CF.
31664         (Bug#20727)
31666 2015-06-15  Nicolas Petton  <nicolas@petton.fr>
31668         * lisp/emacs-lisp/map.el (map-let): Better docstring.
31670 2015-06-15  Paul Eggert  <eggert@cs.ucla.edu>
31672         * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
31673         (help-fns-test-funny-names): Spelling fixes.
31675 2015-06-14  Glenn Morris  <rgm@gnu.org>
31677         * lisp/version.el (emacs-repository-version-git): Demote errors.
31678         Check result is a hash.
31680 2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>
31682         * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
31683         Catch errors that happen before going async.  (Bug#20809)
31685 2015-06-14  Eli Zaretskii  <eliz@gnu.org>
31687         Another improvement of documentation of set-fontset-font
31688         * doc/lispref/display.texi (Fontsets): Say explicitly that
31689         CHARACTER can be a single codepoint.
31690         * src/fontset.c (Fset_fontset_font): Doc fix.
31692         Another improvement for symbol and punctuation characters
31693         * lisp/international/fontset.el (setup-default-fontset): Exclude
31694         from Symbola character ranges for symbols and punctuation covered
31695         well by popular Unicode fonts.  Prefer fixed-misc Unicode font, if
31696         installed and where its coverage of symbols and punctuation is
31697         known to be good.  (Bug#20727)
31699 2015-06-14  Christoph Wedler  <christoph.wedler@sap.com>
31701         Some generic support for multi-mode indentation.
31702         * lisp/progmodes/prog-mode.el (prog-indentation-context):
31703         New variable.
31704         (prog-first-column, prog-widen): New convenience functions.
31706 2015-06-14  Artur Malabarba  <bruce.connor.am@gmail.com>
31708         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
31709         Don't assume that `tabulated-list-printer' will leave point at the
31710         end of the buffer.  (Bug#20810)
31712 2015-06-13  Glenn Morris  <rgm@gnu.org>
31714         Tweaks for getting repository version; a bit more like it was for bzr
31715         * lisp/version.el (emacs-repository-version-git)
31716         (emacs-repository--version-git-1): New functions,
31717         split from emacs-repository-get-version.
31718         (emacs-repository-get-version): Make the second argument meaningful.
31720         * lisp/startup.el (command-line-1): Inform if skipping relative
31721         file names due to deleted PWD.
31723         * src/xsmfns.c (x_session_initialize): Avoid libSM crash
31724         when starup directory is missing.  (Bug#18851)
31725         (errno.h): Include it.
31727 2015-06-13  Paul Eggert  <eggert@cs.ucla.edu>
31729         Better fix for documenting `X as "`X"
31730         Fix suggested by Stefan Monnier.
31731         * lisp/help-fns.el (help-fns--signature):
31732         Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
31733         * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
31734         Don't treat `X specially, as help-fns--signature now handles this.
31736 2015-06-13  Eli Zaretskii  <eliz@gnu.org>
31738         Improve the default fontset when Symbola is not installed
31739         * lisp/international/fontset.el (setup-default-fontset): Only
31740         prepend Symbola and FreeMono font specs for symbols and
31741         punctuation; do not replace the default spec for them.  This
31742         should have better results when Symbola/FreeMono are not
31743         installed.  (Bug#20727)
31745         Improve documentation of ':lang' in font specs
31746         * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
31747         use of the ':lang' property of the font spec.
31748         * doc/emacs/frames.texi (Fonts): Document the language names that
31749         can be in the STYLE part of XLFD.
31750         * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
31751         property.
31753         * nt/README: Don't advertise the (obsolescent) w32 FAQ.
31755         * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
31757         Revert last change in fontset.el
31758         * lisp/international/fontset.el (setup-default-fontset): Revert
31759         the change "Configure Symbola font only if installed", since font
31760         search is evidently not yet set up when this function is called.
31761         (Bug#20727)
31763 2015-06-12  Glenn Morris  <rgm@gnu.org>
31765         Ensure early startup warnings are visible at the end.  (Bug#20792)
31766         * lisp/emacs-lisp/warnings.el (display-warning):
31767         If startup isn't complete, delay the warning.
31768         * lisp/startup.el (normal-top-level, command-line):
31769         Let display-warning automatically handle the needed delays.
31770         Run delayed-warnings-hook.
31772         * lisp/version.el (emacs-repository-get-version):
31773         Avoid calling external executable if possible.  (Bug#20799)
31775 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
31777         Document `X as "`X", not as "(` X)"
31778         * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
31779         Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
31781         * src/print.c (print_object): Minor simplification.
31783 2015-06-12  Glenn Morris  <rgm@gnu.org>
31785         * src/buffer.c (init_buffer): Add final newline to message.
31787 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
31789         Configure Symbola font only if installed
31790         * lisp/international/fontset.el (setup-default-fontset):
31791         Don't specify the Symbola font if it's not installed.
31792         Likewise for FreeMono.  (Bug#20727)
31794 2015-06-12  Eli Zaretskii  <eliz@gnu.org>
31796         Configure Symbola font only for symbols and punctuation
31797         * lisp/international/fontset.el (setup-default-fontset): Leave
31798         only symbols and punctuation in the fontset setup for Symbola
31799         font; remove "Greek and Coptic" and "Cyrillic Supplement".
31800         (Bug#20798)
31802 2015-06-12  Andreas Schwab  <schwab@linux-m68k.org>
31804         Fix crash in fontset-info
31805         * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
31806         non-nil.
31808 2015-06-12  Paul Eggert  <eggert@cs.ucla.edu>
31810         Port to Solaris 10 sparc + Sun C 5.13
31811         * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
31812         Adjust to process.c change.
31813         * src/process.c (create_process): Declare volatile variables at
31814         top level of this function, so that they're less likely to be
31815         reused later in the function in the code executed by the vforked
31816         child.  Do not declare locals used only in the vforked child, as
31817         they might share memory with locals still live in the parent.
31818         Instead, use the same variables in the child as in the parent.
31819         This works around a subtle bug that causes a garbage collector
31820         crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
31822 2015-06-12  Glenn Morris  <rgm@gnu.org>
31824         * lisp/startup.el (normal-top-level): Don't let *Messages* get
31825         a nil default-directory.
31827 2015-06-11  Glenn Morris  <rgm@gnu.org>
31829         * lisp/startup.el (normal-top-level): Use delay-warning.  (Bug#20792)
31831         Some progress towards starting with PWD deleted.  (Bug#18851)
31832         * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
31833         * lisp/startup.el (normal-top-level, command-line-1):
31834         * lisp/minibuffer.el (read-file-name-default):
31835         Handle default-directory being nil.
31837 2015-06-11  Paul Eggert  <eggert@cs.ucla.edu>
31839         Fix "not a tty" bug on Solaris 10
31840         * configure.ac (PTY_OPEN): Define to plain 'open'
31841         on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
31842         * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
31843         calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
31844         hosts that call grantpt which does its work via a setuid subcommand
31845         (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
31846         Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
31847         seems relevant in that case too.
31849 2015-06-11  Juri Linkov  <juri@linkov.net>
31851         * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
31852         * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
31853         (Bug#20785)
31855 2015-06-11  Glenn Morris  <rgm@gnu.org>
31857         * lisp/international/characters.el (char-script-table): Fix typo.
31859 2015-06-11  Paul Eggert  <eggert@cs.ucla.edu>
31861         Fix quoting of help for functions with odd names
31862         While investigating Bug#20759, I discovered other quoting problems:
31863         C-h f mishandled characters like backslash and quote in function names.
31864         This fix changes the behavior so that 'C-h f pcase RET' now
31865         generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
31866         because '(format "%S" '(` FOO))' returns "(\\` FOO)".  A comment
31867         in src/lread.c's read1 function says that the backslash will be
31868         needed starting in Emacs 25, which implies that 'format' is
31869         correct and the old pcase documention was wrong to omit the backslash.
31870         * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
31871         * lisp/help-fns.el (help-fns--signature):
31872         * lisp/help.el (help-add-fundoc-usage):
31873         * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
31874         Use help--make-usage-docstring rather than formatting
31875         help-make-usage.
31876         * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
31877         Return raw docstring.
31878         * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
31879         raw docstring.  Take more care to distinguish raw from cooked dstrings.
31880         (describe-function-1): Let help-fns--signature substitute
31881         command keys.
31882         * lisp/help.el (help--docstring-quote): New function.
31883         (help-split-fundoc): Use it, to quote funny characters more
31884         systematically.
31885         (help--make-usage): Rename from help-make-usage, since this
31886         should be private.  Leave an obsolete alias for the old name.
31887         (help--make-usage-docstring): New function.
31888         * test/automated/help-fns.el (help-fns-test-funny-names): New test.
31890 2015-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
31892         * lisp/thingatpt.el (in-string-p): Revert last change,
31893         since in-string-p is not used in thingatpt.el but only from outside.
31894         Also, use lexical binding.
31896 2015-06-11  Artur Malabarba  <bruce.connor.am@gmail.com>
31898         * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
31899         * test/automated/let-alist.el (let-alist-cons): Test it.
31901 2015-06-11  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
31903         * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
31905 2015-06-10  Glenn Morris  <rgm@gnu.org>
31907         * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
31909         Improve generated ChangeLog for gitmerge.el commits.  (Bug#20717)
31910         * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
31911         * admin/gitmerge.el (gitmerge-commit-message):
31912         Exclude "skipped" messages from ChangeLog once again.
31914         Slight namespace cleanup for thingatpt.el.
31915         * lisp/thingatpt.el (thing-at-point--in-string-p)
31916         (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
31917         (thing-at-point--read-from-whole-string): Rename from
31918         old versions without "thing-at-point--" prefix.
31919         Keep old versions as obsolete aliases.  Update all uses.
31921         * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
31922         Move requiring of finder from here...
31923         (checkdoc-package-keywords): ... to here.
31925         Use 'user-error' in a few calendar files.
31926         * lisp/calendar/appt.el (appt-add):
31927         * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
31928         (calendar-generate):
31929         * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
31930         Replace 'error' with 'user-error'.
31932         * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
31934         * lisp/files-x.el (add-file-local-variable):
31935         Special-case 'lexical-binding'.  (Bug#20641)
31937         * lisp/progmodes/executable.el (executable-self-display): Obsolete.
31938         No longer autoload.
31939         * doc/misc/autotype.texi (Executables):
31940         Undocument executable-self-display.
31942         * lisp/progmodes/executable.el (executable-self-display):
31943         Use non-obsolete tail syntax.  (Bug#20779)
31944         (executable-self-display): Doc update.
31946 2015-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
31948         * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
31949         (finder-known-keywords): Silence byte-compiler.
31951 2015-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
31953         * lisp/simple.el (eval-expression): Macroexpand before evaluating
31954         (bug#20730).
31956         * lisp/progmodes/sh-script.el: Better handle nested quotes.
31957         (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
31958         (sh-font-lock-quoted-subshell): Make sure double quotes within single
31959         quotes don't mistakenly end prematurely the surrounding string.
31961         * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
31963 2015-06-09  Glenn Morris  <rgm@gnu.org>
31965         * test/automated/Makefile.in (ELFILES): Sort.
31967         * Makefile.in (SUBDIR_MAKEFILES):
31968         * lwlib/Makefile.in (WARN_CFLAGS):
31969         Use built-in Make functions rather than echo+sed.
31971 2015-06-09  Eli Zaretskii  <eliz@gnu.org>
31973         Update char-script-table
31974         * lisp/international/characters.el (char-script-table): Update
31975         from Unicode 8.0 Draft.
31977         Improve font selection for punctuation and other symbols
31978         * src/fontset.c (face_for_char): If the character's script is
31979         'symbol', and the font used for ASCII face has a glyph for it, use
31980         the font for the ASCII face instead of searching the fontsets.
31981         This comes instead of NS-specific code that used the current
31982         face's font instead, which is now disabled due to undesirable
31983         consequences.  (Bug#20727)
31985 2015-06-08  Dmitry Gutov  <dgutov@yandex.ru>
31987         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
31988         Skip past `#' to find BEG (bug#20771).
31989         * test/automated/elisp-mode-tests.el
31990         (elisp-completes-functions-after-hash-quote): New test.
31992 2015-06-08  Eli Zaretskii  <eliz@gnu.org>
31994         Fix compilation warning/error in --without-x builds
31995         * src/xdisp.c (append_space_for_newline): Condition GUI-specific
31996         code on HAVE_WINDOW_SYSTEM.
31998         Improve the default fontset wrt symbols
31999         * lisp/international/fontset.el (setup-default-fontset): Better
32000         setup of fontset-default for symbols: use Symbola and FreeMono.
32001         (Bug#20727)
32003 2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>
32005         Add new command checkdoc-package-keywords
32006         * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
32007         New defcustom.
32008         (checkdoc-list-of-strings-p): Add doc.
32009         (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
32010         non-nil, call `checkdoc-package-keywords'.
32011         (checkdoc-get-keywords): New defun.
32012         (checkdoc-package-keywords): New command.  Warns if the current file
32013         has package.el-style keywords that aren't in `finder-known-keywords'.
32014         * etc/NEWS: Add entry.
32016 2015-06-08  Eli Zaretskii  <eliz@gnu.org>
32018         Avoid crashes when key-binding is called from a timer
32019         * src/keymap.c (Fkey_binding): Don't segfault if called with an
32020         empty vector as KEY.  (Bug#20705)
32022         Fix a thinko in arc-mode.el
32023         * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
32024         non-Zip64 case.  (Bug#20769)
32026 2015-06-08  Artur Malabarba  <bruce.connor.am@gmail.com>
32028         * lisp/emacs-lisp/package.el (package-delete): Make interactive.
32030 2015-06-08  Oleh Krehel  <ohwoeowho@gmail.com>
32032         * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
32033         (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
32034         "*warn*", print the warning to the standard output.  (bug#20754)
32036 2015-06-07  Glenn Morris  <rgm@gnu.org>
32038         * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
32040         * src/font.c (syms_of_font) <font-log>: Doc fix.
32042         Remove the obsolete leading "*" from some C doc strings.
32043         * src/coding.c (syms_of_coding):
32044         * src/font.c (syms_of_font): Remove leading "*" from docs.
32045         * lisp/cus-start.el (enable-character-translation): Add it.
32047 2015-06-07  Paul Eggert  <eggert@cs.ucla.edu>
32049         Move gen_origin from program to data
32050         That way, 'make change-history' needs to change only ChangeLog.2,
32051         instead of having to change two files.
32052         * ChangeLog.2: Add commit info for range that this file covers.
32053         * Makefile.in (new_commit_regexp): New macro.
32054         (change-history-nocommit): Simplify, by putting what used to be
32055         the gen_origin value into the data (ChangeLog.2) rather than
32056         into the program (gitlog-to-emacslog).
32057         * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
32058         the input file (e.g., ChangeLog.2) rather than by having a
32059         constant in the program.  Substitute it into the output.
32061 2015-06-07  Dmitry Gutov  <dgutov@yandex.ru>
32063         * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
32064         function name (bug#20759).
32066 2015-06-07  Eli Zaretskii  <eliz@gnu.org>
32068         Adapt 'struct timespec' to next release of MinGW runtime
32069         * nt/inc/ms-w32.h (struct timespec): Don't declare if
32070         __struct_timespec_defined is defined.
32072 2015-06-06  Paul Eggert  <eggert@cs.ucla.edu>
32074         Merge from gnulib
32075         This incorporates:
32076         2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
32077         2015-06-05 stdio: Don't redefine gets when using C++
32078         2015-06-05 acl-permissions: port to AIX, C89 HP-UX
32079         2015-06-02 file-has-acl: fix build on Mac OS X 10
32080         2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
32081         2015-06-01 pthread_sigmask: discount system version if a simple macro
32082         2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
32083         * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
32084         * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
32085         * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
32086         * lib/gnulib.mk: Regenerate.
32088 2015-06-06  Juri Linkov  <juri@linkov.net>
32090         * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
32091         before calling grep-compute-defaults because now it affects the
32092         command lines computed in grep-compute-defaults.  (Bug#20728)
32094 2015-06-06  Glenn Morris  <rgm@gnu.org>
32096         Address some compilation warnings.
32097         * lisp/international/mule-cmds.el (w32-get-console-codepage)
32098         (w32-get-console-output-codepage):
32099         * lisp/progmodes/elisp-mode.el (xref-collect-references):
32100         * lisp/version.el (cairo-version-string): Declare.
32101         * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
32103 2015-06-06  Eli Zaretskii  <eliz@gnu.org>
32105         Fix display when a font claims large values of ascent and descent
32106         This fixes bug#20628.
32107         * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
32108         coordinate of a hollow cursor glyph when the original glyph's
32109         ascent is too small.
32110         (get_font_ascent_descent, normal_char_ascent_descent)
32111         (normal_char_height): New functions.
32112         (handle_single_display_spec, append_space_for_newline)
32113         (calc_pixel_width_or_height, produce_stretch_glyph)
32114         (calc_line_height_property): Use normal_char_ascent_descent and
32115         normal_char_height.
32116         (x_produce_glyphs): When font-global values of ascent and descent
32117         are too large, use per-character glyph metrics instead, if
32118         possible.  But don't allow the glyph row's ascent and descent
32119         values become smaller than the values from the metrics of the
32120         font's "normal" character.
32121         * src/xftfont.c (xftfont_draw):
32122         * src/w32font.c (w32font_draw): Correct the values of ascent and
32123         descent used to draw glyphless characters' hex code in a box.
32124         * src/xterm.c (x_draw_glyph_string_background):
32125         * src/xdisp.c (x_produce_glyphs):
32126         * src/w32term.c (x_draw_glyph_string_background):
32127         * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
32128         to detect fonts whose global ascent and descent values are too
32129         large to be used in layout decision, and redraw the background
32130         when that happens.
32131         * src/dispextern.h (FONT_TOO_HIGH): New macro.
32132         (get_font_ascent_descent): Add prototype.
32133         * src/xterm.c (x_new_font):
32134         * src/w32term.c (x_new_font):
32135         * src/nsterm.m (x_new_font):
32136         * src/font.c (font_open_entity):
32137         * src/composite.c (composition_gstring_width):
32138         Use get_font_ascent_descent to obtain reasonable values for ascent
32139         and descent of a font.
32141 2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>
32143         Add assertion in adjust_point_for_property
32144         * src/keyboard.c (adjust_point_for_property): Add eassert for
32145         current buffer being shown in selected window.
32147 2015-06-06  Dmitry Gutov  <dgutov@yandex.ru>
32149         Replace uses of in-string-p; make it obsolete
32150         * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
32151         (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
32153 2015-06-06  Eli Zaretskii  <eliz@gnu.org>
32155         Fix Dired display of an explicit list of files by ls-lisp.el
32156         * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
32157         (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
32158         correct for when displaying individual files separately, not as
32159         part of listing a directory, in which case these values are not
32160         recomputed by 'ls-lisp-insert-directory', but used verbatim.
32162         * lisp/dired.el (dired): Doc fix.  (Bug#20739)
32164 2015-06-06  Nicolas Richard  <youngfrog@members.fsf.org>
32166         Do not adjust point in a non-selected window
32167         * src/keyboard.c (command_loop_1): Do not adjust point when
32168         current buffer is not shown in selected window (Bug#20590).
32170         * etc/DEBUG: Mention 'maybe_call_debugger'
32172 2015-06-05  Nicolas Petton  <nicolas@petton.fr>
32174         Fix a unit test for map.el
32175         * test/automated/map-tests.el (test-map-let): Fix the test to work
32176         with the new syntax of `map-let'.
32178         * lisp/emacs-lisp/map.el (map-let): Better docstring.
32180         Better syntax for the map pcase pattern
32181         * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
32182         bindings of the form (KEY PAT) or SYMBOL.  KEY is not quoted.
32184         * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
32186         Fix a byte-compiler error in map-put and map-delete
32187         * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
32188         called with a symbol.
32190 2015-06-05  Glenn Morris  <rgm@gnu.org>
32192         * admin/gitmerge.el (gitmerge-commit-message):
32193         Revert to including "skipped" messages in ChangeLog once again.
32195 2015-06-05  Tassilo Horn  <tsdh@gnu.org>
32197         Use string> instead of equiv lambda with string<
32198         * lisp/help.el (view-emacs-news): Use string> instead of equivalent
32199         lambda with string<.
32201 2015-06-05  Glenn Morris  <rgm@gnu.org>
32203         * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
32204         (map--delete-array): Fix typo.
32206         * test/automated/map-tests.el: Replace "assert" with "should".
32208         * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
32209         (SUBDIRS_REL): Derive from SUBDIRS.
32211         Tweak some build messages.
32212         * lisp/Makefile.in ($(lisp)/loaddefs.el):
32213         * lisp/cus-dep.el (custom-make-dependencies):
32214         * lisp/finder.el (finder-compile-keywords): Say what we are doing.
32215         * lisp/international/titdic-cnv.el (batch-titdic-convert):
32216         Don't say how to compile.
32218 2015-06-05  Paul Eggert  <eggert@cs.ucla.edu>
32220         Omit U+0332 COMBINING LOW LINE in previous change
32221         It turns out that it does not work on Ubuntu 15.04.
32223         Fix transliteration of Bahá'í months
32224         * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
32225         Improve quality of Latin transliteration of Bahá'í month names.
32227         Fix curved quotes in a few places
32228         * lisp/calc/calc-misc.el (calc-help): Fix quoting.
32229         The strings in question are not doc strings, so this partially
32230         undoes the recent change that assumed they were doc strings.
32231         * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
32232         * lisp/info.el (Info-finder-find-node):
32233         Use curved quotes.
32234         * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
32235         Also allow curved quotes in doc strings.
32237 2015-06-04  Glenn Morris  <rgm@gnu.org>
32239         * lisp/Makefile.in (AM_V_at): Add missing definition.
32241         * lisp/Makefile.in: Quieten output a bit.
32242         ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
32243         Don't echo directories, since the commands we invoke print them.
32245         * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
32246         (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
32247         (SUBDIRS_SUBDIRS): New variables.
32248         (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
32249         Remove.
32250         ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
32251         (update-subdirs, compile-main, compile-clean):
32252         Replace "setwins" usage with new "SUBDIRS" variables.
32254         * lisp/vc/compare-w.el (compare-windows-get-window-function):
32255         Fix :version tag.
32257 2015-06-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
32259         * src/ftfont.c (ftfont_open2): Round divisions by upEM.
32261         Undo removal of x_clear_area call on expose for GTK3 or cairo
32262         * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
32263         Clear exposed area.  (Bug#20677)
32265 2015-06-04  Glenn Morris  <rgm@gnu.org>
32267         * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
32269         * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
32271         * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
32272         Rename from quail-lao-update-translation, since lao.el defines that.
32274 2015-06-04  Dmitry Gutov  <dgutov@yandex.ru>
32276         Handle new-style advice in find-funct
32277         * lisp/emacs-lisp/find-func.el (find-function-advised-original):
32278         Handle new-style advice.  Return the symbol's function definition.
32279         (Bug#20718)
32280         (find-function-library): Update accordingly.
32282 2015-06-04  Nicolas Petton  <nicolas@petton.fr>
32284         Merge branch 'map'
32286         * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
32288         Add new function string-greaterp
32289         * lisp/subr.el (string-greaterp): New function.  Also aliased to
32290         `string>'.
32291         * test/automated/subr-tests.el (string-comparison-test): Add unit
32292         tests for `string>'and `string<'.
32293         * src/fns.c (string-lessp): Better docstring.
32295 2015-06-04  Eli Zaretskii  <eliz@gnu.org>
32297         Fix timezone-related functions on MS-Windows
32298         * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
32299         'xputenv', even if no reallocation of tzvalbuf was necessary.
32300         This fixes a bug in timezone-related functions on MS-Windows.
32301         Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
32303 2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>
32305         Don't pass raw directory name to 'error'
32306         * lisp/files.el (basic-save-buffer-2): Avoid format error if
32307         a directory name contains a string like "%s".
32309 2015-06-03  Dmitry Gutov  <dgutov@yandex.ru>
32311         Override 'grep --color=always'
32312         * lisp/progmodes/xref.el (xref-collect-matches):
32313         Override --color=always in grep-find-template.
32315 2015-06-03  Michael Albinus  <michael.albinus@gmx.de>
32317         Fix error introduced recently in file-notify-tests.el
32318         * test/automated/file-notify-tests.el
32319         (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
32320         (file-notify--deftest-remote): Revert previous patch, not
32321         necessary anymore.
32323 2015-06-03  Wolfgang Jenkner  <wjenkner@inode.at>
32325         * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
32326         Starting from a display string after a newline, point went to the
32327         previous line.  Also, fix an inadvertent use of a buffer position
32328         with FETCH_BYTE.  (Bug#20701)
32330 2015-06-03  Michael Albinus  <michael.albinus@gmx.de>
32332         Instrument file-notify-test.el in order to catch hydra error
32333         * test/automated/file-notify-tests.el (file-notify--deftest-remote):
32334         Wrap body by `ignore-case', in order to trap non-local errors.
32336 2015-06-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
32338         Undo previous changes in non-toolkit scroll bar drawing
32339         * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
32340         [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window.  (Bug#20668)
32342 2015-06-03  Paul Eggert  <eggert@cs.ucla.edu>
32344         * .gitignore: Also ignore doc/*/*/*.html and .ps.
32346         Support quotes 'like this' in info files
32347         This is possible when 'makeinfo --disable-encoding' is used
32348         in Texinfo 5.
32349         * lisp/calc/calc-help.el (calc-describe-thing):
32350         * lisp/gnus/gnus-art.el (gnus-button-alist):
32351         * lisp/info.el (Info-find-index-name):
32352         * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
32353         Also support quotes 'like this'.
32354         * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
32355         * lisp/finder.el (finder-font-lock-keywords): Remove var that
32356         hasn't been used in years, instead of bothering to fix its quoting.
32358 2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>
32360         * .gitignore: Remove !test/etags/html-src/*.html.
32361         It's no longer needed, since *.html was removed.  Sort.
32363 2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>
32365         Restore <D> instead of '.' in grep-find-template
32366         * lisp/cedet/semantic/symref/grep.el
32367         (semantic-symref-grep-use-template): Update a comment.
32368         * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
32369         instead of '.' in grep-find-template (bug#20719).
32370         (rgrep): Pass nil as the directory to rgrep-default-command.
32371         * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
32372         default value for DIR.
32373         * lisp/progmodes/xref.el (xref-collect-matches): Drop the
32374         workaround.
32376 2015-06-02  Glenn Morris  <rgm@gnu.org>
32378         * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
32380         * configure.ac (emacs_config_features): Add Cairo.
32382         * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
32384 2015-06-02  Michael Albinus  <michael.albinus@gmx.de>
32386         Ensure that autorevert works for remote files in file-notify-tests.el
32387         * test/automated/file-notify-tests.el (file-notify--test-desc):
32388         New defvar.
32389         (file-notify--test-remote-enabled)
32390         (file-notify-test00-availability, file-notify-test01-add-watch)
32391         (file-notify-test02-events): Use it.
32392         (file-notify--test-event-test): Check proper descriptor.
32393         (file-notify-test03-autorevert): Ensure that
32394         `visited-file-modtime' has changed.  (Bug#20392)
32396 2015-06-02  Nicolas Petton  <nicolas@petton.fr>
32398         Add a pcase pattern for maps and `map-let' based on it
32399         * lisp/emacs-lisp/map.el (map-let): New macro.
32400         (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
32401         * test/automated/map-tests.el: New test for `map-let'.
32403 2015-06-02  Dmitry Gutov  <dgutov@yandex.ru>
32405         Reuse rgrep mechanics in xref-find-regexp
32406         * lisp/progmodes/grep.el (rgrep-default-command):
32407         Extract from `rgrep'.
32408         * lisp/progmodes/xref.el (xref-collect-references): Split from
32409         `xref-collect-matches'.  Only handle the case of symbol search.
32410         (xref-collect-matches): Instead of Semantic Symref, use
32411         `rgrep-default-command', to take advantage of its directory and
32412         file ignore settings.
32413         (xref--collect-match): Remove the last argument, leaving the
32414         regexp construction up to the caller.
32415         * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
32416         Change to take the xref-collect- function to use as an argument.
32417         (elisp-xref-find): Update accordingly.
32418         * lisp/progmodes/etags.el (etags--xref-find-matches)
32419         (etags-xref-find): Same.
32421         Move xref-elisp-location to elisp-mode.el
32422         * lisp/progmodes/xref.el (xref-elisp-location)
32423         (xref-make-elisp-location, xref-location-marker): Remove here.
32424         (xref--xref): Don't limit the type of the location slot.
32425         * lisp/progmodes/elisp-mode.el (xref-elisp-location):
32426         Define as a cl-struct here.
32427         (xref-location-marker): Move here.
32429 2015-06-02  Eli Zaretskii  <eliz@gnu.org>
32431         Minor tweaks for .gitignore
32432         * .gitignore: Don't ignore versioned *.html and *.ps files.
32433         Don't ignore admin/notes/tags that might be ignored as TAGS
32434         on case-insensitive filesystems.  (Bug#20710)
32436 2015-06-02  Paul Eggert  <eggert@cs.ucla.edu>
32438         Generate curved quotes in ert doc
32439         * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
32440         (ert-results-mode-menu)
32441         (ert-results-pop-to-backtrace-for-test-at-point)
32442         (ert-results-pop-to-messages-for-test-at-point)
32443         (ert-results-pop-to-should-forms-for-test-at-point)
32444         (ert-describe-test):
32445         Quote ‘like this’, not `like this', when generating doc strings
32446         and the like.
32447         * test/automated/ert-x-tests.el (ert-test-describe-test):
32448         Allow quoting ‘like this’.
32450 2015-06-02  Nicolas Richard  <youngfrog@members.fsf.org>
32452         Add test for previous commit
32453         * test/automated/replace-tests.el: New file.
32454         (query-replace--split-string-tests): Add test for previous commit.
32456         Avoid confusion in query-replace history when replacing NUL chars
32457         * lisp/replace.el (query-replace--split-string): New function.
32458         (query-replace-read-from): Rely on the 'separator' property
32459         instead of searching for the NUL character (Bug#20690).
32461 2015-06-02  Glenn Morris  <rgm@gnu.org>
32463         Merge from origin/emacs-24
32464         8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
32466         * admin/gitmerge.el (gitmerge-commit-message):
32467         Exclude "skipped" messages from ChangeLog.
32469 2015-06-01  Michael Albinus  <michael.albinus@gmx.de>
32471         Sync with Tramp repository
32472         * lisp/net/tramp.el (tramp-message): Dump connection buffer error
32473         messages.
32474         (tramp-handle-make-auto-save-file-name): When calling
32475         `make-auto-save-file-name' internally, make sure it uses Unix-like
32476         behavior, not Windows-like behavior.
32477         * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
32478         the local case, because "chown" might fail on w32.
32479         * lisp/net/trampver.el (tramp-repository-get-version): Don't run
32480         for XEmacs.
32482 2015-06-01  Eli Zaretskii  <eliz@gnu.org>
32484         MS-Windows followup for batch stdout/stderr output changes
32485         * lisp/international/mule-cmds.el (set-locale-environment):
32486         In batch mode, use console codepages for keyboard and terminal
32487         encoding.  (Bug#20545)
32489         Update .gitattributes for DOS EOL files
32490         * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
32491         CRLF end-of-line format.
32493         NS equivalents of xterm.c and w32term.c changes
32494         * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
32495         glyph string background also when the font in use claims
32496         preposterously large global height value.  Helps to remove
32497         artifacts left from previous displays when glyphless characters
32498         are displayed as hex code in a box.
32499         (x_new_font): Call get_font_ascent_descent to obtain a reasonable
32500         value for FRAME_LINE_HEIGHT, even when a font claims very large
32501         value for its height.
32503 2015-06-01  Paul Eggert  <eggert@cs.ucla.edu>
32505         Avoid grave accent quoting in stderr diagnostics
32506         A few Emacs diagnostics go directly to stderr, and so can't easily
32507         contain curved quotes (as non-UTF-8 locales might mishandle them).
32508         Instead of bothering to add support for this rarity, reword the
32509         diagnostics so that they don't use grave accent to quote.
32510         * src/alloc.c (mark_memory): Fix comment.
32511         * src/buffer.c (init_buffer):
32512         * src/dispnew.c (init_display):
32513         * src/emacs.c (main, sort_args):
32514         * src/lread.c (dir_warning):
32515         * src/term.c (init_tty):
32516         * src/unexmacosx.c (unexec):
32517         * src/xfns.c (select_visual):
32518         * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
32519         Reword stderr diagnostics to avoid quoting `like this'.
32520         * src/unexmacosx.c: Include errno.h.
32521         * src/xfns.c (select_visual): Encode value for locale.
32523 2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>
32525         Treat batch stdout/stderr like standard display
32526         Calls like (print FOO) could generate improperly encoded or
32527         hard-to-read output if FOO contains characters outside the system
32528         locale.  Fix this by treating batch stdout and stderr like
32529         interactive standard display, when it comes to transliterating and
32530         encoding characters (Bug#20545).
32531         * doc/emacs/mule.texi (Communication Coding):
32532         * doc/lispref/display.texi (Active Display Table):
32533         * doc/lispref/nonascii.texi (Locales):
32534         * etc/NEWS:
32535         * src/coding.c (syms_of_coding):
32536         * src/dispnew.c (syms_of_display):
32537         Document this.
32538         * src/print.c: Include disptab.h.
32539         (printchar_to_stream): New function, with much of the guts of the
32540         old Fexternal_debugging_output, except this one also uses the
32541         standard display table.
32542         (printchar, strout, Fexternal_debugging_output): Use it.
32544 2015-05-31  Glenn Morris  <rgm@gnu.org>
32546         * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
32548 2015-05-31  Paul Eggert  <eggert@cs.ucla.edu>
32550         Remove DEFSYMs that aren't used at the C level.  Also:
32551         * src/decompress.c (Qzlib_dll):
32552         * src/font.c (Qunicode_sip):
32553         * src/frame.c (Qtip_frame):
32554         * src/ftfont.c (Qserif):
32555         * src/gnutls.c (Qgnutls_dll):
32556         * src/xml.c (Qlibxml2_dll):
32557         Move from here ...
32558         * src/w32fns.c (syms_of_w32fns): ... to here,
32559         as these are used only on MS-Windows.
32561 2015-05-31  Michael Albinus  <michael.albinus@gmx.de>
32563         Use another default value for tramp-histfile-override
32564         * lisp/net/tramp-sh.el (tramp-histfile-override):
32565         Use ".tramp_history" as default.
32566         Fixes bug#20446
32568 2015-05-29  Nicolas Petton  <nicolas@petton.fr>
32570         * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
32572 2015-05-16  Nicolas Petton  <nicolas@petton.fr>
32574         * etc/NEWS: Add an entry about map.el.
32576         Improve the docstring of functions in map.el
32577         Since a map is not a data structure but a concept, adding information
32578         about the possible types of maps can be useful information.
32579         * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
32580         each public function.
32582 2015-04-29  Nicolas Petton  <nicolas@petton.fr>
32584         * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
32585         specific tests depending on the type of the map.
32587         * lisp/emacs-lisp/map.el: Better docstrings.
32589 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
32591         * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
32593 2015-04-25  Nicolas Petton  <nicolas@petton.fr>
32595         * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
32597         * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
32599         Fix a false negative in `map-elt' with alists and values being nil
32600         * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
32601         found but its associated value is nil, do not return the default
32602         value.
32603         * test/automated/map-tests.el: Add a regression test.
32605 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
32607         * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
32609         Do not signal an error when trying to delete a key from an array
32610         * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
32611         the key is present to avoid signaling an error.
32612         * test/automated/map-tests.el: Add a test for deleting non-existing
32613         keys from maps.
32615         * lisp/emacs-lisp/map.el: Better docstring.
32617         Minor improvement in map-elt
32618         * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
32619         doing a lookup in arrays, but check the boundaries of the array
32620         instead.
32621         * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
32622         and a negative integer as key.
32624 2015-04-21  Nicolas Petton  <nicolas@petton.fr>
32626         * test/automated/map-tests.el: Refactoring of test methods.
32628         * test/automated/map-tests.el: Renamed from map-test.el.
32630 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
32632         * lisp/emacs-lisp/map.el (map-into): Better error message.
32634         * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
32636         Throw an error when converting a map into an unknown map type
32637         * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
32638         not valid.
32639         * test/automated/map-tests.el: Add a regression test.
32641         New library map.el similar to seq.el but for mapping data structures.
32642         * test/automated/map-tests.el: New file.
32643         * lisp/emacs-lisp/map.el: New file.
32645 2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>
32647         * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
32648         there's no explicit tag name (bug#20629).
32650 2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>
32652         Remove format2
32653         * src/editfns.c, src/lisp.h (format2): Remove.
32654         It is more trouble than it's worth, now that we have CALLN.
32655         This is just a minor refactoring.
32656         * src/buffer.c (Fkill_buffer):
32657         * src/dbusbind.c (XD_OBJECT_TO_STRING):
32658         * src/fileio.c (barf_or_query_if_file_exists):
32659         Adjust to format2 going away.
32661         Don't misencode C-generated messages
32662         Also, be more consistent about calls to 'Fmessage' vs 'message'.
32663         * src/alloc.c (Fgc_status):
32664         Prefer AUTO_STRING to build_string for Fmessage call.
32665         * src/data.c (Fmake_variable_buffer_local)
32666         (Fmake_local_variable, Fmake_variable_frame_local):
32667         * src/doc.c (store_function_docstring):
32668         Use Fmessage, not message, since the argument can contain
32669         non-ASCII characters, and this can cause the resulting message
32670         to be incorrectly encoded for the current environment.
32671         * src/fns.c (maybe_resize_hash_table):
32672         * src/xselect.c (x_clipboard_manager_save_all):
32673         Use message, not Fmessage, since Fmessage's power isn't needed here.
32674         * src/process.c (Fmake_network_process): Reword message to avoid %s.
32675         * src/xdisp.c (vmessage): Document restrictions on message contents.
32676         (message_nolog) [false]: Remove unused code.
32678         Use \r rather than ^M in string literals
32679         This is less likely to cause problems on platforms that
32680         use CRLF (or CR!) termination for lines.
32682         Update .gitattributes to match current sources
32683         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
32684         * .gitattributes: Accommodate tests that insist on DOS format.
32685         Remove test/automated/data/decompress/foo-gzipped.
32686         Add etc/e/eterm-color.
32688 2015-05-30  Eli Zaretskii  <eliz@gnu.org>
32690         * doc/emacs/mule.texi (Modifying Fontsets):
32691         Document face-ignored-fonts.  (Bug#20628)
32693         Add etags test for the new -Q option
32694         * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
32695         * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
32696         * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
32697         test-case changes below.
32698         * test/etags/ETAGS.good_6: New file.
32699         * test/etags/cp-src/x.cc: New file.
32700         * test/etags/Makefile (CPSRC): Add x.cc.
32701         (check): Add one more test, for -Q.
32703 2015-05-30  Dmitry Gutov  <dgutov@yandex.ru>
32705         Use list for the tags completion table, not obarray
32706         * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
32707         list instead of an obarray
32708         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
32709         (tags-completion-table): Combine those lists.
32710         (tags-completion-table): Update the docstring.
32712 2015-05-30  Eli Zaretskii  <eliz@gnu.org>
32714         Restore EOL format testing in etags
32715         * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
32716         * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
32717         * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
32718         test-case changes below.
32719         * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
32720         * test/etags/cp-src/c.C (B): Add back stray CR character.
32721         * test/etags/c-src/dostorture.c: Add back.
32722         * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
32724 2015-05-30  Vitaly Takmazov  <vitalyster@gmail.com>  (tiny change)
32726         Declare Emacs on MS-Windows to be DPI-aware
32727         * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
32728         * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
32729         This avoids Windows entering compatibility mode for Emacs,
32730         which causes fonts to look less nice.
32732 2015-05-30  Michael Albinus  <michael.albinus@gmx.de>
32734         Improve Tramp traces
32735         * lisp/net/trampver.el (tramp-repository-get-version): New defun.
32736         * lisp/net/tramp.el (tramp-debug-message): Use it.
32738 2015-05-30  Paul Eggert  <eggert@cs.ucla.edu>
32740         backup-buffer minor reworking of internals
32741         * lisp/files.el (backup-buffer): Rework to avoid a couple of
32742         unused locals inadvertently introduced in the previous change.
32744         backup-buffer now reports .emacs.d/%backup% ills
32745         * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
32746         fails due to disk space exhaustion or whatever, do not pretend
32747         that it succeeded.  More generally, do a better job of checking
32748         for I/O failures, and limit the scope of the condition-case to
32749         just the operations where file errors should be caught and ignored
32750         (Bug#20595).  Also, don't bother trying to delete later backups if
32751         an earlier deletion fails, as this is a sign of trouble and it's
32752         better to stop when there's trouble.
32754         copy-file now truncates output after writing
32755         * src/fileio.c (Fcopy_file): Truncate output after writing rather
32756         than before.  This is more likely to work than truncation before
32757         writing, if the file system is out of space or the user is over
32758         disk quota (Bug#20595).  Also, check for read errors.
32760 2015-05-29  Artur Malabarba  <bruce.connor.am@gmail.com>
32762         * lisp/emacs-lisp/package.el (package-load-all-descriptors):
32763         Don't load descriptors from directories above the package directories.
32765 2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>
32767         Merge from gnulib
32768         This incorporates the following (Bug#20681):
32769         2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
32770         2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
32771         * lib/set-permissions.c: Copy from gnulib.
32773 2015-05-29  Michael Albinus  <michael.albinus@gmx.de>
32775         Improve Tramp traces
32776         * lisp/net/tramp.el (tramp-call-process-region): New defun.
32777         * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
32779 2015-05-29  Glenn Morris  <rgm@gnu.org>
32781         * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
32783 2015-05-29  Wolfgang Jenkner  <wjenkner@inode.at>
32785         * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
32786         The signature was changed in the cairo branch, merged on 2015-05-23.
32787         This oversight broke compiling only the non-toolkit X version.
32789 2015-05-29  Samer Masterson  <samer@samertm.com>
32791         * doc/lispref/os.texi: Update initial-buffer-choice docs.
32793 2015-05-29  Glenn Morris  <rgm@gnu.org>
32795         * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
32796         Mark as an expected failure.
32798 2015-05-29  Paul Eggert  <eggert@cs.ucla.edu>
32800         Change package test to look for curved quotes
32801         * test/automated/package-test.el (package-test-describe-package)
32802         (package-test-signed): Search for curved single quotes as well as
32803         for grave accent and apostrophe.
32805 2015-05-28  Katsumi Yamaoka  <yamaoka@jpl.org>
32807         * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
32808         cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
32810 2015-05-28  Samer Masterson  <samer@samertm.com>
32812         Show files when `initial-buffer-choice' is non-nil
32813         * lisp/startup.el (command-line-1): When Emacs is given a file as an
32814         argument and `initial-buffer-choice' is non-nil, display both the file
32815         and `initial-buffer-choice'.  For more than one file, show
32816         `initial-buffer-choice' and *Buffer List*.  Refactor display-changing
32817         commands out of the command line arg parser.
32818         (initial-buffer-choice): Clarify docstring.
32820 2015-05-28  Eli Zaretskii  <eliz@gnu.org>
32822         Fix last commit
32823         * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
32824         (gnulib module qcopy-acl): Add back, as it is harmless.  This
32825         minimizes differences wrt lib/gnulib.mk.
32827         Fix the MS-Windows build as followup to gnulib update
32828         * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
32829         set-permissions.c, as they don't compile on MinGW.
32830         (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
32832 2015-05-28  Paul Eggert  <eggert@cs.ucla.edu>
32834         Revert my change to gnus-art.el
32835         * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
32836         It wasn't that important, and it caused a Gnus build to fail.  See:
32837         http://www.randomsample.de:4456/builders/emacs-devel/builds/734
32839         New minor mode Electric Quote
32840         This lets you easily insert quotes ‘like this’ by typing
32841         quotes `like this', and similarly you can easily insert
32842         quotes “like this” by typing quotes ``like this'' (Bug#20545).
32843         * doc/emacs/basic.texi (Inserting Text):
32844         * doc/emacs/modes.texi (Minor Modes):
32845         * etc/NEWS: Document it.
32846         * doc/emacs/text.texi (Quotation Marks): New section.
32847         * lisp/electric.el (electric-quote-comment)
32848         (electric-quote-string, electric-quote-paragraph):
32849         New custom vars.
32850         (electric--insertable-p)
32851         (electric-quote-post-self-insert-function): New functions.
32852         (electric-quote-mode, electric-quote-local-mode): New minor modes.
32853         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
32854         Add curved single quotes to electric-pair-text-pairs.
32855         Set electric-quote-string in this buffer.
32857         A few more doc string fixes (Bug#20385)
32859         Accept curved quotes in doc strings
32860         * lisp/info-look.el (info-lookup-guess-custom-symbol):
32861         (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
32863         Generate curved quotes in pseudo-info nodes
32864         * lisp/info.el (Info-virtual-index-find-node)
32865         (Info-virtual-index, Info-apropos-find-node, info-apropos):
32866         Quote ‘like this’, not `like this', when generating pseudo-info nodes.
32868         Fix minor quoting problems in doc strings
32869         Most of these fixes involve escaping grave accents that are
32870         actually intended to be grave accents, not left quotes.
32871         (Bug#20385)
32873         Support curved quotes in doc strings
32874         Emacs's traditional doc string style has been to quote symbols
32875         `like this'.  This worked well on now-obsolete terminals where
32876         ` and ' were symmetric quotes, but nowadays curved quotes
32877         ‘like this’ look better.  Support quoting the new way too.
32878         (Bug#20385)
32879         * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
32880         ‘like-this’ as well as `like-this'.
32881         * etc/NEWS: Mention this.
32882         * lisp/cedet/mode-local.el (overload-docstring-extension)
32883         (mode-local-print-binding, mode-local-describe-bindings-2):
32884         * lisp/cus-theme.el (describe-theme-1):
32885         * lisp/descr-text.el (describe-text-properties-1, describe-char):
32886         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
32887         * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
32888         * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
32889         (eieio-help-constructor):
32890         * lisp/emacs-lisp/package.el (describe-package-1):
32891         * lisp/faces.el (describe-face):
32892         * lisp/help-fns.el (help-fns--key-bindings)
32893         (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
32894         (help-fns--interactive-only, describe-function-1):
32895         (describe-variable):
32896         * lisp/help.el (describe-mode):
32897         * lisp/international/mule-cmds.el (describe-input-method)
32898         (describe-language-environment):
32899         * lisp/international/mule-diag.el (describe-character-set)
32900         (print-coding-system-briefly, list-input-methods)
32901         (list-input-methods-1):
32902         Insert curved quotes rather than grave accent and apostrophe.
32903         * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
32904         * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
32905         (checkdoc-proper-noun-region-engine):
32906         * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
32907         (lisp-cl-font-lock-keywords-2):
32908         * lisp/finder.el (finder-font-lock-keywords):
32909         * lisp/gnus/gnus-art.el (gnus-button-alist):
32910         * lisp/help-fns.el (help-do-arg-highlight)
32911         (describe-function-1, describe-variable):
32912         * lisp/help-mode.el (help-xref-symbol-regexp)
32913         (help-xref-info-regexp, help-xref-url-regexp):
32914         * lisp/help.el (describe-mode):
32915         * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
32916         * lisp/wid-edit.el (widget-documentation-link-regexp):
32917         Parse symbols quoted ‘like-this’ as well as `like-this'.
32918         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
32919         Add "‘" and "’" to electric-pair-text-pairs.
32920         (elisp--form-quoted-p): Also allow "‘" as a quoting char.
32921         (elisp-completion-at-point, elisp--preceding-sexp):
32922         Also treat "‘" and "’" as quoting chars.
32924         substitute-command-keys now curves quotes
32925         So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
32926         * doc/lispref/help.texi (Keys in Documentation):
32927         * etc/NEWS: Document this.
32928         * src/doc.c (Fsubstitute_command_keys): Implement it.
32930 2015-05-28  Glenn Morris  <rgm@gnu.org>
32932         * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
32933         (rmail-summary-by-topic, rmail-summary-by-senders):
32934         No longer strip leading/trailing whitespace.
32936         * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
32937         (f90-no-block-limit): Add "enum".  (Bug#20680)
32938         * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
32939         New tests.
32941 2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
32943         * lisp/isearch.el (isearch--current-buffer): Give a default value.
32944         Un-revert changes mistakenly dropped by f9fabb2b.
32946 2015-05-27  Paul Eggert  <eggert@cs.ucla.edu>
32948         Merge from gnulib
32949         This incorporates:
32950         2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
32951         2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
32952         2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
32953         2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
32954         2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
32955         2015-05-26 stdio: fix probe on mingw under gcc 5.1
32956         * admin/merge-gnulib (GNULIB_MODULES):
32957         Replace qacl with qcopy-acl, since we don't need the rest of qacl.
32958         * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
32959         * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
32960         * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
32961         Get latest versions from gnulib.
32962         * lib/get-permissions.c, lib/set-permissions.c: New files.
32963         * lib/gnulib.mk, m4/gnulib-comp.m4:
32964         Regenerate.
32965         * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
32967 2015-05-27  Dmitry Gutov  <dgutov@yandex.ru>
32969         * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
32970         process here.
32971         (vc-do-command): Rather than here (bug#20608).
32973 2015-05-27  Ivan Shmakov  <ivan@siamics.net>
32975         Avoid gratuitous delete-dups in face-at-point
32976         * lisp/faces.el (face-at-point): Do not compute the properly
32977         ordered, duplicate-free list if only a single value is
32978         requested anyway.  (Bug#20519)
32980         Show the exact C-x 8 RET invocation in describe-char
32981         * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
32982         invocation instead of a template.  (Bug#20522)
32984 2015-05-27  Artur Malabarba  <bruce.connor.am@gmail.com>
32986         * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
32987         (package-menu--post-refresh): Call `tabulated-list-print' with the
32988         UPDATE argument.  This only affects the refresh action, the revert
32989         action still erases tags.
32990         (package-menu-get-status): Change `assq' to `assoc'.
32991         (package-menu--mark-upgrades-1): New function.
32992         (package-menu--mark-upgrades-pending): New variable.
32993         (package-menu-mark-upgrades): Use them to delay marking until
32994         after refresh is done.
32995         (package-menu--post-refresh): Call mark-upgrades-1 if
32996         mark-upgrades-pending is non-nil.
32998 2015-05-27  Michael Albinus  <michael.albinus@gmx.de>
33000         * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
33001         Fix typo in "Improve tramp-handle-make-auto-save-file-name"
33002         (commit 3953c4be2816537be95520605d45b866dc731f4b).
33004 2015-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
33006         * lisp/isearch.el (isearch--current-buffer): New var.
33007         (isearch-update): Set cursor-sensor-inhibit here.
33008         (isearch-done): Unset cursor-sensor-inhibit in the right buffer
33009         (bug#20532).
33011         Change inhibit-point-motion-hooks to t
33012         * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
33013         to t and document it as obsolete.
33015 2015-05-27  Eli Zaretskii  <eliz@gnu.org>
33017         Support ZIP files that use Zip64 extensions
33018         * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
33019         format of central directory offsets used by Zip64 extensions.
33020         (Bug#20665)
33022 2015-05-27  Michael Albinus  <michael.albinus@gmx.de>
33024         New test tramp-test30-make-auto-save-file-name
33025         * test/automated/tramp-tests.el
33026         (tramp-test30-make-auto-save-file-name): New test.
33027         (tramp-test31-special-characters)
33028         (tramp-test31-special-characters-with-stat)
33029         (tramp-test31-special-characters-with-perl)
33030         (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
33031         (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
33032         (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
33033         (tramp-test34-recursive-load, tramp-test35-unload): Rename.
33035         Improve tramp-handle-make-auto-save-file-name
33036         * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
33037         (tramp-handle-make-auto-save-file-name): Let native
33038         `make-auto-save-file-name' use `auto-save-file-name-transforms',
33039         if `tramp-auto-save-directory' is not set.
33041 2015-05-27  Glenn Morris  <rgm@gnu.org>
33043         No longer set dired-directory in eshell.  (Bug#16477)
33044         * lisp/eshell/esh-mode.el (eshell-mode):
33045         * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
33047         * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
33049         Make c-submit-bug-report file reports at debbugs.gnu.org.  (Bug#15784)
33050         * lisp/progmodes/cc-mode.el (c-mode-help-address):
33051         Change to submit@debbugs.
33052         (c-mode-bug-package): New constant.
33053         (mail-position-on-field): Declare.
33054         (c-submit-bug-report): Insert X-Debbugs-Package header.
33055         * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
33056         Mention debbugs.gnu.org.
33058 2015-05-26  Glenn Morris  <rgm@gnu.org>
33060         * lisp/mail/rmailsum.el: Commas no longer separate regexps.  (Bug#19026)
33061         (rmail-summary-by-recipients, rmail-summary-by-topic)
33062         (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
33063         * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
33065 2015-05-26  Paul Eggert  <eggert@cs.ucla.edu>
33067         Handle curved quotes in info files
33068         * lisp/calc/calc-help.el (calc-describe-thing):
33069         * lisp/info.el (Info-find-index-name)
33070         (Info-try-follow-nearest-node, Info-fontify-node):
33071         * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
33072         In info files, process quotes ‘like this’ the same way we process
33073         quotes `like this'.  This catches a few places we missed earlier.
33075 2015-05-26  Dmitry Gutov  <dgutov@yandex.ru>
33077         xref-prompt-for-identifier: Use a list value
33078         * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
33079         value, to be interpreted as a list of commands.
33080         (xref--prompt-p): New function.
33081         (xref--read-identifier): Use it.
33083 2015-05-26  Eli Zaretskii  <eliz@gnu.org>
33085         Teach MS-Windows font back-end return per-glyph ascent/descent
33086         * src/w32font.h (struct w32_metric_cache): Add ascent and descent
33087         values.
33088         * src/w32font.c (w32font_text_extents): Compute, cache, and
33089         accumulate per-glyph ascent and descent values, instead of copying
33090         global values from the font.  If the values are not available from
33091         the font data, i.e., non-TTF fonts, fall back on font-global values.
33092         (compute_metrics): Compute and return per-glyph ascent and descent
33093         values, if returned by GetGlyphOutlineW, falling back on
33094         font-global values.  (Bug#20628)
33095         * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
33096         height of rectangle to be drawn, to be compatible with
33097         XDrawRectangle.  Fixes glyphless-char display as hex codes in a
33098         box, when per-glyph ascent/descent values are used.
33100 2015-05-26  Artur Malabarba  <bruce.connor.am@gmail.com>
33102         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
33103         Don't sort if sorter is nil.
33105 2015-05-26  Michael Albinus  <michael.albinus@gmx.de>
33107         Fix Bug#20621
33108         * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it.  There
33109         are major modes which set `auto-save-mode' on their own rules;
33110         Tramp shall not overwrite such settings.
33112 2015-05-26  Glenn Morris  <rgm@gnu.org>
33114         * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
33115         (desktop-load-file): Guess that "foobar" defines "foobar-mode".
33116         (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
33117         Doc updates.
33118         (vc-dir-mode): Remove unnecessary autoload.
33120 2015-05-25  Philipp Stephani  <phst@google.com>
33122         * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
33123         (xterm--extra-capabilities-type): Add `getSelection'.
33124         (xterm--query): Add `no-async' argument.
33125         (xterm--init-activate-get-selection): New function.
33126         (terminal-init-xterm): Use it.
33127         (xterm--init-modify-other-keys): Rename from
33128         terminal-init-xterm-modify-other-keys.
33129         (xterm--init-bracketed-paste-mode): Rename from
33130         terminal-init-xterm-bracketed-paste-mode.
33131         (xterm--init-activate-set-selection): Rename from
33132         terminal-init-xterm-activate-set-selection.
33133         (xterm--selection-char): New function.
33134         (gui-backend-set-selection): Use it.  Use the &context to only apply
33135         this method in terminals where we enabled the feature.
33136         (gui-backend-get-selection): New method.
33138 2015-05-25  Daniel Colascione  <dancol@dancol.org>
33140         * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
33141         keyword constants to C++.
33143 2015-05-25  Paul Eggert  <eggert@cs.ucla.edu>
33145         Make TAGS files more portable to MS-Windows
33146         * etc/NEWS: Document this.
33147         * lib-src/etags.c (readline_internal) [DOS_NT]:
33148         Don't treat CRs differently from GNUish hosts.
33149         * lisp/progmodes/etags.el (etags-goto-tag-location):
33150         Adjust STARTPOS to account for the skipped CRs in dos-style files.
33152 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
33154         Improve fix of bug#20634 in tramp-sh.el
33156 2015-05-25  Eli Zaretskii  <eliz@gnu.org>
33158         Fix a typo in last commit
33159         * lib-src/etags.c (C_entries): Fix a typo.
33160         * test/etags/ETAGS.good_1:
33161         * test/etags/ETAGS.good_2:
33162         * test/etags/ETAGS.good_3:
33163         * test/etags/ETAGS.good_4:
33164         * test/etags/ETAGS.good_5:
33165         * test/etags/CTAGS.good: Update due to the change in etags.c.
33167         Fix tagging of class members in C-like OO languages
33168         * lib-src/etags.c (longopts): Add new option --class-qualify and
33169         its shorthand -Q.
33170         (print_help): Add help text for --class-qualify.
33171         (main): Add handling of -Q.
33172         (consider_token, C_entries) <omethodparm>: Append argument types
33173         to Objective C methods only if --class-qualify was specified.
33174         Qualify C++, Objective C, and Java class members with their class
33175         names only if --class-qualify was specified.
33176         (C_entries): If --class-qualify was not specified, remove the
33177         namespace and class qualifiers from tag names of C++ methods.
33178         This allows to use etags.el as xref back-end without the
33179         tag-symbol-match-p method, which greatly increases the number of
33180         potentially false positives.  (Bug#20629)
33181         * doc/man/etags.1: Update to document the new --class-qualify
33182         option.
33183         * test/etags/ETAGS.good_1:
33184         * test/etags/ETAGS.good_2:
33185         * test/etags/ETAGS.good_3:
33186         * test/etags/ETAGS.good_4:
33187         * test/etags/ETAGS.good_5:
33188         * test/etags/CTAGS.good: Update due to changes in etags.c.
33190 2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
33192         (cl-generic-define-method): Side effects are evil (bug#20644)
33193         * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
33194         cons-cells that might be used as keys in an `equal' hash-table.
33196 2015-05-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
33198         Make erc timestamps visible again
33199         * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
33200         Make timestamps visible again (if requested).
33202 2015-05-25  Eli Zaretskii  <eliz@gnu.org>
33204         Fix last change in etags.c that broke tagging compresed files
33205         * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
33206         quoting of decompression shell command for MS-Windows/MS-DOS.
33208 2015-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
33210         * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
33211         (Bug#20639)
33213 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
33215         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
33216         Fix typo in "Inhibit `epa-file-handler' in Tramp"
33217         (commit 89035e247591c8d688fce922b7079881aa110f33).
33219 2015-05-25  Orivej Desh  <orivej@gmx.fr>  (tiny change)
33221         Fix IPv6 addresses in Tramp
33222         * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
33223         Add square brackets around host name.
33225 2015-05-25  Michael Albinus  <michael.albinus@gmx.de>
33227         Inhibit `epa-file-handler' in Tramp (Bug#20634)
33228         * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
33229         (tramp-sh-handle-insert-file-contents-literally): Inhibit also
33230         `epa-file-handler'.
33232 2015-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
33234         * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
33235         (pcase-let): Document the behavior in case the pattern doesn't match.
33237 2015-05-24  Artur Malabarba  <bruce.connor.am@gmail.com>
33239         * lisp/emacs-lisp/tabulated-list.el: New optional print method.
33240         (tabulated-list-print): New optional argument, UPDATE.  If
33241         non-nil, the list is printed by only adding and deleting the
33242         changed entries, instead of erasing the whole buffer.  This method
33243         is much faster when few or no entries have changed.
33244         * doc/lispref/modes.texi (Tabulated List Mode): Document it.
33245         * etc/NEWS: Document it.
33247         * lisp/emacs-lisp/tabulated-list.el: Improve printing.
33248         (tabulated-list--get-sorter): New function.
33249         (tabulated-list-print): Restore window-line when remember-pos is
33250         passed and optimize away the `nreverse'.
33252 2015-05-24  Paul Eggert  <eggert@cs.ucla.edu>
33254         Simpilify etags TEX mode scanning
33255         * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
33256         Remove static vars.
33257         (TeX_commands): Deduce escapes here instead.
33258         (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
33259         This removes the need for a reset_input call.
33261         Improve etags I/O error reporting
33262         * lib-src/etags.c:
33263         Don't include sys/types.h and sys/stat.h; no longer needed.
33264         (infilename): New static var.
33265         (process_file_name): Don't call 'stat'.  Instead, just open the
33266         file for reading and report any errors.  Don't bother making
33267         a copy of the file argument; it's not needed.  Be more careful to
33268         use the failing errno when reporting an error.
33269         Quote the real name better (though no perfectly)
33270         when passing it to the shell.
33271         (reset_input): New function, which reports I/O errors.
33272         All uses of 'rewind' changed to use this function.
33273         (perhaps_more_input): New function, which also checks for
33274         I/O errors.  All uses of 'feof' changed to use this function.
33275         (analyze_regex): Report an error if fclose fails.
33276         (readline_internal): Report an error if getc fails.
33277         (etags_mktmp): Return an error if close fails.
33279         etags.c: avoid side effects in 'if'
33280         * lib-src/etags.c (process_file_name, Perl_functions)
33281         (TEX_decode_env): Hoist side effects into previous statement.
33283         .gitignore tweaks
33284         * .gitignore: Ignore all *.stamp files.  Sort.
33285         Ignore [0-9]*.txt (commonly used name for git patches)
33286         and /vc-dwim-log-* (vc-dwim temporary).
33288 2015-05-24  Eli Zaretskii  <eliz@gnu.org>
33290         Fix last change in etags.c, which failed the test suite
33291         * lib-src/etags.c (intoken): Add '$' to the set, as it was there
33292         before the last change.
33294 2015-05-23  Glenn Morris  <rgm@gnu.org>
33296         Remove charset map files from repository, generate in first bootstrap
33297         * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
33298         (all): Create the stamp file.
33299         (extraclean): Delete the stamp file.
33300         * src/Makefile.in (lispintdir, charsets): New variables.
33301         (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
33302         New rules.
33303         (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
33304         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
33305         * etc/charsets/*.map: Remove from repository.
33307 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33309         Cleanup etags.c to use locale-independent code
33310         Although this doesn't alter behavior (as etags doesn't use
33311         setlocale), the new version is more clearly locale-independent and
33312         the executable is a bit smaller on my platform.
33313         * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
33314         Include <c-ctype.h> instead of <ctype.h>.
33315         (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
33316         (begtk, midtk):
33317         Remove; no longer needed.
33318         (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
33319         All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
33320         c_islower, c_tolower, respectively.
33321         (notinname, begtoken, intoken, endtoken): Rewrite as functions
33322         instead of macros, and initialize the tables at compile-time
33323         rather than at run-time.
33325         Put default action first in src/Makefile
33326         * src/Makefile.in (all): Put this rule before lisp.mk.
33327         That way, plain 'make' works in the src directory again.
33329 2015-05-23  Glenn Morris  <rgm@gnu.org>
33331         * Makefile.in: Fix extraclean rule.
33332         (extraclean_dirs): New.
33333         (extraclean): Use it.
33335 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
33337         Avoid compiler warning in image.c on MS-Windows
33338         * src/w32term.h (x_query_color): Add prototype, to avoid compiler
33339         warning in image.c.
33341 2015-05-23  Glenn Morris  <rgm@gnu.org>
33343         Fix --without-toolkit-scroll-bars builds.
33344         * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
33345         Add new argument to x_clear_area1.
33346         (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
33347         Update x_clear_area arguments.
33349         * admin/charsets/glibc/: New directory, imported from glibc 2.21.
33350         * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
33351         Change to included version.
33352         (LOCAL, local, totalclean): Remove.
33353         (extraclean): Delete all generated files.
33355 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
33357         * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
33358         CVS/Entries exists.
33360         * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
33362         * lisp/progmodes/etags.el (tags-completion-at-point-function):
33363         Don't trust the find-tag function.
33365 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33367         Pacify --enable-gcc-warnings
33368         * src/frame.h (x_query_color): Remove redundant extern decl.
33369         * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
33370         (ftcrfont_match, ftcrfont_open, ftcrfont_close)
33371         (ftcrfont_text_extents, ftcrfont_draw):
33372         * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
33373         (XTframe_up_to_date, x_clear_area1, x_clear_frame)
33374         (x_ins_del_lines, frame_highlight, frame_unhighlight)
33375         (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
33376         (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
33377         (x_update_window_begin, x_connection_closed)
33378         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
33379         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
33380         (*x_gc_get_ext_data, x_extension_initialize)
33381         (x_cr_accumulate_data):
33382         Remove redundant static decl.  Many of these GCC doesn't complain
33383         about, but we might as well clean out the duplication while we're
33384         in the neighborhood.
33385         * src/xterm.c (x_fill_trapezoid_for_relief):
33386         Remove decl of nonexistent function.
33388 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
33390         Replace gui-method macros with cl-generic with &context
33391         * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
33392         (gui-method-declare, gui-call): Remove.
33393         (frame-creation-function): Use cl-defgeneric.
33394         (make-frame): Adjust callers.
33395         * lisp/menu-bar.el (menu-bar-edit-menu):
33396         Use gui-backend-selection-exists-p.
33397         * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
33398         (gui-backend-get-selection): New cl-generic to replace
33399         gui-get-selection method.
33400         (gui-backend-set-selection): New cl-generic to replace
33401         gui-set-selection method.
33402         (gui-selection-owner-p): New cl-generic to replace
33403         gui-selection-owner-p method.
33404         (gui-backend-selection-exists-p): New cl-generic to replace
33405         gui-selection-exists-p method.  Adjust all callers.
33406         * lisp/server.el (server-create-window-system-frame): Don't ignore
33407         window-system spec even when unsupported.
33408         * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
33409         * lisp/startup.el (handle-args-function, window-system-initialization):
33410         Use cl-defgeneric.
33411         (command-line): Adjust calls accordingly.
33412         * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
33413         a window-system-initialization method.
33414         (handle-args-function, frame-creation-function): Use cl-defmethod.
33415         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
33416         (gui-get-selection): Use cl-defmethod on the new functions instead.
33417         * lisp/term/pc-win.el (w16-get-selection-value): Turn into
33418         a gui-backend-get-selection method.
33419         (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
33420         Use cl-defmethod on the new functions instead.
33421         (msdos-window-system-initialization): Turn into
33422         a window-system-initialization method.
33423         (frame-creation-function, handle-args-function): Use cl-defmethod.
33424         * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
33425         a window-system-initialization method.
33426         (handle-args-function, frame-creation-function): Use cl-defmethod.
33427         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
33428         (gui-get-selection): Use cl-defmethod on the new functions instead.
33429         * lisp/term/x-win.el (x-window-system-initialization): Turn into
33430         a window-system-initialization method.
33431         (handle-args-function, frame-creation-function): Use cl-defmethod.
33432         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
33433         (gui-get-selection): Use cl-defmethod on the new functions instead.
33434         * lisp/term/xterm.el (xterm--set-selection): Turn into
33435         a gui-backend-set-selection method.
33436         * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
33437         (Fns_selection_owner_p): Remove unused arg `terminal'.
33438         (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
33440 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
33442         Revert "Fix etags Bug#20629 that broke C++ support"
33443         This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
33445 2015-05-23  Jan D  <jan.h.d@swipnet.se>
33447         Fix etags Bug#20629 that broke C++ support
33448         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
33449         Revert commit from Sun May 10 (Bug#20629).
33451         Merge branch 'cairo'.
33452         Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
33453         Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
33455         Merge branch 'master' into cairo
33457         Fixes to compile cairo branch without cairo
33458         * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
33459         first argument.
33460         * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
33461         USE_CAIRO.
33463 2015-05-23  Artur Malabarba  <bruce.connor.am@gmail.com>
33465         * lisp/emacs-lisp/package.el: Always update selected-packages.
33466         (package--update-selected-packages): New function.
33467         (package-menu-execute): Use it before starting the transaction,
33468         this way the list of selected packages is updated even when the
33469         transaction fails.
33470         (package-menu--perform-transaction): Don't edit selected-packages.
33472 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
33474         Fix etags reading of compressed files
33475         * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
33476         Include fcntl.h, for O_CLOEXEC.
33477         (process_file_name): Don't use 'popen', whose streams cannot be
33478         rewound.  Instead, uncompress the file to a temporary file,
33479         created by 'etags_mktmp', and read from that as usual.
33480         (etags_mktmp): New function.
33481         * test/etags/ETAGS.good_1:
33482         * test/etags/ETAGS.good_2:
33483         * test/etags/ETAGS.good_3:
33484         * test/etags/ETAGS.good_4:
33485         * test/etags/ETAGS.good_5: Update to be consistent with latest
33486         changes in etags.c regarding reading compressed files.
33488         Improve documentation of 'set-fontset-font'
33489         * doc/lispref/display.texi (Fontsets): Document the value of nil
33490         for the 3rd argument of 'set-fontset-font'.
33492         Fix documentation of forward-line
33493         * src/cmds.c (Fforward_line): Clarify the return value if the line
33494         at end of accessible portion of the buffer has no newline.
33495         * doc/lispref/positions.texi (Text Lines): Document what happens
33496         if the line at end of accessible portion of buffer has no newline.
33497         (Bug#20587)
33499 2015-05-22  Glenn Morris  <rgm@gnu.org>
33501         * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
33503         * admin/charsets/mapconv (LC_ALL): Set to C.
33505         * Makefile.in: Add admin/charsets into top-level clean rules.
33506         (clean): Add admin/charsets.
33507         (maybeclean_dirs): New variable.
33508         (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
33510         * admin/charsets/Makefile.in (LOCAL, local): Fix members.
33512 2015-05-22  Artur Malabarba  <bruce.connor.am@gmail.com>
33514         * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
33516 2015-05-22  Glenn Morris  <rgm@gnu.org>
33518         Generate admin/charsets Makefile via configure, and make more portable
33519         * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
33520         (admin/charsets/Makefile): Generate it.
33521         * admin/charsets/Makefile.in: Rename from Makefile.
33522         (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
33523         New variables, set by configure.
33524         (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
33525         (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
33526         (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
33527         (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
33528         (TRANS_TABLE, CHARSETS): Add directory prefix to value.
33529         (all): Declare PHONY.
33530         (local): New PHONY target.
33531         (map_template): New template.  Use to define short PHONY aliases.
33532         (*.map): Add directory prefixes to targets and prerequisites.
33533         Respect make verbosity.
33534         (JISC6226.map): Replace non-portable sed append without newline.
33535         (install): Remove rule.
33536         (clean): Only delete temporary sedscript.
33537         (bootstrap-clean, distclean, maintainer-clean, extraclean)
33538         (totalclean): New PHONY rules.
33539         * admin/charsets/mapconv (BASE): Replace basename with expr.
33540         (FILE): Add "mapfiles" subdirectory.
33541         (AWK): New variable.  Use throughout in place of "awk".
33542         (main): Use "gunzip -c" in place of "zcat".
33543         Don't leave whitespace before "p", for older sed.
33544         * admin/charsets/mapfiles/PTCP154: Add final newline,
33545         to make older sed versions happy.
33547 2015-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
33549         * lisp/autorevert.el: Use lexical-binding.  Fix hook usage.
33550         (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
33551         (auto-revert-notify-watch-descriptor): Use defvar-local.
33552         (find-file-hook, auto-revert-tail-mode)
33553         (auto-revert-notify-add-watch): Use setq-local.
33554         (auto-revert-notify-add-watch): Don't call make-local-variable on
33555         kill-buffer-hook (bug#20601).
33557 2015-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
33559         Change defgeneric so it doesn't completely redefine the function
33560         * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
33561         previously defined methods.
33562         (cl-generic-define-method): Let-bind purify-flag instead of
33563         using `fset'.
33564         (cl--generic-prefill-dispatchers): Only define during compilation.
33565         (cl-method-qualifiers): Remove redundant alias.
33566         (help-fns-short-filename): Silence byte-compiler.
33567         * test/automated/cl-generic-tests.el:
33568         Adjust to new defgeneric semantics.
33570 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
33572         * lisp/emacs-lisp/package.el (package-menu-execute):
33573         Remove reference to remove-dups.
33575 2015-05-21  kwhite  <kwhite@gnu.org>
33577         * lisp/erc/erc.el: Hide network/channel messages.
33578         (erc-network-hide-list, erc-channel-hide-list): New lists to define
33579         message types per network/channel.
33580         (erc-add-targets): New function to parse list of targets.
33581         (erc-hide-current-message-p): Modify to check for new targets.
33583 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
33585         Don't quote nil and t in doc strings
33586         This is as per "Tips for Documentation Strings" in the elisp manual.
33587         For consistency, do the same in diagnostics and comments.
33589 2015-05-21  Eli Zaretskii  <eliz@gnu.org>
33591         Fix a minor problem with mouse-face on mode line
33592         * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
33593         mouse face also if the mouse pointer hovers above mode-line glyphs
33594         that don't come from any Lisp string.  (Bug#20620)
33596 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
33598         * lisp/emacs-lisp/package.el: Fix selected-package logic.
33599         (package-menu-execute): Mark as selected all non-upgrade packages
33600         being installed.
33601         (package-menu--perform-transaction): Don't mark anything.
33603         * lisp/emacs-lisp/package.el: Mode-line progress report.
33604         (package-menu--transaction-status): New variable.
33605         (package-menu-mode, package-menu--perform-transaction): Use it.
33607         * lisp/emacs-lisp/package.el: Better transaction messages.
33608         (package-menu--partition-transaction): New function.
33609         (package-menu--prompt-transaction-p, package-menu-execute):
33610         Use it.
33611         (package-menu--perform-transaction): Don't do any messaging.
33613         * lisp/emacs-lisp/package.el: Revert async package transactions.
33614         (package-menu-async): Update doc.
33615         (package-install-from-archive, package-download-transaction)
33616         (package-install, package-menu--perform-transaction)
33617         (package-menu-execute): Remove asynchronous functionality.
33619 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
33621         Revert doc string changes to f90.el
33622         Problem reported by Glenn Morris in:
33623         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
33624         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
33625         Revert recent changes to doc strings, as it's intended that they
33626         use grave accent, not quote.
33628 2015-05-20  Bozhidar Batsov  <bozhidar@batsov.com>
33630         * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
33631         Improve parameter name.
33633         * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
33635 2015-05-20  Paul Eggert  <eggert@cs.ucla.edu>
33637         Don't require help-fns when not needed
33638         * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
33639         * lisp/emacs-lisp/elint.el:
33640         Don't require help-fns at the top level
33641         * lisp/emacs-lisp/advice.el (ad-arglist):
33642         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
33643         Don't require help-fns.  (Bug#17001)
33645 2015-05-20  Eli Zaretskii  <eliz@gnu.org>
33647         Fix slash collapsing in etags on MS-Windows
33648         * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
33649         MS-Windows code from the Posix code, and support collapsing both
33650         forward- and back-slashes on MS-Windows.  Fixes a regression found
33651         by the test suite.
33653         Improve documentation of glyphless-char-display
33654         * doc/lispref/display.texi (Glyphless Chars): Improve
33655         documentation of glyphless character display.
33657         Fix "acronym" display of glyphless characters on w32
33658         * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
33659         ignore "acronym" substitutes of 1 character for glyphless characters.
33661 2015-05-20  Oleh Krehel  <ohwoeowho@gmail.com>
33663         Add an automated test for let-when-compile
33664         * test/automated/subr-tests.el (let-when-compile): New test.
33666         Add let-when-compile macro instead of using pcase-let
33667         * lisp/subr.el (let-when-compile): New let-like macro that makes its
33668         bindings known to macros like `eval-when-compile' in the body.
33669         * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
33670         a `let-when-compile'.  Also comment out the unused lexical var
33671         `el-kws-re'.
33672         The change greatly improves readability, while providing almost the
33673         same (even shorter) byte code: instead of pre-evaluating 10 variables,
33674         tossing them into a list, and destructuring that list a full screen
33675         page later, the variables are simply bound as they are evaluated,
33676         wrapped individually in `eval-when-compile'.
33678 2015-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>
33680         * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
33681         (package-delete-button-action): New function.
33682         (describe-package-1): Add Delete button.
33684         * lisp/emacs-lisp/package.el: Better dependency description.
33685         (package--used-elsewhere-p): New optional arg, ALL, and return
33686         package-desc objects instead of names.
33687         (package-delete): Update accordingly.
33688         (describe-package-1): Describe which packages require the package.
33690 2015-05-20  Martin Rudalics  <rudalics@gmx.at>
33692         Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
33693         * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
33694         Fix doc-string.
33696         Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
33697         * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
33698         (switch-to-buffer): If the selected window is strongly dedicated
33699         to its buffer, signal error before prompting for buffer name.
33700         Handle `switch-to-buffer-in-dedicated-window'.
33701         * doc/lispref/windows.texi (Switching Buffers):
33702         Document `switch-to-buffer-in-dedicated-window'.
33704 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33706         Prefer "this" to “this” in doc strings
33707         This mostly just straightens quotes introduced in my previous patch.
33708         Suggested by Dmitry Gutov in:
33709         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
33710         * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
33711         * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
33712         * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
33713         * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
33714         * lisp/vc/log-edit.el, lisp/xt-mouse.el:
33715         Prefer straight double quotes to curved double quotes in doc strings.
33717         Fix minor quoting problems in doc strings
33718         These were glitches regardless of how or whether we tackle the
33719         problem of grave accent in doc strings.
33720         * lisp/calc/calc-aent.el (math-restore-placeholders):
33721         * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
33722         * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
33723         * lisp/leim/quail/hebrew.el ("hebrew-new")
33724         ("hebrew-biblical-sil"):
33725         * lisp/leim/quail/thai.el ("thai-kesmanee"):
33726         * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
33727         Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
33728         * lisp/calendar/calendar.el (calendar-month-abbrev-array):
33729         * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
33730         * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
33731         * lisp/cedet/semantic/tag.el (semantic-tag-copy)
33732         (semantic-tag-components):
33733         * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
33734         * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
33735         * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
33736         * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
33737         * lisp/emacs-lisp/generator.el (iter-next):
33738         * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
33739         (gnus-article-mode-syntax-table):
33740         * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
33741         * lisp/net/soap-client.el (soap-wsdl-get):
33742         * lisp/net/telnet.el (telnet-mode):
33743         * lisp/org/org-compat.el (org-number-sequence):
33744         * lisp/org/org.el (org-remove-highlights-with-change)
33745         (org-structure-template-alist):
33746         * lisp/org/ox-html.el (org-html-link-org-files-as-html):
33747         * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
33748         (handwrite-12pt, handwrite-13pt):
33749         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
33750         * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
33751         * lisp/progmodes/verilog-mode.el (verilog-tool)
33752         (verilog-string-replace-matches, verilog-preprocess)
33753         (verilog-auto-insert-lisp, verilog-auto-insert-last):
33754         * lisp/textmodes/makeinfo.el (makeinfo-options):
33755         * src/font.c (Ffont_spec):
33756         Fix minor quoting problems in doc strings, e.g., missing quote,
33757         ``x'' where `x' was meant, etc.
33758         * lisp/erc/erc-backend.el (erc-process-sentinel-2):
33759         Fix minor quoting problem in other string.
33760         * lisp/leim/quail/ethiopic.el ("ethiopic"):
33761         * lisp/term/tvi970.el (tvi970-set-keypad-mode):
33762         Omit unnecessary quotes.
33763         * lisp/faces.el (set-face-attribute, set-face-underline)
33764         (set-face-inverse-video, x-create-frame-with-faces):
33765         * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
33766         * lisp/mail/supercite.el (sc-attribs-%@-addresses)
33767         (sc-attribs-!-addresses, sc-attribs-<>-addresses):
33768         * lisp/net/tramp.el (tramp-methods):
33769         * lisp/recentf.el (recentf-show-file-shortcuts-flag):
33770         * lisp/textmodes/artist.el (artist-ellipse-right-char)
33771         (artist-ellipse-left-char, artist-vaporize-fuzziness)
33772         (artist-spray-chars, artist-mode, artist-replace-string)
33773         (artist-put-pixel, artist-text-see-thru):
33774         * lisp/vc/ediff-util.el (ediff-submit-report):
33775         * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
33776         Use double-quotes rather than TeX markup in doc strings.
33777         * lisp/skeleton.el (skeleton-pair-insert-maybe):
33778         Reword to avoid the need for grave accent and apostrophe.
33779         * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
33780         Don't use grave and acute accents to quote.
33782 2015-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
33784         * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
33785         Silence compiler.
33787 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33789         Try to port new etags tests to MS-Windows
33790         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
33791         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
33792         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
33793         Adjust to test-case changes below.
33794         * test/etags/Makefile (CSRC): Remove dostorture.c.
33795         Whatever it was trying to test, wasn't working portably.
33796         (LC_ALL): Remove.  Apparently there wasn't an encoding problem,
33797         just a line-ending problem.
33798         * test/etags/c-src/dostorture.c: Remove.
33799         * test/etags/cp-src/c.C: Remove stray CR.
33800         * test/etags/html-src/algrthms.html: Remove trailing CRs.
33801         State UTF-8 as the encoding.  The file is ASCII so it doesn't matter,
33802         but if someone edits it later it should stay UTF-8-compatible.
33804 2015-05-19  Eli Zaretskii  <eliz@gnu.org>
33806         Fix display of overlapping window-specific overlays
33807         * src/keyboard.c (adjust_point_for_property): When adjusting point
33808         due to display strings, ignore overlays that are specific to
33809         windows other than the currently selected one.
33810         * src/xdisp.c (handle_single_display_spec): If the display
33811         property comes from an overlay, arrange for buffer iteration to
33812         resume only after the end of that overlay.  (Bug#20607)
33814 2015-05-19  Dmitry Gutov  <dgutov@yandex.ru>
33816         New command icomplete-force-complete-and-exit
33817         * lisp/icomplete.el (icomplete-force-complete-and-exit):
33818         New command
33819         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
33820         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
33821         (icomplete-minibuffer-map): Bind C-j to it.
33822         (icomplete-forward-completions, icomplete-backward-completions):
33823         Mention the new command in the docstring.
33824         * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
33825         Revert the previous fix for bug#17545.
33827 2015-05-19  Martin Rudalics  <rudalics@gmx.at>
33829         Fix last commit
33831         In Elisp manual explain how to override window manager positioning
33832         (Bug#20552)
33833         * doc/lispref/frames.texi (Position Parameters): Give example of
33834         how to override a window manager positioning decision.
33836         Clarify concept of "surrogate minibuffer frames" (Bug#20538)
33837         * src/frame.c (Fdelete_frame): In doc-string mention that frame
33838         can't be deleted if it has a surrogate minibuffer.
33839         * doc/lispref/frames.texi (Minibuffers and Frames)
33840         (Deleting Frames): Explain "surrogate minibuffer frames".
33842         * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
33844 2015-05-18  Glenn Morris  <rgm@gnu.org>
33846         Add option to ignore commit lines matching a pattern in ChangeLog
33847         * build-aux/gitlog-to-changelog: Add --ignore-line option.
33848         * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
33850 2015-05-18  Paul Eggert  <eggert@cs.ucla.edu>
33852         Don't skip new etags tests on non-UTF-8 hosts
33853         Problem reported by Eli Zaretskii for MS-Windows.
33854         * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
33855         (LC_ALL): Set to C if the current locale isn't UTF-8.
33856         (.PHONY): Remove ediff_1 thru ediff_5.
33857         (check): Always run.
33859 2015-05-18  Glenn Morris  <rgm@gnu.org>
33861         * lisp/calculator.el (calculator-funcall):
33862         * lisp/textmodes/artist.el (artist-spray-random-points):
33863         Use standard degree/radian conversion utilities.
33865         Further lisp-complete-symbol related cleanup.
33866         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
33867         Unadvertise non-functional argument.  Replace obsolete alias.
33869 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
33871         Add a test case for Maven warning ouput
33872         * test/automated/compile-tests.el
33873         (compile-tests--test-regexps-data): Add a case for Maven warning
33874         ouput.
33875         (compile--test-error-line): Check the compilation message type, if
33876         it's specified in the test data.
33878 2015-05-18  Paul Pogonyshev  <pogonyshev@gmail.com>
33880         Update Maven compilation-mode entry to distinguish warnings
33881         * lisp/progmodes/compile.el
33882         (compilation-error-regexp-alist-alist): Update Maven entry to
33883         distinguish warnings (bug#20556).
33885 2015-05-18  Przemysław Wojnowski  <esperanto@cumego.com>
33887         * test/automated/sgml-mode-tests.el: New file.
33889 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
33891         Improve handling of the first Git revision
33892         * lisp/vc/log-view.el (log-view-toggle-entry-display): When
33893         there's no next entry, delete until the end of the buffer.
33894         (log-view-end-of-defun-1): Stop at eob.
33895         * lisp/vc/vc-annotate.el
33896         (vc-annotate-show-diff-revision-at-line-internal): Don't give up
33897         when previous-revision is nil.
33898         * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
33899         with `--' to avoid ambiguity.
33900         (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
33901         returned revision string.
33902         (vc-git-annotate-time): Expect `^' before the first revision.
33903         * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
33904         REV1 is nil, and REV2 is not.
33905         * lisp/vc/vc.el: Update the description of the `diff' function.
33907 2015-05-18  Oleh Krehel  <ohwoeowho@gmail.com>
33909         Allow checkdoc to be called in batch
33910         * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
33911         is non-nil, echo the error with `warn'.
33912         How it can be used in -batch:
33913         (with-current-buffer (find-file "checkdoc.el")
33914           (checkdoc-current-buffer t))
33916 2015-05-18  Glenn Morris  <rgm@gnu.org>
33918         * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
33920 2015-05-17  Paul Eggert  <eggert@cs.ucla.edu>
33922         * admin/notes/unicode: New section "binary files".
33924         Change new etags test to use UTF-8 encoding
33925         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
33926         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
33927         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
33928         * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
33929         * test/etags/html-src/softwarelibero.html:
33930         Switch to UTF-8 encoding.
33931         * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
33932         Remove Makefile, as it's too incestuous to have the test input
33933         include the build procedure.
33934         (UTF8_LOCALE, UTF_ENCODING): New macros.
33935         (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
33936         (check): Skip if not UTF-8.
33937         (.PHONY): New rule.
33938         (FRC): Remove, as superseded by .PHONY.  All uses removed.
33939         (regexfile): Prefer printf to echo when outputting oddball chars.
33940         (.PRECIOUS): Remove, as these files are not built.
33942         Rename 'foo-gzipped' to 'foo.gz'
33943         * test/automated/data/decompress/foo.gz:
33944         Rename from test/automated/data/decompress/foo-gzipped,
33945         to make it easier for other tools to tell that it's compressed.
33946         * test/automated/zlib-tests.el (zlib--decompress):
33947         Adjust to renamed file.
33949 2015-05-17  Dmitry Gutov  <dgutov@yandex.ru>
33951         Set up default-directory
33952         * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
33953         binding for `v'.
33954         (vc-annotate-show-changeset-diff-revision-at-line): Set up an
33955         appropriate value for default-directory.
33957 2015-05-17  Samer Masterson  <samer@samertm.com>
33959         * lisp/eshell/em-term.el (eshell-term-sentinel):
33960         No-op by default, only kills term buffer if
33961         `eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
33962         (eshell-destroy-buffer-when-process-dies): New custom to preserve
33963         previous behavior.
33965         eshell: Introduce new buffer syntax
33966         The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
33967         buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
33968         needed (Bug#19319).
33969         * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
33970         (eshell-get-target): Remove shorthand-specific code.
33971         * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
33972         '#<buffer-name>'.
33974 2015-05-17  Jan D  <jan.h.d@swipnet.se>
33976         Merge branch 'master' into cairo
33978 2015-04-26  Jan D  <jan.h.d@swipnet.se>
33980         Merge branch 'master' into cairo
33982         Add PBM support for cairo
33983         * src/image.c (xcolor_to_argb32): New function.
33984         (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
33985         (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
33986         XImagePtr if ! USE_CAIRO.
33987         (pbm_load): Add cairo support.
33989 2015-04-12  Jan D  <jan.h.d@swipnet.se>
33991         * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
33992         (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
33993         (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
33994         x_free_cr_resources.
33996         Handle specified bg in images.  Use generic libpng code for PNGs.
33997         * src/image.c (get_spec_bg_or_alpha_as_argb)
33998         (create_cairo_image_surface): New functions when USE_CAIRO.
33999         (xpm_load): Call the above functions.  Handle XPM without mask
34000         when USE_CAIRO.
34001         (png_load_body): Handle USE_CAIRO case.
34002         (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
34003         instead.
34004         (jpeg_load_body): Call create_cairo_image_surface.
34005         (gif_load, svg_load_image): Handle specified background, call
34006         create_cairo_image_surface.
34007         * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
34009 2015-04-11  Jan D  <jan.h.d@swipnet.se>
34011         Support GIF and TIFF with cairo
34012         * configure.ac: Allow jpeg with cairo.
34013         Allow tiff and gif with cairo.
34014         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
34015         (tiff_load): Create cairo image surface if USE_CAIRO.
34016         (gif_load): Ditto.
34018         Support JPEG with USE_CAIRO
34019         * configure.ac: Allow jpeg with cairo.
34020         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
34022 2015-04-05  Jan D  <jan.h.d@swipnet.se>
34024         Support RSVG and cairo
34025         * configure.ac: Allow rsvg with cairo.  Move back HAVE_RSVG.
34026         * src/dispextern.h (struct image): Add cr_data2 if cairo.
34027         * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
34028         (x_clear_image): Free cr_data and cr_data2 if set.
34029         (xpm_load): Assign data to cr_data2.
34030         (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
34032 2015-04-03  Jan D  <jan.h.d@swipnet.se>
34034         Introduce limited Xpm support (32 bit ZPixmap) for Cairo
34035         * configure.ac (HAVE_RSVG): Move after cairo.
34036         (USE_CAIRO): Disable rsvg, don't disable Xpm.
34037         * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
34038         (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
34039         don't return early.
34040         (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
34041         (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
34042         and create a surface.
34044         Tool tips for menus did not show any text.
34045         * src/xterm.c (x_update_begin): Don't create any surface for non-visible
34046         tip frames, the geometry may be wrong.
34048         Merge branch 'master' into cairo, fixes tooltips not shown.
34050         Merge branch 'master' into cairo
34052         Add CAIRO_CFLAGS to lwlib/Makefile.in
34053         * Makefile.in (CAIRO_CFLAGS): Add.
34055 2015-02-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
34057         * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
34059 2015-02-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
34061         Draw outermost line using black relief and erase corners also for cairo.
34062         * src/xterm.c [USE_CAIRO]: Include math.h.
34063         (enum corners) [USE_CAIRO]: New enum.
34064         (x_erase_corners_for_relief) [USE_CAIRO]: New function.
34065         (x_draw_relief_rect) [USE_CAIRO]: Use it.  If box width is larger
34066         than 1, draw the outermost line using the black relief.
34068         * src/xterm.c (x_fill_trapezoid_for_relief):
34069         Remove unnecessary cairo_close_path.
34071 2015-02-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
34073         * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
34075         * src/xterm.c (x_draw_stretch_glyph_string):
34076         Call x_reset_clip_rectangles instead of XSetClipMask.
34078         Use int instead of unsigned int for width and height args.
34079         * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
34080         (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
34081         width and height args.
34083         Modernize k&r cairo-related function declarations.
34084         * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
34085         (xg_print_frames_dialog): Modernize k&r declarations.
34086         * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
34087         (Fx_print_frames_dialog): Modernize k&r declarations.
34088         * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
34089         (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
34090         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
34091         (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
34092         (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
34093         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
34094         (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
34095         (x_clear_area): Modernize k&r declarations.
34097         Implement wave-style variant of underlining for cairo.
34098         * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
34099         (x_draw_underwave) [USE_CAIRO]: Use it.
34101         * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
34102         instead of XFillRectangle.
34104 2015-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
34106         Fix fringe bitmap initialization for cairo
34107         * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
34108         data for cairo image surface.
34109         * src/xterm.c (x_cr_define_fringe_bitmap):
34110         Call cairo_surface_mark_dirty.
34112 2015-02-11  Jan D  <jan.h.d@swipnet.se>
34114         Add cairo drawing
34115         * configure.ac (with-cairo): New option.
34116         (USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
34117         set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
34118         Output "Does Emacs use cairo?".
34119         * lisp/version.el (emacs-version): Add cairo version.
34120         * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
34121         (FONT_OBJ): Add comment about ftcrfont.
34122         (ALL_CFLAGS): Add CAIRO_CFLAGS.
34123         (LIBES): Add CAIRO_LIBS.
34124         * src/dispextern.h (struct image): Add cr_data for cairo.
34125         (x_cr_init_fringe): Declare.
34126         * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
34127         * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
34128         * src/fringe.c (x_cr_init_fringe): New function name that shares code
34129         with w32_init_fringe.
34130         * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
34131         * src/ftfont.c (ftfont_info_size); New global variable.
34132         (ftfont_open2): New extern function almost the same as old ftfont_open,
34133         but takes the font_object as argument.
34134         (ftfont_open): Build font object and call ftfont_open2.
34135         * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
34136         * src/gtkutil.c (xg_clear_under_internal_border)
34137         (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
34138         Only queue_draw if not cairo.  Change args to x_clear_area.
34139         (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
34140         (xg_page_setup_dialog, xg_get_page_setup, draw_page)
34141         (xg_print_frames_dialog): New functions for printing.
34142         * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
34143         (xg_print_frames_dialog): Declare.
34144         * src/image.c: Add defined (USE_CAIRO) for PNG.
34145         Add !defined USE_CAIRO for W32 PNG code.
34146         (x_clear_image): If cairo, destroy the surface in cr_data.
34147         (png_load): Add new cairo compatible implementation.
34148         (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
34149         * src/xfns.c: New section Printing.
34150         (x-export-frames, x-page-setup-dialog, x-get-page-setup)
34151         (x-print-frames-dialog): New printing functions.
34152         (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
34153         (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
34154         Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
34155         (syms_of_xfns): Provide cairo and defvar cairo-version-string.
34156         defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
34157         * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
34158         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
34159         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
34160         (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
34161         Declare.
34162         (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
34163         (max_fringe_bmp, fringe_bmp): New variables.
34164         (x_gc_get_ext_data, x_extension_initialize)
34165         (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
34166         (x_set_cr_source_with_gc_foreground)
34167         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
34168         (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
34169         (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
34170         (x_prepare_for_xlibdraw, x_set_clip_rectangles)
34171         (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
34172         (x_clear_window, x_fill_trapezoid_for_relief): New functions.
34173         (x_update_begin): Create cairo surface if needed.
34174         (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
34175         (x_update_end): Paint cairo drawing surface to xlib surface.
34176         (x_clear_under_internal_border, x_after_update_window_line): Adjust
34177         arguments to x_clear_area.
34178         (x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
34179         call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
34180         of XSetClipMask.
34181         (x_set_glyph_string_clipping)
34182         (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
34183         instead of XSetClipRectangles.
34184         (x_clear_glyph_string_rect, x_draw_glyph_string_background):
34185         Use x_fill_rectangle instead of XFillRectangle.
34186         (x_draw_glyph_string_foreground)
34187         (x_draw_composite_glyph_string_foreground)
34188         (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
34189         instead of XDrawRectangle.
34190         (x_draw_relief_rect): Add code for USE_CAIRO.
34191         Call x_reset_clip_rectangles instead of XSetClipMask.
34192         (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
34193         x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
34194         instead of XSetClipMask.
34195         (x_draw_image_foreground, x_draw_image_foreground_1):
34196         x_draw_rectangle instead of XDrawRectangle.
34197         (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
34198         XFillRectangle.
34199         (x_draw_image_glyph_string): If img has cr_data, use it as
34200         a cairo surface.
34201         (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
34202         XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
34203         (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
34204         x_reset_clip_rectangles instead of XSetClipMask.
34205         (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
34206         (x_clear_area1): New function that calls XClearArea.
34207         (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
34208         non-cairo.
34209         (x_clear_frame): x_clear_window instead of XClearWindow.
34210         (x_scroll_run): Set frame garbaged if cairo.
34211         (XTmouse_position): Initialize *part to 0.
34212         (x_scroll_bar_create): Adjust arguments to x_clear_area.
34213         (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
34214         x_fill_rectangle instead of XFillRectangle.
34215         (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
34216         arguments to x_clear_area.
34217         (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
34218         (handle_one_xevent): Adjust arguments to x_clear_area.
34219         Destroy cairo surface for frame if ConfigureNotify.
34220         (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
34221         (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
34222         x_reset_clip_rectangles instead of XSetClipMask.
34223         (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
34224         x_reset_clip_rectangles instead of XSetClipMask.
34225         (x_clear_frame_area): Adjust arguments to x_clear_area.
34226         (x_free_frame_resources): Call x_prepare_for_xlibdraw.
34227         (x_term_init): Call x_extension_initialize if cairo.
34228         (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
34229         x_cr_destroy_fringe_bitmap for cairo.
34230         (x_initialize): Call x_cr_init_fringe for cairo.
34231         * src/xterm.h: Add include of cairo header files.
34232         (x_bitmap_record): Add img if cairo.
34233         (x_gc_ext_data): New struct for cairo.
34234         (x_display_info): Add ext_codes for cairo.
34235         (x_output): Add cr_context and cr_surface for cairo.
34236         (x_clear_area): Change arguments from Display*/Window to frame pointer.
34237         (x_query_color, x_begin_cr_clip, x_end_cr_clip)
34238         (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
34239         (x_cr_draw_frame, x_cr_export_frames): Declare.
34241 2015-05-17  Johan Bockgård  <bojohan@gnu.org>
34243         Fix integer-valued `mouse-highlight' (Bug#20590)
34244         * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
34246 2015-05-17  Eli Zaretskii  <eliz@gnu.org>
34248         MS-Windows followup for ASCIIfication of curved quotes
34249         * lisp/term/w32console.el (terminal-init-w32console): Repeat the
34250         test for curved quotes being displayable, after switching the
34251         terminal encoding.  (Bug#20545)
34253 2015-05-17  Jan D  <jan.h.d@swipnet.se>
34255         Add comment that x_shift_glyphs_for_insert is never called
34256         * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
34257         Add comment that this function is never called.
34259 2015-05-16  Glenn Morris  <rgm@gnu.org>
34261         * src/lisp.mk: Remove from repository and generate at build-time.
34262         * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
34263         (shortlisp_filter): New variable.
34264         (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
34265         (distclean): Remove lisp.mk.
34266         * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
34267         * lisp/loadup.el: Tweak layout to make it easier to parse.
34268         * make-dist: Do not distribute src/lisp.mk.
34270 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
34272         Display shorter dates in Git annotate output
34273         * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
34274         format (when not overridden with vc-git-annotate-switches).
34275         (vc-git-annotate-time): Support the short format, as well as ISO
34276         8601 that has been used until now (bug#5428).
34278 2015-05-16  Paul Eggert  <eggert@cs.ucla.edu>
34280         ASCIIfy curved quotes on displays lacking them
34281         * lisp/international/mule-cmds.el (set-locale-environment):
34282         If curved quotes don't work, display straight ASCII approximations
34283         (Bug#20545).
34285 2015-05-16  Glenn Morris  <rgm@gnu.org>
34287         Small src/Makefile simplification
34288         * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
34289         * src/Makefile.in (lisp): Derive from shortlisp.
34290         ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
34292 2015-05-16  Eli Zaretskii  <eliz@gnu.org>
34294         * lisp/help-mode.el (help-go-forward): Doc fix.
34295         (Bug#20577)
34297         * doc/lispref/debugging.texi (Profiling): Improve indexing.
34298         (Bug#20576)
34300 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
34302         * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
34303         have one fewer `not'.
34305         * lisp/vc/vc-git.el (vc-git-diff-switches)
34306         (vc-git-annotate-switches, vc-git-resolve-conflicts)
34307         (vc-git-program, vc-git-root-log-format): Remove the redundant
34308         :group declarations.
34310 2015-05-16  Nicolas Petton  <nicolas@petton.fr>
34312         Removes the predicate from lisp-complete-symbol (Bug#20456)
34313         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
34314         and remove it from the docstring.
34316 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
34318         Add new option vc-git-resolve-conflicts
34319         * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
34320         (vc-git-find-file-hook): Add to after-save-hook only when the
34321         above is non-nil.
34322         (vc-git-resolve-when-done): Update to honor the new variable.
34323         (Bug#20292)
34325 2015-05-16  Artur Malabarba  <bruce.connor.am@gmail.com>
34327         * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
34328         (tabulated-list-init-header): Document new behavior.
34329         (tabulated-list-print-fake-header): Do nothing if
34330         `tabulated-list--header-string' is nil.
34331         (tabulated-list--header-string): Add a docstring.
34332         * doc/lispref/modes.texi (Tabulated List Mode): Document it.
34333         * etc/NEWS: Document it.
34335 2015-05-15  Leo Liu  <sdl.web@gmail.com>
34337         Revert "Fix cps--gensym"
34338         * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
34339         fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
34341 2015-05-15  Glenn Morris  <rgm@gnu.org>
34343         Replace AC_SUBST_FILE in configure with include in Makefiles
34344         * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
34345         (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
34346         (AUTO_DEPEND): New output variable.
34347         * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
34348         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
34349         (lwlib_deps_frag): Replace by conditional include.
34350         * lwlib/autodeps.mk: Remove file.
34351         * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
34352         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
34353         (oldxmenu_deps_frag): Replace by conditional include.
34354         * oldXMenu/autodeps.mk: Remove file.
34355         * src/Makefile.in (AUTO_DEPEND): New, set by configure.
34356         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
34357         (lisp_frag): Replace by an include.
34358         (deps_frag): Replace by conditional include.
34359         * src/autodeps.mk: Remove file.
34361         Tweak japanese.el's loading of dependencies
34362         * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
34363         * lisp/language/japanese.el: Use require rather than load.
34364         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
34365         Provide a feature.
34366         * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
34367         Provide a feature in the generated file.
34369 2015-05-15  Jan D  <jan.h.d@swipnet.se>
34371         Fix NS warnings
34372         * src/nsmenu.m (ns_popup_dialog)
34373         * src/nsimage.m (initFromXBM:width:height:fg:bg:)
34374         * src/nsfns.m (Fx_create_frame): Remove unused variables.
34375         (Fns_read_file_name): Initialize fname, remove ret.
34376         * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
34377         (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
34378         Remove unused variable.
34379         (init): Add parantesis in if.
34380         (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
34382 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
34384         Fix a enum conversion warning in macfont.m
34385         * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
34386         (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
34388 2015-05-15  Eli Zaretskii  <eliz@gnu.org>
34390         * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
34391         Support Aspell dictionaries with names like "de-alt".  (Bug#20581)
34393 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
34395         * lisp/cus-start.el: Add ns-confirm-quit.
34397         Fix warnings on OSX 10.10
34398         * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
34399         OSX versions.
34400         (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
34401         (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
34402         * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
34403         * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
34404         setScalesWhenResized for OSX < 10.6.
34405         * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
34406         * src/nsterm.m (ns_copy_bits): New function that does not use
34407         deprecated NSCopyBits.
34408         (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
34409         (runAlertPanel): New function.
34410         (applicationShouldTerminate:): Call runAlertPanel.
34411         (initFrameFromEmacs, toggleFullScreen:): Only call
34412         useOptimizedDrawing for OSX < 10.10.
34413         (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
34414         (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
34415         (draggingEntered:): Returns NSDragOperation.
34416         (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
34418 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
34420         * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
34421         (package--init-file-ensured): New variable.
34422         (package-initialize, package--ensure-init-file): Use it.
34424 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
34426         Honor :fore/background for XBM on NS (Bug#14969)
34427         * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
34428         initFromXBM takes bg, fg args, remove flip arg.
34429         (ns_image_from_XBM): Add bg, fg args.
34430         * src/image.c (x_create_bitmap_from_data)
34431         (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
34432         * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
34433         initFromXBM.  Remove flip arg.
34434         (initFromSkipXBM): Move code to initFromXBM.
34435         (initFromXBM): Actually set fg and bg, instead of playing alpha games.
34436         Use fg, bg from args (Bug#14969).  Remove if (length) section, was
34437         always false.
34438         Remove bit flipping (bitPat, swt), generated incorrect images when
34439         width/height wasn't a multiple of 8.
34440         (setXBMColor:): Modify planes by comparing to saved xbm_fg.
34441         * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
34442         remove flip arg.
34444 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
34446         * lisp/emacs-lisp/package.el: Be more careful with the init file.
34447         (package--ensure-init-file): Check that user-init-file is set,
34448         exists, is readable, and is writable.  (Bug#20584)
34449         Also expand the docstring.
34451 2015-05-14  Wilson Snyder  <wsnyder@wsnyder.org>
34453         Sync with upstream verilog-mode revision 6232468
34454         * lisp/progmodes/verilog-mode.el
34455         (verilog-font-lock-grouping-keywords-face)
34456         (verilog-highlight-grouping-keywords): Fix use of face when
34457         `verilog-highlight-grouping-keywords' set.  Reported by Jeff Pompa.
34458         (verilog-auto-reset): Fix AUTORESET to ignore member resets if
34459         parent is reset, bug906.  Reported by Ken Schmidt.
34460         (verilog-auto-inout-module): Add fourth regexp argument to
34461         AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
34462         Reported by John Tillema.
34463         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
34464         modport if signal attachment is itself a modport.  Reported by
34465         Matthew Lovell.
34466         (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
34467         always_comb and always_latch, bug844.  Reported by Greg Hilton.
34468         (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
34469         with many curly-bracket pairs, bug663.
34470         (verilog-set-auto-endcomments): Fix end comments for functions of
34471         type void, etc.  Reported by Alex Reed.
34472         (verilog-do-indent): Fix electric tab deleting form-feeds.  Note
34473         caused by indent-line-to deleting tabls pre 24.5.
34474         (verilog-nameable-item-re): Fix nameable items that can have an
34475         end-identifier to include endchecker, endgroup, endprogram,
34476         endproperty, and endsequence.  Reported by Alex Reed.
34477         (verilog-label-be): When auto-commenting a buffer, consider
34478         auto-comments on all known keywords (not just a subset thereof).
34479         Reported by Alex Reed.
34480         (verilog-auto-end-comment-lines-re)
34481         (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
34482         Automatically comment property/endproperty blocks to match other
34483         similar blocks like sequence/endsequence, function/endfunction, etc.
34484         Reported by Alex Reed.
34485         (verilog-set-auto-endcomments): Detect the function- or task-name
34486         when auto-commenting blocks that lack an explicit portlist.
34487         Reported by Alex Reed.
34488         (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
34489         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
34490         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
34491         is nil, fix indenting initial/final to match always statements,
34492         bug825.  Reported by Tim Clapp.
34493         (verilog-extended-complete-re): Fix indentation of DPI-C imports
34494         with c_identifiers, and DPI-C imports, bug557.  Reported by ZeDong
34495         Mao and Jason Forkey.
34496         (verilog-read-decls): Fix parsing typed interfaces.  Fix
34497         AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
34498         Fix localparam not being ignored in AUTOINSTPARAM,
34499         bug889.  Reported by Shannon Hill.
34500         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
34501         bug793.  Reported by Pierre-David Pfister.
34502         (verilog-auto-arg-format, verilog-auto-arg-ports):
34503         Add verilog-auto-arg-format to support newlines in AUTOARG.
34504         Reported by Jie Xiao.
34505         (verilog-batch-execute-func): Do not batch re-auto files loaded by
34506         Local Variables.  Fix printing "no changes to be saved" with
34507         verilog-batch.  Reported by Dan Dever.
34508         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
34509         interface-only modules, bug721.  Reported by Dean Hoyt.
34510         Author: Alex Reed <acreed4@gmail.com>
34511         * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
34512         Don't treat '<keyword>:<identifier>' as the start of a labeled
34513         statement, bug905.  Reported by Enzo Chi.
34514         (verilog-directive-re, verilog-compiler-directives)
34515         (verilog-keywords): Match full set of IEEE 2012-1800 compiler
34516         directives (plus some extras) when determining indentation, bug
34517         901.  Reported by Bernd Beuster.
34518         (verilog-at-constraint-p): Fix indentation of coverpoint bins if
34519         iff expression doesn't start with word-character, bug900.
34520         (verilog-optional-signed-range-re, verilog-optional-signed-re):
34521         Fix incorrect indentation/alignment of unsigned declarations,
34522         bug897.
34523         (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
34524         always constructs, bug895.
34525         (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
34526         Reported by Eric Mastromarchi.
34527         (verilog-beg-of-statement): Fix indenting for some forms of
34528         constraintsm bug433.  Reported by Brad Parker.  Fix indentation of
34529         continued assignment incorrect if first line ends with ']', bug437.
34530         Reported by Dan Dever.  Fix indention of cover inside an
34531         ifdef, bug 862.  Reported by Bernd Beuster.  Fix labeling do-while
34532         blocks, bug842.
34533         (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
34534         Reported by Kaushal Modi.
34535         (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
34536         (verilog-backward-token): Fix indenting sensitivity lists with
34537         named events, bug840.  Reed.
34538         (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
34539         nil not honoring 'forever', 'foreach', and 'do' keywords.
34541 2015-05-14  Paul Eggert  <eggert@cs.ucla.edu>
34543         Check for invalid GTK+ monitor scales
34544         * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
34545         INT_MAX for too-large scales.  All callers changed to assume the
34546         result is valid (Bug#20432).
34547         (xg_frame_set_char_size, xg_update_scrollbar_pos):
34548         Calculate scale only if needed.
34549         Show ASCII approximations instead.
34551 2015-05-14  Eli Zaretskii  <eliz@gnu.org>
34553         Fix daemon crashes when linum-mode is turned on early on
34554         * src/window.c (Fwindow_end): Don't try calling display engine
34555         functions on initial-frame frame.  (Bug#20565)
34557         Fix selective diff browsing in Ediff
34558         * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
34559         Go to the beginning of the region before searching for the
34560         ediff-regexp-focus-* regexps.  (Bug#20568)
34562 2015-05-14  Jan D  <jan.h.d@swipnet.se>
34564         Fixes bug#20142
34565         * src/gtkutil.c (delete_cb): Don't send delete event here, it does
34566         arrive in the main loop, even for Gtk 3 (Bug#20142).
34568         Don't access display after i/o error (Bug#19147).
34569         * src/xterm.c (x_connection_closed): Add third arg ioerror.
34570         If ioerror, set display to 0 (Bug#19147).
34571         (x_error_quitter): Call x_connection_closed with third arg false.
34572         (x_io_error_quitter): Call x_connection_closed with third arg true.
34574         Handle GTK_SCALE, fixes Bug#20432.
34575         * src/gtkutil.c (xg_get_gdk_scale): New function.
34576         (xg_frame_set_char_size)
34577         (x_wm_set_size_hint, xg_get_default_scrollbar_width)
34578         (xg_get_default_scrollbar_height)
34579         (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
34580         when setting sizes (Bug#20432).
34582 2015-05-13  Leo Liu  <sdl.web@gmail.com>
34584         * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
34586 2015-05-13  Glenn Morris  <rgm@gnu.org>
34588         Fix bootstrap (void function cl-member).
34589         * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
34590         * lisp/emacs-lisp/cl-seq.el: Provide a feature.
34592 2015-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34594         * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
34595         * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
34596         * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
34597         Avoid defalias for closures which are not immutable.
34598         (cl--generic-prefill-dispatchers): New macro.  Use it to prefill
34599         the dispatchers table with various entries.
34600         * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
34601         * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
34603 2015-05-13  Eli Zaretskii  <eliz@gnu.org>
34605         Improve tagging of C bindings in DEFVAR_*
34606         * src/Makefile.in (TAGS): Add --regex options to tag the C binding
34607         from DEFVAR_*.
34609 2015-05-13  Paul Eggert  <eggert@cs.ucla.edu>
34611         * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
34613 2015-05-12  Glenn Morris  <rgm@gnu.org>
34615         * lisp/progmodes/tcl.el (tcl-filter):
34616         Handle comint-prompt-read-only like gud.el does.  (Bug#20549)
34618         Add basic VC push support
34619         * lisp/vc/vc.el (vc-push): New autoloaded command.
34620         * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
34621         * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
34622         (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
34623         (vc-bzr-push): New.
34624         * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
34625         (vc-git-pull): Reimplement using vc-git--pushpull.
34626         (vc-git-push): New.
34627         * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
34628         (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
34629         * doc/emacs/maintaining.texi (Pulling / Pushing):
34630         Rename from "VC Pull".  Mention pushing.
34631         (VC With A Merging VCS, VC Change Log): Update xrefs.
34632         (Branches): Update menu.
34633         * doc/emacs/emacs.texi: Update menu.
34634         * etc/NEWS: Mention this.
34636 2015-05-12  Nicolas Petton  <nicolas@petton.fr>
34638         Improve the seq pcase pattern and the `seq-let' macro
34639         * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
34640         object is a sequence, and binds each element of ARGS to the
34641         corresponding element of the sequence.
34643 2015-05-12  Eli Zaretskii  <eliz@gnu.org>
34645         Fix tags created from DEFVAR_* declarations in C
34646         * src/Makefile.in (TAGS): Improve the --regex argument to etags,
34647         to make tags extracted from DEFVAR_* declarations more accurate.
34649         Add a test suite for etags
34650         * test/etags/: New test suite, adapted from
34651         http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
34652         whose original author is Francesco Potortì <pot@gnu.org>.
34654         Fix tagging of symbols in C enumerations
34655         * lib-src/etags.c (consider_token): Don't tag symbols in
34656         expressions that assign values to enum constants.  See
34657         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
34658         for details.
34659         (C_entries): Reset fvdef to fvnone after processing a preprocessor
34660         conditional and after a comma outside of parentheses.
34662 2015-05-12  Glenn Morris  <rgm@gnu.org>
34664         * lisp/url/url-handlers.el (url-file-name-completion)
34665         (url-file-name-all-completions): Silence compiler.
34667         * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
34669         * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time.  (Bug#20554)
34671 2015-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
34673         * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
34674         (cl--generic-mandatory-args): Remove.
34675         (cl--generic-split-args): New function.
34676         (cl-generic-define, cl--generic-lambda): Use it.
34677         (cl-generic-define-method): Use it as well, and add support for
34678         context args.
34679         (cl--generic-get-dispatcher): Handle &context dispatch.
34680         (cl--generic-cache-miss): `dispatch-arg' can now be a
34681         context expression.
34682         (cl--generic-dispatchers): Pre-fill.
34683         * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
34684         New test.
34686 2015-05-11  Glenn Morris  <rgm@gnu.org>
34688         * make-dist: Abort if "make ChangeLog" fails.  Add "--no-changelog".
34690 2015-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
34692         * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
34693         * lisp/term/rxvt.el: Require term/xterm.
34694         (rxvt-function-map): Use xterm-rxvt-function-map.
34695         (rxvt-standard-colors): Move before first use.
34696         (terminal-init-rxvt): Use xterm--push-map and
34697         xterm-register-default-colors.
34698         (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
34699         * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
34700         Move shared bindings between rxvt and xterm to it.
34701         (xterm-function-map): Use it.  Move the xterm-paste binding to
34702         xterm-rxvt-function-map (bug#20444).
34703         (xterm-standard-colors): Move before first use.
34704         (xterm--push-map): New function.
34705         (xterm-register-default-colors): Take standard colors as argument.
34706         (terminal-init-xterm): Use it.  Adjust call to
34707         xterm-register-default-colors.
34709 2015-05-11  Glenn Morris  <rgm@gnu.org>
34711         * lisp/term/x-win.el: Quieten --without-x compilation.
34712         (x-own-selection-internal, x-disown-selection-internal)
34713         (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
34714         Declare.
34716         * Makefile.in (emacslog): Remove srcdir.
34717         (ChangeLog): Update for the above.
34719 2015-05-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
34721         python.el: better limit for looking-back calls
34722         * lisp/progmodes/python.el (python-shell-accept-process-output):
34723         Use last comint prompt start as limit for looking-back.
34725 2015-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
34727         CEDET (srecode-insert-fcn): Fix use of oref on a class
34728         * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
34729         on a class.  Reported by Pierre Lorenzon.
34730         (srecode-template-inserter-point): Remove declaration.
34732         CEDET (srecode-create-dictionary): Avoid obsolete object name
34733         * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
34734         Don't use a symbol as an object name.  Reported by Pierre Lorenzon.
34736 2015-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34738         C-x 8 shorthands for curved quotes, Euro, etc.
34739         Although C-x 8 lets you insert arbitrary Unicode characters,
34740         it's awkward to use this to insert commonly used symbols such as curved
34741         quotes, the Euro symbol, etc.  This patch adds simpler sequences for
34742         characters commonly found in English text and in basic math.
34743         For example, assuming the Alt key works on your keyboard and iso-transl
34744         is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
34745         to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
34746         (Bug#20499)
34747         * doc/emacs/mule.texi (Unibyte Mode):
34748         A few other printing characters now work too.
34749         * etc/NEWS: Document this.
34750         * lisp/international/iso-transl.el (iso-transl-char-map):
34751         Also support the following characters:
34752         ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
34754 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
34756         Add xref-find-regexp
34757         * lisp/progmodes/xref.el (xref-find-function): Describe the
34758         `matches' action.
34759         (xref-find-regexp): New command, using it.
34760         (xref-collect-references): Rename to xref-collect-matches.
34761         (xref--collect-reference): Rename to xref--collect-match.
34762         (xref-collect-matches, xref--collect-match): Accept new argument,
34763         KIND.  Update accordingly.
34764         (xref--regexp-to-extended): New function.
34765         * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
34766         `matches' action.
34767         (elisp--xref-find-matches): Accept new argument.  Resolve a FIXME.
34768         * lisp/progmodes/etags.el (etags-xref-find):
34769         Support the `matches' action.
34770         (etags--xref-find-matches): New function.
34772 2015-05-10  Glenn Morris  <rgm@gnu.org>
34774         * Makefile.in: Fixes for recent change-history changes.
34775         (change-history-nocommit): Update footer regexp.
34776         Ensure output script stays executable.
34778 2015-05-10  Nicolas Petton  <nicolas@petton.fr>
34780         New version of `seq-let' based on a pcase pattern
34781         * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
34782         pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
34784 2015-05-10  Przemysław Wojnowski  <esperanto@cumego.com>
34786         Add basic HTML5 tags and a template
34787         * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
34788         (html-tag-alist): Add HTML5 tags.
34789         (html-tag-help): Add new tags descriptions.
34790         (html-navigational-links): Template for nav links.
34791         (html-html5-template): Template for a HTML5 page.
34793 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
34795         semantic/symref/grep: Don't use word boundaries
34796         * lisp/cedet/semantic/symref/grep.el
34797         (semantic-symref-perform-search): Instead of wrapping input in
34798         word boundaries, check that the characters before and after are
34799         not word constituents.
34801         semantic/symref/grep: Support regexp search
34802         * lisp/cedet/semantic/symref.el
34803         (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
34804         the search type is regexp.
34805         * lisp/cedet/semantic/symref/grep.el
34806         (semantic-symref-perform-search): Support the regexp search type.
34807         Pass -E to Grep when it's used.
34809         semantic-symref-regexp: Allow to input an arbitrary string
34810         * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
34811         Allow to input an arbitrary string interactively.
34813         Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
34814         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
34815         Remove tag-symbol-match-p from the default value
34816         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
34818         Declare find-tag obsolete
34819         * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
34820         xref-find-definitions.
34822 2015-05-10  Jan D  <jan.h.d@swipnet.se>
34824         Draw composite string correctly (Bug#20537)
34825         * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
34826         New function.
34827         (ns_draw_glyph_string): Call it.
34829 2015-05-09  Eli Zaretskii  <eliz@gnu.org>
34831         Avoid infloop in ERC
34832         * lisp/simple.el (line-move-to-column): Ignore field boundaries
34833         while computing line beginning position.  (Bug#20498)
34835 2015-05-08  Glenn Morris  <rgm@gnu.org>
34837         * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
34838         * build-aux/gitlog-to-emacslog: Check called from right directory.
34839         (srcprefix): Remove.
34841         * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
34842         * Makefile.in (ChangeLog): No longer pass "distprefix".
34843         * make-dist: Update "make ChangeLog" syntax for the above change.
34845         * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
34846         * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
34848         * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
34850         Add command-line option-parsing to gitlog-to-emacslog
34851         * build-aux/gitlog-to-emacslog: Add command-line options.
34852         By default, refuse to remove an existing output file.
34853         * Makefile.in (CHANGELOG): Update default.
34854         (ChangeLog): Do not test for existing file.
34855         (change-history-nocommit): Ensure temp file does not exist.
34857         Quieten --without-x compilation
34858         * lisp/term/common-win.el: Provide a feature.
34859         * lisp/term/x-win.el (term/common-win): Require it.
34861         * lisp/dired-aux.el (dired-do-print): Require lpr.
34863         Quieten compilation, eg in --without-x builds
34864         * lisp/dired-aux.el (lpr-printer-switch):
34865         * lisp/frame.el (tool-bar-height):
34866         * lisp/linum.el (font-info):
34867         * lisp/window.el (font-info, overflow-newline-into-fringe)
34868         (tool-bar-height):
34869         * lisp/emacs-lisp/package-x.el (tar-data-buffer):
34870         * lisp/gnus/gnus-util.el (iswitchb-mode):
34871         * lisp/mail/rmailmm.el (libxml-parse-html-region):
34872         * lisp/net/nsm.el (gnutls-peer-status)
34873         (gnutls-peer-status-warning-describe):
34874         * lisp/net/shr.el (libxml-parse-xml-region):
34875         * lisp/url/url-http.el (gnutls-peer-status): Declare.
34877 2015-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
34879         CEDET (srecode-pop, srecode-peek): Don't use `subclass'
34880         * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
34881         `subclass' since they're never called with a class.
34882         (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
34883         srecode-dictionary-child-p.
34885 2015-05-08  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
34887         * lisp/help.el (help--binding-locus): Document argument POSITION.
34888         (Bug#20530)
34890 2015-05-08  Paul Eggert  <eggert@cs.ucla.edu>
34892         Merge from gnulib
34893         * doc/misc/texinfo.tex: Get latest version.
34895 2015-05-08  Oleh Krehel  <ohwoeowho@gmail.com>
34897         ffap.el (ffap-read-file-or-url): Fix completing-read call
34898         * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
34899         `completing-read' should be a symbol.
34901 2015-05-08  Eli Zaretskii  <eliz@gnu.org>
34903         Verify file modifications by other programs
34904         * src/filelock.c (lock_file): Check whether the file was modified
34905         since it was visited even if 'create-lockfiles' is nil.  (Bug#18828)
34907         Fix keyboard macros that include function keys
34908         * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
34909         keys in the macro before returning.  (Bug#20454)
34911 2015-05-08  Glenn Morris  <rgm@gnu.org>
34913         * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
34914         "Copyright-paperwork-exempt".  (Bug#20324)
34916         * lisp/vc/log-edit.el: Handle "(tiny change)".  (Bug#20324)
34917         (log-edit-rewrite-tiny-change): New variable.
34918         (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
34919         (log-edit-changelog-ours-p): Set log-edit-author to a cons.
34920         * etc/NEWS: Mention this.
34922         * lisp/calc/calc.el (math-zerop): Declare.
34924         * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
34926 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
34928         * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
34929         Support the case when BINDINGS is a single tuple.  (Bug#20525)
34931         * etc/NEWS: Fix typo in previous commit
34932         (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
34934 2015-05-07  Jan D  <jan.h.d@swipnet.se>
34936         * configure.ac: Warn for multiple display crash for all Gtk+ versions.
34937         Output URL to Gtk+ bug (Bug#20452).
34939         * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
34941 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
34943         * lisp/emacs-lisp/package.el: New "external" package status.
34944         An external package is any installed package that's not built-in
34945         and not from `package-user-dir', which usually means it's from an
34946         entry in `package-directory-list'.  They are treated much like
34947         built-in packages, in that they cannot be through the Package Menu
34948         deleted and are not considered for upgrades.
34949         (package-desc-status): Identify if a package is installed outside
34950         `package-user-dir'.
34951         (package-menu--print-info-simple)
34952         (package-menu--status-predicate): Add support for it.
34953         * etc/NEWS: Document it.
34955 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
34957         * lisp/mail/rmail.el: Use lexical-binding.
34958         (rmail-bury): Remove unused var `buffer-to-bury'.
34959         (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
34960         (rmail-parse-url): Remove unused var `proto', `user', and `host'.
34961         (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
34962         (rmail-insert-inbox-text): Remove unused var `movemail'.
34963         (rmail-add-mbox-headers): Remove unused var `limit'.
34964         (rmail-undelete-previous-message): Remove unused var `value'.
34965         (rmail-reply): Remove unused vars `resent-to', `resent-cc',
34966         `resent-reply-to'.
34967         (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
34968         (rmail-restore-desktop-buffer): Rename arguments.
34970 2015-05-06  Glenn Morris  <rgm@gnu.org>
34972         * Makefile.in (change-history-commit): Add missing piece of previous.
34974         Avoid unnecessary bumping of Makefile.in's timestamp
34975         * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
34976         (emacslog): New variable.
34977         (ChangeLog): Use $emacslog.  Don't pass $gen_origin.
34978         (unchanged-history-files): Use $emacslog rather than Makefile.in.
34979         (change-history-nocommit): Store hash in $emacslog.
34980         * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
34981         * admin/update_autogen (changelog_files): Update for the above.
34983         * Makefile.in: Don't always insist on removing existing "ChangeLog".
34984         (CHANGELOG): New variable.
34985         (no-ChangeLog): Remove.
34986         (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
34987         (change-history-nocommit): Use a temp file rather than insisting
34988         on deletion of any existing "ChangeLog".
34990         * build-aux/gitlog-to-emacslog: Allow specification of output.
34992         * admin/update_autogen: Add option to update ChangeLog.
34993         (usage): Mention -H.
34994         (changelog_flag, changelog_n, changelog_files): New variables.
34995         (main): Check for -H, and maybe run change-history-nocommit.
34997 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
34999         * lisp/subr.el (delete-dups): Pre-size the hashtable.
35001         * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
35002         cl--arglist-args is defined (bug#20517).
35004 2015-05-06  Glenn Morris  <rgm@gnu.org>
35006         * Makefile.in (change-history-nocommit): New.
35008 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
35010         * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
35011         timer when it is non-nil
35012         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
35014 2015-05-06  Glenn Morris  <rgm@gnu.org>
35016         Quieten CEDET compilation
35017         * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
35018         Invert fboundp test to quieten on current Emacs.
35019         * lisp/cedet/ede/config.el (ede-shell-run-something)
35020         (semanticdb-file-table-object, semanticdb-needs-refresh-p)
35021         (semanticdb-refresh-table): Declare.
35022         (ede-preprocessor-map): Require semantic/db.
35024         Quieten cc-mode compilation
35025         * lisp/progmodes/cc-awk.el (c-forward-sws):
35026         * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
35027         Declare.
35029 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
35031         * lisp/subr.el (delete-dups): Avoid nreverse.
35033 2015-05-06  Artur Malabarba  <bruce.connor.am@gmail.com>
35035         * lisp/subr.el (delete-dups): Make it destructive again.
35037 2015-05-06  Paul Eggert  <eggert@cs.ucla.edu>
35039         * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
35041 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
35043         * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
35044         * lisp/emacs-lisp/testcover.el: Use lexical-binding.
35045         (testcover--read): Rename from testcover-read.  Change calling
35046         convention.  Use edebug-read-and-maybe-wrap-form now that edebug-read
35047         is gone.
35048         (testcover-start): Use add-function.  Move edebug-all-defs binding to
35049         testcover--read.
35050         (testcover-this-defun): Tighten scope of edebug-all-defs binding.
35051         (testcover-mark): Remove unused var `item'.
35052         * src/lread.c (syms_of_lread): Default load-read-function to `read'.
35054 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
35056         * lisp/subr.el (delete-dups): When there are more than 100 candidates,
35057           use a hash table.  This can result in ~500 times speed-up for typical
35058           collections of size 5000, like that of `load-library'.
35060 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
35062         CEDET: Avoid `oref' on classes in a few more cases
35063         * lisp/cedet/ede/generic.el (ede-find-target):
35064         * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
35065         * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
35066         var `prefix'.
35068         * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
35069         (grepflags, greppattern): Declare.
35070         (semantic-symref-perform-search): Remove unused var `pat'.
35072         CEDET (srecode-compile-inserter): Avoid `oref' on classes
35073         * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
35074         Avoid `oref' on classes (bug#20491).
35075         (srecode-compile-split-code): Remove unused var `key'.
35077 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
35079         Clean up pulse.el a little
35080         * lisp/cedet/pulse.el (pulse): Remove.
35081         (pulse-momentary-timer): Save instead of the stop time.
35082         (pulse-momentary-highlight-overlay):
35083         Call pulse-momentary-unhighlight first thing.
35084         Treat pulse-momentary-overlay as a single value, not a list.
35085         Save the created timer.  Only pass the stop time to the timer.
35086         (pulse-tick): Update accordingly.
35087         (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
35088         single value.  Cancel the timer.
35090 2015-05-06  Tassilo Horn  <tsdh@gnu.org>
35092         * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
35093         Support the biblatex journaltitle field.
35095 2015-05-05  Glenn Morris  <rgm@gnu.org>
35097         Minor declare-function improvement
35098         * lisp/emacs-lisp/bytecomp.el
35099         (byte-compile-macroexpand-declare-function):
35100         Handle declarations after calls.  (Bug#20509)
35102         * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
35104         * lisp/w32-fns.el (w32-shell-name): Silence compiler.
35106 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
35108         Pulse using a timer
35109         * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
35110         (pulse-momentary-highlight-overlay): Set up the timer instead of
35111         calling `pulse'
35112         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
35113         (pulse-tick): New function.
35114         (pulse-momentary-unhighlight): Cut off the stop time.
35115         (pulse-delay): Update the docstring WRT to not using sit-for.
35117         Add semantic/symref/grep file patterns for ruby-mode
35118         * lisp/cedet/semantic/symref/grep.el
35119         (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
35120         Clarify the docstring.
35122         Don't require match
35123         * lisp/progmodes/xref.el (xref--read-identifier): Don't require
35124         match.  That doesn't work for every command, and some identifier
35125         completion tables are bound to be imperfect anyway.
35127 2015-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
35129         * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
35130         (semantic-grammar--template-expand): New function.
35131         (semantic-grammar-header, semantic-grammar-footer): Use it.
35132         (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
35133         (semantic-grammar-file-regexp): Refine regexp.
35134         (semantic-grammar-eldoc-get-macro-docstring):
35135         Use elisp-get-fnsym-args-string when available.
35136         (semantic-idle-summary-current-symbol-info): Use new elisp-* names
35137         instead of the old eldoc-* names.
35138         * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
35139         from elisp-mode.el.  Tweak calling convention.
35140         * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
35141         (elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
35142         elisp--get-fnsym-args-string.
35143         (elisp--highlight-function-argument): Add `prefix' arg.
35144         (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
35145         (elisp--docstring-format-sym-doc): Move back to eldoc.el.
35147 2015-05-05  Glenn Morris  <rgm@gnu.org>
35149         * lisp/help-fns.el (describe-function-1):
35150         Handle builtins with advertised calling conventions.  (Bug#20479)
35152 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
35154         Merge branch 'seq-let'
35156         Update `seq-let' documentation
35157         * doc/lispref/sequences.texi: Update the documentation of `seq-let'
35158         with the support of  `&rest'.
35160         Add support for &rest in `seq-let'
35161         * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
35162         in the argument list.
35163         * test/automated/seq-tests.el: Add a test for parsing and binding
35164         `&rest' in `seq-let'.
35166 2015-05-05  Pierre Lorenzon  <devel@pollock-nageoire.net>  (tiny change)
35168         * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
35169         Add missing increment (Bug#20467).
35170         (eieio-object-value-create): Adjust to new slots representation
35171         (Bug#20467).
35172         (eieio-object-value-create): Fix missed adjustment to new
35173         representation of slots metadata.
35175 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
35177         * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
35179 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
35181         Work around "Attempt to modify read-only object"
35182         * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
35183         elisp--xref-find-definitions, to work around "Attempt to modify
35184         read-only object" error.
35186         Only skip some variables that have function counterparts
35187         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
35188         Only skip minor-mode-named variable if it's defined in a Lisp
35189         file, and it's in minor-mode-list (bug#20506).
35190         * test/automated/elisp-mode-tests.el
35191         (elisp-xref-finds-both-function-and-variable)
35192         (elisp-xref-finds-only-function-for-minor-mode): New tests.
35194 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
35196         * lisp/progmodes/xref.el (xref--location-at-point): Revert the
35197         previous change.
35198         (xref--insert-xrefs): Buttonize the whole line, including the
35199         number at the beginning.
35201         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
35202         Make sure we're inside the let bindings.
35203         * test/automated/elisp-mode-tests.el
35204         (elisp-completes-functions-after-let-bindings): New test.
35206 2015-05-04  Glenn Morris  <rgm@gnu.org>
35208         * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
35209         (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
35210         (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
35211         Remove outdated declarations.
35213         Replace instances of "(eval-when-compile (autoload ...))"
35214         * lisp/gnus/gnus-art.el (nneething-get-file-name):
35215         Declare rather than autoload.
35216         * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
35217         Remove pointless autoload.
35218         * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
35219         (gnus-topic-create-topic, gnus-topic-enter-dribble):
35220         Declare rather than autoload.
35221         * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
35222         (mailcap-extension-to-mime): Autoload at run-time.
35223         * lisp/gnus/mm-util.el (latin-unity-massage-name)
35224         (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
35225         (latin-unity-representations-present-region):
35226         Declare rather than autoload.
35227         * lisp/gnus/mml-smime.el (epg-make-context)
35228         (epg-passphrase-callback-function): Autoload at run-time.
35229         (epg-context-set-signers, epg-context-result-for)
35230         (epg-new-signature-digest-algorithm)
35231         (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
35232         (epg-sign-string, epg-encrypt-string)
35233         (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
35234         (epg-configuration, epg-expand-group, epa-select-keys):
35235         Declare rather than autoload.
35236         * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
35237         Autoload at run-time.
35238         (gnus-group-topic-name, nnimap-buffer, nnimap-command)
35239         (gnus-registry-get-id-key, gnus-registry-action):
35240         Declare rather than autoload.
35241         * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
35242         * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
35243         (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
35244         (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
35245         (spam-stat-split-fancy): Remove pointless autoloads.
35246         * lisp/net/mairix.el: Load gnus-util when compiling.
35247         (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
35248         (message-field-value): Declare rather than autoload.
35249         (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
35250         Check gnus-alive-p is fbound.
35251         (vm-quit, vm-visit-folder, vm-select-folder-buffer)
35252         (vm-check-for-killed-summary, vm-error-if-folder-empty)
35253         (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
35254         Declare rather than autoload.
35256         * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
35258         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
35259         (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
35261         * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
35263         * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
35265         * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
35266         * lisp/emacs-lisp/package.el (epg-signature-status):
35267         Fix declarations.
35269         * lisp/play/gametree.el (gametree-show-children-and-entry)
35270         (gametree-apply-layout, gametree-mouse-show-subtree)
35271         (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
35273         * lisp/emacs-lisp/check-declare.el (check-declare-verify):
35274         Handle cl-defgeneric, cl-defmethod.
35276 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
35278         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
35279         Highlight both type and symbol name.
35281         Insert, highlight and align line numbers in xref output
35282         * lisp/progmodes/etags.el (xref-location-line): Specialize for
35283         xref-etags-location.
35284         * lisp/progmodes/xref.el (xref-location-line): New generic method.
35285         (xref-file-location): Add reader for the line slot.
35286         (xref--location-at-point): Skip to the `xref-location' property.
35287         (xref--collect-reference): Drop the line number from description.
35288         (xref--insert-xrefs): Insert, highlight and align line numbers.
35290 2015-05-04  Daniel Colascione  <dancol@dancol.org>
35292         * lisp/simple.el (save-mark-and-excursion--save)
35293         (save-mark-and-excursion--restore): Fix previous commit
35294         (255a011f0ecf004b31c59945b10154b10fac3af1).
35296 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
35298         Don't pulse the indentation, or the newline
35299         * lisp/cedet/pulse.el (pulse-lighten-highlight)
35300         (pulse-reset-face): Fall back to the inherited background
35301         attribute in FACE.
35302         (pulse-momentary-highlight-region): Add autoload cookie.
35303         * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
35304         indentation, or the newline, if the line's non-empty
35305         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
35307 2015-05-04  Daniel Colascione  <dancol@dancol.org>
35309         Add `save-mark-and-excursion', which has the old
35310         `save-excursion' behavior
35311         * doc/lispref/positions.texi (Excursions):
35312         Document `save-mark-and-excursion'.
35313         * lisp/font-lock.el (font-lock-fontify-block):
35314         Use `save-mark-and-excursion' instead of `save-excursion',
35315         restoring Emacs 24 behavior.
35316         * lisp/simple.el (save-mark-and-excursion--save)
35317         (save-mark-and-excursion--restore): New functions.
35318         (save-mark-and-excursion): New user macro.
35319         * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
35320         in `save-excursion' documentation.
35322 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
35324         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
35325         Classify lone symbol inside let varlist as variable.
35326         * test/automated/elisp-mode-tests.el
35327         (completest-variables-in-let-bindings): New test.
35329         Add xref-pulse-on-jump
35330         * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
35331         Add autoload cookie.
35332         * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
35333         (xref--maybe-pulse): New function.
35334         (xref-pop-marker-stack, xref--pop-to-location)
35335         (xref--display-position): Use it.
35336         (xref--location-at-point): Use back-to-indentation.
35338 2015-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
35340         lisp/org/org-{macs,list}.el: Fix lexical warnings
35341         * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
35342         (org-list-get-next-item, org-list-get-prev-item)
35343         (org-list-get-children): Mark unused arg `struct'.
35344         (org-list-use-alpha-bul-p): Remove unused var `bul'.
35345         (org-toggle-checkbox): Mark unused var.
35346         (org-update-checkbox-count): Remove unused var `box-num'.
35347         (org-adapt-indentation): Declare.
35348         (org-list-parse-list): Declare var instead of adding a dummy duplicate.
35349         (org-list-send-list): Remove unused var `txt'.
35350         (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
35351         (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
35352         * lisp/org/org-macs.el: Use `declare'.
35353         (org-with-limited-levels): Declare dyn-bound vars.
35355 2015-05-04  Eli Zaretskii  <eliz@gnu.org>
35357         Fix minor issues with CEDET on MS-Windows
35358         * lisp/cedet/semantic/symref/idutils.el
35359         (semantic-symref-parse-tool-output-one-line): Fix the search
35360         regexp to match MS-Windows file names with drive letters.
35361         (Bug#19468)
35362         * lisp/cedet/semantic/symref/grep.el
35363         (semantic-symref-grep-use-template): Remove "--color=always" from
35364         Grep switches on MS-Windows.
35365         (semantic-symref-grep-shell): Use shell-file-name as the default
35366         value, so this works not only on Posix platforms.
35367         (semantic-symref-perform-search): Use shell-quote-argument instead
35368         of literal '..' for portable quoting of Grep command-line
35369         argument.  Use shell-command-switch instead of a literal "-c".
35370         * lisp/cedet/semantic/bovine/gcc.el
35371         (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
35372         for an absolute file name in a portable way.
35374 2015-05-04  Artur Malabarba  <bruce.connor.am@gmail.com>
35376         * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
35377         (package-import-keyring, package-refresh-contents)
35378         (package-compute-transaction, package--save-selected-packages)
35379         (package-install-from-archive, package-delete)
35380         (package-menu--perform-transaction): Use `inhibit-message' instead.
35381         (package--compile): Set `warning-minimum-level' to :error.
35383 2015-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
35385         * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
35386         (terminal-init-screen): Use it (bug#20356).
35387         * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
35388         (xterm--extra-capabilities-type): New const.
35389         (xterm-extra-capabilities): Use it.
35390         (xterm--version-handler): Lower the pseudo-version for `screen'.
35392 2015-05-03  Dmitry Gutov  <dgutov@yandex.ru>
35394         * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
35395         Always insert a newline at the end (to avoid mouse-face background
35396         tail at the last line).
35398         elisp-completion-at-point: Prioritize being quoted over funpos
35399         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
35400         Only consider function position when not inside quoted form
35401         (bug#20425).
35402         * test/automated/elisp-mode-tests.el: New file.
35404         Stop vc-print-log from jumping to the top
35405         * lisp/vc/vc.el (vc-print-log-internal): Pass nil
35406         GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
35407         is not specified.
35408         (vc-incoming-outgoing-internal): Always pass nil.
35409         (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
35410         call it, and don't set vc-sentinel-movepoint (bug#15322).
35411         (vc-print-root-log): Don't fetch the root working revision, nor
35412         pass it to vc-print-log-internal.
35414 2015-05-02  Michael Vehrs  <Michael.Burschik@gmx.de>
35416         Fix display of keyboard layouts for right-to-left scripts
35417         * lisp/international/quail.el (quail-insert-kbd-layout):
35418         Force left-to-right paragraph direction.
35420 2015-05-02  K. Handa  <handa@gnu.org>
35422         * src/cmds.c (internal_self_insert): When we insert spaces for
35423         padding, set point before the padding spaces, not after them.
35425 2015-05-02  Nicolas Petton  <nicolas@petton.fr>
35427         * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
35429 2015-05-02  Dmitry Gutov  <dgutov@yandex.ru>
35431         Fix etags-xref-find for references
35432         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
35433         Use `cl-mapcan'.
35434         * lisp/progmodes/etags.el (etags-xref-find): Ditto.  Prompt for
35435         directory if no tags tables are loaded (bug#19468).
35437 2015-05-02  Philipp Stephani  <phst@google.com>
35439         Update the options in whitespace-style defcustom
35440         * lisp/whitespace.el (whitespace-style): Use `set' instead of a
35441         `repeat' because the option is really set-like.  Add missing
35442         options.  Reorder options to match the order in the
35443         documentation.  (Bug#20346)
35445 2015-05-02  Eli Zaretskii  <eliz@gnu.org>
35447         Fix error diagnostics of c-macro-expand
35448         * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
35449         too early if no start-marker string was found -- that generally
35450         means cpp exited abnormally, and we still want to show its error
35451         messages to the user.
35453         Don't require Texinfo 5.0 for Emacs documentation
35454         * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
35455         "@set txicodequotebacktick" instead of "@codequotebacktick on" and
35456         "@codequoteundirected on", respectively, to avoid requiring
35457         Texinfo 5.x for Emacs documentation.
35459 2015-05-01  Simen Heggestøyl  <simenheg@gmail.com>
35461         * lisp/files.el (pwd):
35462         When called with a prefix argument, insert the current default
35463         directory at point.
35465 2015-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
35467         * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
35468         * lisp/isearch.el (isearch-mode-map): Don't inhibit
35469         function-key-map remapping for backspace (bug#20466).
35471 2015-05-01  Dmitry Gutov  <dgutov@yandex.ru>
35473         Implement xref-find-references in etags and elisp-mode
35474         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
35475         (elisp-xref-find): Use it.
35476         * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
35477         * lisp/progmodes/xref.el (xref-collect-references):
35478         (xref--collect-reference): New functions.
35480 2015-05-01  Paul Eggert  <eggert@cs.ucla.edu>
35482         Prefer plain characters to Texinfo circumlocutions
35483         For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
35484         'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
35486         Fix single-quoting style in PDF manuals
35487         The PDF versions of the GNU manuals used curved single quotes to
35488         represent grave accent and apostrophe, which made it a pain to cut
35489         and paste code examples from them.  Fix the PDF versions to use
35490         grave accent and apostrophe for Lisp source code, keystrokes, etc.
35491         This change does not affect the info files, nor does it affect
35492         ordinary uses of curved single quotes in PDF.
35493         * doc/emacs/docstyle.texi: New file, which specifies treatment for
35494         grave accent and apostrophe, as well as the document encoding.
35495         * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
35496         * doc/lispintro/emacs-lisp-intro.texi:
35497         * doc/lispref/back.texi, doc/lispref/book-spine.texi:
35498         * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
35499         * doc/misc/ada-mode.texi, doc/misc/auth.texi:
35500         * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
35501         * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
35502         * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
35503         * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
35504         * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
35505         * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
35506         * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
35507         * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
35508         * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
35509         * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
35510         * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
35511         * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
35512         * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
35513         * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
35514         * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
35515         * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
35516         * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
35517         * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
35518         * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
35519         * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
35520         * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
35521         * doc/misc/woman.texi:
35522         Use it instead of '@documentencoding UTF-8', to lessen the need for
35523         global changes like this in the future.
35524         * doc/emacs/Makefile.in (EMACS_XTRA):
35525         * doc/lispintro/Makefile.in (srcs):
35526         * doc/lispref/Makefile.in (srcs):
35527         Add dependency on docstyle.texi.
35528         * doc/misc/Makefile.in (style): New macro.
35529         (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
35530         (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
35531         Use it.
35533 2015-05-01  Glenn Morris  <rgm@gnu.org>
35535         * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
35537         * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
35538         (help-fns--signature): Declare.
35540         * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
35542 2015-05-01  Nicolas Petton  <nicolas@petton.fr>
35544         New macro seq-let, providing destructuring support to seq.el
35545         * lisp/emacs-lisp/seq.el (seq-let): New macro.  `seq-let' is similar
35546         to `cl-destructuring-bind' but works on all sequence types supported
35547         by `seq.el'.  Bump version number to 1.6.
35548         * test/automated/seq-tests.el: Add tests for seq-let.
35549         * doc/lispref/sequences.texi: Add documentation for seq-let.
35551 2015-05-01  Pontus Michael  <m.pontus@gmail.com>
35553         * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
35555 2015-05-01  Glenn Morris  <rgm@gnu.org>
35557         * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
35559 2015-05-01  Artur Malabarba  <bruce.connor.am@gmail.com>
35561         * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
35562         This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
35563         This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
35564         With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
35565         (Bug#20445).
35567 2015-05-01  K. Handa  <handa@gnu.org>
35569         * lisp/international/mule-cmds.el (input-method-use-echo-area):
35570         Change :type to 'boolean.
35572 2015-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
35574         Start using proportional fonts in eww by default
35575         * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
35576         it seems to work well.
35578         Fix links in tables in shr
35579         * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
35580         makes (some) links in tables not work.
35582 2015-05-01  Jan D  <jan.h.d@swipnet.se>
35584         * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
35586 2015-04-30  Glenn Morris  <rgm@gnu.org>
35588         * lisp/emacs-lisp/ert.el (ert--special-operator-p):
35589         Update for 2015-02-08 change to indirect-function.
35591         * lisp/term/ns-win.el (ns-get-selection-internal):
35592         Remove declaration for function deleted 2014-10-21.
35594         * lisp/dom.el: Load subr-x when compiling, for when-let.
35596         Silence some compilation warnings
35597         * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
35598         * lisp/emulation/cua-base.el (delete-active-region):
35599         * lisp/net/net-utils.el (w32-get-console-output-codepage):
35600         * lisp/term/ns-win.el (ns-own-selection-internal)
35601         (ns-disown-selection-internal, ns-selection-owner-p)
35602         (ns-selection-exists-p, ns-get-selection):
35603         Declare for compiler.
35605         Function declaration updates prompted by 'make check-declare'
35606         * lisp/emacs-lisp/package.el (lm-homepage):
35607         * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
35608         * lisp/gnus/mm-decode.el (libxml-parse-html-region):
35609         * lisp/gnus/mml.el (libxml-parse-html-region):
35610         * lisp/gnus/nnrss.el (libxml-parse-html-region):
35611         * lisp/net/eww.el (libxml-parse-html-region):
35612         * lisp/net/shr.el (libxml-parse-html-region):
35613         * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
35614         * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
35615         * lisp/vc/vc-git.el (vc-annotate-convert-time):
35616         * lisp/vc/vc-hg.el (vc-annotate-convert-time):
35617         * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
35618         * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
35619         Update declaration.
35621         Remove compatibility code for 20-year old function renaming
35622         * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
35623         Make it an obsolete alias.
35624         (idlwave-shell-filter): Change all uses to comint-output-filter.
35626 2015-04-30  Tassilo Horn  <tsdh@gnu.org>
35628         Add ace-window face config
35629         * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
35630         configuration.
35632 2015-04-30  Paul Eggert  <eggert@cs.ucla.edu>
35634         Unclutter 'make doc' output a bit
35635         * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
35636         Use make subst rather than sh IFS to split target string apart.
35637         This makes 'make' output easier to follow.
35639         Merge from gnulib
35640         * doc/misc/texinfo.tex: Update from gnulib.
35642 2015-04-30  Artur Malabarba  <bruce.connor.am@gmail.com>
35644         * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
35645         (package-menu--print-info): Obsolete.
35646         (package-menu--print-info-simple): New function.
35647         (package-menu--refresh): Use it, simplify code, and improve
35648         performance.
35649         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
35650         Tiny performance improvement.
35652         * lisp/emacs-lisp/package.el (package--message): inhibit-message.
35654 2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
35656         Omit -Wstrict-overflow workaround in GCC 5
35657         * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
35658         if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
35660         Merge from gnulib
35661         This incorporates:
35662         2015-04-29 extern-inline: no need for workaround in GCC 5.1
35663         2015-04-26 file-has-acl: port to CentOS 6
35664         * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
35666 2015-04-29  Helmut Eller  <eller.helmut@gmail.com>
35668         Set next-error-* in xref--xref-buffer-mode
35669         * lisp/progmodes/xref.el (xref--xref-buffer-mode):
35670         Set `next-error-function' and `next-error-last-buffer'.
35671         (xref--next-error-function): New function.
35672         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
35674 2015-04-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
35676         python.el: Fix warnings on looking-back calls missing LIMIT
35677         * lisp/progmodes/python.el (python-shell-accept-process-output):
35678         Pass LIMIT arg to looking-back.
35680 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
35682         * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
35683         (package--download-and-read-archives): Use pushnew instead of
35684         append.  If something terrible happened during a previous
35685         download, simply refreshing should now make things work again.
35687 2015-04-29  Dmitry Gutov  <dgutov@yandex.ru>
35689         Introduce etags-xref-find-definitions-tag-order
35690         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
35691         New variable.
35692         (etags--xref-find-definitions): Use it (bug#19468).
35694 2015-04-29  Eli Zaretskii  <eliz@gnu.org>
35696         PATH- and completion-related fixes in Eshell on MS-Windows
35697         * lisp/eshell/esh-ext.el (eshell-search-path): When running on
35698         MS-Windows, prepend "." to list of directories produced from PATH,
35699         as Windows always implicitly searches the current directory first.
35700         (eshell-force-execution): Make it have a non-nil default value on
35701         MS-Windows and MS-DOS.
35702         * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
35703         eshell-force-execution is non-nil, complete on readable files and
35704         directories, not only executables.  When running on MS-Windows,
35705         prepend "." to list of directories produced from PATH, as Windows
35706         always implicitly searches the current directory first.
35708 2015-04-29  Sam Steingold  <sds@gnu.org>
35710         Bury RCIRC buffers when there is no activity
35711         * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
35712         (rcirc-bury-buffers): New function.
35713         (rcirc-next-active-buffer): When there is no new activity, use
35714         `rcirc-bury-buffers' to hide all RCIRC buffers.
35716 2015-04-29  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
35718         Fix DBUS query result parsing for secrets-search-items
35719         * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
35720         parsing.  The function assumed that return value of the
35721         SearchItems method called on a collection is a list of two lists,
35722         however this is true only when no collection is specified.  GNOME
35723         had used to incorrectly return a list of two lists in both cases,
35724         but this was already fixed:
35725         https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
35726         incorrect information in the secrets-search-items’ docstring.
35727         (Bug#20449)
35729 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
35731         * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
35732         Use `inhibit-message' instead of hiding the previous message
35733         with (message nil).
35735 2015-04-29  Oleh Krehel  <ohwoeowho@gmail.com>
35737         Remove the deprecated INTERNAL_FIELD macro by expanding it
35738         * src/lisp.h (INTERNAL_FIELD): Remove.
35739         (DEFVAR_KBOARD): Modify accordingly.
35740         * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
35741         * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
35742         * src/buffer.c (compact_buffer): Use BVAR.
35744 2015-04-29  Glenn Morris  <rgm@gnu.org>
35746         Replace an obsolete function alias
35747         * lisp/isearch.el (isearch-yank-x-selection):
35748         * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
35749         (mouse-drag-secondary-moving):
35750         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
35751         Replace obsolete alias x-get-selection with gui-get-selection.
35753 2015-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
35755         * lisp/mail/rmailsum.el: Use lexical-binding.
35757 2015-04-29  Glenn Morris  <rgm@gnu.org>
35759         * test/automated/package-test.el (package-test-update-archives-async):
35760         Skip test on hydra.nixos.org.
35762 2015-04-28  Glenn Morris  <rgm@gnu.org>
35764         * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
35765         (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
35766         (foldout-mouse-hide-or-exit): Use new names for outline functions.
35768         * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
35769         Update for 2014-06-26 hideif.el change.
35771         * lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)
35772         (rmail--decode-and-apply): New function.
35773         (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
35775         * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
35777 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
35779         * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
35780         (package-menu--refresh): Delegate obsolete-hiding to
35781         `package--remove-hidden'.
35782         (package--remove-hidden): Disregard high-priority package if it is
35783         older than the installed one.
35785 2015-04-28  Paul Eggert  <eggert@cs.ucla.edu>
35787         Update source file encoding list
35788         Update admin/notes/unicode, along with coding system cookies in
35789         other files, so that the two match each other better.
35790         * admin/notes/unicode: lisp/language/ethio-util.el and
35791         lisp/language/ethiopic.el also use utf-8-emacs.
35792         * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
35793         * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
35794         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
35795         * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
35796         * etc/refcards/sk-survival.tex:
35797         Add "coding: utf-8" so that this file is not mishandled in a
35798         Latin-1 or Big-5 locale.
35799         * lisp/international/robin.el, lisp/org/ox-ascii.el:
35800         Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
35801         * lisp/language/ethio-util.el: Fix trailer.
35803 2015-04-28  Eli Zaretskii  <eliz@gnu.org>
35805         Fix synchronous invocation of Ispell
35806         * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
35807         value to ispell-process-directory before calling ispell-init-process.
35808         Don't call set-process-coding-system if ispell-async-processp is nil.
35809         (Bug#20448)
35811 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
35813         * lisp/emacs-lisp/package.el: Skip space and comments in init file
35814         (package--ensure-init-file): Insert snippet at first
35815         non-whitespace non-comments line.  Respects local-vars at the top
35816         of the file.
35818 2015-04-28  Glenn Morris  <rgm@gnu.org>
35820         * lisp/mail/rmail.el (rmail-copy-headers):
35821         Handle rmail-nonignored-headers being nil.  (Bug#18878)
35823         * lisp/subr.el (delay-mode-hooks): Fix doc typo.
35825         * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
35826         Don't get confused by a bzrlib version mismatch warning.
35828 2015-04-27  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
35830         Change default location of EUDC options file
35831         * etc/NEWS: Document change to EUDC options file's default location.
35832         * lisp/net/eudc-vars.el (eudc-options-file): Use
35833         `locate-user-emacs-file' to change default options file location.
35835 2015-04-27  Glenn Morris  <rgm@gnu.org>
35837         * test/automated/package-test.el (package-test-update-archives-async):
35838         Try to handle the test server script dying.
35840 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
35842         * lisp/saveplace.el (save-place-mode): New minor mode.
35843         (save-place): Redefine as an obsolete alias.
35845         * lisp/midnight.el: Make it a minor mode.  Allow predicates.
35846         * lisp/midnight.el: Use lexical-binding.
35847         (midnight-mode): Make it a proper minor mode.
35848         (midnight-buffer-display-time): Make arg non-optional.
35849         (midnight-find): Remove.
35850         (clean-buffer-list-kill-never-regexps)
35851         (clean-buffer-list-kill-regexps): Tweak type for new function choice.
35852         (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
35853         contain functions.
35854         (clean-buffer-list): Use cl-find.
35855         Allow clean-buffer-list-kill-never-regexps to contain functions.
35857 2015-04-27  Nicolas Petton  <nicolas@petton.fr>
35859         Bump version of seq.el to 1.5
35860         * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
35861         from seq-doseq.  Bump version number of seq.el.
35863 2015-04-27  Glenn Morris  <rgm@gnu.org>
35865         * lisp/mail/rmail.el (rmail-reply):
35866         Decode subject before matching "Re:" prefix.  (Bug#20396)
35868 2015-04-27  Artur Malabarba  <bruce.connor.am@gmail.com>
35870         * lisp/emacs-lisp/package.el: Small improvements
35871         (package--with-work-buffer-async): More informative error.
35872         (package-install-user-selected-packages): Rename to
35873         `package-install-selected-packages'.
35875 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
35877         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
35878         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
35879         (eieio--class-make): Remove leftover `tag'.
35881 2015-04-27  Glenn Morris  <rgm@gnu.org>
35883         * lisp/gnus/message.el (gnus-extract-address-components):
35884         Remove bogus declaration that was masking previous problem.
35886 2015-04-27  Nicolas Graner  <nicolas.graner@u-psud.fr>  (tiny change)
35888         * lisp/gnus/message.el (message-insert-formatted-citation-line):
35889         Fix typo.  (Bug#20318)
35891 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
35893         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
35895         * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
35896         * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
35897         the buffer in yet another frame.
35898         (reftex-toc-visit-location): Make sure toc-window has focus at the end
35899         when `final' is nil.
35900         (reftex--rebuilding-toc): Defvar to avoid `boundp' and
35901         silence warnings.  Use `--' to clarify that it's internal.
35902         (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
35903         (reftex-toc-promote): Clarify unused argument.
35904         (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
35905         Add `reftex--' prefix.  Fix all users.
35906         (reftex-toc-promote-prepare): Use _ for dummy variable.
35907         (reftex-toc-restore-region): Rename `m.
35909 2015-04-27  Eli Zaretskii  <eliz@gnu.org>
35911         Fix a typo in bibtex.el
35912         * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
35913         last change.  (Bug#20429)
35915         Fix redisplay of frame after loading new fonts
35916         * src/xdisp.c (redisplay_internal): When retrying redisplay of
35917         a frame because new fonts were loaded, disable all redisplay
35918         optimizations on that frame by calling SET_FRAME_GARBAGED.
35919         (Bug#20410)
35921 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
35923         * lisp/info.el (Info-menu): Properly provide the `default'
35924         (Bug#20391)
35926         * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
35927         Catch errors from documentation (bug#20418).
35928         (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
35930 2015-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
35932         * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
35933         Remove redundant ":group 'package".
35935 2015-04-26  Eli Zaretskii  <eliz@gnu.org>
35937         Fix a typo in rmail.el
35938         * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
35939         last commit.  (Bug#20429)
35941 2015-04-26  Dmitry Gutov  <dgutov@yandex.ru>
35943         Introduce xref-prompt-for-identifier
35944         * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
35945         (xref--read-identifier): Use it
35946         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
35948 2015-04-26  João Távora  <joaotavora@gmail.com>
35950         `tex-insert-quote' after single `'' opens quotes instead of closing
35951         Without this, it's very hard to precede double quotes with the
35952         apostrophe character, i.e. insert the sequence '``
35953         (quote-backquote-backquote), commonly useful in portuguese, for
35954         instance.
35955         * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
35956         preceding chars making `tex-insert-quote' be in the "opening" context.
35958 2015-04-25  Dmitry Gutov  <dgutov@yandex.ru>
35960         Pass `id' to `completing-read' as def instead of initial input
35961         * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
35962         `completing-read' as the default value instead of initial input
35963         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
35965 2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>
35967         Don't freeze with unreadable processes
35968         Don't freeze if an exiting process can't be read from.  (Bug#19860).
35969         This fixes a bug I introduced in
35970         2014-07-08T07:24:07Z@eggert@cs.ucla.edu
35971         "* process.c: Add sanity checks for file descriptors."
35972         Dmitry Gutov did most of the legwork in finding the problem.
35973         * src/process.c (wait_reading_process_output):
35974         Treat non-running processes that can't be read from
35975         the same as other non-running processes.
35977 2015-04-25  Alan Mackenzie  <acm@muc.de>
35979         Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
35980         * lisp/subr.el (remove-yank-excluded-properties): Put
35981         `with-silent-modifications' around only the last three lines of code.
35983 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
35985         * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
35986         (package--all-keywords): Deleted variable.
35988         * etc/NEWS: Document package-hiding functionality.
35990 2015-04-25  Eli Zaretskii  <eliz@gnu.org>
35992         * lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)
35994         Clarify the doc string of 'replace-regexp-in-string'
35995         * lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
35997         Improve doc string of 'insert-buffer-substring'
35998         * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
36000         MS-Windows followup for the recent gnulib update
36001         * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
36002         acl-internal.c.
36004 2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>
36006         Spelling fixes
36008         Merge from gnulib
36009         This incorporates:
36010         2015-04-24 file-has-acl: new module, split from acl
36011         2015-04-24 manywarnings: add GCC 5.1 warnings
36012         2015-04-21 lstat: fix cross-compilation 'ln -s' problem
36013         2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
36014         2015-04-15 acl: On Linux, check for acls without libacl
36015         2015-04-14 tempname: avoid unused parameter warnings (trivial)
36016         * lib/acl-internal.c: New file, from gnulib.
36017         * lib/file-has-acl.c: Remove; no longer imported from gnulib.
36018         * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
36019         * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
36020         Update from gnulib.
36022         Port --enable-gcc-warnings to GCC 5.1 x86-64
36023         * lib-src/ebrowse.c (dump_sym):
36024         * lib-src/hexl.c (main):
36025         * src/ccl.c (ccl_driver):
36026         * src/character.c (string_escape_byte8):
36027         * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
36028         * src/gnutls.c (Fgnutls_boot):
36029         * src/gtkutil.c (xg_check_special_colors):
36030         * src/image.c (x_build_heuristic_mask):
36031         * src/print.c (safe_debug_print, print_object):
36032         * src/term.c (produce_glyphless_glyph):
36033         * src/xdisp.c (get_next_display_element)
36034         (produce_glyphless_glyph):
36035         * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
36036         Don't use a signed format to print an unsigned integer, or vice
36037         versa.  GCC 5.1's new -Wformat-signedness option warns about this.
36038         * src/image.c (png_load_body, jpeg_load_body):
36039         Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
36041 2015-04-24  Tassilo Horn  <tsdh@gnu.org>
36043         Add new faces to tsdh-light-theme
36044         * etc/themes/tsdh-light-theme.el (tsdh-light): New face
36045         definitions for Info-quoted, ace-jump-face-foreground,
36046         hl-paren-face, show-paren-match, and show-paren-mismatch.
36048 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
36050         * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
36052 2015-04-24  Glenn Morris  <rgm@gnu.org>
36054         * build-aux/gitlog-to-emacslog:
36055         Use raw log format rather than wrapped one.
36057 2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
36059         * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
36060         (seq-doseq): Fix out-of-scope binding.
36061         Don't call `seq-length at every iteration.
36062         Reduce `if's from 3 to 2 per iteration.
36063         (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
36065 2015-04-24  Glenn Morris  <rgm@gnu.org>
36067         * lisp/textmodes/text-mode.el (text-mode-hook):
36068         Move text-mode-hook-identify to default.
36070         * lisp/mouse.el (minor-mode-menu-from-indicator):
36071         Handle non-function members of minor-mode-map-alist.  (Bug#20201)
36073         * lisp/help-fns.el (describe-function): More type checking.
36074         (describe-function-1): Handle changed symbol-function.  (Bug#20201)
36076         * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
36077         (Bug#20325)
36079 2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>
36081         shr: strip leading whitespace when expanding URLs
36082         * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
36084 2015-04-24  Eli Zaretskii  <eliz@gnu.org>
36086         Clarify "co-authored" some more
36088         * CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)
36090         Clarify doc strings of functions that search for properties
36091         * src/textprop.c (Fnext_char_property_change)
36092         (Fprevious_char_property_change)
36093         (Fnext_single_char_property_change)
36094         (Fprevious_single_char_property_change, Fnext_property_change)
36095         (Fnext_single_property_change, Fprevious_property_change)
36096         (Fprevious_single_property_change): Clarify doc strings wrt return
36097         value and the optional LIMIT argument.  (Bug#20411)
36099 2015-04-24  Glenn Morris  <rgm@gnu.org>
36101         * test/automated/message-mode-tests.el (message-mode-propertize):
36102         Handle non-writable HOME; eg on hydra.nixos.org.
36104 2015-04-23  Eli Zaretskii  <eliz@gnu.org>
36106         Avoid starting threads by w32-shell-execute
36107         * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
36108         local file names, before invoking ShellExecute.  (Bug#20220)
36110 2015-04-23  Martin Rudalics  <rudalics@gmx.at>
36112         Fix following doc-links in `widget-documentation-link-action'
36113         * lisp/wid-edit.el (widget-documentation-link-action): Make
36114         following doc-links less simplistic (Bug#20398).
36116 2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
36118         Improve EUDC manual
36119         * doc/misc/eudc.texi (Troubleshooting):
36120         New LDAP troubleshooting subsection.
36122 2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>
36124         Omit needless "\ " after multibyte then newline
36125         * src/print.c: Include <c-ctype.h>, for c_isxdigit.
36126         (print_object): When print-escape-multibyte is non-nil and a
36127         multibyte character is followed by a newline or formfeed, followed
36128         by a hex digit, don't output a needless "\ " before the hex digit.
36129         * test/automated/print-tests.el (print-hex-backslash): New test.
36131 2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>
36133         Add a new `inhibit-message' variable
36134         * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
36135         (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
36136         `inhibit_message' is non-zero.
36137         * etc/NEWS: Add an entry.
36138         * doc/lispref/display.texi: Add an entry for `inhibit-message',
36139         mention it in `message'.
36141 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
36143         Fix last fix in `display-buffer-record-window'.
36144         * lisp/window.el (display-buffer-record-window): Fix last fix.
36146 2015-04-22  Eli Zaretskii  <eliz@gnu.org>
36148         Minor edits in CONTRIBUTE
36149         * CONTRIBUTE: Rearrange instructions about log messages.
36150         Use "Git" capitalized all over.
36151         Use 2 spaces between sentences.
36153 2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>
36155         * lisp/files.el (basic-save-buffer): Fix argument.
36157         * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
36158         In case `(and (null custom-file) init-file-had-error)' do the same
36159         thing we'd do if `(null user-init-file)', which is to either error out
36160         or return nil.  This is in line with `custom-save-all' which would
36161         throw an error in that situation.  (Bug#20355)
36163         * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
36164         (package-menu-hide-low-priority): New variable, see its doc.
36165         (package-archive-priorities): Update doc.
36166         (package-desc-priority): New function.
36167         (package-desc-priority-version): Use it.
36168         (package--remove-hidden): New function.
36169         (package-menu--refresh): Use it.
36171         * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
36172         (package-menu--hide-obsolete): New variable.
36173         (package--remove-hidden): Use it.
36174         (package-menu-hide-obsolete): New interactive function to toggle
36175         the variable.
36176         (package--quick-help-keys): Document it.
36177         (package-menu-async): Add :version tag.
36178         (package-menu-mode-map): Bind package-menu-hide-obsolete.
36179         (package-desc-status): Indicate non-installed obsolete packages as
36180         avail-obso.
36181         (package-menu-mark-install): Allow installation of avail-obso.
36182         (package-menu--status-predicate): Sort avail-obso with available.
36184 2015-04-22  Alan Mackenzie  <acm@muc.de>
36186         On C-y, stop some text property entries being written into buffer-undo-list
36187         * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
36188         `with-silent-modifications'.
36190 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
36192         In display-buffer-record-window record selected window if necessary
36193         * lisp/window.el (display-buffer-record-window): Store selected window
36194         if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
36196 2015-04-22  Tassilo Horn  <tsdh@gnu.org>
36198         Fix reftex-citation bug
36199         * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
36200         Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
36201         integration is enabled and there are no citations in the document
36202         so far.
36204 2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>
36206         Add or reset based on the presence of MERGE_HEAD
36207         * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
36208         `vc-git-resolve-when-done' to `after-save-hook' in either case.
36209         (vc-git-conflicted-files): Add a TODO.
36210         (vc-git-resolve-when-done): Depending on the presence of
36211         MERGE_HEAD, either update the resolved file in the index, or
36212         remove it from there.  (Bug#20292)
36214 2015-04-21  Glenn Morris  <rgm@gnu.org>
36216         * lisp/custom.el (custom-declare-group): No need to purecopy
36217         custom-current-group-alist members following recent change to set
36218         it to nil before dumping.
36220         * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
36221         (Bug#20399)
36223 2015-04-21  Daniel Colascione  <dancol@dancol.org>
36225         Unbreak no-op buffer save message
36226         * lisp/files.el (basic-save-buffer): Accept called-interactively as
36227         an argument instead of directly invoking called-interactively-p,
36228         which will always yield nil in that context.
36230 2015-04-21  Alan Mackenzie  <acm@muc.de>
36232         CC Mode: Do nothing in before/after-change-functions for text
36233         property changes
36234         Fixes bug#20266.
36235         * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
36236         yank-handled-properties buffer local, and remove 'category from it.
36237         (c-called-from-text-property-change-p): New function.
36238         (c-before-change): Don't do anything if a call of the new function
36239         returns non-nil.
36240         (c-after-change): Don't do much if a call of the new function returns
36241         non-nil.
36242         (c-extend-after-change-region): Put changes to text property 'fontified
36243         inside c-save-buffer-state.
36245 2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
36247         Fix byte-compiler warnings about looking-back
36248         * lisp/vc/log-view.el (log-view-end-of-defun-1):
36249         * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
36250         * lisp/textmodes/reftex-ref.el (reftex-goto-label):
36251         * lisp/textmodes/bibtex.el (bibtex-insert-kill):
36252         * lisp/progmodes/sh-script.el (sh--maybe-here-document):
36253         * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
36254         * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
36255         * lisp/org/org.el (org-insert-heading, org-sort-entries):
36256         * lisp/org/org-mouse.el (org-mouse-end-headline)
36257         (org-mouse-context-menu):
36258         * lisp/org/org-clock.el (org-clock-cancel):
36259         * lisp/man.el (Man-default-man-entry):
36260         * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
36261         (rmail-ensure-blank-line):
36262         * lisp/mail/footnote.el (Footnote-delete-footnote):
36263         * lisp/mail/emacsbug.el (report-emacs-bug):
36264         * lisp/info.el (Info-follow-reference, Info-fontify-node):
36265         * lisp/info-look.el (info-lookup-guess-custom-symbol):
36266         * lisp/help-fns.el (help-fns--key-bindings):
36267         * lisp/files.el (hack-local-variables):
36268         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
36269         (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
36270         (viper-complete-filename-or-exit):
36271         * lisp/emulation/viper-cmd.el (viper-backward-indent):
36272         * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
36273         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
36274         * lisp/cus-edit.el (custom-face-edit-value-create):
36275         * lisp/calendar/todo-mode.el (todo-set-item-priority)
36276         (todo-filter-items-1, todo-convert-legacy-files)
36277         (todo-prefix-overlays): Add explicit second arg to looking-back.
36279 2015-04-20  Glenn Morris  <rgm@gnu.org>
36281         Avoid non-nil current-load-list at startup
36282         * src/process.c (init_process_emacs): Move Fprovide statement...
36283         (syms_of_process): ... to here.
36285         * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
36287         * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
36288         in emacs -Q.
36290 2015-04-20  Ludovic Courtès  <ludo@gnu.org>
36292         * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
36293         (Bug#20330)
36295 2015-04-20  Glenn Morris  <rgm@gnu.org>
36297         * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
36299         Tweak exec-path in uninstalled case
36300         * src/callproc.c (init_callproc): If running uninstalled, do not
36301         include eventual installation libexec directory in exec-path.
36303 2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>
36305         * lisp/emacs-lisp/package.el: Filter by multiple keywords and
36306         cache keywords.
36307         (package-menu-filter): Accept a list of keywords.
36308         (package--all-keywords): New variable to cache known keywords.
36309         (package-all-keywords): Populate it if necessary.
36310         (package-refresh-contents): Reset it.
36312         * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
36313         (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
36314         as special keywords which match agains package archive and status
36315         respectively.
36316         * etc/NEWS: Document it.
36318 2015-04-20  Eli Zaretskii  <eliz@gnu.org>
36320         Describe and index "empty overlays".
36321         * doc/lispref/display.texi (Overlays): Improve indexing.
36322         (Managing Overlays): Describe "empty" overlays.
36323         (Overlay Properties, Finding Overlays): Add cross-reference to
36324         where empty overlays are described.
36326 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36328         Spelling fixes
36330         Quote 'like this' in top-level files
36331         * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
36332         Prefer to single-quote 'like this' (instead of the older style
36333         `like this').
36334         * configure.ac: Fix some space-before-tab problems that 'git commit'
36335         complained about.
36337         Use bool for boolean in textprop.c, undo.c
36338         * src/textprop.c (soft, hard): Now constants instead of macros.
36339         (validate_plist): Rewrite to avoid need for boolean local.
36340         (interval_has_all_properties, interval_has_some_properties)
36341         (interval_has_some_properties_list, add_properties)
36342         (remove_properties, get_char_property_and_overlay)
36343         (Fnext_single_char_property_change)
36344         (Fprevious_single_char_property_change, add_text_properties_1)
36345         (Fremove_text_properties, Fremove_list_of_text_properties)
36346         (copy_text_properties):
36347         * src/tparam.c (tparam1):
36348         * src/undo.c (record_change, record_property_change)
36349         (syms_of_undo):
36350         Use 'true' and 'false' for booleans.
36352 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
36354         * lisp/vc/vc-git.el (vc-git-find-file-hook):
36355         Call `smerge-start-session' even when dealing with a stash
36356         conflict (bug#20292).
36358 2015-04-19  Vibhav Pant  <vibhavp@gmail.com>
36360         Add option to eshell/clear to clear scrollback.
36361         * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
36362         (eshell/clear): Add an optional SCROLLBACK argument.  If non-nil,
36363         scrollback contents are cleared.
36364         * etc/NEWS: Describe change.
36365         * doc/misc/eshell.texi: Add entry for `clear'.
36367 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36369         * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
36370         where either will do.
36372 2015-04-19  Steve Purcell  <steve@sanityinc.com>
36374         Assume package archive-contents are UTF8-encoded
36375         * lisp/emacs-lisp/package.el (package--read-archive-file):
36376         Set `coding-system-for-read' explicitly to 'utf-8 when reading the
36377         downloaded and cached archive-contents files, so that non-ASCII
36378         characters in package descriptions are displayed correctly in the
36379         `list-packages' menu.  (Bug#20231)
36381 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
36383         Abort when looking at stashed changes
36384         * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
36385         stashed changes (bug#20292).
36387 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36389         Refactor low-level printing for simplicity
36390         * src/print.c (PRINTDECLARE): Remove.  Move its contents into
36391         PRINTPREPARE; doable now that we assume C99.  All callers changed.
36392         (PRINTCHAR): Remove, as it adds more mystery than clarity.
36393         All callers changed.
36394         (strout): Assume that caller computes length.  All callers changed.
36395         (print_c_string): New function.
36396         (write_string, write_string_1): Compute length instead of asking
36397         the caller to compute it.  All callers changed.
36398         (write_string): Simplify by using write_string_1.
36399         (write_string_1): Simplify by using print_c_string.
36400         (Fterpri): Compute default val more clearly.
36401         (Fprin1_to_string, print_object):
36402         Assume C99 to avoid unnecessary nesting.
36403         (print_object): Prefer print_c_string to multiple printchar, or
36404         to calling strout with -1 length.  Coalesce into sprintf when
36405         this is easy.
36407 2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>
36409         Prefer "Bug#1234" in commit messages (Bug#20325)
36410         * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
36411         as this isn't useful for Git.
36412         * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
36414 2015-04-18  Glenn Morris  <rgm@gnu.org>
36416         * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
36417         (Bug#19506)
36419 2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)
36421         * lisp/elec-pair.el (electric-pair-post-self-insert-function):
36422         Do not use `chomp' as a function.  (Bug#19505)
36424 2015-04-18  Glenn Morris  <rgm@gnu.org>
36426         * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
36428         * doc/emacs/misc.texi (Sorting): Small edit.
36429         (Bug#19896)
36431         * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
36433 2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>
36435         css-mode.el: Support multi-line comment filling
36436         (Bug#20256)
36437         * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
36438         comment filling.
36439         (css-adaptive-fill): New function.
36440         (css-mode): Set `adaptive-fill-function'.
36441         (scss-mode): Set `comment-continue'.
36443 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
36445         * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
36446         Better error messages.
36448 2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)
36450         Minor improvements in Bulgarian input methods
36451         * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
36452         Replace U+042C with U+045D, as the former character is not used in
36453         the modern Bulgarian language.
36454         (Bug#20350)
36456 2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
36458         Improve EUDC manual
36459         * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
36460         authentication schemes.  Add index items.  Shorten example server
36461         name.
36463 2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>
36465         Don't show both feature and function with the same name
36466         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
36467         Don't show both feature and function with the same name.
36469         (elisp--xref-identifier-location): Skip variable, if it's also
36470         a function
36471         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
36472         Avoid returning both the variable and the function for the same
36473         minor mode.
36475 2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>
36477         Fix fontification of keywords clobbered by the prompt
36478         * lisp/comint.el (comint-output-filter): Remove the uses of
36479         with-silent-modifications I introduced as part of the last change.
36480         This fixes, e.g., erratically missing highlighting when running
36481         ./configure --help; ./configure in a shell-mode buffer with
36482         compilation-shell-minor-mode turned on.
36484 2015-04-17  Glenn Morris  <rgm@gnu.org>
36486         * admin/authors.el (authors-valid-file-names)
36487         (authors-renamed-files-alist): Additions.
36489 2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
36491         * lisp/indent.el (indent-region): Don't deactivate the mark.
36492         (Bug#20357)
36494 2015-04-17  Sam Steingold  <sds@gnu.org>
36496         * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
36498 2015-04-16  Leo Liu  <sdl.web@gmail.com>
36500         * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
36502 2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
36504         * lisp/erc/erc-pcomplete.el (erc-pcomplete):
36505         Don't use `pcomplete' any more.
36507 2015-04-16  Glenn Morris  <rgm@gnu.org>
36509         * admin/authors.el (authors-lax-changelogs): Update for erc changes.
36511 2015-04-16  Eli Zaretskii  <eliz@gnu.org>
36513         Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
36514         * configure.ac (LIBJPEG): Leave it empty for MinGW.
36516 2015-04-16  Glenn Morris  <rgm@gnu.org>
36518         * lisp/replace.el (query-replace-from-to-separator):
36519         Delay initialization to avoid rogue setting after startup.
36521 2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>
36523         Pre-4.6 GCC succeeds with unknown option
36524         * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
36525         (Bug#20338)
36527 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
36529         '[:graph:]' now excludes whitespace, not just ' '
36530         * doc/lispref/searching.texi (Char Classes):
36531         * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
36532         sans whitespace (not sans space).
36533         * src/character.c (graphicp): Exclude all Unicode whitespace chars,
36534         not just space.
36535         * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
36537 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
36539         * lisp/subr.el (substitute-key-definition-key, special-form-p)
36540         (macrop): Drop deprecated second arg to indirect-function.
36541         (looking-back): Make the second arg non-optional.
36543         * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
36544         command is actually sent to the shell.
36546 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
36548         Port jpeg configuration to Solaris 10 with Sun C
36549         * configure.ac: Check for jpeglib 6b by trying to link it, instead
36550         of relying on cpp magic that has problems in practice.  Check for
36551         both jpeglib.h and jerror.h features.  Remove special case for
36552         mingw32, which should no longer be needed (and if it were needed,
36553         should now be addressable by hotwiring emacs_cv_jpeglib).
36554         (Bug#20332)
36556 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
36558         Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
36559         * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
36560         Move to elisp-mode.el.
36561         (lisp-mode-variables): (Re)move elisp-specific settings.
36562         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
36563         from lisp-mode-variables.
36564         (elisp--font-lock-flush-elisp-buffers): New function, moved from
36565         lisp-mode.el.
36567         * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
36568         Avoid pathological slowdown at top-level in large file.
36570 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
36572         Standardize names of ChangeLog history files
36573         Suggested by Glenn Morris in:
36574         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
36575         * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
36576         * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
36577         * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
36578         * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
36579         * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
36580         * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
36581         Remove.
36583         Split top-level entries into pre- and post-April 7
36584         This more clearly distingiushes pre-April-7 ChangeLog entries (which
36585         are for top-level files only) from post-April-7 entries (which are
36586         about files at all levels.  Problem reported by Glenn Morris in:
36587         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
36588         * ChangeLog.1: Move post-April-7 entries from here ...
36589         * ChangeLog.2: ... to this new file.
36590         * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
36592 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
36594         Fix recent cus-start changes that added customize-rogues
36595         * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
36596         vars early.
36597         * lisp/loadup.el ("cus-start"): Move to the end to reduce
36598         customize-rogue.
36600 2015-04-15  Nicolas Petton  <nicolas@petton.fr>
36602         Define cl-concatenate as an alias to seq-concatenate
36603         * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
36604           code by making cl-concatenate an alias to seq-concatenate.
36606 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
36608         * src/lread.c (intern_1): Make sure we'd find the symbol we add
36609         (Bug#20334)
36610         * src/xfaces.c (resolve_face_name): Don't use `intern' with
36611         Lisp_Strings.
36613 2015-04-15  Glenn Morris  <rgm@gnu.org>
36615         * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
36617 2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
36619         Clean up gnus-uu saving code slightly
36620         * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
36621         save-restriction/widen calls make more sense.
36623 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
36625         Make [:graph:] act like [:print:] sans space
36626         In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
36627         [:graph:] so that it matches everything that [:print:] does,
36628         except for space.
36629         * doc/lispref/searching.texi (Char Classes):
36630         * etc/NEWS:
36631         * lisp/emacs-lisp/rx.el (rx):
36632         Document [:graph:] to be [:print:] sans ' '.
36633         * src/character.c, src/character.h (graphicp): New function.
36634         * src/regex.c (ISGRAPH) [emacs]: Use it.
36635         (BIT_GRAPH): New macro.
36636         (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
36637         (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
36638         Return BIT_GRAPH for RECC_GRAPH.
36639         (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
36640         and ISPRINT if BIT_PRINT.
36642 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
36644         automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
36645         Don't use call-next-method in a cl-defmethod.
36647         * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
36648         (eieio--class-p): Remove, provided by cl-defstruct.
36650 2015-04-14  Nicolas Petton  <nicolas@petton.fr>
36652         Add seq-intersection and seq-difference to the seq library
36653         * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
36654         New functions.
36655         * test/automated/seq-tests.el: Add tests for seq-intersection and
36656         seq-difference.
36657         * doc/lispref/sequences.texi: Add documentation for seq-intersection
36658         and seq-difference.
36660 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
36662         * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
36663         to avoid leaking internals.
36665 2015-04-14  Sam Steingold  <sds@gnu.org>
36667         package--ensure-init-file: widen requires save-restriction
36669 2015-04-14  Eli Zaretskii  <eliz@gnu.org>
36671         Improve the commit-msg Git hook for unibyte environments
36672         * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
36673         in unibyte environments.  (Suggested by Paul Eggert
36674         <eggert@cs.ucla.edu>.)  Use a more accurate approximation to
36675         [:print:], based on UTF-8 sequences of the unprintable characters.
36677         Describe problems with cursor caused by Windows Magnifier
36678         * etc/PROBLEMS: Describe the problem with cursor shape on
36679         MS-Windows due to Windows Magnifier.
36680         (Bug#20271)
36682         Make [:print:] support non-ASCII characters correctly
36683         * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
36684         (BIT_PRINT): New bit mask.
36685         (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
36686         * src/character.c (printablep): New function.
36687         * src/character.h (printablep): Add prototype.
36688         * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
36689         of 'print', 'alnum', and 'alphabetic'.
36690         * doc/lispref/searching.texi (Char Classes): Document the new
36691         behavior of [:print:].
36692         * etc/NEWS: Mention the new behavior of [:print:].
36694         Assign correct general-category and names to surrogates
36695         * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
36696         surrogates.  This avoids assigning them the default
36697         general-category of 'Cn', i.e. unassigned codepoints.
36698         (unidata-get-name): Give surrogates synthetic names.
36700 2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>
36702         Assume C89 offsetof in xterm.c, xlwmenu.c
36703         * lwlib/xlwmenu.c (offset):
36704         * src/xterm.c (cvt_string_to_pixel_args):
36705         Use offsetof, not XtOffset.
36707 2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
36709         Assume C89 offsetof in widget.c
36710         * src/widget.c (XtOffset): Remove; no longer needed.
36711         (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
36713         Fix think-o in previous patch
36714         * src/window.c (count_windows, get_leaf_windows):
36715         Don't optimize count_windows incorrectly.
36717 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
36719         Avoid some int overflows in window.c
36720         * src/print.c (print_object):
36721         * src/window.c (sequence_number):
36722         * src/window.h (struct window.sequence_number):
36723         Don't assume window sequence number fits in int.
36724         * src/window.c (window_select_count):
36725         * src/window.h (struct window.use_time, window_select_count):
36726         Don't assume window use time fits in int.
36727         * src/window.c (Fsplit_window_internal):
36728         Don't assume user-supplied integer, or sum, fits in int.
36729         (Fset_window_configuration, count_windows, get_leaf_windows)
36730         (save_window_save, Fcurrent_window_configuration):
36731         Use ptrdiff_t for object counts.
36732         (Fset_window_configuration): Omit unused local 'n'.
36733         (count_windows): Simplify by writing in terms of get_leaf_windows.
36734         (get_leaf_windows): Don't store through FLAT if it's null.
36735         (extract_dimension): New static function.
36736         (set_window_margins, set_window_fringes, set_window_scroll_bars):
36737         Use it to avoid undefined behavior when converting user-supplied
36738         integer to 'int'.
36740 2015-04-13  Glenn Morris  <rgm@gnu.org>
36742         Minor doc copyedits
36743         * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
36744         * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
36746 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
36748         [Gnus] Catch the invalid-operation that idna.el will issue
36749         * lisp/gnus/gnus-art.el (gnus-use-idna):
36750         * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
36751         * lisp/gnus/message.el (message-use-idna):
36752         Catch the invalid-operation that idna.el will issue.
36754 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
36756         * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
36758 2015-04-13  Sam Steingold  <sds@gnu.org>
36760         package--ensure-init-file: widen before looking for
36761         "(package-initialize)"
36763 2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>
36765         Change diff-switches default to `-u' (Bug#20290)
36766         * doc/emacs/files.texi (Comparing Files): Document the new default
36767         value of `diff-switches'.
36768         * doc/emacs/trouble.texi (Sending Patches): Document the preference
36769         for unified diff format.  Escape the plus in the suggested `-F' regexp
36770         value.
36771         * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
36773 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
36775         (gnus-group--setup-tool-bar-update): Fix last change
36776         * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
36777         cursor-sensor-functions should be a list of functions.
36779 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
36781         * lisp/gnus/gnus-topic.el (gnus-topic-mode):
36782         Use gmm-called-interactively-p.
36784 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
36786         * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
36787         (Bug#20321)
36788         * lisp/cus-start.el (read-buffer-function): Don't advertise
36789         iswitchb-read-buffer any more.
36790         (iswitchb): Don't tweak this obsolete group any more.
36792 2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>
36794         * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
36796         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
36797         Adding a string after a constructor's argument list will use
36798         that string as the constructor function docstring.  If this string
36799         is absent but the struct itself was given a docstring, use that as
36800         the constructor's docstring.
36801         Fixes bug#17284.
36803 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
36805         Deprecate `intangible' and `point-entered' properties
36806         * lisp/emacs-lisp/cursor-sensor.el: New file.
36807         * lisp/simple.el (pre-redisplay-functions): New hook.
36808         (redisplay--pre-redisplay-functions): New function.
36809         (pre-redisplay-function): Use it.
36810         (minibuffer-avoid-prompt): Mark obsolete.
36811         (redisplay--update-region-highlight): Adapt it to work as a function on
36812         pre-redisplay-functions.
36813         * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
36814         (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
36815         than point-entered to make the prompt intangible.
36816         * lisp/forms.el: Move `provide' calls to the end.
36817         (forms-mode): Don't use `run-hooks' on a local var.
36818         (forms--make-format, forms--make-format-elt-using-text-properties):
36819         Use cursor-intangible rather than `intangible'.
36820         (forms-mode): Enable cursor-intangible-mode.
36821         * lisp/isearch.el (isearch-mode): Use defvar-local.
36822         (cursor-sensor-inhibit): Declare.
36823         (isearch-mode): Set cursor-sensor-inhibit.
36824         (isearch-done): Set it back.
36825         (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
36826         (isearch-close-unnecessary-overlays): Don't bother with `intangible'
36827         any more.
36828         * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
36829         (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
36830         Add Edebug spec.
36831         (ses-goto-print, ses-print-cell, ses-adjust-print-width)
36832         (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
36833         inhibit-point-motion-hooks any more.
36834         (ses--cell-at-pos, ses--curcell): New functions, extracted from
36835         ses-set-curcell.
36836         (ses-set-curcell): Use them.
36837         (ses-print-cell, ses-setup): Use cursor-intangible instead of
36838         `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
36839         (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
36840         Use ses--cell-at-pos.
36841         (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
36842         extracted from ses-command-hook.  Make them work with multiple windows
36843         displaying the same buffer.
36844         (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
36845         Enable cursor-intangible-mode.
36846         (ses-command-hook): Remove cell highlight and mode-line update code.
36847         (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
36848         Update for new name of text-property holding the cell name.
36849         (ses-rename-cell): Don't mess with mode-line-process.
36850         * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
36851         cursor-sensor-functions property instead of point-entered.
36852         (erc-insert-timestamp-right, erc-format-timestamp):
36853         Use cursor-intangible rather than `intangible'.
36854         (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
36855         remove-from-invisibility-spec.  Enable cursor-intangible-mode and
36856         cursor-sensor-mode if needed.
36857         (erc-echo-timestamp): Adapt to calling convention of
36858         cursor-sensor-functions.
36859         (erc-insert-timestamp-right): Remove unused vars `current-window' and
36860         `indent'.
36861         * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
36862         (gnus-update-group-mark-positions): Remove unused `topic' var.
36863         (gnus-group-insert-group-line): Remove unused var `header'.
36864         (gnus-group--setup-tool-bar-update): New function.
36865         (gnus-group-insert-group-line): Use it.
36866         (gnus-group-update-eval-form): Declare local
36867         dynamically-bound variables.
36868         (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
36869         * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
36870         (gnus-group-prepare-topics, gnus-topic-update-topic)
36871         (gnus-topic-change-level, gnus-topic-catchup-articles)
36872         (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
36873         Use inhibit-read-only.
36874         (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
36875         (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
36876         * lisp/textmodes/reftex-index.el (reftex-display-index):
36877         Use cursor-intangible-mode if available.
36878         (reftex-index-post-command-hook): Check cursor-intangible.
36879         * lisp/textmodes/reftex-toc.el (reftex-toc):
36880         Use cursor-intangible-mode if available.
36881         (reftex-toc-recenter, reftex-toc-post-command-hook):
36882         Check cursor-intangible.
36883         * lisp/textmodes/sgml-mode.el: Use lexical-binding.
36884         (sgml-tag): Use cursor-sensor-functions instead of point-entered.
36885         (sgml-tags-invisible): Use with-silent-modifications and
36886         inhibit-read-only.  Enable cursor-sensor-mode.
36887         (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
36888         calling convention of cursor-sensor-functions.
36889         * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
36890         (table-point-entered-cell-hook, table-point-left-cell-hook):
36891         Don't autoload.
36892         (table-cell-entered-state): Remove var.
36893         (table--put-cell-point-entered/left-property)
36894         (table--remove-cell-properties):
36895         Use cursor-sensor-functions rather than point-entered/left.
36896         (table--point-entered/left-cell-function): Merge
36897         table--point-entered-cell-function and table--point-left-cell-function
36898         and adjust to calling convention of cursor-sensor-functions.
36900         Update ldef-boots.el
36902         * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
36904         * doc/misc/eieio.texi: Don't advertise now obsolete constructs
36906         Collapse successive char deletions in the undo log
36907         * src/cmds.c (remove_excessive_undo_boundaries): New function,
36908         extracted from Fself_insert_command.
36909         (Fdelete_char, Fself_insert_command): Use it.
36910         * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
36911         * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
36913         xterm and OSC 52: Add NEWS entry, and tweak the code
36914         * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
36915         to top-level.
36916         (terminal-init-xterm-activate-set-selection): Set a terminal property.
36917         (xterm--set-selection): Use it instead of checking the value of
36918         `terminal-initted'.  Don't use string-bytes.
36920 2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>
36922         xterm.el: Implement OSC-52 functionality for setting the X selection
36923         * lisp/term/xterm.el (xterm-max-cut-length): New var.
36924         (xterm--set-selection, terminal-init-xterm-activate-set-selection):
36925         New funs.
36926         (terminal-init-xterm, xterm--version-handler): Use them.
36928 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
36930         Remove left over code from when we used an obsolete/loaddefs.el file
36931         * lisp/subr.el (do-after-load-evaluation): Remove left over code from
36932         when we used an obsolete/loaddefs.el file.
36934         * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
36935         (semanticdb-without-unloaded-file-searches): Use declare.
36936         (semantic-fw-add-edebug-spec): Remove.
36938         * lisp/completion.el (completion-lisp-mode-hook):
36939         Use completion-separator-chars rather than local key binding.
36941         * src/*.c: Set deactivate_mark buffer-locally
36942         (Bug#20260)
36943         * src/insdel.c (prepare_to_modify_buffer_1):
36944         * src/fileio.c (Finsert_file_contents): Set deactivate_mark
36945         buffer-locally.
36947 2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
36949         python.el: Keep symmetry on sexp navigation with parens
36950         (Bug#19954)
36951         * lisp/progmodes/python.el
36952         (python-nav--forward-sexp): Add argument skip-parens-p.
36953         (python-nav-forward-sexp, python-nav-backward-sexp)
36954         (python-nav-forward-sexp-safe)
36955         (python-nav-backward-sexp-safe): Use it.
36956         * test/automated/python-tests.el
36957         (python-nav-forward-sexp-1): Fix test.
36959 2015-04-12  João Távora  <joaotavora@gmail.com>
36961         Don't use `setq-local' in Gnus code
36962         This might break upstream builds with older Emacsen
36963         * lisp/gnus/message.el (message-mode): Use `set' and
36964         `make-local-variable' instead of `setq-local'.
36966 2015-04-12  Paul Eggert  <eggert@cs.ucla.edu>
36968         Update Makefile.in's .PHONY dependencies
36969         * Makefile.in (change-history-commit, master-branch-is-current)
36970         (no-ChangeLog): Now phony.
36972         Remove configure's --with-mmdf option
36973         * configure.ac (MAIL_USE_MMDF): Remove.
36974         * etc/NEWS: Document this.
36975         * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
36976         (Bug#20308)
36978         * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
36979         That way, 'make install' won't think it's a man page.
36980         Reported by Ashish SHUKLA in:
36981         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
36983         Improve 'make change-history' prereq tests
36984         * Makefile.in (gen_origin): Fix to match what's in the master branch.
36985         (no-ChangeLog, master-branch-is-current): New rules.
36986         (change-history): Depend on them, to avoid similar future problems.
36987         Escape the local-variables string to pacify Emacs when editing
36988         Makefile.in.
36990 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
36992         * test/automated/package-test.el (with-package-test):
36993         Kill Packages buffer.
36995         * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
36996         (package-menu--prompt-transaction-p): Prompt for "Delete" first,
36997         "Upgrade" last, and use capitalized instead of all-caps.
36999         * lisp/emacs-lisp/package.el: Completely silence async operations.
37000         (package--make-autoloads-and-stuff): Silence autoloads.
37001         (package--save-selected-packages): New function, silences
37002         `customize-save-variable'.
37003         (package--user-selected-p, package-install-from-buffer)
37004         (package-delete, package-install): Use it.
37005         (package-install-from-archive)
37006         (package-menu--perform-transaction): Silence.
37007         (package-menu-execute): Feedback when operation starts.
37009         Use delay-mode-hooks when visiting the init-file
37010         * lisp/emacs-lisp/package.el (package--ensure-init-file):
37011         delay-mode-hooks.
37012         * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
37014         * lisp/files.el: Only message when saving if save-silently is nil.
37015         (save-silently): New variable.
37016         (files--message): New function.
37017         (find-file-noselect, save-buffer, basic-save-buffer)
37018         (basic-save-buffer-2, save-some-buffers, not-modified)
37019         (append-to-file): Use them.
37021 2015-04-12  Johan Bockgård  <bojohan@gnu.org>
37023         Support debug declarations in pcase macros
37024         * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
37025         (pcase-UPAT): Use it.  Remove "`".
37026         (pcase--edebug-match-macro): New function.
37027         (pcase-defmacro): Support debug declarations.
37028         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
37029         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
37030         * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
37031         Add debug declaration.
37033         pcase.el: Edebug support for `app' and vector patterns
37034         * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
37035         (pcase-UPAT): Use it.  Support `app' patterns.
37036         (pcase-QPAT): Support vector patterns.
37038         edebug.el: Disambiguate vector specifications
37039         * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
37040         `(vector ...)' as a vector specification, not as a sublist.
37042         (gnus-summary-refer-thread): Don't clobber unread articles
37043         This fixes a bug where `A T' causes "random" articles to become marked
37044         as read.
37045         * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
37046         gnus-newsgroup-unreads remains sorted.
37048         mouse-sel.el: Fix mouse-sel-get-selection-function
37049         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
37050         Use gui--last-selected-text-primary instead of no longer existing
37051         gui-last-selected-text.
37053         * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
37055         * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
37057 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
37059         * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
37061         * lisp/emacs-lisp/package.el (list-packages): Call refresh in
37062         right buffer.
37064         * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
37065         (byte-compile--interactive): New var.
37066         (byte-compile--message): New function.
37067         (byte-compile-log-1, byte-force-recompile)
37068         (byte-recompile-directory, byte-recompile-file)
37069         (byte-compile-file, compile-defun)
37070         (byte-compile-file-form-defmumble, byte-compile)
37071         (byte-compile-file-form-defalias, display-call-tree): Use it.
37073         * lisp/files.el: Don't message when nothing happened.
37074         (save-some-buffers, basic-save-buffer): Before messaging to say
37075         "nothing was saved" check if (called-interactively-p 'any).
37077 2015-04-12  João Távora  <joaotavora@gmail.com>
37079         Summary: Improve sexp-based movement in message-mode
37080         Works by giving citations and smileys a different syntax.  This helps
37081         modes like `show-paren-mode', `electric-pair-mode', and C-M-*
37082         sexp-based movement.
37083         * lisp/gnus/message.el (message--syntax-propertize): New function.
37084         (message-mode): Set syntax-related vars.
37085         (message-smileys): New variable.
37086         * test/automated/message-mode-tests.el: New file
37088 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
37090         Use bool for boolean in window.c
37091         * src/window.c: Omit unnecessary static function decls.
37092         (adjust_window_count, select_window, Fselect_window)
37093         (window_body_width, Fwindow_body_height, Fwindow_body_width)
37094         (set_window_hscroll, check_window_containing, Fwindow_at)
37095         (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
37096         (unshow_buffer, replace_window, recombine_windows)
37097         (add_window_to_list, candidate_window_p, next_window)
37098         (Fnext_window, Fprevious_window, window_loop, check_all_windows)
37099         (Fget_buffer_window, Fdelete_other_windows_internal)
37100         (replace_buffer_in_windows_safely, set_window_buffer)
37101         (Fset_window_buffer, Fforce_window_update)
37102         (temp_output_buffer_show, make_parent_window)
37103         (window_resize_check, window_resize_apply, Fwindow_resize_apply)
37104         (resize_frame_windows, Fsplit_window_internal)
37105         (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
37106         (Fresize_mini_window_internal, mark_window_cursors_off)
37107         (window_scroll, window_scroll_pixel_based)
37108         (window_scroll_line_based, scroll_command, Fscroll_other_window)
37109         (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
37110         (Fmove_to_window_line, Fset_window_configuration)
37111         (delete_all_child_windows, apply_window_adjustment)
37112         (set_window_fringes, set_window_scroll_bars)
37113         (Fset_window_vscroll, foreach_window, foreach_window_1)
37114         (compare_window_configurations, Fcompare_window_configurations):
37115         Prefer 'bool', 'true', and 'false' for booleans.
37116         * src/window.h (WINDOW_MODE_LINE_LINES)
37117         (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
37119 2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>
37121         Speed up byte-compilation and autoload generation by avoiding mode-hooks
37122         This prevents emacs-lisp-mode-hook from being run everytime an
37123         autoload file is generated, which can account for a fraction of
37124         package installation time depending on the hooks the user has
37125         configured.
37126         * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
37127         * lisp/emacs-lisp/autoload.el (autoload-find-file)
37128         (autoload-find-generated-file): Use delay-mode-hooks.
37130         * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
37131         (package-menu-refresh): Respect async and do new package checking.
37132         (list-packages): Use `package-menu-refresh' instead of repeating code.
37134         * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
37135         (package--quick-help-keys): New variable.
37136         (package--prettify-quick-help-key): New function.
37137         (package-menu-quick-help): Use it.
37139         * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
37140         (package--build-compatibility-table): Require finder.
37142         * test/automated/package-test.el: Fix new test.
37144         * lisp/emacs-lisp/package.el: Silence async operations.
37145         (package--silence): New variable.
37146         (package--message): New function.
37147         (package-import-keyring, package-refresh-contents)
37148         (package-compute-transaction, package-install, package-delete)
37149         (package-menu--perform-transaction, package-menu-execute): Use it.
37151         * test/automated/package-test.el: Test async functionality.
37152         (package-test-update-archives-async): New test.
37154 2015-04-11  Daiki Ueno  <ueno@gnu.org>
37156         Utilize `make-process' in epg.el
37157         * lisp/epg.el (epg-error-output): Abolish.
37158         (epg-context): New slot `error-buffer'.
37159         (epg--start): Use `make-process' and `make-pipe-process'.
37160         (epg--process-filter): Remove code separating stderr from stdout.
37161         (epg-wait-for-completion): Simplify `error-output' handling.
37162         (epg-reset): Dispose error buffer.
37164 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
37166         * .gitignore: Ignore doc temps and outputs.
37168         Port commit-msg to MSYS Bash+Gawk
37169         See Eli Zaretskii in:
37170         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
37171         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
37172         (cent_sign, print_at_sign, at_sign): Revert previous change.
37173         (print_at_sign): Prepend "BEGIN".
37174         (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
37176         Port commit-msg to broken MS-Windows shell
37177         * build-aux/git-hooks/commit-msg (cent_sign):
37178         Just use UTF-8 here rather than ASCII + printf, as the latter fails
37179         on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
37180         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
37182 2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
37184         Support GnuTLS v3.4 and later on MS-Windows
37185         * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
37186         * lisp/term/w32-win.el (dynamic-library-alist): Determine which
37187         GnuTLS DLL to load according to value of libgnutls-version.
37188         (Bug#20294)
37190 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
37192         Minor quoting etc. fixes to misc manuals
37193         Fix some minor quoting and spacing issues.  Distinguish more
37194         clearly among grave accent and apostrophe (which are ASCII) and
37195         single quote (which is not).  Prefer the standard terms
37196         "apostrophe" and "grave accent" to alternative names that can be
37197         confusing.  Use apostrophes to single-quote ASCII text.
37198         * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
37199         rather than approximating it in ASCII with grave accent.
37201 2015-04-11  Daiki Ueno  <ueno@gnu.org>
37203         Respect more keyword args in `make-process'
37204         * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
37205         keywords as documented.
37207 2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>
37209         Extract ChangeLog entries when committing a directory
37210         * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
37211         * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
37212         Add a FIXME comment.
37213         (log-edit-changelog-entries): Extract from
37214         `log-edit-changelog-entries', handle FILE being a directory
37215         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
37217 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
37219         Fix problems found by --enable-gcc-warnings
37220         * src/process.c (create_process, Fmake_pipe_process)
37221         (Fmake_network_process): Omit unused locals.
37223         Fix commit-msg to handle scissors lines
37224         * build-aux/git-hooks/commit-msg:
37225         Ignore every line after a scissors line, such as a line generated
37226         by 'git commit -v'.  Problem reported by Johan Bockgård in:
37227         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
37229         port commit-msg to Gawk 3.0.4 (1999)
37230         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
37231         (print_at_sign, at_sign): New vars.  Use them to avoid problems
37232         Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
37233         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
37235         Have commit-msg report commit failure
37236         * build-aux/git-hooks/commit-msg: If the commit is aborted,
37237         say so.  Simplify by doing this at the end.  Problem reported
37238         by Eli Zaretskii in:
37239         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
37241 2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
37243         Clean up LDAP Configuration section of EUDC manual
37244         * doc/misc/eudc.texi: Combine indices.
37245         (LDAP Configuration): Use command markup.  Add index entries.
37246         Change formatting.  Wrap long lines.  Add noindent markup.
37248 2015-04-10  Daiki Ueno  <ueno@gnu.org>
37250         Add facility to collect stderr of async subprocess
37251         * src/w32.h (register_aux_fd): New function declaration.
37252         * src/w32.c (register_aux_fd): New function.
37253         * src/process.h (struct Lisp_Process): New member stderrproc.
37254         * src/process.c (PIPECONN_P): New macro.
37255         (PIPECONN1_P): New macro.
37256         (Fdelete_process, Fprocess_status, Fset_process_buffer)
37257         (Fset_process_filter, Fset_process_sentinel, Fstop_process)
37258         (Fcontinue_process): Handle pipe process specially.
37259         (create_process): Respect p->stderrproc.
37260         (Fmake_pipe_process): New function.
37261         (Fmake_process): Add new keyword argument :stderr.
37262         (wait_reading_process_output): Specially handle a pipe process when
37263         it gets an EOF.
37264         (syms_of_process): Register Qpipe and Smake_pipe_process.
37265         * doc/lispref/processes.texi (Asynchronous Processes): Document
37266         `make-pipe-process' and `:stderr' keyword of `make-process'.
37267         * lisp/subr.el (start-process): Suggest to use `make-process' handle
37268         standard error separately.
37269         * test/automated/process-tests.el (process-test-stderr-buffer)
37270         (process-test-stderr-filter): New tests.
37271         * etc/NEWS: Mention new process type `pipe' and its usage with the
37272         `:stderr' keyword of `make-process'.
37274 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
37276         Minor quoting etc. fixes to lispref manual
37277         * doc/lispref/tips.texi (Documentation Tips):
37278         Distinguish more clearly among grave accent, apostrophe,
37279         and single quote.
37280         * doc/lispref/README, doc/lispref/buffers.texi:
37281         * doc/lispref/commands.texi, doc/lispref/control.texi:
37282         * doc/lispref/customize.texi, doc/lispref/display.texi:
37283         * doc/lispref/elisp.texi, doc/lispref/files.texi:
37284         * doc/lispref/frames.texi, doc/lispref/hash.texi:
37285         * doc/lispref/help.texi, doc/lispref/internals.texi:
37286         * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
37287         * doc/lispref/markers.texi, doc/lispref/modes.texi:
37288         * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
37289         * doc/lispref/os.texi, doc/lispref/positions.texi:
37290         * doc/lispref/strings.texi, doc/lispref/syntax.texi:
37291         * doc/lispref/text.texi, doc/lispref/tips.texi:
37292         * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
37293         Use American-style double quoting in ordinary text,
37294         and quote 'like this' when single-quoting in ASCII text.
37295         Also, fix some minor spacing issues.
37297 2015-04-10  Michael Albinus  <michael.albinus@gmx.de>
37299         Handle symlinked test directory in tramp-tests.el
37300         * test/automated/tramp-tests.el (tramp-test18-file-attributes)
37301         (tramp--test-check-files): Use `file-truename' for directories.
37303 2015-04-10  Eli Zaretskii  <eliz@gnu.org>
37305         Fix 'recenter' when visual-line-mode is turned on
37306         * src/window.c (Frecenter): Use the same code for GUI and TTY
37307         frames alike; use vmotion only for "initial" frames.  This is
37308         because vmotion doesn't support visual-line-mode.  Rewrite the
37309         'iarg >= 0' case to use move_it_* functions instead of using
37310         vmotion, for the same reason.  Fix the clipping of the argument
37311         value to support scroll-margin in all cases and avoid unwarranted
37312         recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
37313         http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
37314         which see.
37316 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
37318         * lisp/abbrev.el (define-abbrev-table): Refine last change.
37320         * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
37321         use of c[ad]+r", so as to keep the "cl-" prefix on all
37322         cl-lib definitions.
37324         * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
37325         Use inhibit-point-motion-hooks.
37327         * lisp/cedet/semantic: Remove some dead code.
37328         * lisp/cedet/semantic/util-modes.el
37329         (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
37330         any more.
37331         * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
37332         not supported any more.
37333         (semantic-safe): Use `declare'.
37334         * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
37335         (semantic-tag-intangible-p): Remove unused functions.
37336         * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
37337         Remove unused function.
37339         * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
37340         (gnus-article-hide-text, gnus-article-unhide-text)
37341         (gnus-article-unhide-text-type): Remove special handling of
37342         `intangible' since that property is not used any more.
37343         (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
37345 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
37347         Use the VC root in `log-edit-listfun'
37348         * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
37349         `log-edit-listfun'.
37351 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
37353         Fix description of Unix time, mention new function.
37354         * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
37355         Unix time.
37356         * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
37357         (Basic Operations on Units): Mention `calc-convert-exact-units'.
37359 2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>
37361         * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
37363 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
37365         * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
37366         Don't add newline after the last entry.
37368 2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>
37370         css-mode.el: Add "not" pseudo-class
37371         (Bug#20267)
37372         * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
37373         list of CSS pseudo-classes.
37375 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
37377         * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
37379 2015-04-09  Michael Albinus  <michael.albinus@gmx.de>
37381         Stop messing with the EMACS env var
37382         * doc/emacs/misc.texi (Interactive Shell): Remove description of
37383         EMACS env var.
37385 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
37387         Adapt 'make change-history' to coding cookie
37388         * Makefile.in (change-history): Adjust to change of format of
37389         ChangeLog file, which now has a coding cookie before an indented
37390         copyright notice.
37392 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
37394         Adapt 'make change-history' to coding cookie
37395         * Makefile.in (change-history): Adjust to change of format of
37396         ChangeLog file, which now has a coding cookie before an indented
37397         copyright notice.
37399         gitlog-to-changelog coding cookie and mv -i
37400         * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
37401         for copyright notice prototype, so that we get a proper "coding:"
37402         cookie.  Use 'mv -i' to avoid unconditionally overwriting an
37403         existing ChangeLog.  Problems reported by Eli Zaretskii in:
37404         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
37406         Merge from gnulib
37407         * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
37408         2015-04-09 gitlog-to-changelog: port to MS-Windows
37410 2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
37412         * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
37413         (Bug#20212)
37415 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
37417         Stop messing with the EMACS env var
37418         (Bug#20202)
37419         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
37420         * lisp/comint.el (comint-exec-1):
37421         * lisp/term.el (term-exec-1): Don't set EMACS envvar.
37422         * lisp/progmodes/compile.el (compilation-start): Same and bring
37423         INSIDE_EMACS's format in line with other users.
37425         css-mode.el (css-smie-rules): Fix indentation after complex selectors
37426         (Bug#20282)
37427         * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
37428         inner structure of selectors.
37430 2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
37432         python.el: Indent docstring lines to base-indent
37433         (Bug#19595)
37434         Thanks to immerrr <immerrr@gmail.com> for reporting and providing
37435         an initial patch.
37436         * lisp/progmodes/python.el
37437         (python-indent-context): Add :inside-docstring context.
37438         (python-indent--calculate-indentation): Handle :inside-docstring.
37439         (python-indent-region): Re-indent docstrings.
37440         * test/automated/python-tests.el (python-indent-region-5)
37441         (python-indent-inside-string-2): Fix tests.
37443         python.el: Increase native completion robustness
37444         (Bug#19755)
37445         Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
37446         this and providing useful ideas.
37447         * lisp/progmodes/python.el
37448         (python-shell-completion-native-output-timeout): Increase value.
37449         (python-shell-completion-native-try-output-timeout): New var.
37450         (python-shell-completion-native-try): Use it.
37451         (python-shell-completion-native-setup): New readline setup avoids
37452         polluting current context, ensures output when no-completions are
37453         available and includes output end marker.
37454         (python-shell-completion-native-get-completions): Trigger with one
37455         tab only.  Call accept-process-output until output end is found or
37456         python-shell-completion-native-output-timeout is exceeded.
37458 2015-04-08  Samer Masterson  <samer@samertm.com>
37460         * lisp/eshell: Make backslash a no-op in front of normal chars
37461         (Bug#8531)
37462         * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
37463         (eshell-parse-backslash): Return escaped character after backslash
37464         if it is special.  Otherwise, if the backslash is not in a quoted
37465         string, ignore the backslash and return the character after; if
37466         the backslash is in a quoted string, return the backslash and the
37467         character after.
37468         * test/automated/eshell.el (eshell-test/escape-nonspecial)
37469         (eshell-test/escape-nonspecial-unicode)
37470         (eshell-test/escape-nonspecial-quoted)
37471         (eshell-test/escape-special-quoted): Add tests for new
37472         `eshell-parse-backslash' behavior.
37474 2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
37476         * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
37477         after the file name.
37478         (Bug#20276)
37480 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
37482         Minor quoting etc. fixes to Emacs manual
37483         * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
37484         * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
37485         * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
37486         * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
37487         * doc/emacs/indent.texi, doc/emacs/macos.texi:
37488         * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
37489         * doc/emacs/programs.texi, doc/emacs/rmail.texi:
37490         * doc/emacs/search.texi, doc/emacs/trouble.texi:
37491         * doc/emacs/vc1-xtra.texi:
37492         Use American-style double quoting in ordinary text,
37493         and quote 'like this' when single-quoting in ASCII text.
37494         Also, fix some minor spacing issues.
37496         Minor quoting etc. fixes to elisp intro
37497         * doc/lispintro/emacs-lisp-intro.texi: Consistently use
37498         American-style double quoting in ordinary text.  In ASCII text,
37499         consistently quote 'like this' instead of `like this', unless
37500         Emacs requires the latter.
37502 2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>
37504         * CONTRIBUTE: Mention log-edit-insert-changelog.
37506         * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
37508 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
37510         * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
37512 2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
37514         * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
37515         Fix inheritance of initargs.  (Bug#20270)
37517 2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>
37519         * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
37520         while dowloading information.
37522         * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
37523         (package--ensure-init-file): Check file contents before visiting.
37524         (package-initialize): Call it.
37525         (package-install-from-buffer, package-install): Don't call it.
37527 2015-04-08  Eli Zaretskii  <eliz@gnu.org>
37529         * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
37530         (Bug#17517)
37532 2015-04-08  Michael Albinus  <michael.albinus@gmx.de>
37534         * lisp/net/tramp-cache.el (tramp-flush-file-property):
37535         Fix nasty scoping bug.
37537 2015-04-08  Tassilo Horn  <tsdh@gnu.org>
37539         Add notice to visual commands section
37540         * doc/misc/eshell.texi (Input/Output): Add notice that some tools
37541         such as git call less with its -F option which omits pagination if
37542         the contents is less than one page long.  This interferes with
37543         eshell's visual (sub-)commands.
37545 2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>
37547         * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
37548         environment variable expansion in file names.  (Bug#19839)
37550 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
37552         Prefer double-quote to accent-grave in man pages
37554 2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
37556         (Bug#20257)
37557         * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
37559 2015-04-07  Ivan Shmakov  <ivan@siamics.net>
37561         Update etc/PROBLEMS.
37562         * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
37563         ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
37564         'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
37565         respectively); other minor updates and tweaks.  (Bug#20011)
37567 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
37569         Add doc strings for some Isearch state vars
37570         * lisp/misearch.el (multi-isearch-buffer-list)
37571         (multi-isearch-file-list): Add doc strings.
37572         (Bug#20232)
37574 2015-04-07  Alan Mackenzie  <acm@muc.de>
37576         Always mark "<" and ">" in #include directives with text properties.
37577         * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
37578         "anchored matcher" with an invocation of
37579         c-make-font-lock-search-function to allow fontification when there's
37580         no trailing space on an "#include <..>" line.
37582 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
37584         Generate a ChangeLog file from commit logs
37585         * .gitignore: Add 'ChangeLog'.
37586         * build-aux/gitlog-to-changelog: New file, from Gnulib.
37587         * build-aux/gitlog-to-emacslog: New file.
37588         * CONTRIBUTE: Document the revised workflow.
37589         * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
37590         instead of just special cases.
37591         (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
37592         (ChangeLog, unchanged-history-files, change-history)
37593         (change-history-commit): New rules.
37594         * admin/admin.el (make-manuals-dist--1):
37595         Don't worry about doc/ChangeLog.
37596         * admin/authors.el: Add a FIXME.
37597         * admin/make-tarball.txt:
37598         * lisp/calendar/icalendar.el:
37599         * lisp/gnus/deuglify.el:
37600         * lisp/obsolete/gulp.el:
37601         * lwlib/README:
37602         Adjust to renamed ChangeLog history files.
37603         * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
37604         * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
37605         Remove obsolete discussion of merging ChangeLog files.
37606         New section "Maintaining ChangeLog history".
37607         * build-aux/git-hooks/pre-commit:
37608         Reject attempts to commit files named 'ChangeLog'.
37609         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
37610         * make-dist: Make and distribute top-level ChangeLog if there's a
37611         .git directory.  Distribute the new ChangeLog history files
37612         instead of scattered ChangeLog files.  Distribute the new files
37613         gitlog-to-changelog and gitlog-to-emacslog.
37614         (Bug#19113)
37616         Rename ChangeLogs for gitlog-to-changelog
37617         This patch was implemented via the following shell commands:
37618         find * -name ChangeLog |
37619         sed 's,.*,git mv & &.1,
37620         s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
37621         s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
37622         s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
37623         s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
37624         s, src/ChangeLog\.1$, src/ChangeLog.13,' |
37625         sh
37626         git commit -am"[this commit message]"
37628 This file records repository revisions from
37629 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
37630 2016-08-22bb813cfea53e4162409f2adc0a793ab301894 (inclusive).
37631 2016-08-05faead6df626b3737c10f98e9c4964232aa6b9 (inclusive).
37632 2016-06-19d77d8dbd5b051bb681bacaee4a6faffbbdde9 (inclusive).
37633 2016-03-04a00c6cfb5f3cafbad92bd4584a0f50343a568 (inclusive).
37634 2016-02-15decb15e0496cec0c48d980c88a5a9d7cc00da (inclusive).
37635 2016-02-04b6d89ff9288a49099f041752908b5eb9613e (inclusive).
37636 commit ba1422e12f80ae1eb2aa9d0ce80c14e3ee4b3950 (inclusive).
37637 See ChangeLog.1 for earlier changes.
37639 ;; Local Variables:
37640 ;; coding: utf-8
37641 ;; End:
37643   Copyright (C) 2015-2016 Free Software Foundation, Inc.
37645   This file is part of GNU Emacs.
37647   GNU Emacs is free software: you can redistribute it and/or modify
37648   it under the terms of the GNU General Public License as published by
37649   the Free Software Foundation, either version 3 of the License, or
37650   (at your option) any later version.
37652   GNU Emacs is distributed in the hope that it will be useful,
37653   but WITHOUT ANY WARRANTY; without even the implied warranty of
37654   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37655   GNU General Public License for more details.
37657   You should have received a copy of the GNU General Public License
37658   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.