1 2016-11-20 Eli Zaretskii <eliz@gnu.org>
3 Avoid errors in shr-pixel-column due to dedicated windows
5 * lisp/net/shr.el (shr-pixel-column): If we are switching to
6 another buffer in the selected window, make that window
7 temporarily non-dedicated. (Bug#24950)
9 2016-11-20 Tino Calancha <tino.calancha@gmail.com>
11 Update format-time-string documentation
13 * doc/lispref/os.texi (Time Parsing):
14 Document %F, %g, %G, %u and %V.
16 2016-11-19 Eli Zaretskii <eliz@gnu.org>
18 * admin/release-process: Update versions and blocking bug numbers.
20 2016-11-18 Eli Zaretskii <eliz@gnu.org>
22 Improve documentation of functions that accept time values
24 * doc/lispref/os.texi (Time Calculations): Mention the meaning of
25 'nil' or a scalar number as the time-value argument. Add a
26 cross-reference to 'float-time' for computing a time difference as
27 a scalar number of seconds.
29 * src/editfns.c (Fformat_time_string, Ftime_less_p)
30 (Ftime_subtract, Ftime_add, Fdecode_time, Fcurrent_time_string)
31 (Fcurrent_time_zone): Mention in the doc strings the meaning of
32 nil argument and the fact that a time value can be a scalar number
33 of seconds since the epoch.
34 (Ftime_subtract): Mention 'float-time'.
36 2016-11-18 Daniel Colascione <dancol@dancol.org>
38 Speed up initialization by preferring /dev/urandom to GnuTLS
40 * src/sysdep.c (init_random): Try /dev/urandom before GnuTLS.
42 (cherry picked from commit a37eba849eddc41375ad73974f6fcb1258aa8eba)
44 2016-11-18 Glenn Morris <rgm@gnu.org>
46 Add a comment in generated refcards about the source
48 * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
49 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
50 * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
51 * etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
52 * etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
53 * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
54 * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
55 * etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
56 * etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
57 * etc/refcards/survival.tex, etc/refcards/vipcard.tex:
58 * etc/refcards/viperCard.tex: Add comment about the source.
60 2016-11-17 Dmitry Gutov <dgutov@yandex.ru>
62 js-mode: Fix indent problem after a regexp
64 * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
65 slash is not ending a regexp (bug#24854).
67 2016-11-16 Eli Zaretskii <eliz@gnu.org>
69 Fix sluggish display of symbols in UTF-8 language environment
71 * lisp/international/fontset.el (setup-default-fontset): Make sure
72 Symbola and FreeMono are set up in the default fontset as belonging
73 to the "iso10646-1" registry. In the UTF-8 locale, this avoids a
74 long and futile search for a suitable font, whose side effect is a
75 lot of consing, which then hits the font-cache compacting issue,
76 and causes very sluggish redisplay of characters displayed by
77 these fonts. All this happens because the default for the
78 registry is "iso8859-1". (Bug#24953)
80 2016-11-16 Glenn Morris <rgm@gnu.org>
82 Don't confuse how Texinfo outputs @var with the input
84 * doc/emacs/rmail.texi (Movemail):
85 * doc/lispref/control.texi (Pattern matching case statement):
86 * doc/lispref/frames.texi (Size and Position):
87 * doc/lispref/processes.texi (Asynchronous Processes):
88 * doc/lispref/text.texi (Document Object Model):
89 * doc/lispref/windows.texi (Coordinates and Windows):
90 Do not upper-case the argument of @var.
92 2016-11-16 Glenn Morris <rgm@gnu.org>
94 * doc/lispref/display.texi (Scroll Bars):
95 * doc/lispref/frames.texi (Size and Position):
96 * doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
98 * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --daemon.
100 2016-11-15 Eli Zaretskii <eliz@gnu.org>
102 More fixes in copyright notices in etc/refcards/
104 * etc/refcards/calccard.tex:
105 * etc/refcards/cs-dired-ref.tex:
106 * etc/refcards/cs-refcard.tex:
107 * etc/refcards/cs-survival.tex:
108 * etc/refcards/de-refcard.tex:
109 * etc/refcards/dired-ref.tex:
110 * etc/refcards/fr-dired-ref.tex:
111 * etc/refcards/fr-refcard.tex:
112 * etc/refcards/fr-survival.tex:
113 * etc/refcards/orgcard.tex:
114 * etc/refcards/pl-refcard.tex:
115 * etc/refcards/pt-br-refcard.tex:
116 * etc/refcards/refcard.tex:
117 * etc/refcards/ru-refcard.tex:
118 * etc/refcards/sk-dired-ref.tex:
119 * etc/refcards/sk-refcard.tex:
120 * etc/refcards/sk-survival.tex:
121 * etc/refcards/survival.tex:
122 * etc/refcards/vipcard.tex:
123 * etc/refcards/viperCard.tex: Change "GNU Emacs" to "this
124 document" in copyright notices. (Bug#24520)
126 2016-11-13 Eli Zaretskii <eliz@gnu.org>
128 Update copyright text in refcards
130 * etc/refcards/viperCard.tex:
131 * etc/refcards/vipcard.tex:
132 * etc/refcards/survival.tex:
133 * etc/refcards/sk-survival.tex:
134 * etc/refcards/sk-dired-ref.tex:
135 * etc/refcards/sk-refcard.tex:
136 * etc/refcards/ru-refcard.tex:
137 * etc/refcards/refcard.tex:
138 * etc/refcards/pt-br-refcard.tex:
139 * etc/refcards/pl-refcard.tex:
140 * etc/refcards/orgcard.tex:
141 * etc/refcards/gnus-refcard.tex:
142 * etc/refcards/fr-survival.tex:
143 * etc/refcards/fr-refcard.tex:
144 * etc/refcards/fr-dired-ref.tex:
145 * etc/refcards/dired-ref.tex:
146 * etc/refcards/de-refcard.tex:
147 * etc/refcards/cs-survival.tex:
148 * etc/refcards/cs-refcard.tex:
149 * etc/refcards/cs-dired-ref.tex:
150 * etc/refcards/calccard.tex: Update the copyright blurb. (Bug#24520)
152 2016-11-12 Eli Zaretskii <eliz@gnu.org>
154 Fix Outline command names
156 * doc/emacs/text.texi (Foldout): Use the outline-* names instead
157 of the obsolete aliases. (Bug#24890)
159 2016-11-10 Philipp Stephani <phst@google.com>
161 Send text received by bracketed paste to process
165 * lisp/term.el (term--xterm-paste): New function.
166 (term-raw-map): Use it.
167 (xterm--pasted-text): Declare function from xterm.el.
169 2016-11-10 Alan Mackenzie <acm@muc.de>
171 Correct the statement about programming modes always running prog-mode-hook.
173 * doc/emacs/modes.texi (Major Modes): Amend the statement about programming
174 modes running prog-mode-hook to say that it applies to many (not all) such
175 modes, and specifying exactly which modes.
177 2016-11-10 Eli Zaretskii <eliz@gnu.org>
179 Improve documentation of 'occur'
181 * doc/emacs/search.texi (Other Repeating Search): Clarify how to
182 use Occur with search strings from last Isearch. (Bug#24890)
184 2016-11-09 Noam Postavsky <npostavs@gmail.com>
186 Do call debugger on failed cl-assert
188 "Don't call debug on failed cl-assert..." removed the call to `debug' in
189 cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
190 thus messing up ert test runs. However, calling the debugger is useful
191 because it allows catching failed assertions even inside
192 `condition-case' calls. The problem with ert can be avoided by calling
193 `debugger' instead of `debug' directly, since ert installs its own
194 debugger while running tests.
196 * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
197 `debugger' if `debug-on-error' is non-nil.
199 2016-11-09 Daniel Colascione <dancol@dancol.org>
201 Avoid infloop in python
205 * lisp/progmodes/python.el (python-info-docstring-p): Improve
206 infloop avoidance: replace (bobp) with generic test for
208 * test/automated/python-tests.el (python-bob-infloop-avoid): Add
211 2016-11-07 Eli Zaretskii <eliz@gnu.org>
213 Don't refer to obsolete FEATURE-unload-hook
215 * doc/lispref/tips.texi (Coding Conventions): Refer to
216 FEATURE-unload-function rather than its obsolete variant
217 FEATURE-unload-hook. (Bug#24890)
219 2016-11-07 Eli Zaretskii <eliz@gnu.org>
221 Improve documentation of dabbrevs
223 * lisp/dabbrev.el (dabbrev-expand): Doc fix. (Bug#24890)
225 * doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention
226 'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and
227 'dabbrev-ignored-buffer-names' and their purpose. (Bug#24890)
229 2016-11-07 Eli Zaretskii <eliz@gnu.org>
231 * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890)
233 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890)
235 2016-11-07 Eli Zaretskii <eliz@gnu.org>
237 Improve documentation of some Help commands
239 * doc/emacs/help.texi (Help Mode): Fix mistake in key sequences.
240 Mention the 'l' and 'r' keys.
241 (Misc Help): Mention that 'C-h m' describes key bindings.
244 2016-11-07 Eli Zaretskii <eliz@gnu.org>
246 Fix documentation of yes-or-no prompts
248 * doc/emacs/mini.texi (Yes or No Prompts): Fix mistakes in key
249 sequences. (Bug#24890)
251 2016-11-07 Eli Zaretskii <eliz@gnu.org>
253 Fix documentation of partial completion style
255 * doc/emacs/mini.texi (Completion Styles): Fix the description of
256 the wildcard '*'. (Bug#24890)
258 2016-11-07 Eli Zaretskii <eliz@gnu.org>
260 Fix documentation of the mode line on emacsclient frames
262 * doc/emacs/screen.texi (Mode Line): Document the '@' indicator on
265 2016-11-07 Eli Zaretskii <eliz@gnu.org>
267 Fix description of 'C-z' in User manual
269 * doc/emacs/entering.texi (Exiting): 'C-z' is bound to
270 'suspend-frame'. (Bug#24890)
272 2016-11-07 Eli Zaretskii <eliz@gnu.org>
274 Improve and clarify documentation of Outline Mode
276 * doc/emacs/text.texi (Outline Visibility): Use the outline-*
277 names instead of the obsolete aliases. (Bug#24890)
279 * lisp/outline.el (outline-hide-sublevels, outline-hide-other)
280 (outline-hide-body): Doc fixes. (Bug#24890)
282 2016-11-06 Eli Zaretskii <eliz@gnu.org>
284 Add Emacs version number to nt/README.W32
286 * nt/README.W32: Include the version number of the latest Emacs
289 * admin/admin.el (set-version): Update the version in nt/README.W32.
291 2016-11-06 Noam Postavsky <npostavs@gmail.com>
293 Fix python-mode hideshow regexp
295 2015-02-07 "Fix hideshow integration[...]" changed the regexp added to
296 `hs-special-modes-alist' so that it worked when not searching from the
297 beginning of the line. However, this allows matching tokens ending in
298 "def" or "class", not just those keywords. This results in an infinite
299 loop in hs-hide-all (Bug #24815).
301 * lisp/progmodes/python.el (python-mode): Add symbol boundaries around
302 the def|class matching part of the regexp added to
303 hs-special-modes-alist.
305 2016-11-06 Paul Eggert <eggert@cs.ucla.edu>
307 Modernize usage of 'macOS' in doc and comments
309 Apple changed the spelling of its operating system again, to "macOS",
310 effective with macOS 10.12 Sierra (2016-09-20). Change Emacs
311 documentation and comments to match this. Stick with older OS
312 spellings ("OS X", "Mac OS X") when talking about older releases where
313 the older names are more correct.
315 2016-11-06 Paul Eggert <eggert@cs.ucla.edu>
317 Prefer comments /* like this */ in C code
319 Emacs C code assumes C99 features, but has long used traditional
320 comments /* like this */ instead of C99-style comments // like this.
321 Stick with traditional comments for now, partly for style, partly as
322 it may be safer with compilers that are not fully in C99 mode.
324 2016-11-05 Noam Postavsky <npostavs@gmail.com>
326 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845).
328 2016-11-05 Eli Zaretskii <eliz@gnu.org>
330 Clarify documentation of face attribute functions
332 * doc/lispref/display.texi (Attribute Functions): Make sure to
333 document that an omitted FRAME argument means the same as nil.
336 2016-11-05 Noam Postavsky <npostavs@gmail.com>
338 Don't call debug on failed cl-assert
340 Doing this causes problems when running ert tests, for
341 instance (Bug#24778). The call to `debug` when `debug-on-error' is
342 non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
343 define-inline and move some code...".
345 * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
348 2016-11-04 Phillip Lord <phillip.lord@russet.org.uk>
350 Update README for precompiled windows Emacs.
352 * nt/README.W32: Describe 64 and 32-bit downloads, optional
353 dependencies bundle. Remove old material on sourcing dependencies.
354 Remove references to Windows 95. Update GUI references to recent
355 Windows. Remove references to Usenet.
357 2016-11-04 Hong Xu <hong@topbug.net>
359 Clarify documentation of 'vc-responsible-backend' wrt symlinks
361 * lisp/vc/vc.el (vc-responsible-backend): Clarify that symlinks
362 are not resolved when the VC backend is reported.
364 * doc/lispref/files.texi (Truenames): Document
365 'vc-responsible-backend'. (Bug#23436)
366 * doc/emacs/maintaining.texi (Version Control Systems): Fix a
369 2016-11-04 Eli Zaretskii <eliz@gnu.org>
371 Clarify doc string of 'transpose-sexps'
373 * lisp/simple.el (transpose-sexps): Clarify the conditions for
374 transposing sexps that are lists or strings. Mention the effect
375 of the prefix argument. (Bug#24860)
377 2016-11-04 Tibor Csögör <tibi@tiborius.net> (tiny change)
379 Fix docstring of 'browse-url-firefox-new-window-is-tab'
381 * lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab):
382 Remove obsolete note from docstring (obsoleted by previous commits).
385 2016-11-04 Eli Zaretskii <eliz@gnu.org>
387 Improve documentation of 'font-lock-remove-keywords'
389 * doc/lispref/modes.texi (Customizing Keywords): Clarify the
390 'keywords' argument of 'font-lock-remove-keywords'. Suggested by
391 Hong Xu <hong@topbug.net>. (Bug#24830)
393 2016-11-04 Eli Zaretskii <eliz@gnu.org>
395 Fix documentation of the command summary key
397 * doc/misc/info.texi (Help-^L, Help-Xref, Top): Emacs Info uses
398 '?' for the summary of commands, whereas the stand-alone reader
399 uses 'H'. (Bug#24825)
401 2016-11-04 Eli Zaretskii <eliz@gnu.org>
403 Mark relocation workarounds with REL_ALLOC
405 * src/search.c (boyer_moore): Mark workarounds for ralloc.c
406 relocation of buffer text with "#ifdef REL_ALLOC".
408 2016-11-02 Thomas Fitzsimmons <fitzsim@fitzsim.org>
410 Fix documentation for 'eudc-options-file'
412 * doc/misc/eudc.texi (The Server Hotlist): Update the default
413 value of 'eudc-options-file'.
417 (cherry picked from commit 0575fd95d0b92a9a0ebff8df183a449190f74dbc)
419 2016-11-02 Tibor Csögör <tibi@tiborius.net>
421 Fix documentation of 'eudc-inline-expansion-format'
423 * doc/misc/eudc.texi (Inline Query Expansion): Fix the default value of
424 'eudc-inline-expansion-format'. (Bug#24840)
428 (cherry picked from commit 1fef1387c387d80f8ece326621539b89a6965702)
430 2016-10-31 Clément Pit--Claudel <clement.pitclaudel@live.com>
432 python.el: Fix detection of native completion in Python 3 (bug #24401)
434 With Python 3.5, (python-shell-completion-native-get-completions ... "")
435 would return an empty list, causing python.el to think that native
436 completion was unavailable (the difference between Python 2 and Python 3
437 is due to https://bugs.python.org/issue25660).
439 * lisp/progmodes/python.el (python-shell-completion-native-try): Use "_"
440 to check whether native completion is available instead of "".
442 2016-10-26 Glenn Morris <rgm@gnu.org>
444 * Makefile.in (install-arch-indep): Skip etc/refcards/emacsver.tex.in.
446 2016-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
448 * lisp/subr.el (set-transient-map): Exit for unbound events (bug#24755).
450 2016-10-26 Eli Zaretskii <eliz@gnu.org>
452 Update category-table for Chinese characters
454 * lisp/international/characters.el (standard-category-table):
455 Update the ranges of Han and Chinese characters. (Bug#24798)
457 2016-10-26 Noam Postavsky <npostavs@gmail.com>
459 Inhibit buffer relocation during regex searches
461 * src/search.c (looking_at_1, fast_looking_at, search_buffer): Prevent
462 relocation of buffer contents during calls to re_search_2. This ensures
463 the pointers into buffer text won't be invalidated by
464 r_alloc_sbrk (called from malloc with configurations where
467 2016-10-26 Noam Postavsky <npostavs@gmail.com>
469 Revert fixes to allocation of regex matching
471 The fix was not complete, and completing it was proving too complicated.
473 - Revert "* src/regex.c (re_search_2): Make new code safe for
475 This reverts commit c2a17924a57483d14692c8913edbe8ad24b5ffbb.
476 - Revert "Port to GCC 6.2.1 + --enable-gcc-warnings"
477 This reverts commit f6134bbda259c115c06d4a9a3ab5c39340a15949.
478 - Revert "Fix handling of allocation in regex matching"
479 This reverts commit ad66b3fadb7ae22a4cbb82bb1507c39ceadf3897.
480 - Revert "Fix handling of buffer relocation in regex.c functions"
481 This reverts commit ee04aedc723b035eedaf975422d4eb242894121b.
483 2016-10-25 Eli Zaretskii <eliz@gnu.org>
485 Comment for bug#24793
487 * lisp/info.el (Info-mode-font-lock-keywords): Add a comment
488 explaining why `..' quoting is not fontified using the
489 'Info-quoted' face. (Bug#24793)
491 2016-10-25 Paul Eggert <eggert@cs.ucla.edu>
493 Default REL_ALLOC to 'no'
495 This should make ralloc-related bugs less likely on GNU/Linux
496 systems with bleeding-edge glibc. See the email thread containing:
497 http://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00801.html
498 Do not merge to master.
499 * configure.ac (REL_ALLOC): Default to 'no' on all platforms, not
500 merely on platforms with Doug Lea malloc. Although bleeding-edge
501 glibc no longer exports __malloc_initialize_hook and so longer
502 passes the configure-time test for Doug Lea malloc, ralloc tickles
503 longstanding bugs like Bug#24358 and Bug#24764 and Emacs is likely
504 to be more reliable without it. This patch is not needed on
505 master, which uses hybrid malloc in this situation.
507 2016-10-24 Eli Zaretskii <eliz@gnu.org>
509 Yet another fix for using pointers into buffer text
511 * src/search.c (boyer_moore): Update pointers to buffer text
512 after call to set_search_regs. (Bug#24358)
514 2016-10-24 Eli Zaretskii <eliz@gnu.org>
516 Another fix for using pointer to buffer text
518 * src/search.c (Freplace_match): Move the call to BYTE_POS_ADDR
519 after the call to xpalloc, to avoid the danger of buffer text
520 relocation after its address was taken. (Bug#24358)
522 2016-10-24 Michael Albinus <michael.albinus@gmx.de>
526 * lisp/net/tramp-sh.el (tramp-histfile-override): Change default value
527 to "~/.tramp_history".
528 (tramp-open-shell): Check proper HISTFILE setting.
529 (tramp-maybe-open-connection): Cleanup also for errors. (Bug#24478)
531 2016-10-24 Paul Eggert <eggert@cs.ucla.edu>
533 Port --enable-gcc-warnings to bleeding-edge glibc
535 Bleeding-edge glibc sets emacs_cv_var_doug_lea_malloc to 'no'.
536 Do not merge to master.
537 * configure.ac: Check for valloc decl when compiling gmalloc.c.
538 * src/gmalloc.c (emacs_abort) [emacs]: Adjust decl to match
539 what is in lisp.h. Remove duplicate decl.
540 (aligned_alloc): #undef before defining.
541 (aligned_alloc, memalign) [!MSDOS]: Declare.
542 (valloc) [HAVE_DECL_VALLOC]: Remove duplicate decl.
544 2016-10-23 Eli Zaretskii <eliz@gnu.org>
546 Fix handling of buffer relocation in regex.c functions
548 * src/search.c (search_buffer): Updated the base pointer to buffer
549 text after the call to re_search_2. (Bug#24358)
551 2016-10-23 Eli Zaretskii <eliz@gnu.org>
553 Avoid relocating buffers while libxml2 reads its text
555 * src/xml.c (parse_region) [REL_ALLOC]: Freeze the ralloc arena
556 while libxml2 reads the current buffer's text. (Bug#24764)
558 2016-10-23 Eli Zaretskii <eliz@gnu.org>
560 Attempt to catch reads from a buffer that is relocated
562 * src/xml.c (parse_region): Add assertion to ensure buffer text is
563 not relocated while libxml2 is reading it. (Bug#24764)
565 2016-10-23 Eli Zaretskii <eliz@gnu.org>
567 Revert "* lisp/simple.el (process-menu-mode, list-processes--refresh):"
569 This reverts commit a4285bcb1114e29200001f33af9b4802167d6140.
570 Do not merge to master!
572 2016-10-23 Eli Zaretskii <eliz@gnu.org>
574 Revert "* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):"
576 This reverts commit b0c447e4668116cecfda91d0203cb7cac2486d92.
577 Do not merge to master!
579 2016-10-23 Eli Zaretskii <eliz@gnu.org>
581 Revert "* lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (Bug#23617)"
583 This reverts commit cf3c19b0298236293d9c56d5ba425af4f42c1f8e.
584 Do not merge to master!
586 2016-10-23 Eli Zaretskii <eliz@gnu.org>
588 ;* src/w32heap.c: Fix typo and wording of the comments.
590 2016-10-23 Paul Eggert <eggert@cs.ucla.edu>
592 electric-quote mode no longer worries about coding
594 * doc/emacs/text.texi (Quotation Marks), etc/NEWS: Document this.
595 * lisp/electric.el (electric--insertable-p): Remove.
596 All uses removed (Bug#24759).
598 2016-10-23 Paul Eggert <eggert@cs.ucla.edu>
600 * src/regex.c (re_search_2): Make new code safe for -Wjump-misses-init.
602 2016-10-23 Paul Eggert <eggert@cs.ucla.edu>
604 Port to GCC 6.2.1 + --enable-gcc-warnings
606 * src/regex.c (ENSURE_FAIL_STACK, re_search_2):
607 Redo recent regex changes to avoid complaints from GCC 6.2.1 when
608 Emacs is configured with --enable-gcc-warnings. Also, work around
609 GCC bug 78081, which was uncovered by this new code.
611 2016-10-22 Noam Postavsky <npostavs@gmail.com>
613 Explain how to debug emacsclient lisp errors
615 * doc/lispref/debugging.texi (Error Debugging): Mention that
616 debug-on-signal is useful for getting backtraces from
617 emacsclient (Bug#24616).
619 2016-10-22 Noam Postavsky <npostavs@gmail.com>
621 Let describe-function work for lambda again
623 Since commit "* lisp/help-fns.el (describe-function): More type
624 checking[...]", `describe-function' throws a user-error when given a
625 non-symbol. This prevents the [back] button in a *Help* buffer from
626 working when the page it goes back to describes an anonymous
627 function (e.g., the result of `describe-key' on a key which is bound to
630 * lisp/help-fns.el (describe-function): Move the checks on FUNCTION
631 being an fbound symbol into the `interactive' form. This allows
632 non-interactive calls to pass an anonymous function (Bug #24221). Note
633 that passing a non-bound symbol non-interactively will still trigger a
634 `void-function' error from `describe-function-1'.
636 2016-10-22 Noam Postavsky <npostavs@gmail.com>
638 Fix kill-line's docstring
640 * lisp/simple.el (kill-line): The effect of show-trailing-whitespace is
641 important lines with *no* nonblanks (Bug #16654).
643 2016-10-22 Noam Postavsky <npostavs@gmail.com>
645 Fix handling of allocation in regex matching
647 `re_match_2_internal' uses pointers to the lisp objects that it
648 searches. Since it may call malloc when growing the "fail stack", these
649 pointers may be invalidated while searching, resulting in memory
650 curruption (Bug #24358).
652 To fix this, we check the pointer that the lisp object (as specified by
653 re_match_object) points to before and after growing the stack, and
654 update existing pointers accordingly.
656 * src/regex.c (STR_BASE_PTR): New macro.
657 (ENSURE_FAIL_STACK, re_search_2): Use it to convert pointers into
658 offsets before possible malloc call, and back into pointers again
660 (POS_AS_IN_BUFFER): Add explanatory comment about punning trick.
661 * src/search.c (search_buffer): Instead of storing search location as
662 pointers, store them as pointers and recompute the corresponding address
663 for each call to `re_search_2'.
664 (string_match_1, fast_string_match_internal, fast_looking_at):
665 * src/dired.c (directory_files_internal): Set `re_match_object' to Qnil
666 after calling `re_search' or `re_match_2'.
667 * src/regex.h (re_match_object): Mention new usage in commentary.
669 2016-10-21 Paul Eggert <eggert@cs.ucla.edu>
671 * lisp/electric.el (electric-quote-mode): Improve doc (Bug#24759).
673 2016-10-20 Tino Calancha <tino.calancha@gmail.com>
675 vc-region-history: Search just on lines intersecting the region
677 * lisp/vc/vc.el (vc-region-history): If region ends in the beginning
678 of a line, then exclude that line from the search (Bug#24725).
680 2016-10-19 Eli Zaretskii <eliz@gnu.org>
682 Fix documentation of 'alist-get'
684 * doc/lispref/lists.texi (Association Lists): Fix the signature of
685 'alist-get'. Fix the markup, the wording, and the punctuation in
686 the description. (Bug#24740)
688 2016-10-19 Eli Zaretskii <eliz@gnu.org>
690 * src/regex.h (re_match_object): Improve commentary.
692 2016-10-19 Alan Third <alan@idiocy.org>
694 Fix cursor at bottom left of rectangle (bug#24364)
696 * lisp/rect.el (rectangle--col-pos): Don't assume point at EOL doesn't
697 require rectangle--point-crutches to be set.
699 2016-10-19 Michael Albinus <michael.albinus@gmx.de>
701 Change Tramp version to "2.2.13.25.2"
703 * doc/misc/trampver.texi:
704 * lisp/net/trampver.el: Change version to "2.2.13.25.2".
706 2016-10-19 Eli Zaretskii <eliz@gnu.org>
708 * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Fix last change.
710 2016-10-19 Eli Zaretskii <eliz@gnu.org>
712 Don't scan compiled module files for autoloads
714 * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Ignore
715 compiled module files. Make sure the extension really ends the
718 2016-10-18 Michael Albinus <michael.albinus@gmx.de>
722 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
723 Don't send "stty tab0" to *BSD and Darwin machines. (Bug#24698)
725 2016-10-18 Eli Zaretskii <eliz@gnu.org>
727 * lisp/subr.el (start-process): Doc fix. (Bug#24693)
729 2016-10-18 Göktuğ Kayaalp <self@gkayaalp.com>
731 Fix display of vc-dir CVS file statuses in subdirectories
733 * lisp/vc/vc-cvs.el (vc-cvs-dir-status-files): Use 'cvs update'
734 instead of 'cvs status'. It's faster, easier to parse, and
735 relieves us of the need to use vc-expand-dirs. (Bug#24082)
736 (vc-cvs-after-dir-status): Parse its output.
738 2016-10-17 Eli Zaretskii <eliz@gnu.org>
740 Update URL of MS-Windows optional DLLs
743 * nt/INSTALL: Update the URL of the MS-Windows binaries of the
744 optional libraries built with MSYS2/MinGW64 project tools.
746 2016-10-17 Eli Zaretskii <eliz@gnu.org>
748 Fix time-related data types in 2 editfns.c functions
750 * src/editfns.c (format_time_string, Fcurrent_time_zone): Pass a
751 pointer to time_t value to emacs_localtime_rz and gmtime_r,
752 instead of relying on struct timespec's tv_sec member to be of
755 2016-10-17 Tino Calancha <f92capac@gmail.com>
757 * lisp/simple.el (process-menu-mode, list-processes--refresh):
758 Include PID. (Bug#21725)
760 (cherry picked from commit b7adc2f23787eb72015cd705b873e229db6a5049)
762 2016-10-17 Tino Calancha <f92capac@gmail.com>
764 * lisp/ibuf-ext.el (ibuffer-do-shell-command-file):
765 Fix non-file-visiting-buffer case. (Bug#22678)
767 (cherry picked from commit 738738259ba77fe17e433c64e0758ea59ab5bc75)
769 2016-10-17 Tino Calancha <f92capac@gmail.com>
771 * lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (Bug#23617)
773 (cherry picked from commit f4ef1a1fea15aa58fbb5e7a59bff260720658e49)
775 2016-10-17 Paul Eggert <eggert@cs.ucla.edu>
777 Port to Ubuntu 16.10, which needs gcc -nopie
779 * configure.ac (emacs_cv_prog_cc_no_pie): Rename from
780 emacs_cv_prog_cc_nopie. All usages changed. Check for -no-pie in
781 preference to -nopie (Bug#24682). Backport from master.
783 2016-10-17 Glenn Morris <rgm@gnu.org>
785 * lisp/cus-start.el (exec-path): Handle nil elements. (Bug#24471)
787 2016-10-16 Andreas Politz <politza@hochschule-trier.de>
789 Catch the imenu-unavailable error in sh-mode completion table
791 * lisp/progmodes/sh-script.el (sh--cmd-completion-table):
792 Catch the imenu-unavailable error (bug#24238).
794 2016-10-16 Eli Zaretskii <eliz@gnu.org>
796 More char-width fixes
798 * lisp/international/characters.el (char-width-table): More fixes
799 according to the latest EastAsianWidth.txt. (Bug#24705)
801 2016-10-15 Eli Zaretskii <eliz@gnu.org>
803 Fix char-width-table values for some Emoji
805 * lisp/international/characters.el (char-width-table): Add missing
806 range U+1F400..U+1F43E. (Bug#24699)
808 * admin/notes/unicode: Mention the need to verify char-width-table
809 setting against data in EastAsianWidth.txt.
811 2016-10-15 Eli Zaretskii <eliz@gnu.org>
813 Keep point when switching from and to *terminal* buffer
815 * lisp/term.el (term-reset-size): Don't reset the size if it
816 didn't change. If the size did change, restore point after
817 adjusting the size. (Bug#24465)
819 2016-10-15 Michael Albinus <michael.albinus@gmx.de>
821 * INSTALL: Use correct Emacs release number 25.
823 2016-10-14 Eli Zaretskii <eliz@gnu.org>
825 Avoid crashes due to objects read with the #n=object form
827 * src/lread.c (read1): Use Fcons for 'placeholder', not AUTO_CONS,
828 because elements of the list in 'read_objects' cannot be allocated
829 off the stack. (Bug#24640)
831 2016-10-13 Eli Zaretskii <eliz@gnu.org>
833 Improve doc string of 'completion-at-point-functions'
835 * lisp/minibuffer.el (completion-at-point-functions): Doc fix.
838 2016-10-13 Philipp Stephani <phst@google.com>
840 Fix crash in evaluating functions
844 * src/eval.c (funcall_lambda): Fix crash for bogus functions such
847 2016-10-13 Paul Eggert <eggert@cs.ucla.edu>
849 * src/filelock.c (current_lock_owner): Update comment.
851 2016-10-12 Paul Eggert <eggert@cs.ucla.edu>
853 Port --enable-gcc-warnings to GCC 6.2.1
855 Backport from master.
856 * src/conf_post.h (GNUC_PREREQ): New macro.
857 * src/keyboard.c: Use it to work around GCC bug 54561.
858 * src/process.c (would_block): New function.
859 (server_accept_connection, wait_reading_process_output, send_process):
862 2016-10-12 Paul Eggert <eggert@cs.ucla.edu>
864 Work around Samba bug with ':' in symlink contents
866 * src/filelock.c (current_lock_owner): When reading the contents
867 of a lock, treat the UTF-8 for U+F022 as if it were ':' (Bug#24656).
868 Backport from master.
870 2016-10-12 Paul Eggert <eggert@cs.ucla.edu>
872 Port last_marked change to full-program optimizers
874 * src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.
876 2016-10-12 Eli Zaretskii <eliz@gnu.org>
878 Adapt GDB scripts to '--enable-check-lisp-object-type' builds
880 * etc/emacs-buffer.gdb <$qnil>: New variable.
881 (ybuffer-list, yset-buffer): Use $qnil for comparing against
882 'nil', as direct comparison with Qnil doesn't work in a build with
883 '--enable-check-lisp-object-type'.
885 * src/.gdbinit: Adapt commands of the temporary breakpoint in
886 init_sys_modes to a build with '--enable-check-lisp-object-type'.
888 2016-10-11 Eli Zaretskii <eliz@gnu.org>
890 Avoid optimizing out the last_marked[] array
892 * src/alloc.c <last_marked>: No longer 'static', to avoid having
893 it optimized out in optimized builds, which then makes debugging
896 2016-10-09 Alan Mackenzie <acm@muc.de>
898 CC Mode manual: remove reference to former Emacs variable last-command-char
900 * doc/misc/cc-mode.texi (Hanging Semicolons and Commas): Replace reference to
901 variable last-command-char by one to macro c-last-command-char.
903 2016-10-08 Eli Zaretskii <eliz@gnu.org>
905 Allow to disable compaction of font caches
907 * src/font.c (syms_of_font) <inhibit-compacting-font-caches>: New
909 * src/alloc.c (compact_font_caches): Use it to bypass the call to
910 compact_font_cache_entry. (Bug#24634) (Bug#24565)
912 * etc/NEWS: Mention the new variable.
914 2016-10-08 Eli Zaretskii <eliz@gnu.org>
916 Allow selection of font for symbols as in Emacs 24.x
918 * src/fontset.c (syms_of_fontset) <use-default-font-for-symbols>:
919 New boolean variable.
920 (face_for_char): Use it to fall back to pre-Emacs 25.1 behavior
921 when selecting fonts for displaying symbol and punctuation
922 characters. (Bug#24644)
924 * etc/NEWS: Mention the new variable.
926 2016-10-08 Eli Zaretskii <eliz@gnu.org>
928 Fix horizontal scrolling during Isearch
930 * lisp/isearch.el (isearch-update): Compute the window's body
931 width in a way that is correct when there are no fringes.
934 2016-10-08 Eli Zaretskii <eliz@gnu.org>
936 Fix infloop in redisplay due to truncated lines and invisible text
938 * src/xdisp.c (forward_to_next_line_start): Don't call
939 'get_next_display_element' after finding the end of line. This
940 avoids setting the row's end position to the wrong value when the
941 next screen line begins with invisible text; that wrong value
942 caused set_cursor_from_row position the cursor in the wrong screen
943 line, and eventually triggered bug#24109.
945 2016-10-07 David Engster <deng@randomsample.de>
947 gitmerge: Add cherry pick to gitmerge-skip-regexp
949 * admin/gitmerge.el (gitmerge-skip-regexp): Add "cherry picked
950 from commit", which is the string appended by 'git cherry-pick
953 (cherry picked from commit f648e4866981b142fca788372e1fd9013a0bb16a)
955 2016-10-06 Eli Zaretskii <eliz@gnu.org>
957 Improve documentation of 'menu-bar-open'
959 * lisp/term/w32-win.el (w32-menu-bar-open): Clarify that sometimes
960 two ESC keypresses are needed to exit the menu.
962 * doc/emacs/screen.texi (Menu Bar): Qualify the description of how
963 to exit menus. (Bug#24596)
965 2016-10-06 Eli Zaretskii <eliz@gnu.org>
967 Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
969 * nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
970 defining to avoid redefinition warnings.
972 * nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
973 inclusion of sys/stat.h from the system headers, which could then
974 lead to compilation errors due to redefinition of 'struct stat'
975 etc. This is needed because latest versions of MinGW runtime
976 include sys/stat.h from wchar.h.
978 * src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
979 redefine to 4 to avoid conflict between 2 definitions of
980 MemoryBarrier. (Bug#24613)
982 Do not merge to master!
984 2016-10-05 John Wiegley <johnw@newartisans.com>
986 Add documentation note from Alex
988 2016-10-05 Aurelien Aptel <aaptel@suse.com>
990 * src/alloc.c: call only non-null finalizers
992 2016-10-04 Karl Fogel <kfogel@red-bean.com>
994 Clarify that doc fixes are okay in feature freeze
996 * CONTRIBUTE (branches): Explain that doc fixes are always safe, even
997 on a release branch in feature freeze. Tweak wording of paragraph
998 after that to avoid a misleading contrast.
1000 2016-10-04 Eli Zaretskii <eliz@gnu.org>
1002 Avoid crashes when setting the cursor
1004 * src/xdisp.c (display_and_set_cursor): Don't index glyphs of a
1005 glyph row if hpos is out of valid bounds. This avoids crashes in
1006 some rare cases. (Bug#24614)
1008 2016-10-04 Philippe Vaucher <philippe.vaucher@gmail.com>
1010 Restore 'command-debug-status' functionality
1012 * src/callint.c (Fcall_interactively): Bind command-debug-status
1013 to nil. This restores functionality inadvertently removed in
1014 Emacs 25.1. (Bug#24555)
1016 * lisp/subr.el (command-debug-status): Declare obsolete.
1018 * doc/lispref/debugging.texi (Internals of Debugger): Document
1019 that 'command-debug-status' is obsolete.
1021 2016-10-03 Karl Fogel <kfogel@red-bean.com>
1023 Document yank behavior in the right place
1025 * lisp/simple.el (yank): Document the handling of the
1026 `yank-handled-properties' and `yank-excluded-properties' variables,
1027 and the `yank-handler' text property.
1028 (yank-pop): Refer to `yank' now (bug#286)
1030 * lisp/subr.el (insert-for-yank): Refer to `yank' now.
1031 (insert-for-yank-1): Refer to `insert-for-yank' now.
1033 See this thread for discussion:
1035 https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
1038 Subject: Question about intended behavior of 'insert-for-yank-1'.
1039 Date: Mon, 12 Sep 2016 00:17:14 -0500
1040 Message-ID: <874m5lr92d.fsf@red-bean.com>
1042 2016-10-03 Philipp Stephani <phst@google.com>
1044 Document nil args of compare-buffer-substrings
1046 * src/editfns.c (Fcompare_buffer_substrings): Document behavior when
1047 the arguments are nil.
1049 2016-10-03 Katsumi Yamaoka <yamaoka@jpl.org>
1051 * doc/misc/message.texi (Bcc Warning): Fix markup.
1053 * doc/misc/message.texi (Bcc Warning):
1054 Document mml-secure-safe-bcc-list.
1056 2016-10-02 Noam Postavsky <npostavs@gmail.com>
1058 Don't require isearch-update before isearch-done
1060 It is useful to be able to call `isearch-done' unconditionally to
1061 ensure a non-isearching state.
1063 * lisp/isearch.el (isearch-done): Check that `isearch--current-buffer'
1064 is a live buffer before using it (Bug #21091).
1065 * test/automated/isearch-tests.el (isearch--test-done): Test it.
1067 (cherry picked from commit 68f4b5292781bc331b040105c4079902b993835c)
1069 2016-10-02 Peder O. Klingenberg <peder@klingenberg.no>
1071 Avoid error in icalendar--read-element
1073 * lisp/calendar/icalendar.el (icalendar--read-element): Avoid a regex
1074 stack overflow by not using regex to extract values from calendar
1077 (cherry picked from commit 55dde6c1a21a792d3d75c19e612c74dd054aaf1e)
1079 2016-10-02 Lars Ingebrigtsen <larsi@gnus.org>
1081 Make a menu less ambiguous
1083 * doc/emacs/custom.texi (Key Bindings): The Modifier Keys node
1084 is about using modifier keys, not binding them (bug#10942).
1086 (cherry picked from commit 214f85a0a68b96a552ca605d601b33f6eef5c4ca)
1088 2016-10-02 Devon Sean McCullough <Emacs-Hacker2012@jovi.net>
1090 Doc fix for url-http
1092 * lisp/url/url-http.el (url-http): Document better return values
1093 (bug#13187) (tiny change)
1095 (cherry picked from commit 344303c8d9cb03d4778a73940e80e966280aa694)
1097 2016-10-01 Eli Zaretskii <eliz@gnu.org>
1099 * lisp/frame.el (blink-cursor-delay): Doc fix. (Bug#24372)
1101 2016-09-30 Katsumi Yamaoka <yamaoka@jpl.org>
1103 * lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.
1105 2016-09-27 Paul Eggert <eggert@cs.ucla.edu>
1107 Regexp Functions doc minor fixes
1109 * doc/lispref/searching.texi (Regexp Functions):
1110 Fix misspelling of “matching”. Use @table for table.
1111 Reformat code example to fit into info file width (Bug#17862).
1113 2016-09-27 Katsumi Yamaoka <yamaoka@jpl.org>
1115 Backport mm-convert-shr-links fix from master (bug#23964)
1117 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
1118 Preserve key bindings that shr adds (bug#23964).
1120 2016-09-26 Eli Zaretskii <eliz@gnu.org>
1122 Improve documentation of 'expand-abbrev' and wrapper hooks
1124 * lisp/simple.el (filter-buffer-substring-functions)
1125 (buffer-substring--filter): Add a link to 'with-wrapper-hook' as
1126 the place to look for documentation of wrapper hooks.
1127 * lisp/minibuffer.el (completion-in-region-functions)
1128 (completion--in-region): Add a link to 'with-wrapper-hook' as the
1129 place to look for documentation of wrapper hooks.
1130 * lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify
1131 the doc strings. (Bug#24540)
1133 * doc/lispref/text.texi (Buffer Contents): Mention
1134 'with-wrapper-hook's doc string as the place to learn about that
1137 2016-09-25 Eli Zaretskii <eliz@gnu.org>
1139 Minor copyedits of MS-Windows installation instructions
1142 * nt/README.W32: Add URL of Emacs dependencies on alpha.gnu.org.
1144 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1146 Fix display of cursor when 'blink-cursor-delay' has small value
1148 * lisp/frame.el (blink-cursor-check, blink-cursor-mode):
1149 Protect ourselves against too small values of blink-cursor-delay.
1150 This avoids erratic display of the cursor, or even failure to
1151 display it, when user types text at high speed or leans on a key
1152 to invoke the keyboard auto-repeat feature. (Bug#24372)
1154 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1156 Improve the doc string of 'format'
1158 * src/editfns.c (Fformat): Fix ambiguity in the doc string's usage
1159 of a literal period. (Bug#24407)
1161 This was backported from master
1162 (cherry picked from commit 7123896626b06c26c4e37839ab41e41980c8f433)
1164 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1166 Improve doc strings in whitespace.el
1168 * lisp/whitespace.el (whitespace-mode, whitespace-newline-mode)
1169 (global-whitespace-mode, global-whitespace-newline-mode): Improve
1170 the doc strings. (Bug#24413)
1172 This was backported from master
1173 (cherry picked from commit 3462fe73351f3da5bc3ebf8296ee44dd2e6b1dbc)
1175 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1177 Improve detectability of 'next-logical-line' and 'previous-logical-line'
1179 * lisp/simple.el (next-line, previous-line): Mention
1180 'next-logical-line' and 'previous-logical-line' in the doc
1181 strings. (Bug#24443)
1183 This was backported from master
1184 (cherry picked from commit e95d0d15bb1534803b0adb3c3a927c8beb7d4e79)
1186 2016-09-23 Martin Rudalics <rudalics@gmx.at>
1188 Fix (next-frame nil t) crash (Bug#24281)
1190 * src/frame.c (candidate_frame): Check minibuf argument before
1191 comparing it to zero (Bug#24281).
1193 This was backported from master
1194 (cherry picked from commit dc491c3df305a73908fe8de20b7c428a5b38c846)
1196 2016-09-23 Noam Postavsky <npostavs@gmail.com>
1198 Fix debugging of string-match-p errors
1200 * src/eval.c (call_debugger): Bind inhibit-changing-match-data to nil so
1201 that debugger code that needs to do regexp match won't break
1202 (Bug #23949, Bug #24166, Bug#16294).
1204 This was backported from master
1205 (cherry picked from commit 7fb75680b38fe0805c2ff7e9cca3bec8121ba984)
1207 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1209 Fix region display while dragging mouse
1211 * lisp/mouse.el (mouse-drag-track): Reset deactivate-mark in the
1212 buffer of the drag event, to allow mark to be set and the region
1213 be shown as we drag the mouse. (Bug#24030)
1215 This was backported from master
1216 (cherry picked from commit 7d58b02f363ab02961faa950d1ba727df96f2f19)
1218 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1220 Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'
1222 * src/xdisp.c (move_it_in_display_line_to): Don't assume we can
1223 wrap on a whitespace character if it's followed by another
1224 whitespace character. When returning under WORD_WRAP for a screen
1225 line that is continued, restore to wrap point when atpos/atx
1226 position would be displayed on the next screen line due to
1227 line-wrap. (Bug#23570)
1229 This is backported from master
1230 (cherry picked from commit 99848b37d2c3e14c0af45fc6da437a806aa58a80)
1232 2016-09-23 Paul Eggert <eggert@cs.ucla.edu>
1234 Improve display of tex-verbatim and Info quoted
1236 Problem reported by Glenn Morris (Bug#19889).
1237 * doc/emacs/display.texi (Standard Faces):
1238 * doc/lispref/display.texi (Basic Faces):
1239 * etc/NEWS: Mention fixed-pitch-serif.
1240 * lisp/faces.el (face-font-family-alternatives):
1241 New family alias Monospace Serif.
1242 (fixed-pitch-serif): New face, which uses the new family.
1243 * lisp/info.el (Info-quoted):
1244 * lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face.
1245 * test/automated/font-parse-tests.el (font-parse-tests--data):
1246 Add test case for Monospace Serif.
1248 This is backport from master
1249 (cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)
1251 2016-09-23 Lars Ingebrigtsen <larsi@gnus.org>
1253 Document how to check for ImageMagick support
1255 * doc/lispref/display.texi (ImageMagick Images): Say how to
1256 check for ImageMagick support, which isn't quite obvious
1259 This is backport from master
1260 (cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)
1262 2016-09-23 Tino Calancha <f92capac@gmail.com>
1264 Run find-function-after-hook after finding a symbol
1266 * lisp/emacs-lisp/find-func.el (find-library):
1267 * lisp/help-mode.el (help-function-def, help-variable-def):
1268 Run `find-function-after-hook' inside the help-function of the
1269 buttons (bug#22583).
1270 * etc/NEWS: Mention the change.
1272 This is a backport from master.
1273 (cherry picked from commit f069d854508946bcc03e4c77ceb430748e3ab6d7)
1275 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1279 * doc/lispref/os.texi (Timers): Document 'timerp'. (Bug#24511)
1282 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1284 Improve documentation of overlay priorities
1286 * doc/lispref/display.texi (Overlay Properties): Minor copyedits.
1287 By popular demand, mention the '(PRIMNARY . SECONDARY)' form of
1288 overlay properties used for the region. (Bug#20253)
1290 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1292 Fix 'dired-compress-files'
1294 * lisp/dired-aux.el (dired-do-compress-to): Make sure the archive
1295 file name is fully expanded by running it through
1296 'expand-file-name'. Suggested by Drew Adams <drew.adams@oracle.com>.
1297 (Bug#24486) Doc fix.
1298 * lisp/dired.el: Regenerated changes in autoloads.
1300 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1302 Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR
1304 * src/character.h (STRING_CHAR):
1305 * src/buffer.h (FETCH_MULTIBYTE_CHAR): Update commentary: these
1306 two macros no longer do any character unification, so the caveats
1307 in those comments are no longer pertinent.
1309 2016-09-23 Eli Zaretskii <eliz@gnu.org>
1311 Increment Emacs version to 25.1.50
1316 * msdos/sed2v2.inp: Bump the version to 25.1.50.
1318 2016-09-21 Eli Zaretskii <eliz@gnu.org>
1320 Document the optional zlib library in MS-Windows builds
1324 * nt/INSTALL: Mention the optional text decompression support and
1327 2016-09-21 Eli Zaretskii <eliz@gnu.org>
1329 Fix tagging of DEFUN by etags
1331 * lib-src/etags.c (C_entries): Tag DEFUN twice: once with its C
1332 name, and then again with its Lisp name. This restores the
1333 ability to find Lisp primitives by their C name, which was lost
1334 when the etags back-end was switched to a more strict search
1337 * test/etags/ETAGS.good_1:
1338 * test/etags/ETAGS.good_2:
1339 * test/etags/ETAGS.good_3:
1340 * test/etags/ETAGS.good_4:
1341 * test/etags/ETAGS.good_5:
1342 * test/etags/ETAGS.good_6:
1343 * test/etags/CTAGS.good: Adapt to the changes in etags.c wrt
1346 2016-09-21 Eli Zaretskii <eliz@gnu.org>
1348 Avoid resetting track-mouse by mouse clicks
1350 * lisp/mouse.el (mouse-drag-line, mouse-drag-track): Don't assume
1351 the previous value of track-mouse is nil; instead, save and
1352 restore the previous value. (Bug#24480)
1354 2016-09-20 Eli Zaretskii <eliz@gnu.org>
1356 Improve nt/README.W32 instructions
1358 * nt/README.W32: Add instructions for installing 64-bit builds of
1359 optional libraries. (Bug#24470)
1361 2016-09-17 Eli Zaretskii <eliz@gnu.org>
1363 Document that desktop file overrides frame parameters
1365 * doc/emacs/misc.texi (Saving Emacs Sessions):
1366 * doc/emacs/frames.texi (Frame Parameters): Document that frame
1367 parameters restored by desktop.el take precedence over the
1368 customizations in the init file, and explain how to countermand
1369 that. For the details of the issue, see
1370 http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00318.html.
1372 2016-09-15 Nicolas Petton <nicolas@petton.fr>
1374 * etc/AUTHORS: Regenerate the AUTHORS file
1376 2016-09-16 Nicolas Petton <nicolas@petton.fr>
1378 * Version 25.1 released.
1380 2016-09-15 Nicolas Petton <nicolas@petton.fr>
1382 * etc/AUTHORS: Regenerate the AUTHORS file
1384 2016-09-15 Eli Zaretskii <eliz@gnu.org>
1386 Update admin/authors.el
1388 * admin/authors.el (authors-fixed-entries): Add an entry for Bob
1391 2016-09-14 Eli Zaretskii <eliz@gnu.org>
1393 Update Antinews in ELisp manual
1395 * doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
1396 * doc/lispref/elisp.texi (Top): Update the main menu entry for
1399 2016-09-11 Noam Postavsky <npostavs@gmail.com>
1401 Fix comments on window height macros
1403 * src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
1404 confusing claim that "height is in pixels and in lines"; in fact it's in
1407 2016-09-10 Toke Høiland-Jørgensen <toke@toke.dk> (tiny change)
1409 Fix 'url-http-create-request' when cookies are used
1411 * lisp/url/url-http.el (url-http-create-request): Make sure the
1412 cookie headers are a unibyte string. For the details, see
1413 http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00202.html.
1415 2016-09-08 Martin Rudalics <rudalics@gmx.at>
1417 Fix cross reference in frames.texi
1419 * doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
1422 2016-09-04 immerrr <immerrr@gmail.com>
1424 Fix regexp-opt documentation (bug #17862)
1426 * lisp/emacs-lisp/regexp-opt.el (regexp-opt):
1427 * doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.
1429 2016-08-31 Nicolas Richard <youngfrog@members.fsf.org>
1431 * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.
1433 2016-08-27 Noam Postavsky <npostavs@gmail.com>
1435 Fix tags-query-replace docstring
1437 * lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
1438 regarding non-existent parameters.
1440 2016-08-26 Eli Zaretskii <eliz@gnu.org>
1442 Clarify documentation of precision in format specs
1444 * doc/lispref/strings.texi (Formatting Strings): Be less
1445 definitive wrt what precision means in format specs other than
1446 floating-point, %s and %S. (Bug#24314)
1448 2016-08-24 Eli Zaretskii <eliz@gnu.org>
1450 Improve and clarify documentation of subprocesses
1452 * doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
1453 Mention 'make-process' rather than 'start-process'. Update wrt
1454 standard destinations of standard output/error streams and due to
1455 different formats of arguments accepted by 'make-process'.
1456 (Processes): Mention process objects that represent connections.
1457 (Synchronous Processes): Minor clarifications.
1458 (Asynchronous Processes): Describe 'make-process' and
1459 'make-pipe-process' before 'start-process'. Update and expand the
1461 (Deleting Processes, Process Information, Input to Processes)
1462 (Signals to Processes, Query Before Exit, Network): Update and
1463 expand the documentation, especially wrt process objects that
1464 represent connections.
1465 (Output from Processes): Mention the possibility of separating
1466 stderr via 'make-process'.
1467 (Filter Functions): Mention that stderr by default arrives at the
1468 filter function together with stdout. (Bug#24287)
1470 * src/process.c (Fprocess_id, Fprocess_command)
1471 (Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
1472 process objects that represent connections.
1474 2016-08-23 Paul Eggert <eggert@cs.ucla.edu>
1476 * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).
1478 2016-08-21 Nicolas Petton <nicolas@petton.fr>
1480 * etc/AUTHORS: Update the AUTHORS file
1482 2016-08-20 Philipp Stephani <phst@google.com>
1484 Some assorted documentation clarifications
1486 * src/fileio.c (Fwrite_region): Clarify that END is ignored if
1488 * src/editfns.c (Fbuffer_size): Add short discussion about
1490 * src/callproc.c (Fcall_process_region): Discuss behavior when
1491 START and END are not buffer positions.
1493 2016-08-18 Eli Zaretskii <eliz@gnu.org>
1495 Improve commentary in src/character.h
1497 * src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
1498 (MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
1499 info from commentary and improve it.
1501 2016-08-17 Dmitry Gutov <dgutov@yandex.ru>
1503 * etc/NEWS: Mention the change in json-encode-string.
1505 The change was made to fix bug#20154, and came up again in bug#24239.
1507 2016-08-16 Eli Zaretskii <eliz@gnu.org>
1509 * src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
1513 2016-08-16 Eli Zaretskii <eliz@gnu.org>
1515 Avoid segfaults due to quoting in 'substitute-command-keys'
1517 * src/doc.c (Fsubstitute_command_keys): Correct character counts
1518 when the input string is unibyte. (Bug#24206)
1520 2016-08-16 Martin Rudalics <rudalics@gmx.at>
1522 In NEWS describe new handling of window margins (Bug#24193)
1524 * etc/NEWS: Describe new handling of margins when splitting or
1525 resizing windows (Bug#24193).
1527 2016-08-16 Martin Rudalics <rudalics@gmx.at>
1529 Facultatively ignore margins when splitting and resizing windows (Bug#24193)
1531 Provide a new window parameter 'min-margins' which allows to
1532 ignore the actual widths of a window's margins when splitting or
1533 resizing that window horizontally. This should serve as a
1534 workaround for handling the problems raised by Bug#24193.
1536 * lisp/window.el (window--min-size-1): Handle new window
1537 parameter 'min-margins'.
1538 (split-window): Fix text of error messages.
1539 * doc/lispref/windows.texi (Window Parameters): Describe new
1540 parameter 'min-margins'.
1542 2016-08-14 Noam Postavsky <npostavs@gmail.com>
1544 Document CATEGORY arg to modify-category-entry
1546 * src/category.c (Fmodify_category_entry): Document CATEGORY argument.
1548 2016-08-13 Noam Postavsky <npostavs@gmail.com>
1550 Document char-script-table's effect on word motion
1552 * doc/lispref/positions.texi (Word Motion): Talk about
1553 char-script-table (Bug #10494).
1555 2016-08-13 Eli Zaretskii <eliz@gnu.org>
1557 Further fix for 'url-http-create-request' and multibyte strings
1559 * lisp/url/url-http.el (url-http-create-request): Run
1560 url-mime-charset-string through url-http--encode-string.
1563 2016-08-13 Noam Postavsky <npostavs@gmail.com>
1565 Fix docstring of eval-expression
1567 * lisp/simple.el (eval-expression): Fix the docstring to reflect the
1568 fact that the prefix argument does not affect formatting for
1569 integers (Bug #20691).
1571 2016-08-11 Eli Zaretskii <eliz@gnu.org>
1573 Clarify when 'cursor' property is in effect
1575 * doc/lispref/text.texi (Special Properties): Minor copyedits.
1578 2016-08-11 Dmitry Gutov <dgutov@yandex.ru>
1580 Convert the remaining strings to unibyte before concatenating
1582 * lisp/url/url-http.el (url-http--encode-string): New function.
1583 (url-http-create-request): Use it to convert ASCII to unibyte.
1586 2016-08-11 Eli Zaretskii <eliz@gnu.org>
1588 Fix bug with handling the bidi cache
1590 * src/xdisp.c (redisplay_window): Save and restore the state of
1591 the bidi cache before reusing the iterator after calls to
1592 try_window and try_window_reusing_current_matrix.
1594 2016-08-10 Eli Zaretskii <eliz@gnu.org>
1596 * doc/lispref/text.texi (Change Hooks): Minor copyedits.
1598 2016-08-09 Eli Zaretskii <eliz@gnu.org>
1600 Clarify documentation of before/after-change-functions
1602 * doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
1603 not called in balanced pairs.
1605 2016-08-06 Noam Postavsky <npostavs@gmail.com>
1607 Document use of vectors in keymaps
1609 * doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
1610 format (Bug #14797).
1612 2016-08-03 Alan Third <alan@idiocy.org>
1614 Post AppDefined events from the main thread ONLY (bug#23934)
1616 * src/nsterm.h: Make nextappdefined var not just GNUStep.
1617 * src/nsterm.m (ns_send_appdefined, sendFromMainThread): Remove GNUStep
1619 2016-08-03 John Wiegley <johnw@newartisans.com>
1621 Update to the AUTHORS file for Bob Weiner
1623 * etc/AUTHORS: Update the packages attributed to Bob Weiner
1625 2016-08-02 John Wiegley <johnw@newartisans.com>
1627 Revert "Fix local printer set to left aligned string formatter."
1629 This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.
1631 2016-08-02 John Wiegley <johnw@newartisans.com>
1633 Revert "Fix ses-delete-blanks to delete only blanks + documentation."
1635 This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.
1637 2016-08-02 John Wiegley <johnw@newartisans.com>
1639 Revert "Fix English."
1641 This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.
1643 2016-08-01 Eli Zaretskii <eliz@gnu.org>
1645 Improve doc strings of 'gud-gdb' and 'gdb'
1647 * lisp/progmodes/gdb-mi.el (gdb):
1648 * lisp/progmodes/gud.el (gud-gdb): Doc fix. (Bug#24125)
1650 2016-08-01 Eli Zaretskii <eliz@gnu.org>
1652 Fix doc string of 'minibuffer-message-timeout'
1654 * src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
1655 Doc fix. (Bug#24123)
1657 2016-07-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
1661 * doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
1664 2016-07-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
1666 Fix ses-delete-blanks to delete only blanks + documentation.
1668 * doc/misc/ses.texi (Quick Tutorial): Mention the '!'
1669 'ses-range' modifier as an alternative to 'ses+'.
1670 (Advanced Features): Add a refernce to node 'Nonrelocatable
1671 references' concerning function 'ses-rename-cell'.
1672 (Standard formula functions): Mention the '!' 'ses-range'
1673 modifier as an alternative to 'ses-delete-blanks'.
1674 (More on cell printing): Fix fallback printer
1675 definition. Minor editorial formatting changes.
1676 (Nonrelocatable references): Document the use of
1677 'ses-rename-cell' as a better way to make cell reference
1679 (The data area): Document the presence of local printer
1680 definitions in the data area.
1682 * lisp/ses.el (ses-delete-blanks): Do not remove
1683 *error*. Any error in an argument should propagate into the
1684 using formula rather than being silently hidden !
1686 2016-07-29 Noam Postavsky <npostavs@gmail.com>
1688 profiler: document prefix arg for tree expansion
1690 * doc/lispref/debugging.texi (Profiling):
1691 * lisp/profiler.el (profiler-report-toggle-entry): Document use of
1692 prefix argument to expand whole call trees.
1694 2016-07-29 Noam Postavsky <npostavs@gmail.com>
1696 Clarify usage of eshell-visual-options
1698 * lisp/eshell/em-term.el (eshell-visual-options): Add second option to
1699 example usage (Bug #19627).
1701 2016-07-29 Noam Postavsky <npostavs@gmail.com>
1703 Fix comment in files-in-below-directory
1705 * doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
1706 say append, since the code is adding to front of list (Bug #21589).
1708 2016-07-28 Vincent Belaïche <vincentb1@users.sourceforge.net>
1710 Fix local printer set to left aligned string formatter.
1712 * lisp/ses.el (ses-local-printer-compile): Add missing case
1713 for left-aligned string formatter.
1715 2016-07-24 Nicolas Petton <nicolas@petton.fr>
1717 Bump Emacs version to 25.1 for the first RC
1721 * lisp/ldefs-boot.el:
1722 * msdos/sed2v2.inp: Bump Emacs version to 25.1.
1724 2016-07-24 Nicolas Petton <nicolas@petton.fr>
1726 * etc/AUTHORS: Update the AUTHORS file
1728 ;; * ChangeLog.2: ChangeLog update.
1730 2016-07-24 Nicolas Petton <nicolas@petton.fr>
1732 * admin/authors.el (authors-valid-file-names): Addition.
1734 2016-07-23 Eli Zaretskii <eliz@gnu.org>
1736 Warn about Cairo-related problems
1738 * etc/NEWS: Warn about known problems in the Cairo build.
1741 2016-07-23 Paul Pogonyshev <pogonyshev@gmail.com>
1743 Don't let completion break `declare' handling
1745 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Fix to not alter
1746 `defun-declarations-alist' by side effect (Bug #23648).
1748 2016-07-23 Noam Postavsky <npostavs@gmail.com>
1750 Adjust match data before calling after-change-funs
1752 It's important to adjust the match data in between calling
1753 before-change-functions and after-change-functions, so that buffer
1754 change hooks will always see match-data consistent with buffer content.
1757 * src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
1758 true call update_search_regs. Update all callers (except
1759 Freplace_match) to pass 0 for the new parameter.
1760 * src/search.c (update_search_regs): New function, extracted from
1762 (Freplace_match): Remove match data adjustment code, pass 1 for
1763 ADJUST_MATCH_DATA to replace_range instead.
1765 2016-07-21 Mark Oteiza <mvoteiza@udel.edu>
1767 Do not show string-rectangle preview if minibuffer is empty
1769 * lisp/rect.el (rectangle--string-preview): Remove condition that sets
1770 preview string to the default replacement string.
1772 2016-07-21 Achim Gratz <Stromeko@nexgo.de>
1774 * etc/PROBLEMS: Add entry about selection problems under Plasma 5.
1778 2016-07-21 Paul Eggert <eggert@cs.ucla.edu>
1780 Port to glibc 2.24 (pre-release) + ppc64
1782 Backport from master (Bug#24033).
1783 Inspired by a suggestion by Florian Weimer in:
1784 https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
1785 * src/emacs.c (main) [__PPC64__]:
1786 Special case for __PPC64__, which needs ASLR disabled in
1789 2016-07-21 Katsumi Yamaoka <yamaoka@jpl.org>
1791 * lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
1793 * lisp/net/shr.el (shr-fill-line):
1794 Preserve text properties in folded lines (bug#24034).
1796 2016-07-17 Robert Cochran <robert-git@cochranmail.com> (tiny change)
1798 Expand FIXME near definition of fboundp
1800 This expansion of the FIXME is so that future developers are aware of
1801 the potential problems of aliasing fboundp to symbol-function without
1802 taking backwards compatibility into account.
1804 * src/data.c (fboundp): Note potential backwards compatibility issues in
1807 2016-07-17 Noam Postavsky <npostavs@gmail.com>
1809 kill-rectangle should mention killed-rectangle
1811 * lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
1812 and warning message, rather than kill ring (Bug#19773).
1814 2016-07-16 Eli Zaretskii <eliz@gnu.org>
1816 Avoid assertion violations in nhexl-mode
1818 * src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
1819 code executed in all builds. (Bug#24001)
1821 2016-07-15 Fredrik Bergroth <fbergroth@gmail.com> (tiny change)
1823 Use memmove instead of memcpy on overlapping regions
1825 * src/editfns.c (Ftranspose_regions): Regions may overlap, so
1826 use memmove instead of memcpy (bug#19213).
1829 This is a backport from trunk.
1830 (cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)
1832 2016-07-15 Noam Postavsky <npostavs@gmail.com>
1834 Document buffer-swap-text+save-excursion interaction
1836 * doc/lispref/buffers.texi (Swapping Text):
1837 * src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
1838 `buffer-swap-text' and `save-excursion' (Bug #4655).
1840 2016-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
1842 Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
1844 * lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
1845 * lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
1846 mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
1847 * lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
1848 `class' is not a symbol but a class object.
1850 2016-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
1852 Include cl-generic in package--builtin-versions (bug#22817)
1854 * lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
1855 Add ourselves manually. Don't merge since there's a better fix on master.
1857 2016-07-14 Michael Albinus <michael.albinus@gmx.de>
1859 Improve timing in `tramp-test29-environment-variables'
1861 * test/automated/tramp-tests.el
1862 (tramp-test--shell-command-to-string-asynchronously):
1863 Add additional `accept-process-output' call.
1864 (tramp-test29-environment-variables): Remove additional sleep calls.
1866 2016-07-14 Michael Albinus <michael.albinus@gmx.de>
1868 Add test for handling environment variables in Tramp
1870 * test/automated/tramp-tests.el
1871 (tramp-test--shell-command-to-string-asynchronously): New defun.
1872 (tramp-test29-environment-variables): New test.
1873 (tramp-test30-vc-registered)
1874 (tramp-test31-make-auto-save-file-name)
1875 (tramp-test32-special-characters)
1876 (tramp-test32-special-characters-with-stat)
1877 (tramp-test32-special-characters-with-perl)
1878 (tramp-test32-special-characters-with-ls, tramp-test33-utf8)
1879 (tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
1880 (tramp-test33-utf8-with-ls)
1881 (tramp-test34-asynchronous-requests)
1882 (tramp-test35-recursive-load, tramp-test36-unload): Rename.
1884 2016-07-13 Glenn Morris <rgm@gnu.org>
1886 * lisp/emacs-lisp/package.el (describe-package-1)
1887 (package-status-external): Fix face references. (Bug#23927)
1889 2016-07-12 Stephen Berman <stephen.berman@gmx.net>
1891 Improve documentation of search functions
1893 Make the documentation of the search functions more accurate,
1894 complete, and uniform; in particular, extend the description of
1895 the effect when the 'count' parameter is a negative number to all
1898 * src/search.c (Fsearch_backward, Fsearch_forward)
1899 (Fre_search_backward, Fre_search_forward)
1900 (Fposix_search_backward, Fposix_search_forward):
1901 * lisp/isearch.el (word-search-backward, word-search-forward)
1902 (word-search-backward-lax, word-search-forward-lax): Improve doc
1903 strings as described above.
1905 * doc/lispref/searching.texi (String Search, Regexp Search)
1906 (POSIX Regexps): Use 'count' instead of 'repeat' as the name of
1907 the fourth parameter of the *-search-{forward,backward} functions
1908 and improve documentation as described above.
1910 2016-07-12 Michael Albinus <michael.albinus@gmx.de>
1912 Delete environment variables in Tramp when needed
1914 * lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
1915 (tramp-sh-handle-start-file-process)
1916 (tramp-sh-handle-process-file, ): Use it. (Bug#23952)
1918 2016-07-12 Eli Zaretskii <eliz@gnu.org>
1920 Add "New in Emacs 25" section to the FAQ
1922 * doc/misc/efaq.texi (Latest version of Emacs): Update for later
1924 (New in Emacs 25): New node.
1925 (Status of Emacs): Add it to the menu.
1927 2016-07-10 Eli Zaretskii <eliz@gnu.org>
1929 Fix 'vertical-motion' in non-interactive sessions
1931 * src/indent.c (Fvertical_motion): Don't return uninitialized
1932 value in non-interactive session. This fixes random errors in
1934 http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
1936 http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
1939 2016-07-10 Andreas Schwab <schwab@linux-m68k.org>
1941 Fix memory leak in imagemagick-types
1943 * src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
1946 2016-07-10 Eli Zaretskii <eliz@gnu.org>
1948 Update ELisp manual to match 'string-collate-equalp' doc string
1950 * doc/lispref/strings.texi (Text Comparison): Remove reference to
1951 sorting from the description of 'string-collate-equalp'. (Bug#23902)
1953 2016-07-09 Noam Postavsky <npostavs@gmail.com>
1955 Clarify docstring of find-feature-regexp
1957 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
1958 is optional (Bug #23520).
1960 2016-07-09 Noam Postavsky <npostavs@gmail.com>
1962 Add details to cl-lib defining macros' docstrings
1964 * lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
1965 of supported arglist forms (Bug #22462).
1967 2016-07-09 Eli Zaretskii <eliz@gnu.org>
1969 Clarify doc string of 'save-buffer'
1971 * lisp/files.el (save-buffer): Clarify that backups might not be
1972 made even if this command is invoked with 2 or 3 "C-u"s.
1975 2016-07-08 Eli Zaretskii <eliz@gnu.org>
1977 Un-confuse doc string of 'string-collate-equalp'
1979 * src/fns.c (Fstring_collate_equalp): Remove confusing text from
1980 doc string. (Bug#23902)
1982 2016-07-07 Eli Zaretskii <eliz@gnu.org>
1984 Clarify documentation of 'mouse-on-link-p'
1986 * lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
1987 argument. (Bug#23899)
1989 2016-07-06 Phillip Lord <phillip.lord@russet.org.uk>
1991 Fix missing undo-boundary on revert-buffer.
1993 * lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
1994 * src/fileio.c (insert-buffer-contents): Call
1995 undo-auto--undoably-changed-buffers before changes.
1997 Addresses Bug#23785.
1999 Do not merge to master as c98bc98 also addresses the same bug.
2001 2016-07-06 Martin Rudalics <rudalics@gmx.at>
2003 Amend last addition to etc/PROBLEMS
2005 * etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings
2007 2016-07-06 Paul Eggert <eggert@cs.ucla.edu>
2009 Fix open-network-stream responsiveness
2011 Problem reported by Christer Ekholm (Bug#23864).
2012 Backport from master.
2013 * src/process.c (wait_reading_process_output):
2014 Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
2015 when wait == INFINITY and got_output_end_time is invalid.
2016 In this case the code should break, not continue.
2018 2016-07-05 Phillip Lord <phillip.lord@russet.org.uk>
2020 Fix missing point information in undo
2022 * src/undo.c (record_insert): Use record_point instead of
2023 prepare_record, and do so unconditionally.
2024 (prepare_record): Do not record first change.
2025 (record_point): Now conditional on state before the last command.
2026 (record_delete): Call record_point unconditionally.
2027 (record_property_change): Use prepare_record.
2028 (record_marker_adjustments): Use prepare_record.
2030 Addresses Bug# 21722
2032 2016-07-04 Eli Zaretskii <eliz@gnu.org>
2034 Avoid crashes when buffer modification hooks clobber match data
2036 * src/search.c (Freplace_match): Error out if buffer modification
2037 hooks triggered by buffer changes in replace_range, upcase-region,
2038 and upcase-initials-region clobber the match data needed to be
2039 adjusted for the replacement. (Bug#23869)
2041 2016-07-03 Noam Postavsky <npostavs@gmail.com>
2043 Note combine-and-quote-strings doesn't shell quote
2045 * doc/lispref/processes.texi (Shell Arguments):
2046 * lisp/subr.el (combine-and-quote-strings): Add a note that
2047 combine-and-quote-strings doesn't protect arguments against shell
2048 evaluation (Bug #20333).
2050 2016-07-03 Noam Postavsky <npostavs@gmail.com>
2052 Explain when package-initialize isn't called
2054 * doc/lispref/os.texi (Startup Summary): Explain that package-initialize
2055 is not called when options -q, -Q, or --batch were passed (Bug #19151).
2057 2016-07-03 Noam Postavsky <npostavs@gmail.com>
2059 Fix escaping in sh-indent-after-continuation docstr
2061 * lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
2062 escape backslashes in docstring (Bug#23046).
2064 2016-07-02 Eli Zaretskii <eliz@gnu.org>
2066 Clarify the documentation of back-references in replacements
2068 * doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
2071 * lisp/replace.el (query-replace-regexp)
2072 (query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)
2074 2016-07-01 Noam Postavsky <npostavs@gmail.com>
2076 Clarify lexical binding with symbol args behavior
2078 * doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
2079 arguments always refer to dynamic values (Bug #23781). Remove mention
2080 of obsolete restriction regarding lexical binding for defun and
2081 defmacro, this no longer applies since 61b108cc 2012-05-29 "*
2082 lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".
2084 2016-06-30 Michael Albinus <michael.albinus@gmx.de>
2086 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
2088 2016-06-29 Eli Zaretskii <eliz@gnu.org>
2090 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23865)
2092 2016-06-29 Eli Zaretskii <eliz@gnu.org>
2094 Avoid assertion violations when rendering some fonts
2096 * src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
2097 high" if its pixel_size value is zero. This avoids assertion
2098 violations at the end of x_produce_glyphs.
2100 2016-06-28 Noam Postavsky <npostavs@gmail.com>
2102 Document more details of package activation
2104 * doc/emacs/package.texi (Package Installation): Explain that package
2105 activation adds to load-path (Bug #21704).
2107 2016-06-28 Noam Postavsky <npostavs@gmail.com>
2109 Fixup warning message regarding HOME a bit more
2111 * src/w32.c (init_environment): The manual section title is "Windows
2112 HOME" (Bug #11612). Move newline so warning fits in 80 character lines.
2114 2016-06-27 Eli Zaretskii <eliz@gnu.org>
2116 * lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.
2118 2016-06-27 Michael Albinus <michael.albinus@gmx.de>
2120 Fix input method "probhat" for Bengali
2122 Author: উৎসব রায় <uroybd@gmail.com>
2124 * lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.
2126 2016-06-27 Noam Postavsky <npostavs@gmail.com>
2128 Add to elisp-completion-at-point's docstring
2130 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
2131 position dependent behavior (Bug #19854).
2133 2016-06-27 Noam Postavsky <npostavs@gmail.com>
2134 Eli Zaretskii <eliz@gnu.org>
2136 Give more helpful warning about setting HOME
2138 * src/w32.c (init_environment): Improve warning message that pops when
2139 Emacs sets HOME according to existence of C:\.emacs (Bug #11612).
2141 2016-06-26 Eli Zaretskii <eliz@gnu.org>
2143 Fix slow redisplay in term-mode
2145 * lisp/term.el (term-mode): Move the setting of
2146 bidi-paragraph-direction from 'ansi-term' to here, since term-mode
2147 is also affected. Do not merge to master, since there the problem
2148 is solved in bidi.c by changing the regexps that delimit a
2149 paragraph. (Bug#23801)
2151 2016-06-26 উৎসব রায় <uroybd@gmail.com>
2153 New input method "probhat" for Bengali
2155 * lisp/leim/quail/indian.el ("probhat"): New input method.
2158 * etc/NEWS: Mention the new input method.
2160 2016-06-25 Noam Postavsky <npostavs@gmail.com>
2161 Drew Adams <drew.adams@oracle.com>
2163 Update docs for `customize-mode'
2165 * lisp/cus-edit.el (customize-mode): This function works with both major
2166 and minor modes, make docstring and prompt reflect that (Bug #23649).
2168 * doc/lispref/modes.texi (Derived Modes): Remove note about
2169 customize-mode being experimental; it has been around since Emacs
2172 2016-06-23 Eli Zaretskii <eliz@gnu.org>
2174 Fix documentation of 'assoc-string' and 'compare-strings'
2176 * src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
2177 string comparison. (Bug#23833)
2178 * src/fns.c (Fcompare_strings): Fix the description of how
2179 IGNORE-CASE affects the comparison.
2181 * doc/lispref/strings.texi (Text Comparison): Clarify how
2182 CASE-FOLD affects the string comparison in 'assoc-string'. Fix
2183 the description of how IGNORE-CASE affects the comparison in
2186 2016-06-22 Dmitry Gutov <dgutov@yandex.ru>
2188 Error on multibyte characters in HTTP request
2190 * lisp/url/url-http.el (url-http-create-request): Check the
2191 constructed request in the end to verify that it does not contain
2192 multibyte characters (bug#23750).
2194 2016-06-22 Katsumi Yamaoka <yamaoka@jpl.org>
2196 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
2197 Mask keys that launch `widget-button-click' (bug#22157).
2199 2016-06-22 Dmitry Gutov <dgutov@yandex.ru>
2201 Unset GIT_DIR when calling Git commands
2203 * lisp/vc/vc-git.el (vc-git--call, vc-git-command):
2204 Unset GIT_DIR (bug#23769).
2206 2016-06-21 Phillip Lord <phillip.lord@russet.org.uk>
2208 Ensure undo-boundary after insert-file-contents.
2210 * src/fileio.c: Record undoable change during insert-file-contents.
2212 Addresses Bug #23785.
2214 2016-06-21 Eli Zaretskii <eliz@gnu.org>
2216 Clarify documentation of 'line-spacing' and 'line-height'
2218 * doc/lispref/display.texi (Line Height): Clarify how the line
2219 height is determined via variables and text properties. (Bug#23806)
2221 2016-06-20 Eli Zaretskii <eliz@gnu.org>
2223 Fix removal of variables from process-environment
2225 * src/callproc.c (add_env): Fix comparison of a variable with a
2226 value against the same variable without a value. (Bug#23779)
2228 2016-06-20 Glenn Morris <rgm@gnu.org>
2230 * admin/authors.el (authors-ignored-files, authors-valid-file-names)
2231 (authors-renamed-files-alist): Additions.
2233 * admin/authors.el (authors-aliases, authors-fixed-case): Additions.
2235 2016-06-18 Noam Postavsky <npostavs@gmail.com>
2237 Fix documentation of completion functions
2239 So that the described behavior matches the code (and docstrings).
2241 * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
2242 collections are used like string keys, not ignored (Bug #10416).
2244 2016-06-18 Eli Zaretskii <eliz@gnu.org>
2246 Clarify documentation of 'font-lock-maximum-decoration'
2248 * doc/emacs/display.texi (Font Lock): Explain how to make the
2249 customization of 'font-lock-maximum-decoration' effective for an
2250 existing buffer. (Bug#23783)
2252 2016-06-17 Glenn Morris <rgm@gnu.org>
2254 * doc/misc/cl.texi (Usage): Add some more details.
2256 2016-06-17 Noam Postavsky <npostavs@gmail.com>
2258 Fbackward_prefix_chars: stay within buffer bounds
2260 The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
2261 scanning" (1998-03-18), moved the check against of the position against the
2262 buffer beginning out the loop condition so that we might end up checking
2263 the syntax of characters before the beginning of the buffer. This can
2264 cause segfaults or trigger a "Point before start of properties" error in
2265 `update_interval' (called indirectly from `char_quoted').
2267 * src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
2268 buffer is reached (Bug #3552, Bug #17132, Bug #19379).
2270 2016-06-16 Paul Eggert <eggert@cs.ucla.edu>
2272 Fix ifdef-vs-if typo with RANDR13_LIBRARY
2274 * src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
2275 This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
2276 http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html
2278 (cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)
2280 2016-06-16 Stephen Berman <stephen.berman@gmx.net>
2282 Fix last todo-mode change
2284 * lisp/calendar/todo-mode.el (todo-read-category): Return the
2285 keymap in order to use its defined key bindings.
2287 2016-06-15 Stephen Berman <stephen.berman@gmx.net>
2289 Improve last todo-mode fix
2291 * lisp/calendar/todo-mode.el (todo-read-category): Use
2292 set-keymap-parent instead of copy-keymap, and default (as
2293 previously) to the global binding (for rationale, see
2294 http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).
2296 2016-06-14 Stephen Berman <stephen.berman@gmx.net>
2298 Fix todo-mode use of minibuffer completion keymap (bug#23695).
2300 * lisp/calendar/todo-mode.el (todo-read-category): Don't
2301 override minibuffer-local-completion-map globally (bug#23695).
2302 Bind <SPC> key to self-insert-command.
2304 2016-06-14 Glenn Morris <rgm@gnu.org>
2306 * src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
2308 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
2309 Avoid mangling autoloads with unspecified arguments. (Bug#21299)
2311 2016-06-13 Glenn Morris <rgm@gnu.org>
2313 * lisp/help-fns.el (describe-function-1): Avoid reporting advised
2314 autoloads as aliases. (Bug#21299)
2316 2016-06-13 Stephen Berman <stephen.berman@gmx.net>
2318 Minor grammar fix (bug#23746)
2320 * doc/lispref/processes.texi (Synchronous Processes):
2321 Another minor grammar fix (bug#23746).
2323 2016-06-13 Stephen Berman <stephen.berman@gmx.net>
2325 Doc fixes for grammar and typos (bug#23746)
2327 * doc/emacs/files.texi (Customize Save):
2328 * doc/emacs/frames.texi (Window Dividers):
2329 * doc/emacs/misc.texi (Printing):
2330 * doc/lispref/compile.texi (Compiler Errors):
2331 * doc/lispref/keymaps.texi (Changing Key Bindings):
2332 * doc/lispref/loading.texi (Named Features):
2333 * doc/lispref/markers.texi (Marker Insertion Types):
2334 * doc/lispref/modes.texi (Mode Hooks):
2335 * doc/lispref/text.texi (Undo):
2336 * src/floatfns.c (Fldexp):
2337 * src/xfaces.c (syms_of_xfaces):
2338 Minor doc fixes for grammar and typos (bug#23746).
2340 2016-06-13 Eli Zaretskii <eliz@gnu.org>
2342 * doc/lispref/processes.texi (Process Buffers): Minor rewording. (Bug#23446)
2344 2016-06-13 Eli Zaretskii <eliz@gnu.org>
2346 Add cross-reference to ELisp manual
2348 * doc/lispref/commands.texi (Classifying Events): Add
2349 cross-reference to "Motion Events". (Bug#23756)
2351 2016-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2353 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
2355 Don't rewrite (funcall 'f ...) to (f ...).
2357 2016-06-11 Phillip Lord <phillip.lord@russet.org.uk>
2359 Restore initial undo boundary with viper
2361 * lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
2362 boundary if it has been removed.
2364 Addresses Bug#22295.
2366 2016-06-11 Phillip Lord <phillip.lord@russet.org.uk>
2368 Revert "Fix viper undo breakage from undo-boundary changes"
2370 This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.
2372 2016-06-11 Ken Brown <kbrown@cornell.edu>
2374 Fix dbus crash on 32-bit Cygwin
2376 * src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
2377 connection address. (Bug#23741)
2378 (xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
2381 2016-06-10 Nicolas Petton <nicolas@petton.fr>
2383 Bump version to 25.0.95
2387 * lisp/ldefs-boot.el:
2388 * msdos/sed2v2.inp: Bump Emacs version to 25.0.95.
2390 2016-06-10 Nicolas Petton <nicolas@petton.fr>
2392 * etc/AUTHORS: Update the AUTHORS file
2394 2016-06-10 Nicolas Petton <nicolas@petton.fr>
2396 add entries to authors.el
2398 * admin/authors.el (authors-renamed-files-alist): Add char-fold files.
2400 2016-06-10 Jules Tamagnan <jtamagnan@gmail.com>
2402 Fix eldoc-related freezes in python mode
2404 * lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
2405 (python-eldoc-function-timeout)
2406 (python-eldoc-function-timeout-permanent): New defcustoms.
2407 (python-eldoc-function): If python-eldoc--get-doc-at-point times
2408 out, effectively turn off ElDoc in current buffer. (Bug#23609)
2410 2016-06-09 Martin Rudalics <rudalics@gmx.at>
2412 Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)
2414 * lisp/mouse.el (mouse-set-region): If the mouse ends up in
2415 another window or on the menu bar, use `window-point' of
2416 selected window instead of `posn-point' of the event end
2419 2016-06-08 Marco Wahl <marcowahlsoft@gmail.com>
2421 org.el: Fix bindings of < and > for calendar scrolling
2423 [This patch taken from upstream Org repo with 8b63dc9 dated
2424 2014-10-20 (Bug#23725).]
2425 * lisp/org/org.el (org-read-date-minibuffer-local-map):
2426 Switch to the current calendar API for scrolling the calendar.
2428 2016-06-08 Phillip Lord <phillip.lord@russet.org.uk>
2430 Fix undo boundary in recursive edit (Bug#23632)
2432 * src/keyboard.c (recursive_edit_1): specbind
2433 undo-auto--undoably-changed-buffers.
2434 * lisp/simple.el (undo-auto--undoably-changed-buffers):
2437 2016-06-07 Glenn Morris <rgm@gnu.org>
2439 Doc fixes re alist-get. (Bug#23548)
2441 * lisp/subr.el (alist-get): Doc fix.
2442 * doc/lispref/lists.texi (Association Lists): Improve alist-get.
2444 2016-06-07 Glenn Morris <rgm@gnu.org>
2446 * lisp/progmodes/python.el (inferior-python-mode):
2447 Avoid tabs. (Bug#23616)
2449 * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.
2451 2016-06-07 Tino Calancha <f92capac@gmail.com>
2453 * lisp/help-fns.el (describe-function-1):
2454 Fix handling of file name for aliases. (Bug#21950)
2456 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
2458 * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
2460 2016-06-07 Paul Eggert <eggert@cs.ucla.edu>
2462 Fix crash in syntax.c after GC
2464 Problem reported by Vincent Belaïche (Bug#23704).
2465 * src/syntax.c (skip_chars): Recompute pointers into the
2466 buffer after every call to update_syntax_table_forward,
2469 2016-06-06 Dmitry Gutov <dgutov@yandex.ru>
2471 Improve squiggly heredoc support in non-SMIE Ruby mode
2473 * lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
2474 squiggly heredocs here, too (port from upstream).
2476 2016-06-06 Stephen Berman <stephen.berman@gmx.net>
2478 Fix doc string quoting
2480 * lisp/files.el (shell-quote-wildcard-pattern):
2481 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
2482 * lisp/subr.el (replace-regexp-in-string):
2483 * lisp/view.el (view-mode):
2484 * src/nsfns.m (syms_of_nsfns):
2485 * src/syntax.c (Fbackward_prefix_chars):
2486 Fix quoting problems in doc strings (Bug#23696).
2488 2016-06-05 Martin Rudalics <rudalics@gmx.at>
2490 Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
2492 * lisp/mouse.el (mouse-drag-line): With scroll bars on the left
2493 adjust trailing edge of window on the left when dragging the
2494 vertical divider of the mode line. (Bug#23690)
2496 2016-06-04 Eli Zaretskii <eliz@gnu.org>
2498 * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
2502 2016-05-31 Glenn Morris <rgm@gnu.org>
2504 * test/automated/viper-tests.el (viper-test-undo-kmacro):
2505 Delete temp-file at end.
2507 * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
2509 * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
2511 * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
2512 Fix typo. (Bug#23654)
2514 2016-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)
2518 2016-05-30 Bill Wohler <wohler@newt.com>
2520 Correct cl-flet usage (Bug#22317)
2522 * lisp/mh-e/mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
2523 macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
2524 * lisp/mh-e/mh-thread.el (mh-thread-set-tables):
2525 * lisp/mh-e/mh-show.el (mh-gnus-article-highlight-citation):
2526 * lisp/mh-e/mh-mime.el (mh-display-with-external-viewer):
2527 (mh-mime-display, mh-press-button, mh-push-button):
2528 (mh-display-emphasis): Call mh-flet instead of mh-cl-flet.
2530 2016-05-30 Bill Wohler <wohler@newt.com>
2532 Release MH-E manual version 8.6
2534 * doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
2535 Update for release 8.6.
2537 2016-05-30 Mike Kupfer <m.kupfer@acm.org>
2539 Update MH-E's documentation about HTML renderers
2541 * doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
2542 version (we are no longer trying to support multiple Emacs
2543 releases). Sort the table of HTML renderers by name (the previous
2544 ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
2545 the table. Remove the entry for w3 (no longer available). Update
2546 existing entries so that they are more consistent about what features
2547 are discussed, and to reflect recent testing (Debian 8). Small tweaks
2550 2016-05-30 Dmitry Gutov <dgutov@yandex.ru>
2554 * doc/emacs/trouble.texi (Sending Patches):
2555 Fix the typo (bug#23657).
2557 2016-05-30 Paul Eggert <eggert@cs.ucla.edu>
2559 Restore frames into the current display by default
2561 * lisp/desktop.el (desktop-restore-in-current-display):
2562 Default to t, not nil (Bug#23604).
2563 * etc/NEWS: Mention the change.
2565 2016-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).
2569 etc/TODO: Remove out-of-place issue
2571 2016-05-29 Eli Zaretskii <eliz@gnu.org>
2573 Clarify doc string of 'file-name-sans-extension'
2575 * lisp/files.el (file-name-sans-extension, file-name-extension):
2576 Clarify in the doc strings what is the extension, and which
2577 leading period doesn't count. (Bug#23643)
2579 2016-05-28 Eli Zaretskii <eliz@gnu.org>
2583 * msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
2584 empty, and remove the lines which use them in recipes, as that
2585 causes weird error message from Make and breaks the MSDOS build.
2587 2016-05-28 Andreas Schwab <schwab@linux-m68k.org>
2589 * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
2590 substitute-command-keys to undo help--docstring-quote. (Bug#23634)
2592 2016-05-27 Eli Zaretskii <eliz@gnu.org>
2594 * src/dired.c (Ffile_name_all_completions): Doc fix. (Bug#23631)
2596 2016-05-27 Eli Zaretskii <eliz@gnu.org>
2598 Fix infloop in 'number-sequence'
2600 * lisp/subr.el (number-sequence): Avoid overflow leading to an
2601 infloop. (Bug#23627)
2603 * test/automated/subr-tests.el (number-sequence-test): New test.
2605 2016-05-26 Glenn Morris <rgm@gnu.org>
2607 * lisp/emacs-lisp/find-func.el (find-function-library):
2609 Update for symbol-function no longer erroring. (Bug#23626)
2611 2016-05-26 Glenn Morris <rgm@gnu.org>
2613 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
2614 (w32-get-valid-locale-ids): Improve declarations.
2616 2016-05-26 Vincent Belaïche <vincentb1@users.sourceforge.net>
2618 Correct old cell name unbinding when renaming cell.
2620 Bug is to unbind old cell names when renaming a cell with
2621 'makunbound'. when the old cell name is of A1 type, then
2622 'kill-local-variable' must be used instead, so that only the current
2623 spreadsheet is affected. When the old cell name is a renamed cell,
2624 then 'ses--unbind-cell-name' must be used in order to remove the old
2625 name from the name hashmap.
2627 * lisp/ses.el (ses-rename-cell): check consistency of cell symbol from
2628 text-property and from array object. Instead of 'makunbound', use
2629 either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
2630 whether the cell old name is a named cell or an A1 type cell
2632 2016-05-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
2634 Document problem: slow screen refresh on missing font.
2636 See discussion of bug#22519 for more on this.
2638 2016-05-25 Glenn Morris <rgm@gnu.org>
2640 * admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
2642 2016-05-25 Glenn Morris <rgm@gnu.org>
2644 * build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
2646 This is relevant for M-x add-release-logs right after M-x authors.
2648 2016-05-25 Glenn Morris <rgm@gnu.org>
2650 * admin/admin.el (add-release-logs): Generate ChangeLog if needed.
2652 2016-05-25 Paul Eggert <eggert@cs.ucla.edu>
2654 * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
2656 2016-05-25 Glenn Morris <rgm@gnu.org>
2658 * admin/authors.el (authors): First update the ChangeLog.
2660 * admin/make-tarball.txt: Related updates.
2662 2016-05-24 Dmitry Gutov <dgutov@yandex.ru>
2664 Rename vc-stay-local back to vc-cvs-stay-local
2666 * lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
2667 vc-stay-local (bug#19548). Improve the docstring.
2668 (vc-cvs-stay-local-p): Update accordingly.
2670 2016-05-24 Glenn Morris <rgm@gnu.org>
2672 * doc/emacs/files.texi (Comparing Files):
2673 * doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.
2675 * doc/misc/eww.texi (Advanced): Fix xref.
2677 2016-05-24 Eli Zaretskii <eliz@gnu.org>
2679 Fix cross-references between manuals
2681 * doc/misc/viper.texi (Viper Specials):
2682 * doc/misc/url.texi (Tramp):
2683 * doc/misc/sem-user.texi (Smart Jump):
2684 * doc/lispintro/emacs-lisp-intro.texi (Finding More):
2685 * doc/misc/efaq.texi (Replacing text across multiple files): Fix
2686 cross-references between manuals. (Bug#23612)
2687 * doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
2688 longer relevant to Emacs Lisp programming.
2690 2016-05-24 Glenn Morris <rgm@gnu.org>
2692 * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
2694 * admin/admin.el (add-release-logs): Also update etc/HISTORY.
2696 2016-05-24 Eli Zaretskii <eliz@gnu.org>
2698 Avoid aborting due to errors in arguments of 'set-face-attribute'
2700 * src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
2701 FRAME argument before using it. This avoids gratuitous aborts in
2702 Emacs built with --enable-checking when the luser was unlucky
2703 enough to get the argument list in wrong order.
2705 2016-05-23 Phillip Lord <phillip.lord@russet.org.uk>
2707 Add automated test for viper-tests.el
2709 2016-05-23 Phillip Lord <phillip.lord@russet.org.uk>
2711 Fix viper undo breakage from undo-boundary changes
2713 * lisp/simple.el (undo-auto-disable-boundaries): New variable
2714 * lisp/emulation/viper-init.el (viper-undo-in-complex-command,
2715 viper-undo-needs-adjustment): Rename
2716 variable to reflect new purpose,
2717 (viper-buffer-undo-list-mark): Remove
2718 * lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
2719 Add undo using `undo-boundary', disable default undo-boundary
2721 * lisp/emulation/viper-cmd.el
2722 (viper-complete-complex-command-for-undo,viper-adjust-undo):
2723 Change function name, remove old undo list manipulation.
2724 * lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
2725 viper-change-state-to-vi,viper-change-state):
2726 Update for function name change.
2728 Addresses Bug #22295
2730 2016-05-22 Kaushal Modi <kaushal.modi@gmail.com>
2732 Fix reference to obsolete fn ps-eval-switch
2734 lpr-eval-switch is functionally the same as ps-eval-switch,
2735 which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
2736 So use that instead (Bug#19717).
2737 * lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
2740 2016-05-22 Paul Eggert <eggert@cs.ucla.edu>
2742 Do not trash symlinks to init file
2744 If the user’s init file is a symbolic link, do not break the link
2745 when initializing the package system. Problem reported by Jackson
2746 Hamilton (Bug#23050).
2747 * lisp/emacs-lisp/package.el (package--ensure-init-file):
2748 Bind find-file-visit-truename when visiting the init file, and
2749 save and restore the buffer name the way cus-edit does in a
2750 similar situation (Bug#454).
2752 2016-05-22 Alan Mackenzie <acm@muc.de>
2754 Don't print the "decomposition" line for control chars in what-cursor-position
2756 This is a temporary workaround for bug #23594, where the decomposition line
2757 for linefeed corrupted the display on a Linux virtual terminal.
2759 * lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
2760 character code properties printed for control characters.
2762 2016-05-22 Paul Eggert <eggert@cs.ucla.edu>
2764 Bring back xterm pasting with middle mouse
2766 Problem reported by Jan Synáček.
2767 Solution suggested by Stefan Monnier (Bug#23519).
2768 * lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
2769 (xterm--pasted-text): New decl.
2770 (isearch-xterm-paste): New function.
2771 * lisp/term/xterm.el (xterm--pasted-text): New function,
2772 taken from xterm-paste internals.
2773 (xterm-paste): Use it.
2775 2016-05-22 Eli Zaretskii <eliz@gnu.org>
2777 Provide workaround for xftfont rendering problem
2779 * src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
2781 (xftfont_open): Use it to work around problems with rendering some
2784 2016-05-21 Jun Hao <jun_hao@aol.com>
2786 * lisp/desktop.el: Disable restore frameset if in non-graphic display.
2790 2016-05-21 Eli Zaretskii <eliz@gnu.org>
2792 Mention GTK+ problems in etc/PROBLEMS
2794 * etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
2795 problems this could create and the workaround. (Bug#23587)
2797 2016-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
2799 * lisp/emacs-lisp/package.el (package-refresh-contents):
2801 Don't change the value of `package-check-signature'.
2802 (package-check-signature): Use `epg-find-configuration'
2803 instead of `executable-find'.
2805 2016-05-20 Daiki Ueno <ueno@gnu.org>
2807 Revert "epg: Add a way to detect gpg1 executable for tests"
2809 This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
2811 2016-05-19 Eli Zaretskii <eliz@gnu.org>
2813 Avoid errors with Czech and Slovak input methods
2815 * lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
2816 (slovak-prog-3): Remove the kp-* key bindings, they are not needed
2817 and cause errors in "C-u C-x =".
2818 * lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
2819 (czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
2822 2016-05-19 Daiki Ueno <ueno@gnu.org>
2824 epg: Add a way to detect gpg1 executable for tests
2828 * test/automated/epg-tests.el
2829 (epg-tests-program-alist-for-passphrase-callback): New
2831 (epg-tests-find-usable-gpg-configuration): New function,
2832 renamed from `epg-tests-gpg-usable'. All callers changed.
2833 (epg-tests-gpg-usable): Remove.
2835 * lisp/epg-config.el (epg-config--program-alist): Factor out
2836 constructor element to...
2837 (epg-config--configuration-constructor-alist): ...here.
2838 (epg-find-configuration): Rename FORCE argument to NO-CACHE,
2839 and add PROGRAM-ALIST argument.
2841 2016-05-18 Artur Malabarba <bruce.connor.am@gmail.com>
2843 * lisp/emacs-lisp/package.el: Fix free variable warnings.
2845 (package--with-response-buffer): Replace two usages of
2846 `macroexp-let2*' with `let'.
2848 2016-05-18 Artur Malabarba <bruce.connor.am@gmail.com>
2850 * lisp/emacs-lisp/package.el (package--with-response-buffer):
2852 Fix some macro locals leaking into body. (Bug#22440)
2854 * test/automated/package-test.el (package-test-signed):
2855 Manually check all possible values of `package-check-signature'.
2857 2016-05-18 Eli Zaretskii <eliz@gnu.org>
2859 Improve documentation of 'server-name'
2861 * doc/emacs/misc.texi (Emacs Server): Fix example of setting
2862 'server-name'. Mention how to do that with daemon sessions.
2865 2016-05-18 Paul Eggert <eggert@cs.ucla.edu>
2867 Modernize ASLR advice in etc/PROBLEMS
2869 * etc/PROBLEMS (Segfault during 'make'): Modernize advice for
2870 seccomp, Docker, and NetBSD (Bug#23529).
2872 2016-05-17 Juri Linkov <juri@linkov.net>
2874 * lisp/char-fold.el: Rename from character-fold.el.
2876 * lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
2877 * test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
2878 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
2880 2016-05-17 Nicolas Petton <nicolas@petton.fr>
2882 Bump version to 25.0.94
2886 * msdos/sed2v2.inp: Bump Emacs version to 25.0.94.
2888 2016-05-17 Nicolas Petton <nicolas@petton.fr>
2890 etc/AUTHORS: Update the AUTHORS file
2892 2016-05-16 Alan Third <alan@idiocy.org>
2894 Fix bug#23462: Crash when iconifying frame on OS X.
2896 * src/nsterm.m (x_iconify_frame): Block input while miniaturize is
2899 2016-05-16 Paul Eggert <eggert@cs.ucla.edu>
2901 Avoid shrinking windows with Gtk+ 3.20.3
2903 Problem reported by Matthias Clasen (Bug#23144).
2904 This was fixed in a different way in master.
2905 Do not merge to master.
2906 * src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
2907 Do not call xg_frame_resized in the MapNotify case.
2909 2016-05-16 Eli Zaretskii <eliz@gnu.org>
2911 Fix bug in default setting of 'ps-paper-type'
2913 * lisp/international/mule-cmds.el (set-locale-environment): Don't
2914 inherit the value of locale from previous examination of different
2915 environment variables, which didn't look at LC_PAPER, and so using
2916 that value would effectively ignore the setting of LC_PAPER.
2919 2016-05-13 Paul Eggert <eggert@cs.ucla.edu> (tiny change)
2921 Properly reject malformed or empty package sigs
2923 Problem report and fix by Lizzie Dixon (Bug#23513).
2924 * lisp/emacs-lisp/package.el (package--check-signature-content):
2925 Report an error if no good signatures OR if a fatal error. Not AND.
2927 2016-05-13 Paul Eggert <eggert@cs.ucla.edu>
2929 Remove buggy non-native image scrolling
2931 This never worked, and could cause infinite recursion.
2932 Problem reported by Glenn Morris (Bug#22465).
2933 * lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
2936 2016-05-13 Paul Eggert <eggert@cs.ucla.edu>
2938 * doc/misc/texinfo.tex: Sync from gnulib.
2940 2016-05-12 Glenn Morris <rgm@gnu.org>
2942 * lisp/emacs-lisp/find-func.el (find-feature-regexp)
2943 (find-alias-regexp): Fix :version.
2945 2016-05-11 Dmitry Gutov <dgutov@yandex.ru>
2947 Do not mistake colon at the end of regexp for slash symbol
2949 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
2950 Check the parse state in the "Symbols with special characters"
2953 2016-05-11 Dmitry Gutov <dgutov@yandex.ru>
2955 Make package-install-from-buffer not move point
2957 * lisp/emacs-lisp/package.el (package-install-from-buffer):
2958 Use save-excursion here (bug#22616).
2960 2016-05-11 Dmitry Gutov <dgutov@yandex.ru>
2962 Redo the fix for bug#21839
2964 * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
2965 (help--make-usage-docstring): Escape newlines when printing.
2967 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
2970 2016-05-10 Dmitry Gutov <dgutov@yandex.ru>
2972 Don't treat JS spread as contination method call
2974 * lisp/progmodes/js.el (js--indent-operator-re):
2975 Allow only one dot (bug#23492).
2977 * test/indent/js.js (default): Add a corresponding example.
2979 2016-05-09 Dmitry Gutov <dgutov@yandex.ru>
2981 Allow newlines inside cl function arglists
2983 * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
2984 ARGLIST (bug#21839).
2986 2016-05-09 Dmitry Gutov <dgutov@yandex.ru>
2988 Publicize cl--generic-all-functions
2990 * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
2991 Rename from cl--generic-all-functions. Update both callers.
2993 * lisp/cedet/semantic/db-el.el
2994 (semanticdb-find-tags-external-children-of-type-method):
2995 And use it here (bug#23042).
2997 2016-05-09 Alan Mackenzie <acm@muc.de>
2999 Add some "safe-local-variable" declarations for compatibility with master.
3001 These enable C files from the master repository to be visited in Emacs 25
3002 without generating irritating questions about configuration variable safety.
3004 * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
3006 (c-noise-macro-names, c-noise-macro-with-parens-names): give the
3007 safe-local-variable property c-string-list-p.
3008 (c-macro-names-with-semicolon): give the safe-local-variable property
3009 c-string-or-string-list-p.
3011 2016-05-09 Lars Ingebrigtsen <larsi@gnus.org>
3013 Fix doc string in `insert'
3015 * src/editfns.c (Finsert_and_inherit): The before-insertion
3016 markers do not move.
3019 2016-05-08 Paul Eggert <eggert@cs.ucla.edu>
3021 * doc/misc/emacs-mime.texi (time-date): Document now-builtins better.
3023 2016-05-07 Dmitry Gutov <dgutov@yandex.ru>
3025 Say 'All results processed' at the end
3027 * lisp/progmodes/xref.el (xref--query-replace-1):
3028 Say 'All results processed' at the end if the user hadn't
3029 cancelled the process (bug#23284).
3031 2016-05-07 Eli Zaretskii <eliz@gnu.org>
3033 Document automatic adjustment of process' logical window dimensions
3035 * doc/lispref/processes.texi (Process Buffers): Document
3036 'set-process-window-size' and
3037 'window-adjust-process-window-size-function'.
3039 * etc/NEWS: Mention the new functionality and variable.
3041 * src/process.c (Fset_process_window_size): Improve the doc string.
3043 2016-05-06 Michael Albinus <michael.albinus@gmx.de>
3045 tramp-sh.el: Work around a stat bug (backport from master)
3047 * lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
3048 stat versions which produce shell quoted output. See also
3049 coreutils Bug#23422.
3051 (cherry picked from commit 6aad36ace9953b9672b13be68416d205532d5e59)
3053 2016-05-05 Paul Eggert <eggert@cs.ucla.edu>
3055 Doc fixes for fclist and grep
3057 A newline is needed between two fc-list calls.
3058 egrep and fgrep have been withdrawn from POSIX,
3059 so document grep -E and grep -F instead.
3061 2016-05-05 Paul Eggert <eggert@cs.ucla.edu>
3063 Minor doc fixes for quoting
3065 * doc/lispref/control.texi (Signaling Errors):
3066 * doc/lispref/display.texi (Displaying Messages):
3067 Don’t say that formats “generate”. Try to word more clearly.
3068 * etc/NEWS: Coalesce near-duplicate entries.
3070 2016-05-05 Dmitry Gutov <dgutov@yandex.ru>
3072 `nreverse' the marker pairs list
3074 * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
3075 the marker pairs list for each buffer before returning.
3077 2016-05-04 Dmitry Gutov <dgutov@yandex.ru>
3079 Use save-excursion in xref-location-marker more
3081 * lisp/progmodes/elisp-mode.el (xref-location-marker): Use
3082 save-excursion, in order not to alter the value of point if the
3083 buffer is currently open in the background (problem reported by
3086 * lisp/progmodes/etags.el (xref-location-marker): Same.
3088 2016-05-04 Dmitry Gutov <dgutov@yandex.ru>
3090 shell-quote-argument DIR when appropriate
3092 * lisp/progmodes/project.el (project-file-completion-table):
3093 `shell-quote-argument' DIR as well.
3095 * lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
3096 `shell-quote-argument' (bug#23453). Thanks for Kaushal Modi for
3097 pointing out the problem. Assert that DIR doesn't start with `~'.
3099 2016-05-04 Dmitry Gutov <dgutov@yandex.ru>
3101 Rework xref-query-replace-in-results
3103 * lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
3104 all xrefs from the buffer first, then delegate most of the
3105 processing to the value returned by xref--buf-pairs-iterator.
3106 (xref--buf-pairs-iterator): New function. Return an "iterator"
3107 which partitions returned markers into buffers, and only processes
3108 markers from one buffer at a time. When an xref is out of date,
3109 skip it with a message instead of signaling error (bug#23284).
3110 (xref--outdated-p): Extract from xref--buf-pairs-iterator. Trim
3111 CR from both strings before comparing.
3112 (xref--query-replace-1): Remove the variable current-buf, no need
3113 to track it anymore. Simplify the filter-predicate and search
3114 functions accordingly. Iterate over buffer-markers pairs returned
3115 by the iterator, and call `perform-replace' for each of them. Use
3116 multi-query-replace-map (bug#23284). Use `switch-to-buffer' every
3117 time after the first, in order not to jump between windows.
3119 * test/automated/xref-tests.el
3120 (xref--buf-pairs-iterator-groups-markers-by-buffers-1)
3121 (xref--buf-pairs-iterator-groups-markers-by-buffers-2)
3122 (xref--buf-pairs-iterator-cleans-up-markers): New tests.
3124 2016-05-04 Juri Linkov <juri@linkov.net>
3126 * lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook
3128 to set minibuffer-local value of text-property-default-nonsticky.
3129 (Bug#23418, bug#23127)
3131 2016-05-04 Stephen Berman <stephen.berman@gmx.net>
3133 Fix todo-mode bug involving archived items (bug#23447)
3135 * lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
3136 from Todo Categories mode to a category with only archived items
3137 and todo-skip-archived-categories is non-nil, make sure the
3138 archive file buffer is in Todo Archive mode to prevent
3139 todo-category-select from raising an error, and don't set
3140 todo-current-todo-file, since that makes todo-show display the
3141 archived category. Remove a no-op call to kill-buffer, which is
3142 already called in todo-insert-category-line.
3144 2016-05-03 Dmitry Gutov <dgutov@yandex.ru>
3146 Handle "empty line" regexp in xref searches
3148 * lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
3149 match if re-search-forward doesn't move point (bug#23426).
3151 * test/automated/xref-tests.el
3152 (xref-collect-matches-finds-an-empty-line-regexp-match):
3155 2016-05-03 Dmitry Gutov <dgutov@yandex.ru>
3157 Add tests for xref-collect-matches
3159 * test/automated/xref-tests.el: New file. Add tests for
3160 xref-collect-matches.
3162 2016-05-03 Dmitry Gutov <dgutov@yandex.ru>
3164 Use grep-find-ignored-directories instead of vc-directory-exclusion-list
3166 * lisp/dired-aux.el (dired-do-find-regexp):
3167 Use grep-find-ignored-directories instead of
3168 vc-directory-exclusion-list. The result should be functionally
3169 similar (the former uses the latter as the default value), but it
3170 should be more consistent and appropriate WRT user
3172 (dired-do-find-regexp-and-replace): Update the docstring.
3174 * lisp/dired.el: Update the corresponding autoloads.
3176 * doc/emacs/dired.texi (Operating on Files): Update the
3177 documentation accordingly.
3179 2016-05-03 Dmitry Gutov <dgutov@yandex.ru>
3181 Clear buffer-undo-list when showing xrefs
3183 * lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
3184 buffer-undo-list and temporarily bind it to t while rendering the
3187 2016-05-03 Alan Mackenzie <acm@muc.de>
3189 Note the quote translation in `message' in section "incompatible changes".
3191 * etc/NEWS: Note that `message' translates quotes, that the translation
3192 cannot be disabled, and that `format' can be used to get the old
3195 2016-05-03 Paul Eggert <eggert@cs.ucla.edu>
3197 * etc/NEWS: Mention (message "%s" (format ...)).
3199 2016-05-03 Lars Ingebrigtsen <larsi@gnus.org>
3201 (Common Keywords): Correct what missing :group means
3203 * doc/lispref/customize.texi (Common Keywords): Correct what
3204 missing :group means.
3206 2016-05-03 Eli Zaretskii <eliz@gnu.org>
3208 Improve documentation of Dired's 'A' and 'Q' commands
3210 * lisp/dired-aux.el (dired-do-find-regexp)
3211 (dired-do-find-regexp-and-replace): Mention
3212 'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
3213 also the fact that REGEXP should be palatable by Grep. (Bug#23426)
3214 * lisp/dired.el: Update the corresponding autoload forms.
3216 * doc/emacs/dired.texi (Operating on Files): Mention
3217 'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
3220 2016-05-03 Paul Eggert <eggert@cs.ucla.edu>
3222 Doc fixes for quoting
3224 * doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
3225 * doc/lispref/control.texi, doc/lispref/display.texi:
3226 * doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
3227 * src/callint.c, src/doprnt.c, src/editfns.c:
3228 Document quoting a bit more systematically.
3229 Problem reported by Alan Mackenzie (Bug#23425).
3231 2016-05-02 Lars Ingebrigtsen <larsi@gnus.org>
3233 posnp doc clarification
3235 * lisp/subr.el (posnp): Mention that a posn object is returned
3236 from `event-start' (bug#18211).
3238 2016-05-02 Lars Ingebrigtsen <larsi@gnus.org>
3240 Mention what a missing :group does
3242 * doc/lispref/customize.texi (Common Keywords): Document that
3243 a missing :group reuses the group from the preceding item (bug#21601).
3245 2016-05-02 Eli Zaretskii <eliz@gnu.org>
3247 Fix documentation of dired-aux search/replace commands
3249 * lisp/dired-aux.el (dired-do-find-regexp)
3250 (dired-do-find-regexp-and-replace): Doc fixes. (Bug#23429)
3251 * lisp/dired.el: Update the corresponding autoload forms.
3253 2016-05-02 Paul Eggert <eggert@cs.ucla.edu>
3255 Fix quoting problem in cc-engine debug message
3257 * lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
3258 Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
3259 likewise for ‘`’, and ‘%’.
3261 2016-05-02 Philipp Stephani <phst@google.com>
3263 Add electric-quote-string unit test
3265 * test/automated/electric-tests.el (electric-quote-string): New test.
3267 2016-05-02 Paul Eggert <eggert@cs.ucla.edu>
3269 Don’t electrically quote ‘'’ in Python
3271 Problem reported by Philipp Stephani (Bug#23387).
3272 * lisp/electric.el (electric-quote-post-self-insert-function):
3273 Do not requote a string starter or ender.
3275 2016-05-02 Dmitry Gutov <dgutov@yandex.ru>
3277 `nreverse' Grep hits before passing them to xref--convert-hits
3279 * lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
3280 before passing them to xref--convert-hits. Fixes a regression
3283 2016-05-01 Paul Eggert <eggert@cs.ucla.edu>
3285 * doc/misc/texinfo.tex: Sync from gnulib.
3287 2016-05-01 Juri Linkov <juri@linkov.net>
3289 * lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.
3293 2016-05-01 Michael Albinus <michael.albinus@gmx.de>
3295 tramp.texi: Revert last change due to backward compatibility
3297 (cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)
3299 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3301 cua-prefix-override-inhibit-delay doc fix
3303 * lisp/emulation/cua-base.el
3304 (cua-prefix-override-inhibit-delay): Typo fix in doc string
3307 (cherry picked from commit 2b4c099822811ede787fc6e575bfbb17b3cc0681)
3309 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3311 global-eldoc-mode doc fix
3313 * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
3314 specific about what "applicable" means (bug#23071).
3316 (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
3318 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3320 normal-top-level-add-subdirs-to-load-path doc fix
3322 * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
3323 Doc fix (bug#21962).
3325 (cherry picked from commit 28aaa6d20586e3330a23b017a65e56dd6461c003)
3327 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3329 isearch-search-fun-function doc tweak
3331 * lisp/isearch.el (isearch-search-fun-function): Mention what
3332 the STRING parameter is (bug#21552).
3334 (cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a)
3336 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3338 Fill some imenu--index-alist doc lines
3340 * lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
3342 (cherry picked from commit 4b7bb8f596550628eaa83b82c0f7eabe59a84964)
3344 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3346 Fmarker_position doc string clarification
3348 * src/marker.c (Fmarker_position): Clarify the doc string
3351 (cherry picked from commit eeac7c57273cec3f9408b18392dd2bafe3be4450)
3353 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3355 Further define-obsolete-* doc fixups
3357 * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
3359 (define-obsolete-variable-alias): Ditto.
3361 (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
3363 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3365 Describe WHEN in all the define-obsolete- macros
3367 * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
3368 Say more verbosely what WHEN is (bug#21225).
3369 (define-obsolete-function-alias): Describe the WHEN parameter.
3370 (define-obsolete-variable-alias): Ditto.
3372 (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
3374 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3376 Mention with-silent-modifications in the lispref manual
3378 * doc/lispref/text.texi (Changing Properties): Document
3379 with-silent-modifications (bug#21171).
3381 (cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
3383 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3385 with-silent-modifications doc clarification
3387 * lisp/subr.el (with-silent-modifications): Rearrange the doc
3388 string a bit so that the most pertinent information is at the
3391 (cherry picked from commit e0e70f030e69d9696a963a86f5f7caaff4df06eb)
3393 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3395 clear-visited-file-modtime doc string fix
3397 * lisp/files.el (clear-visited-file-modtime): Fix possibly
3398 confusing doc string wording (bug#21169).
3400 (cherry picked from commit 1aaeaf1450756a71c9254a2a5b174c72084ca67a)
3402 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3404 Document mode mode line variables
3406 * doc/lispref/modes.texi (Mode Line Variables): Document
3407 `mode-line-front-space, `mode-line-misc-info',
3408 `mode-line-end-spaces' (bug#21014).
3410 (cherry picked from commit bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)
3412 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3414 Add a cross ref to Optional Mode Line
3416 * doc/lispref/modes.texi (Mode Line Variables): Add a cross
3417 reference to the Emacs mode line node that explains things
3418 like `display-time-string' (bug#21002).
3420 (cherry picked from commit a3151a28789f413af73b14fbba557b2a587fca53)
3422 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3424 Add a doc string to display-time-string
3426 * lisp/time.el: Add a doc string to `display-time-string',
3427 because it's referred to in the manual, and is too mysterious
3428 otherwise (bug#21002).
3430 (cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)
3432 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3434 custom-buffer-style doc fix
3436 * lisp/cus-edit.el (custom-buffer-style): Document the `tree'
3439 (cherry picked from commit bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)
3441 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3443 Rearrange the doc of query-replace slightly
3445 * lisp/replace.el (query-replace): Move the mention of the
3446 interactive prefix arg earlier so that users can find it
3449 (cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)
3451 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3453 apropos-print doc fix
3455 * lisp/apropos.el (apropos-print): Document the undocumented
3456 parameters (bug#20520).
3458 (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
3460 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3462 completion-table-with-predicate doc string fix
3464 * lisp/minibuffer.el (completion-table-with-predicate): t ->
3465 non-nil in the doc string (bug#20460).
3467 (cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)
3469 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3471 Fill the completion-table-with-predicate doc string
3473 * lisp/minibuffer.el (completion-table-with-predicate): Fill
3474 the doc string (bug#20460).
3476 (cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)
3478 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3480 replace-match-maybe-edit doc clarification
3482 * lisp/replace.el (replace-match-maybe-edit): Say what
3483 MATCH-DATA is (bug#20304).
3485 (cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
3487 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3491 * lisp/emacs-lisp/timer.el (add-timeout): Mention the return
3494 (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
3496 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3498 Extremely minor doc fix in Choosing Window
3500 * doc/lispref/windows.texi (Choosing Window): There's only one
3501 action alist, I think (bug#20158).
3503 (cherry picked from commit 6c7e7f421d02d9290d6d1d85320737371160aef7)
3505 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3507 Transform mentions of `eval-after-load' to `with-eval-after-load'
3509 * doc/lispref/loading.texi (Hooks for Loading): Update text to
3510 not mention `eval-after-load' (bug#20038).
3512 (cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)
3514 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3518 * src/buffer.c (syms_of_buffer): Mention that cursor-type's
3519 WIDHT/HEIGHT can't exceed the frame char size (bug#19215).
3521 (cherry picked from commit 77c5f4554ebb3b7c7d49bc881e45a550f6c93987)
3523 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3525 Add a link from Tool Bar to Images
3527 * doc/lispref/keymaps.texi (Tool Bar): Add a link to the
3528 Images node (bug#19722).
3530 (cherry picked from commit da5d0786163a91400eced4fddba4a92b652458d1)
3532 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3534 (default-mode-line-format): More explicit obsolete info
3536 * lisp/subr.el (default-mode-line-format): Be more explicit in
3537 how default values are now handled (bug#19424).
3539 (cherry picked from commit 9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)
3541 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3543 Fcompare_buffer_substrings doc string clarification
3545 * src/editfns.c (Fcompare_buffer_substrings): Extremely minor
3546 doc string clarification (bug#19255).
3548 (cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
3550 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3552 insert-file-contents-literally doc fix
3554 * lisp/files.el (insert-file-contents-literally): Say that the
3555 parameters are explained in the other function (bug#18317).
3557 (cherry picked from commit b6481b19bc9592492b1f70dfecb4de6256f537fe)
3559 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3561 Fix custom types for cursor-in-non-selected-windows
3563 * lisp/cus-start.el (standard): Use the same custom types for
3564 cursor-in-non-selected-windows as for cursor-type (bug#19214).
3566 (cherry picked from commit b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)
3568 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3570 Doc clarification to mwheel-scroll
3572 * lisp/mwheel.el (mwheel-scroll): Mention that the restriction
3573 does not apply to Windows (bug#19209).
3575 (cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
3577 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3579 Clarify the doc of eval-expression-print-format
3581 * lisp/simple.el (eval-expression-print-format): Doc
3582 clarification (bug#19114).
3584 (cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)
3586 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3588 Explictly explain that package-initialize loads the packages
3590 * lisp/emacs-lisp/package.el (package-initialize): Be explicit
3591 in saying that `package-initialize' obviates adjusting the
3592 path or requiring the packages, as this is a question that
3593 apparently comes up now and then (bug#18829).
3595 (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
3597 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3599 Have the doc strings of `load-path' and `require' mention each other
3601 * src/fns.c (Frequire): Mention `load-path' and fill the doc
3604 * src/lread.c (syms_of_lread): Mention that `require' uses
3607 (cherry picked from commit 3eca9a03816f95da0030665223c0b5262f223ba7)
3609 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3611 Doc fix for insert-pair-alist
3613 * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
3614 COMMAND-CHAR is (bug#18809).
3616 (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
3618 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3620 Move doc of backup-directory-alist to the Backup node
3622 * doc/emacs/files.texi (Backup): Move the documentation of
3623 `backup-directory-alist' here from the "Single or Numbered
3624 Backups" node, because it doesn't seem to have much to do with
3625 numbering (bug#18692).
3627 (cherry picked from commit e77b8d84b4161f2cf8720dec2bf44a3e50134398)
3629 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3631 Tiny doc clarification for create-fontset-from-fontset-spec
3633 * lisp/international/fontset.el (create-fontset-from-fontset-spec):
3634 Clarify what the optional part is (bug#18686).
3636 (cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
3638 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3640 Fill the doc string of font-lock-keywords
3642 * lisp/font-lock.el (font-lock-keywords): Fill the lines and
3643 reorganise some explanations (bug#21427).
3645 (cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
3647 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3649 Doc fix for font-lock-remove-keywords
3651 * lisp/font-lock.el (font-lock-remove-keywords): Add a link to
3652 `font-lock-add-keywords' to describe KEYWORDS (bug#18634).
3654 (cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)
3656 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3658 Clarify whitespace-style doc string
3660 * lisp/whitespace.el (whitespace-style): Doc clarification
3663 (cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
3665 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3667 Doc fixed for next-error-buffer-p
3669 * lisp/simple.el (next-error-buffer-p): Clarify doc string
3672 (cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
3674 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3678 * src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
3679 (and fill) (bug#18201).
3681 (cherry picked from commit 2ef0040e2363a669d9b93df935d31c98fa130132)
3683 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3687 * src/keymap.c (Fdefine_prefix_command): Clarify doc string
3688 slightly (bug#18092).
3690 (cherry picked from commit 6b769c81d024f7eeb90b167e7df6f87d859614d4)
3692 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3694 delsel doc touch ups
3696 * lisp/delsel.el (delete-selection-helper): Use non-nil
3697 instead of t and clarify function return values (bug#18089).
3699 (cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
3701 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3703 Doc fixes for menu-bar.el
3705 * lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
3706 REGION parameter (bug#18028).
3707 (clipboard-kill-region): Ditto.
3709 (cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
3711 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3715 * lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
3717 (cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
3719 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3721 Minor doc clarification
3723 * lisp/subr.el (y-or-n-p): Document the return value from "n"
3726 (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
3728 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3730 Fill font-lock-mode doc string
3732 * lisp/font-core.el (font-lock-mode): Fill the text to make it
3733 narrower (bug#18008).
3735 (cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
3737 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3739 Wrap the auto-generated doc string
3741 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
3742 string to make it less likely that we get overlong lines
3745 (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
3747 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3749 Clarify hi-lock-find-patterns
3751 * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
3754 (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
3756 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3758 Add a doc string to `winner-mode'
3760 * lisp/winner.el (winner-mode): Add a doc string based on the
3761 comments in the file (bug#17716).
3763 (cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
3765 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3767 Doc fix for align-newline-and-indent
3769 * lisp/align.el (align-newline-and-indent): Mention that
3770 alignment is done by `align' (bug#17707).
3772 (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
3774 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3778 * lisp/subr.el (kbd): Describe more fully the format of the
3779 parameter (bug#17039).
3781 (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
3783 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3787 * lisp/simple.el (use-empty-active-region): Doc tweak.
3788 There's only one region (bug#16513).
3790 (cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
3792 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3794 Link from (emacs)Exiting to (lisp)Killing Emacs
3796 * doc/emacs/entering.texi (Exiting): Link to the lispref
3797 manual for further customisations (bug#15445).
3799 (cherry picked from commit bc5f27aa099cdde02ca66e71501b89300685ab28)
3801 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3803 find-lisp doc touchups
3805 * lisp/find-lisp.el (find-lisp-format): Copy over the doc
3807 (find-lisp-find-files): Clarify doc.
3809 (cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
3811 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3813 Don't have the manual claim that it lists all CL incompatibilities
3815 * doc/misc/cl.texi (Common Lisp Compatibility): The list of
3816 incompatibilities isn't exhaustive, so don't say that it is
3819 (cherry picked from commit fb685bc91a72508c97ce7e30f970d4157677f371)
3821 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3823 Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
3825 * doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
3826 "mouse-[0-9]". These are case sensitive, and the keys are lower case
3829 (cherry picked from commit e4c26271f2c2fe08f8490e25c63a436ab2a804ca)
3831 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3833 Doc string change to enable-recursive-minibuffers
3835 * src/minibuf.c (syms_of_minibuf): Mention
3836 minibuffer-depth-indicator-mode in the doc string to
3837 enable-recursive-minibuffers (bug#14147).
3839 (cherry picked from commit 23ba488a5e8290c4de91e0ff4161641efa364c0d)
3841 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3843 Clarify the `interactive' doc string slightly
3845 * src/callint.c (Finteractive): Clarify the doc string slightly
3848 (cherry picked from commit cd993be60da2d12db0d390001373d486c1091c47)
3850 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3852 Clarify some doc strings
3854 * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3855 Clarify doc string (bug#8693).
3856 (syntax-propertize): Clarify doc string.
3858 (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
3860 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3862 Add some concept index entries for custom types
3864 * doc/lispref/customize.texi (Composite Types): Add concept
3865 index entries for restricted-sexp, radio and choice (bug#7385).
3867 (cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)
3869 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3871 Mention `lisp-indent-function' in the lispref manual
3873 * doc/lispref/macros.texi (Indenting Macros): Mention
3874 `lisp-indent-function' (bug#3393).
3876 (cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)
3878 2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
3880 Clarify doc string of internal compilation function
3882 * lisp/progmodes/compile.el (compilation-get-file-structure):
3883 Clarify doc string (bug#3137).
3885 (cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
3887 2016-05-01 Paul Eggert <eggert@cs.ucla.edu>
3889 Use ‘T *restrict’ proto, not ‘T[restrict]’
3891 * src/fns.c (sort_vector_copy): Use a different way to attempt to
3892 work around GCC 3.0-and-earlier incompatibility with C99, one that
3893 does not have problems with modern non-GCC compilers.
3895 2016-05-01 Eli Zaretskii <eliz@gnu.org>
3897 Fix documentation of 'url-retrieve-synchronously'
3899 * doc/misc/url.texi (Retrieving URLs): Update argument list of
3900 'url-retrieve-synchronously'. (Bug#23411)
3902 2016-05-01 Eli Zaretskii <eliz@gnu.org>
3904 * lisp/url/url.el (url-retrieve-synchronously): Doc fix. (Bug#23411)
3906 2016-04-30 Leo Liu <sdl.web@gmail.com>
3908 Fix last change to isearch-update (bug#23406)
3910 * lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
3911 nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
3914 2016-04-30 Leo Liu <sdl.web@gmail.com>
3916 Autoload cursor-sensor-inhibit (bug#23406)
3918 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
3919 * lisp/isearch.el (isearch-update): Remove boundp check.
3921 2016-04-30 Phillip Lord <phillip.lord@newcastle.ac.uk>
3923 org-map-entries: Fix org-agenda-prepare-buffers call
3925 * lisp/org/org.el (org-map-entries): Check that buffer-file-name is non-nil
3926 before passing to org-agenda-prepare-buffers.
3928 This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
3929 from upstream org-mode. Addresses bug #23365.
3931 2016-04-30 Eli Zaretskii <eliz@gnu.org>
3933 Followup for last commit in the user manual
3935 * doc/emacs/basic.texi (Moving Point): Clarify that
3936 set-goal-column has buffer-local effect. (Bug#23405)
3938 2016-04-30 Eli Zaretskii <eliz@gnu.org>
3940 Improve doc string of 'set-goal-column'
3942 * lisp/simple.el (set-goal-column): Doc fix. (Bug#23405)
3944 2016-04-30 Eli Zaretskii <eliz@gnu.org>
3949 * msdos/sedlisp.inp:
3950 * msdos/sedlibmk.inp:
3951 * msdos/sedleim.inp:
3952 * msdos/sedadmin.inp:
3956 * msdos/sed1v2.inp: Adapt to Emacs 25.
3958 * src/process.c (remove_slash_colon): Move out of "#ifdef
3959 subprocesses" block, as it its called unconditionally. Move
3960 ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
3961 reference variables only defined in that block.
3962 * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
3963 faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
3964 dos_keysns, dos_keyread, run_msdos_command, and
3965 syms_of_win16select, to avoid compiler warnings.
3966 * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
3967 'environ', depending on the DJGPP version.
3968 Remove declarations of externally-visible Lisp objects, like
3969 Qbackground_color and Qreverse.
3970 (run_msdos_command): First argument is not signed, not unsigned.
3972 (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
3973 the latter doesn't work when 'time_t' is an unsigned data type.
3974 This caused idle timers to behave incorrectly: they only fired
3975 after a keyboard input event.
3976 * src/frame.c (adjust_frame_size) [MSDOS]: Account for
3977 FRAME_TOP_MARGIN that isn't counted in the frame's number of
3978 lines, but dos_set_window_size needs it to be added.
3979 * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
3980 * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
3981 that works around compilation errors with older GCC versions.
3982 * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
3984 * src/filelock.c [MSDOS]: Ifdef away most of the code. Provide
3985 no-op implementations for 'lock_file' and 'unlock_file'.
3986 (Ffile_locked_p) [MSDOS]: Always return nil. This avoids multiple
3987 ifdefs in all users of filelock.c functionality.
3988 * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
3989 * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
3991 * src/dosfns.h: Provide prototypes for dos_cleanup,
3992 syms_of_dosfns, and init_dosfns.
3993 * src/deps.mk (atimer.o): Depend on msdos.h.
3994 (emacs.o): Depend on dosfns.h.
3995 * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
3998 * lisp/window.el (window--adjust-process-windows): Skip the body
3999 if 'process-list' is not available. This avoids failure to start
4001 * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
4002 'start-process', as the latter is now available on all platforms.
4003 * lisp/textmodes/ispell.el (ispell-async-processp): Replace
4004 'start-process' with 'make-process' in a comment.
4005 * lisp/term/internal.el (IT-unicode-translations): Modify and add
4006 a few translations to display Info files with Unicode markup. Fix
4007 an ancient off-by-one mismatch error with Unicode codepoints.
4008 * lisp/progmodes/compile.el (compilation-start): Test
4009 'make-process', not 'start-process', as the latter is now
4010 available on all platforms.
4011 * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
4012 Test 'make-process', not 'start-process', as the latter is now
4013 available on all platforms.
4014 * lisp/international/mule-cmds.el (set-coding-system-map): Test
4015 'make-process', not 'start-process', as the latter is now
4016 available on all platforms.
4017 * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
4019 (eshell-execute-pipeline): Test 'make-process', not
4020 'start-process', as the latter is now available on all platforms.
4022 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
4024 Remove \= from format string (bug#18190)
4026 * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
4029 2016-04-30 Eli Zaretskii <eliz@gnu.org>
4031 Fix variable-pitch font on MS-Windows
4033 * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
4034 explicitly, to avoid Emacs picking up a bold-italic variant on
4035 some MS-Windows systems. See this thread for details:
4036 http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
4038 2016-04-29 Alan Mackenzie <acm@muc.de>
4040 Restore follow-scroll-up/down to scrolling by the combined size of all windows
4042 Also rename the current follow-scroll-up/down functions to
4043 follow-scroll-up-window and follow-scroll-down-window. These scroll by the
4044 height of the current window.
4046 This fixes bug #23347.
4048 * lisp/follow.el (follow-mode): Tweak the doc string.
4049 (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
4050 follow-scroll-up/down.
4051 (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
4052 follow-scroll-up/down.
4053 (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
4055 2016-04-29 Alan Mackenzie <acm@muc.de>
4057 Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
4059 * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
4060 c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
4061 regardless of the value of `here'.
4063 2016-04-29 Alan Mackenzie <acm@muc.de>
4065 Correct indentation of ids in a C++ enum after a protection keyword.
4067 Also correct the misfontification of the last enum identifier.
4069 * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
4070 c-last-identifier-range to nil to ensure that only types recognized by this
4071 macro are set for fontification as types.
4072 (c-backward-typed-enum-colon): Function renamed from
4073 c-backward-colon-prefixed-type. On finding a colon in the backward search,
4074 check it is preceded by an identifier rather than a keyword.
4076 2016-04-27 Glenn Morris <rgm@gnu.org>
4078 * lisp/window.el (window--process-window-list): No-op if no processes.
4080 This avoids an issue with save-selected-window (from walk-windows)
4081 failing if frame.el is not loaded, eg if the terminal is resized
4082 during startup of a -nw CANNOT_DUMP build. (Bug#23369).
4084 2016-04-27 Paul Eggert <eggert@penguin.cs.ucla.edu>
4086 Port dumping to NetBSD with PaX
4088 Problem reported by Thomas Klausner (Bug#23371).
4089 * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
4090 Set them to setfattr and/or paxctl commands appropriate for
4091 GNU/Linux and/or NetBSD; the latter prefers paxctl +a. Search
4092 for paxctl only if setfattr is not found.
4093 * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
4094 New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
4097 2016-04-27 Dmitry Gutov <dgutov@yandex.ru>
4099 Don't mistake `for' inside a function for a part of array comprehension
4101 * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
4102 depth in parens between the bracket and `for' (bug#23391).
4104 * test/indent/js.js: Add a corresponding example.
4106 2016-04-27 Anders Lindgren <andlind@gmail.com>
4108 Fix bug#22891: wrong terminal width when a fringe width is zero.
4110 When either fringe width is zero, Emacs reserved one column for a
4111 continuation glyph. Terminal windows does not take this into
4112 account when the frame is resized.
4114 * lisp/window.el (window-adjust-process-window-size): Use
4115 `window-max-chars-per-line' instead of `window-body-width'.
4116 * lisp/term.el (term-window-width): Remove function. (It does the
4117 same as `window-max-chars-per-line' but without recent bug fixes.)
4118 (term-mode): Use `window-max-chars-per-line' instead of
4119 `term-window-width'.
4123 (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
4125 2016-04-27 Leo Liu <sdl.web@gmail.com>
4127 Improve last change to vc-git-mode-line-string
4129 * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
4132 2016-04-27 Stephen Berman <stephen.berman@gmx.net>
4134 Todo mode doc bug fix
4136 * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
4137 longer correct information in doc string.
4139 2016-04-27 Leo Liu <sdl.web@gmail.com>
4141 Fix revision calculation in vc-git-mode-line-string
4143 * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
4144 vc-git-working-revision because vc-working-revision needs to decide
4145 the backend and may return nil.
4147 2016-04-26 Jorgen Schaefer <contact@jorgenschaefer.de>
4149 Add Python 3.5 keyword "await"
4151 * lisp/progmodes/python.el (python-font-lock-keywords): Add await as
4154 2016-04-26 Lele Gaifax <lele@metapensiero.it>
4156 Add new keywords of Python 3.5
4158 Python 3.5, released in mid September 2015, introduced a few new
4159 keywords to better support asynchronous code, "async" and "await"
4160 in particular. See https://www.python.org/dev/peps/pep-0492/ for
4161 details. (Bug#21783)
4162 * lisp/progmodes/python.el (python-rx-constituents): Add async
4163 def/for/with as block-start and async def as defun.
4164 * lisp/progmodes/python.el (python-font-lock-keywords): Add async
4165 def/for/with as keyword.
4166 * test/automated/python-tests.el (python-indent-after-async-block-1,
4167 python-indent-after-async-block-2, python-indent-after-async-block-3,
4168 python-nav-beginning-of-defun-3): New tests to test indentation and
4169 navigation for the async keyword.
4171 2016-04-26 Mark Oteiza <mvoteiza@udel.edu>
4173 Partially revert previous change.
4175 This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
4176 * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
4177 This function is for rectangle-mark-mode, not string-rectangle.
4179 2016-04-25 Paul Eggert <eggert@penguin.cs.ucla.edu>
4181 Say why text-quoting-style is not a user option
4183 * doc/lispref/help.texi (Keys in Documentation):
4184 * etc/NEWS: Document why text-quoting-style is not a
4185 customizable variable (Bug#23372).
4187 2016-04-25 Glenn Morris <rgm@gnu.org>
4189 * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
4190 Future-proof against non-time-values.
4192 2016-04-25 Eli Zaretskii <eliz@gnu.org>
4194 Don't mention ~/.emacs.bmk literally in doc strings
4196 * lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
4197 mention "~/.emacs.bmk" explicitly as the default bookmark file in
4198 the doc strings. (Bug#23350)
4200 2016-04-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4202 * etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.
4204 2016-04-24 Paul Eggert <eggert@cs.ucla.edu>
4206 Port to Ubuntu 16.04 --enable-gcc-warnings
4208 * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
4210 2016-04-24 Paul Eggert <eggert@cs.ucla.edu>
4212 * etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
4214 2016-04-24 Tino Calancha <f92capac@gmail.com>
4216 Don't kill ~/ if it's the top level directory
4218 * lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
4219 the top level directory (bug#23017).
4221 2016-04-23 Tino Calancha <f92capac@gmail.com> (tiny change)
4223 describe-char: fix insert char documentation
4225 * lisp/descr-text.el (describe-char):
4226 Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
4228 2016-04-23 Dmitry Gutov <dgutov@yandex.ru>
4230 (vc-git-mode-line-string): Don't use `replace-regexp-in-string'
4232 * lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
4233 instead of `replace-regexp-in-string', because REV can be nil
4234 (e.g. when FILE is a directory, bug#23344), and we actually know
4235 we only need the first 4 characters.
4237 2016-04-22 Nicolas Petton <nicolas@petton.fr>
4239 Bump version to 25.0.93
4243 * msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
4245 2016-04-22 Nicolas Petton <nicolas@petton.fr>
4247 * etc/AUTHORS: Update the AUTHORS file
4249 * admin/update_autogen: Use #!/usr/bin/env bash
4251 * admin/authors.el (authors-ignored-files): Additions.
4253 2016-04-22 Martin Rudalics <rudalics@gmx.at>
4255 In x_set_window_size restore do_pending_window_change calls
4257 * src/xterm.c (x_set_window_size):
4258 * src/w32term.c (x_set_window_size): Restore
4259 do_pending_window_change calls after their stupid removal on
4262 2016-04-21 Ilya Zakharevich <ilya@math.berkeley.edu>
4264 Fix Alt-modified keys on some European MS-Windows keyboards
4266 * src/w32fns.c (deliver_wm_chars): If the reported character is
4267 ASCII, AND Meta modifier is a candidate, behave as if Meta is
4268 present, i.e. fall back to the legacy code. (Bug#23251)
4270 2016-04-20 Eli Zaretskii <eliz@gnu.org>
4272 Document 'help-go-forward'
4274 * doc/emacs/help.texi (Help Mode): Document and index
4275 'help-go-forward'. (Bug#23323)
4277 2016-04-20 Eli Zaretskii <eliz@gnu.org>
4279 Revert "Allow to customize names of executables used by grep.el"
4281 This reverts commit c93ae7a1e5a94541189a8f36984014344d561ffc.
4283 2016-04-20 Eli Zaretskii <eliz@gnu.org>
4285 Revert "Don't use 'find-program'"
4287 This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0.
4289 2016-04-20 Eli Zaretskii <eliz@gnu.org>
4291 Revert "Use 'grep-find-program' in check-declare.el"
4293 This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
4295 2016-04-20 Eli Zaretskii <eliz@gnu.org>
4297 Clarify documentation of 'dired-mark-files-containing-regexp'
4299 * doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
4300 visited in buffers, 'dired-mark-files-containing-regexp' searches
4301 the buffer rather than the file on disk. (Bug#22694)
4303 * lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
4304 for files visited in buffers, 'dired-mark-files-containing-regexp'
4305 searches the buffer rather than the file on disk. (Bug#22694)
4307 2016-04-19 Eli Zaretskii <eliz@gnu.org>
4309 Make tmm-menubar work in correct order again
4311 * lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
4312 beginning; instead, pass a reversed copy to 'tmm--completion-table'.
4314 (tmm-menubar): Fix an off-by-one error in determining the menu
4315 item when the function is called with a non-nil 'x-position'
4318 2016-04-18 Dmitry Gutov <dgutov@yandex.ru>
4320 Remove the Meta-CVS VC backend
4322 * lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).
4324 * lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
4327 * doc/misc/efaq-w32.texi (Version control): Same.
4329 2016-04-18 Michael Albinus <michael.albinus@gmx.de>
4333 * lisp/autorevert.el (auto-revert-handler): Ignore errors
4334 coming from `revert-buffer'. (Bug#23276)
4336 2016-04-17 Reto Zimmermann <reto@gnu.org>
4338 Sync with upstream vhdl mode v3.38.1.
4340 * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4341 (vhdl-mode): No longer set comment-padding.
4342 (vhdl-begin-p): Handle missing space between keyword and parenthesis.
4343 (vhdl-beginning-of-statement-1): Fix indentation for "else generate".
4344 (vhdl-template-else, vhdl-template-elsif): Support generate statement.
4345 (vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
4347 2016-04-16 Paul Eggert <eggert@cs.ucla.edu>
4349 Tweak configure.ac syntax in recent module patch
4351 * configure.ac: Use proper Autoconf parenthesization in
4352 recent HAVE_MODULES patch. Although this doesn’t fix any bugs,
4353 the previous syntax was confusing.
4355 2016-04-16 Paul Eggert <eggert@cs.ucla.edu>
4357 Port to GCC 5.3.1 20160406 (Red Hat 5.3.1-6)
4359 * src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
4360 when using the April 6 Fedora patch to GCC.
4362 2016-04-16 Mark Oteiza <mvoteiza@udel.edu>
4364 Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)
4366 * lisp/progmodes/sh-script.el (sh-mode-hook): Add
4367 sh-electric-here-document-mode as an option and the default value.
4368 (sh-mode): Mention sh-mode-hook in docstring.
4369 (sh-mode): Remove sh-electric-here-document-mode invocation.
4371 2016-04-16 Glenn Morris <rgm@gnu.org>
4373 * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.
4375 2016-04-16 Mark Oteiza <mvoteiza@udel.edu>
4377 Make use of rectangle-preview custom variable.
4379 lisp/rect.el (rectangle--string-preview): Only create a preview if
4380 rectangle-preview is non-nil (Bug#23248).
4382 2016-04-16 Mark Oteiza <mvoteiza@udel.edu>
4384 Make use of rectangle-preview face.
4386 * lisp/rect.el (rectangle--string-preview):
4387 (rectangle--highlight-for-redisplay): Replace 'region with
4388 'rectangle-preview (Bug#23248).
4390 2016-04-16 Eli Zaretskii <eliz@gnu.org>
4392 Use 'grep-find-program' in check-declare.el
4394 * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
4395 'grep-find-program', not 'find-program'.
4397 2016-04-16 Eli Zaretskii <eliz@gnu.org>
4399 Improve "C-h S" for cl-lib symbols
4401 * lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
4402 manuals. (Bug#23289)
4404 2016-04-16 Eli Zaretskii <eliz@gnu.org>
4406 Fix minor issues with removing left or right fringes
4408 * lisp/window.el (window-max-chars-per-line): Account for
4409 'left-fringe-width' and 'right-fringe-width' variables.
4411 * doc/lispref/windows.texi (Window Sizes): Document the effect on
4412 window text width when setting the width of one or both fringes to
4414 * doc/emacs/display.texi (Fringes): Document the effect on window
4415 text width when setting the width of one or both fringes to zero.
4418 2016-04-16 Eli Zaretskii <eliz@gnu.org>
4420 Speed up redisplay in ansi-term mode
4422 * lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
4425 2016-04-16 Philipp Stephani <phst@google.com>
4427 Simplify 8-bit character handling by terminal for 'raw-text'
4429 * lisp/international/mule.el (set-keyboard-coding-system): Treat
4430 'raw-text' as another coding type that requires 8-bit characters.
4431 * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
4432 instead of 'latin-1'.
4434 2016-04-15 Glenn Morris <rgm@gnu.org>
4436 * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bug#22722)
4438 2016-04-15 Eli Zaretskii <eliz@gnu.org>
4440 Fix w32 memory-management problem when extending buffer text
4442 * src/w32heap.c (mmap_realloc): Only attempt extending a region if
4443 the following region has the same allocation base. Also, use the
4444 original allocation base and enlarged size to commit reserved
4445 memory, to ensure that the allocation base stays at its original
4446 value. This fixes several hard-to-debug problems whereby part of
4447 buffer text was overwritten with binary nulls, because
4448 mmap_realloc copied only part of buffer text when extending it.
4450 http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00325.html
4451 and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
4452 examples of the related problems.
4454 2016-04-14 Michael Albinus <michael.albinus@gmx.de>
4456 Fix Bug#20637. Do not merge to master
4458 * lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
4459 Use `vc-backend' instead of `vc-responsible-backend'. (Bug#20637)
4461 * test/automated/vc-tests.el (vc-test--state)
4462 (vc-test--working-revision): Deactivate now failing checks.
4464 2016-04-14 Paul Eggert <eggert@cs.ucla.edu>
4466 substitute-command-keys keeps quotes’ text props
4468 Problem reported by Clément Pit--Claudel (Bug#23254).
4469 * src/doc.c: Include intervals.h.
4470 (Fsubstitute_command_keys): If the only substitutions are for
4471 quotes, copy the source string’s text properties too, since no
4472 substring lengths have changed.
4474 2016-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4476 * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.
4478 2016-04-12 Dmitry Gutov <dgutov@yandex.ru>
4480 Add semantic-symref-filepattern-alist entry for lisp-interaction-mode
4482 * lisp/cedet/semantic/symref/grep.el
4483 (semantic-symref-filepattern-alist):
4484 Add entry for lisp-interaction-mode
4485 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)
4487 2016-04-12 Dmitry Gutov <dgutov@yandex.ru>
4489 Perform xref searches without visiting unopened files
4491 * lisp/progmodes/xref.el (xref-collect-references): Instead of
4492 calling `semantic-symref-find-references-by-name', use
4493 `semantic-symref-instantiate' and `semantic-symref-perform-search'
4494 directly. Ask for `line-and-text' results (bug#23223).
4495 (xref-collect-matches): Include the line text in the "hit"
4497 (xref--convert-hits): New function, split off from
4498 `xref-collect-references' and `xref-collect-matches', to convert
4499 "hits" to xref instance list. Create a temporary buffer here, to
4500 use it for post-processing all hit lines.
4501 (xref--collect-matches): Use a different approach for non-visited
4502 files. Insert the line text into the temp buffer, apply the
4503 file's major mode the best we can without reading its whole
4504 contents, syntax-propertize, and search in the result.
4505 (xref--collect-matches-1): Extract, to handle the common logic
4507 (xref--find-buffer-visiting): New function, a wrapper around
4508 `find-buffer-visiting' to amortize its cost.
4510 * lisp/cedet/semantic/symref/idutils.el
4511 (semantic-symref-idutils--line-re): New constant.
4512 (semantic-symref-parse-tool-output-one-line): Support result type
4515 * lisp/cedet/semantic/symref/grep.el
4516 (semantic-symref-grep--line-re)
4517 (semantic-symref-parse-tool-output-one-line): Same.
4519 * lisp/cedet/semantic/symref/cscope.el
4520 (semantic-symref-cscope--line-re)
4521 (semantic-symref-parse-tool-output-one-line): Same.
4523 * lisp/cedet/semantic/symref/global.el
4524 (semantic-symref-global--line-re)
4525 (semantic-symref-parse-tool-output-one-line): Same.
4527 2016-04-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
4529 Revert "Prevent bootstrap autoload backup files"
4531 This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
4533 2016-04-12 Paul Eggert <eggert@cs.ucla.edu>
4535 Improve time zone documentation
4537 * doc/lispref/os.texi (Time Zone Rules):
4538 New section, mostly with material moved here from other sections.
4539 * doc/emacs/cmdargs.texi (General Variables):
4540 * doc/lispref/os.texi (Time Conversion, Time Parsing):
4542 * etc/NEWS, etc/PROBLEMS:
4543 * lisp/org/org.el (org-timestamp-format):
4544 * src/editfns.c (Fformat_time_string, Fdecode_time)
4545 (Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
4546 (Fset_time_zone_rule):
4547 When documenting time zone rule strings, mention the TZ
4548 environment variable in preference to mentioning the
4549 sort-of-internal function set-time-zone-rule.
4551 2016-04-12 Phillip Lord <phillip.lord@russet.org.uk>
4553 Prevent bootstrap autoload backup files
4555 * lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Suppress
4556 backups in newly created file.
4558 (autoload-ensure-default-file): Function split into two.
4559 (autoload-ensure-file-writeable): New function from split.
4563 2016-04-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4565 Disable multicolor fonts on OS X since they are not supported on free systems
4567 * src/macfont.m (macfont_list): Don't use color bitmap fonts.
4569 2016-04-11 Paul Eggert <eggert@cs.ucla.edu>
4571 Capitalize “Universal Time” in documentation
4574 * lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
4575 mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
4577 2016-04-11 Eli Zaretskii <eliz@gnu.org>
4579 Don't use 'find-program'
4581 * lisp/progmodes/project.el (project-file-completion-table): Use
4582 'grep-find-program', rather than the obsolete 'find-program'.
4584 2016-04-11 Paul Eggert <eggert@cs.ucla.edu>
4588 This is for picky compilers whose stdint.h fails our C11 tests.
4589 Problem reported for clang by Philipp Stephani (Bug#23261).
4591 2016-04-11 stdint: port to strict C11 left shift
4592 * doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.
4594 2016-04-11 Leo Liu <sdl.web@gmail.com>
4596 Fix last change on 2016-01-02
4598 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move
4599 `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend'
4600 which highlights `cl-errs-re' even in comments or strings.
4602 2016-04-11 Paul Eggert <eggert@cs.ucla.edu>
4604 Port run-prolog EMACS to SWI-Prolog 7.2.3
4606 * lisp/progmodes/prolog.el (prolog-ensure-process):
4607 Work around incompatibility of SWI-Prolog 7.2.3 and earlier
4608 with the new way of dealing with the EMACS and INSIDE_EMACS
4609 environment variables.
4611 2016-04-10 Eli Zaretskii <eliz@gnu.org>
4613 Avoid crashes due to unreasonably large or small text scaling
4615 * lisp/face-remap.el (text-scale-min-amount)
4616 (text-scale-max-amount): New functions.
4617 (text-scale-set, text-scale-increase): Use them to limit the text
4618 scaling to a reasonable range of values. (Bug#23259)
4620 2016-04-10 Eli Zaretskii <eliz@gnu.org>
4622 Improve documentation of 'with-eval-after-load'
4624 * lisp/subr.el (with-eval-after-load): Doc fix. (Bug#23258)
4626 2016-04-10 Eli Zaretskii <eliz@gnu.org>
4628 Improve handling of non-ASCII characters in Git log messages
4630 * lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
4631 (vc-git-log-output-coding-system): New defcustom.
4632 (vc-git-print-log, vc-git-command, vc-git--call): Use
4633 'vc-git-log-output-coding-system' for reading stuff from Git.
4634 Don't override values of 'coding-system-for-read/write' if they
4635 are bound by caller -- this allows the user to force an encoding
4637 (vc-git-checkin): On MS-Windows, pass the log message via a
4638 temporary file, to work around the limitations on passing
4639 non-ASCII characters via command-line arguments. Force using the
4640 'locale-coding-system' for Git command-line arguments. This fixes
4641 problems with non-ASCII commit log messages on MS-Windows.
4644 * etc/NEWS: Mention the new vc-git related defcustoms.
4646 2016-04-09 Philipp Stephani <phst@google.com>
4648 Remove undefined behavior in OS X dumper.
4650 Found by Address Sanitizer.
4652 * src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
4653 avoid undefined behavior when reading arbitrary memory.
4655 2016-04-09 Joakim Verona <joakim@verona.se>
4657 Fix clipping of xwidgets
4659 * src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box
4660 instead of calculating the clipping borders manually. Suggested
4661 by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
4663 2016-04-09 Eli Zaretskii <eliz@gnu.org>
4665 Improve Lisp-level documentation of tooltips
4667 * doc/lispref/display.texi (Tooltips): New section. (Bug#23246)
4668 (Display): Update the chapter menu.
4669 * doc/lispref/text.texi (Special Properties): Make the "tooltip"
4670 index entry more concrete. Change the cross-reference to point to
4671 "Tooltips" in the ELisp manual.
4672 * doc/lispref/elisp.texi (Top): Update the master menu.
4673 * doc/emacs/frames.texi (Tooltips): Include more customization
4674 variables. Add a cross-reference to the ELisp manual.
4676 2016-04-08 Glenn Morris <rgm@gnu.org>
4678 Faces names should not end in "-face".
4680 * lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face.
4681 * lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.
4683 2016-04-08 Paul Eggert <eggert@cs.ucla.edu>
4685 * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.
4687 2016-04-08 Paul Eggert <eggert@cs.ucla.edu>
4689 Comint and compile no longer set EMACS
4691 This mostly restores the change that I reverted on March 23,
4692 fixing most of Bug#20202. The only part of the change that is
4693 still reverted is the change to M-x term, where compatibility with
4694 current Bash constrains us from moving too quickly (Bug#20484).
4695 Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
4696 * etc/NEWS: Document this.
4697 * lisp/comint.el (comint-exec-1):
4698 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
4699 * lisp/progmodes/compile.el (compilation-start):
4700 Don’t set EMACS=t in the subsidiary process.
4702 2016-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)
4706 2016-04-08 Eli Zaretskii <eliz@gnu.org>
4708 Allow to customize names of executables used by grep.el
4710 * lisp/progmodes/grep.el (grep-find-program): Renamed from
4711 'find-program', which was a variable. All uses changed.
4712 (grep-xargs-program): Renamed from 'xargs-program', which was a
4713 variable. All uses changed.
4714 (grep-program): Now a defcustom rather than a simple variable.
4717 2016-04-08 Alan Third <alan@idiocy.org>
4719 Set locale encoding to UTF-8 when run from OS X GUI.
4721 * src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.
4723 2016-04-08 Eli Zaretskii <eliz@gnu.org>
4725 Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt
4727 * lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors
4728 while 'ffap-guesser' runs. (Bug#23218)
4730 2016-04-08 Marcin Borkowski <mbork@mbork.pl>
4732 Avoid infinite loop in 'studlify-word'
4734 * lisp/play/studly.el (studlify-region): Call
4735 'forward-word-strictly' and 'backward-word-strictly' instead of
4736 'forward-word' and 'backward-word'. (Bug#19940)
4738 2016-04-07 Paul Eggert <eggert@cs.ucla.edu>
4740 Don’t recommend obsolete EMACS env var
4742 * doc/misc/efaq.texi (Escape sequences in shell output):
4743 Remove long-obsolete (and now-confusing) notes about
4744 the EMACS environment variable in Emacs 21.1 and earlier.
4745 * doc/misc/efaq.texi (^M in the shell buffer):
4747 Remove obsolescent recommendation to consult the EMACS environment
4750 2016-04-07 Glenn Morris <rgm@gnu.org>
4752 * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.
4754 * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.
4756 2016-04-07 Leo Liu <sdl.web@gmail.com>
4758 Fix "Beginning of buffer" error in forward-page
4760 * lisp/textmodes/page.el (forward-page): Check before move to prevent
4761 "Beginning of buffer" error.
4763 2016-04-06 Dmitry Gutov <dgutov@yandex.ru>
4765 Add a `transient' project type
4767 * lisp/progmodes/project.el (project-roots): Implement for the
4768 `transient' project type (bug#23224).
4769 (project-current): Instead of signaling an error, return a
4770 transient project instance rooted in the chosen directory.
4772 2016-04-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774 Revert "Backport HTTPS proxy fix"
4776 This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db.
4778 It's too late in the Emacs 25 release cycle to add things like this to
4779 Emacs 25.1. It's border line new feature.
4781 2016-04-06 Tao Fang <fangtao0901@gmail.com>
4783 Backport HTTPS proxy fix
4785 Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024
4789 2016-04-06 Paul Eggert <eggert@cs.ucla.edu>
4791 Fix stability confusion in sort-tests
4793 Problem reported by Philipp Stephani (Bug#23205).
4794 * test/automated/sort-tests.el:
4795 (sort-tests--insert-words-sort-and-compare):
4796 Don’t assume that reversing a sorted list is the same
4797 as sorting with the reverse predicate. This is not true
4798 for stable sorts when items compare equal.
4800 2016-04-05 Paul Eggert <eggert@cs.ucla.edu>
4802 Avoid describe-key error with lambdas
4804 Problem reported by Sho Takemori (Bug#22716).
4805 * lisp/cedet/mode-local.el (describe-mode-local-overload)
4806 (xref-mode-local-overload): Use function-overload-p instead
4807 of assuming the argument is a symbol.
4809 2016-04-04 Artur Malabarba <bruce.connor.am@gmail.com>
4811 * lisp/emacs-lisp/package.el (package-install-selected-packages):
4813 Skip unavailable packages.
4815 2016-04-04 Paul Eggert <eggert@cs.ucla.edu>
4820 2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
4821 2016-04-01 stddef: support configuring with g++
4822 * doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
4825 2016-04-03 Paul Eggert <eggert@cs.ucla.edu>
4827 Fix doc for Universal Time
4829 * doc/lispref/os.texi (Time of Day, Time Conversion):
4830 Be more careful about distinguishing UTC (which is not valid for
4831 pre-1961 time stamps) and UT (which is).
4832 (Time Parsing): Remove stray obsolete paragraph about a
4833 UNIVERSAL argument for ‘format-time-string’.
4835 2016-04-03 Michael Albinus <michael.albinus@gmx.de>
4839 * lisp/net/tramp.el (tramp-encoding-command-switch)
4840 (tramp-encoding-command-interactive):
4841 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
4842 `tramp-encoding-shell' could be nil. (Bug#23186)
4844 2016-04-03 Paul Eggert <eggert@cs.ucla.edu>
4846 More format-time-string change fixups
4848 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
4849 * lisp/org/org.el (org-timestamp-format):
4850 Fix doc to match new format-time-string behavior.
4851 * lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
4852 Use (not (not X)) to treat non-nil values of utc arg as UTC.
4854 2016-04-02 Paul Eggert <eggert@cs.ucla.edu>
4856 make-xwidget unused arg cleanup
4858 * doc/lispref/display.texi (Xwidgets): Remove stray refs.
4859 * src/xwidget.c (syms_of_xwidget): Qwebkit, not Qwebkit_osr.
4861 2016-04-02 Joakim Verona <joakim@verona.se>
4863 Remove unused arguments from make-xwidget
4865 The arguments BEG and END were unused, and are now removed.
4867 * doc/emacs/display.texi (Xwidgets): Document the change
4868 * lisp/xwidget.el (make-xwidget, xwidget-insert)
4869 (xwidget-webkit-new-session): Reflect changed arguments
4870 * src/xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
4872 2016-04-02 Eli Zaretskii <eliz@gnu.org>
4874 Document incompatible changes in 'format-time-string'
4876 * etc/NEWS: Mention the incompatible change in the interpretation
4877 of the 3rd argument to 'format-time-string'. (Bug#21943)
4879 2016-04-02 Eli Zaretskii <eliz@gnu.org>
4881 Improve documentation of byte-code objects
4883 * doc/lispref/compile.texi (Byte-Code Objects): Document the
4884 integer format of the argument descriptor. (Bug#23061)
4886 2016-04-02 Eli Zaretskii <eliz@gnu.org>
4888 Adapt calls to 'format-time-string' to changes in Emacs 25
4890 * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
4891 last argument to format-time-string. (Bug#23128)
4892 * lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
4893 last argument to format-time-string, when the TZ argument is not a
4894 number, per the doc string.
4896 2016-04-02 Eli Zaretskii <eliz@gnu.org>
4898 Improve vc-diff with Git backend
4900 * lisp/vc/vc-git.el (vc-git-command): Don't override
4901 coding-system-for-read/write if they are already bound.
4902 Suggested by joaotavora@gmail.com (João Távora). (Bug#20892)
4903 (vc-git-print-log): Don't override coding-system-for-read if it's
4906 2016-04-01 Dmitry Gutov <dgutov@yandex.ru>
4908 (js--continued-expression-p): Special-case unary plus and minus
4910 * lisp/progmodes/js.el (js--continued-expression-p): Make an
4911 effort to recognize unary plus and minus, in the contexts where
4912 they make sense (https://github.com/mooz/js2-mode/issues/322).
4914 2016-04-01 Alan Mackenzie <acm@muc.de>
4916 Prevent C++ Mode wrongly fontifying some identifiers near templates as types
4918 This fixes debbugs #7917.
4920 * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): Accept 'maybe
4921 (from c-forward-type) as sufficient to record an id. Record type id as well
4923 (c-forward-name): Bind c-last-identifier-range around the call to
4924 c-forward-<>-arglist to prevent it getting corrupted. Don't automatically
4925 assume an identifier is a type when a template ">" is followed by a "(".
4926 (c-forward-type): Don't automatically assume an identifier is a type when a
4927 template ">" is followed by a "(".
4929 * lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): Don't fontify an
4930 identifier as a type when its associated ">" is followed by a "(".
4932 2016-04-01 Eli Zaretskii <eliz@gnu.org>
4934 Avoid crashes due to insanely large columns in tabulated-list-format
4936 * src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
4937 (produce_image_glyph): Limit the pixel width of the produced glyph
4938 to SHRT_MAX. (Bug#23178)
4939 (append_composite_glyph, append_glyph, append_glyphless_glyph):
4940 Add assertions to verify that the pixel width of the glyph will
4941 never overflow a 'short'.
4942 * src/term.c (append_composite_glyph): Add assertion to verify
4943 that the pixel width of the glyph will never overflow a 'short'.
4945 2016-03-31 Mark Oteiza <mvoteiza@udel.edu>
4947 Teach M-x disassemble a default argument.
4949 Adopts default argument in the same way as `describe-function'.
4950 * lisp/emacs-lisp/disass.el (disassemble): Default to function at point,
4953 2016-03-31 Eli Zaretskii <eliz@gnu.org>
4955 Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows
4957 * lisp/vc/vc-annotate.el (vc-annotate): Force DOS EOL decoding on
4958 MS-Windows and MS-DOS, when processing the output of "svn annotate".
4960 2016-03-31 Michael Albinus <michael.albinus@gmx.de>
4962 Fix OS X specific settings in tramp-tests
4964 * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4966 * lisp/net/tramp.el (tramp-get-local-locale): New defun.
4968 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
4969 (tramp--test-utf8): Improve settings of coding systems.
4970 Do not use `tramp--test-darwin-p' anymore. (Bug#22145)
4972 2016-03-30 Alan Mackenzie <acm@muc.de>
4974 Finish fixing a cacheing bug in CC Mode (see 2016-03-09)
4976 * lisp/progmodes/cc-cmds.el: (c-beginning-of-defun, c-end-of-defun): Remove
4977 superfluous invocations of c-self-bind-state-cache.
4979 * lisp/progmodes/cc-defs.el: (c-self-bind-state-cache): Copy and terminate
4982 * lisp/progmodes/cc-engine.el (c-record-parse-state-state): Terminate stale
4985 2016-03-30 Alan Mackenzie <acm@muc.de>
4987 Merge branch 'emacs-25' of /home/acm/emacs/emacs.git/emacs-25 into emacs-25
4989 2016-03-29 Xue Fuqiao <xfq.free@gmail.com>
4991 * doc/lispref/text.texi (Columns): Remove a nonexistent reference.
4993 The example was removed by Chong Yidong on Mar 5, 2012.
4995 2016-03-29 Paul Eggert <eggert@cs.ucla.edu>
4997 * doc/man/emacsclient.1: Document +line:column option.
4999 2016-03-29 Eli Zaretskii <eliz@gnu.org>
5001 Fix rare problems with echo-area display and multiple frames
5003 * src/xdisp.c (redisplay_window): Bind inhibit-redisplay non-nil
5004 around the call to x_consider_frame_title, to prevent
5005 resize_mini_window from undoing echo-area display. (Bug#23124)
5007 2016-03-29 Alan Mackenzie <acm@muc.de>
5009 In M-%, avoid making buffer-local binding of text-property-default-nonsticky
5011 This would happen when that variable already has a buffer local binding. Such
5012 a binding would not be seen by read-from-minibuffer. This fixes bug #23127.
5014 * lisp/replace.el (query-replace-read-from): Move the binding of
5015 text-property-default-nonsticky to inside of a new with-current-buffer buffer
5016 form with the minibuffer as argument.
5018 2016-03-27 Dmitry Gutov <dgutov@yandex.ru>
5020 Remove prog-indentation-context
5022 * lisp/progmodes/prog-mode.el: (prog-indentation-context)
5023 (prog-first-column, prog-widen): Remove, as discussed in
5024 http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01425.html.
5026 * doc/lispref/text.texi (Mode-Specific Indent): Remove references
5031 * lisp/progmodes/python.el: (prog-widen, prog-first-column):
5032 Remove the compatibility aliases and all uses.
5034 Do not merge to master.
5036 2016-03-27 Paul Eggert <eggert@cs.ucla.edu>
5038 * src/font.c (QCuser_spec): Add missing colon to :user-spec.
5040 2016-03-27 Eli Zaretskii <eliz@gnu.org>
5042 Don't start the 'midnight' timer twice
5044 * lisp/midnight.el (midnight-mode): Avoid starting the midnight
5045 timer twice when activating the mode the first time. (Bug#23123)
5047 2016-03-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5049 * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
5051 2016-03-26 Stephen Berman <stephen.berman@gmx.net>
5053 Fix todo-mode category movement
5055 * lisp/calendar/todo-mode.el (todo-move-category): Use moved
5056 category's existing categories sexp instead of invoking
5057 todo-update-categories-sexp in file moved to, in order to take
5058 archived items into account. If the moved category has archived
5059 items, handle the source archive buffer properly. Remove
5062 2016-03-26 Glenn Morris <rgm@gnu.org>
5064 * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.
5066 2016-03-26 Eli Zaretskii <eliz@gnu.org>
5068 Ignore non-nil. non-cons values of unread-command-events
5070 * src/keyboard.c (requeued_events_pending_p, read_char)
5071 (Finput_pending_p): Use CONSP instead of !NILP to see if there are
5072 unread command events to be processed. (Bug#22976)
5074 2016-03-26 Eli Zaretskii <eliz@gnu.org>
5076 Improve documentatuon of 'truncate-partial-width-windows'
5078 * src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
5079 Clarify in the doc string how the width of partial-width windows
5080 is computed for the purposes of truncation decision. (Bug#4338)
5082 * doc/emacs/windows.texi (Split Window): Clarify how the width of
5083 windows is calculated for the purposes of truncation decision.
5084 * doc/emacs/display.texi (Line Truncation): Remove a redundant
5087 2016-03-25 Paul Eggert <eggert@cs.ucla.edu>
5089 * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU style.
5091 2016-03-25 Eli Zaretskii <eliz@gnu.org>
5093 Fix 'dired-goto-file' in Dired buffers produced by find-dired
5095 * lisp/dired.el (dired-goto-file): Try looking for the file as a
5096 relative name with leading sub-directories, before looking for the
5097 basename alone. (Bug#23089)
5099 2016-03-25 Nicolas Petton <nicolas@petton.fr>
5101 Fix map-put and map-delete for alists (Bug#23105)
5103 * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
5104 expression to a new symbol.
5105 * test/automated/map-tests.el: Add a regression test.
5107 2016-03-25 Eli Zaretskii <eliz@gnu.org>
5109 Minor copyedits of documentation for temporary displays
5111 * doc/emacs/windows.texi (Temporary Displays): Improve indexing.
5112 Minor changes in wording.
5113 (Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
5114 index entries for 'display-buffer'.
5116 * etc/NEWS: Minor rewording of the entry about temporary displays.
5118 2016-03-25 Philipp Stephani <phst@google.com>
5120 Add customization option for using UTF-8 coordinates in xt-mouse
5122 * lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
5123 (xterm-mouse--read-coordinate): New function to replace
5124 `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
5125 (xterm-mouse--read-number-from-terminal): Adapt to new name.
5126 (xterm-mouse-tracking-enable-sequence)
5127 (xterm-mouse-tracking-disable-sequence): Replace constants with
5128 functions, mark constants as obsolete.
5129 (xterm-mouse--tracking-sequence): New helper function.
5130 (turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
5131 enable UTF-8 only if customization option says so; store UTF-8
5132 flag in terminal parameter. (Bug#23009)
5134 * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
5136 2016-03-25 Eli Zaretskii <eliz@gnu.org>
5138 Minor doc string fixes in replace.el
5140 * lisp/replace.el (query-replace, query-replace-regexp)
5141 (query-replace-regexp-eval, map-query-replace-regexp)
5142 (replace-string, replace-regexp): Clarify in doc strings that
5143 these commands operate from point to the end of the buffer's
5144 accessible portion. (Bug#23067)
5146 2016-03-25 Eli Zaretskii <eliz@gnu.org>
5148 Fix scrolling upwards with 'xwidget-webkit-browse-url'
5150 * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
5151 of CHECK_NATNUM. Suggested by Shayan Pirani <shayanpirani@gmail.com>.
5154 2016-03-25 K. Handa <handa@gnu.org>
5156 Fix display of Indic scripts
5158 * src/ftfont.c (ftfont_shape_by_flt): For combining characters out
5159 of the range U+300...U+36F, use the "combining" FLT only with
5162 2016-03-25 Eli Zaretskii <eliz@gnu.org>
5164 Fix splash screen display at startup
5166 * src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
5167 window displayed by "emacs -q" has enough space to show the whole
5168 text even if it includes 2 lines talking about recovering crashes
5169 sessions. (Bug#23074)
5171 * lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
5172 error when computing the window-height from frame-height.
5174 * etc/NEWS: Mention the change.
5176 2016-03-25 Martin Rudalics <rudalics@gmx.at>
5178 Describe temporary displays in Emacs manual
5180 * doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
5181 * doc/emacs/windows.texi (Window Choice): Minor fixes.
5182 (Temporary Displays): New subsubsection describing display of
5183 temporary buffers and `temp-buffer-resize-mode'.
5185 2016-03-24 Paul Eggert <eggert@cs.ucla.edu>
5187 Avoid stray As next to IDLW icons
5189 * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
5190 Use "" for empty labels, not "a", as the latter now displays stray
5193 2016-03-24 Paul Eggert <eggert@cs.ucla.edu>
5195 Avoid GTK 3 crash with icons and masks
5197 Problem reported by Mosè Giordano (Bug#18997).
5198 * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
5199 (xg_get_pixbuf_from_pix_and_mask): Do not use
5200 xg_get_pixbuf_from_pixmap, as it is poorly documented. Instead,
5201 invoke XGetPixel directly. This is slow but speed is not
5202 important here. Also, fail for unusual situations (not TrueColor,
5203 or images that are not 8 bits per sample) instead of displaying
5206 2016-03-24 Juri Linkov <juri@linkov.net>
5208 * lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
5210 instead of shrink-window-if-larger-than-buffer. (Bug#23092)
5212 2016-03-24 Eli Zaretskii <eliz@gnu.org>
5214 Define make_save_ptr_ptr unconditionally
5216 * src/alloc.c (make_save_ptr_ptr): Remove the !(defined
5217 USE_X_TOOLKIT || defined USE_GTK) conditional. Reported by
5218 Philipp Stephani <phst@google.com>. (Bug#23101)
5220 2016-03-24 Eli Zaretskii <eliz@gnu.org>
5222 Preserve current buffer when popping up TTY menus
5224 * src/term.c (tty_menu_show): Be sure to save and restore the
5225 current buffer around TTY menu pop-ups. (Bug#23101)
5227 2016-03-24 Eli Zaretskii <eliz@gnu.org>
5229 Improve font selection by family on MS-Windows
5231 * src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
5232 in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
5233 This avoids rejecting many font families whose members are shown
5234 by 'font-family-list', in particular 'courier' requested by
5235 info.el. Without this change, many values of ':family' attribute
5236 of a face have no effect on MS-Windows, because they are rejected
5237 due to bogus mismatch of the charset.
5239 2016-03-23 Paul Eggert <eggert@penguin.cs.ucla.edu>
5241 Comint, term, and compile now set EMACS
5243 This fixes directory tracking in ansi-term, at the expense of
5244 breaking some usages of 'configure'. Setting EMACS is meant to be
5245 a somewhat temporary measure, until Bash 4.4 comes out and is
5246 common. (Bug#20484).
5247 * etc/NEWS: Document this.
5248 * lisp/comint.el (comint-exec-1):
5249 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
5250 * lisp/progmodes/compile.el (compilation-start):
5251 * lisp/term.el (term-exec-1):
5252 Go back to setting the EMACS environment variable, for backward
5253 compatibility to Bash 4.3 and earlier.
5255 2016-03-23 Paul Eggert <eggert@penguin.cs.ucla.edu>
5257 Ignore more merges when generating ChangeLog
5259 * build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
5260 not merely those from master and emacs-NN. The ChangeLog entries
5261 they generate are not that useful.
5263 2016-03-23 Paul Eggert <eggert@cs.ucla.edu>
5268 2016-03-22 gitlog-to-changelog: suppress ignored chatter
5269 2016-03-21 sys_select: port to new Cygwin
5270 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
5271 * lib/sys_select.in.h: Copy from gnulib.
5273 2016-03-23 Paul Eggert <eggert@cs.ucla.edu>
5275 Resurrect GNUS-NEWS autogeneration
5277 * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
5278 GNUS-NEWS section to match current file locations and procedure.
5279 * etc/GNUS-NEWS: Regenerate by using new procedure.
5280 * lisp/Makefile.in (update-gnus-news): New rule, containing a
5281 procedure for building GNUS-NEWS. The old procedure got lost
5282 somehow when Gnus was merged into Emacs.
5284 2016-03-22 Anders Lindgren <andlind@gmail.com>
5286 Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).
5288 * src/nsterm.m (ns_screen_margins): New function.
5289 (ns_screen_margins_ignoring_hidden_dock): New function.
5290 (ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
5291 ([EmacsWindow zoom:]): Take all screen margins (except those
5292 originating from a hidden dock) into account.
5294 2016-03-22 Eli Zaretskii <eliz@gnu.org>
5296 Fix bug in displaying header line with a box face
5298 * src/xdisp.c (get_next_display_element): Handle the case when a
5299 display string acquires the box face from an underlying string,
5300 not from the buffer. (Bug#23091)
5302 2016-03-21 Kaushal Modi <kaushal.modi@gmail.com>
5304 Fix an Isearch var to be a string (Bug#23038)
5306 * lisp/isearch.el (isearch--describe-regexp-mode): The `description' var
5307 needs to always be a string. Add the missing default case for the
5308 cond form that ensures that.
5310 Before this bug fix, for the events when `regexp-function' and
5311 `search-default-mode' both were nil, `description' also stayed nil. So
5312 when `space-before' was non-nil, the "non-string" `description'
5313 (with a value of nil) got passed as an argument to
5314 `replace-regexp-in-string' (where a string was expected). That caused
5315 the error described in Bug#23038.
5317 2016-03-21 Leo Liu <sdl.web@gmail.com>
5319 Fix (args-out-of-range 1) error in cursor-sensor--detect
5321 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
5322 hard-code (point-min) as 1 which fails in narrowed buffers.
5324 2016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5326 Render empty <ul><li><ul> correctly
5328 * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
5329 correctly (bug#22964).
5330 (cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)
5334 2016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336 Ignore invalid base64 encoded embedded images
5338 * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
5339 encoded embedded images (bug#22928).
5340 (cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)
5344 2016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5346 Fix <p> and <div> newlines with or without <li> in shr
5348 * lisp/net/shr.el (shr-ensure-newline): Respect that we're in
5349 a <li>, if we are, and don't insert newlines there.
5350 (shr-ensure-paragraph): When mixing newlines and paragraph
5351 ensurements, don't insert too many blank lines.
5352 (shr-tag-div): A <div> shouldn't introduce a paragraph, but a
5354 (cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)
5358 2016-03-19 Eli Zaretskii <eliz@gnu.org>
5360 Avoid errors in 'newline'
5362 * lisp/simple.el (newline): Don't barf if invoked with
5363 non-positive argument in the middle of a line. (Bug#22490)
5365 2016-03-19 Michael Albinus <michael.albinus@gmx.de>
5369 * doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
5370 remote file names. (Bug#23032)
5372 2016-03-19 Eli Zaretskii <eliz@gnu.org>
5374 Adjudicate review comments in abbrevs.texi
5376 * doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
5377 * doc/emacs/abbrevs.texi (Dabbrev Customization): State the
5378 default values of variables. Suggested by Steve Byrne
5379 <sbb@penguinis.org>. (Bug#23016)
5381 * admin/release-process (Check manuals): Mark files reviewed by
5384 2016-03-18 Dmitry Gutov <dgutov@yandex.ru>
5386 Fixup the "normal" matcher; highlight global var symbols, too
5388 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
5389 operator name symbols with the "normal" matcher (it actually
5390 needed updating). Highlight global variable symbols, too.
5392 2016-03-18 Marcin Borkowski <mbork@mbork.pl>
5394 Honor prefix arg in doc-view-next-line-or-next-page
5396 * lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
5397 prefix argument into consideration when continuous scrolling is
5398 not in effect (i.e., by default) (bug#19559).
5400 2016-03-18 Paul Eggert <eggert@cs.ucla.edu>
5402 Port to strict C99 offsetof
5404 * src/bidi.c (bidi_copy_it):
5405 * src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
5406 Use only a single identifier as the second argument of offsetof.
5407 Found by using clang -pedantic.
5409 2016-03-18 Paul Eggert <eggert@cs.ucla.edu>
5411 Port to GTK with strict C11 compiler
5413 * src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
5414 Cast from function type to void * where the C standard requires this.
5415 This works around a problem in the prototypes for
5416 g_signal_handler_find and g_signal_handlers_block_by_func, which
5417 use gpointer instead of GCallback. Found by using gcc -pedantic.
5419 2016-03-18 Paul Eggert <eggert@cs.ucla.edu>
5421 Port to GTK with strict C99 compiler
5423 * src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
5424 in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
5425 * src/emacsgtkfixed.c (EmacsFixedPrivate):
5426 * src/emacsgtkfixed.h (EmacsFixedClass):
5427 Remove duplicate typedef, which strict C99 does not allow (Bug#23003).
5429 2016-03-17 Anders Lindgren <andlind@gmail.com>
5431 Avoid screen artifacts with new OS X visible bell after scrolling
5433 * src/nsterm.m (EmacsBell): Save NSView when displaying the
5434 visible bell and set `needsDisplay' when removed.
5436 (ns_copy_bits): Trace.
5438 2016-03-17 Michael Albinus <michael.albinus@gmx.de>
5440 Suppress some Tramp tests for OSX, do not merge with master
5442 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
5443 (tramp--test-utf8): Use it. (Bug#22145)
5445 2016-03-17 Glenn Morris <rgm@gnu.org>
5447 * lisp/progmodes/xref.el (xref-buffer-name, xref--window):
5448 Move definitions before use.
5450 * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
5452 * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
5454 2016-03-17 Glenn Morris <rgm@gnu.org>
5456 Address compilation warnings due to 2016-01-03 mml refactoring.
5458 * lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
5459 (message-options-get): Autoload.
5460 (message-options-set): Declare.
5461 (mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
5462 Simplify default value.
5463 * lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
5464 * lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
5465 No longer a need for password-cache.
5467 2016-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
5473 2016-03-16 Glenn Morris <rgm@gnu.org>
5475 * lisp/dired-x.el (dired-omit-here-always): Correct error message
5476 for 2016-01-25 change.
5478 * lisp/dired-x.el (dired-omit-here-always): Replace undefined function
5481 * lisp/xml.el (xml-parse-tag-1): Replace undefined function.
5483 2016-03-16 Eli Zaretskii <eliz@gnu.org>
5485 Avoid segfaults due to frame image cache being absent
5487 * src/image.c (cache_image): If the frame doesn't have an image
5488 cache, create it. (Bug#23028)
5490 2016-03-16 Eli Zaretskii <eliz@gnu.org>
5492 Improve documentation of glyphless-character display
5494 * doc/emacs/display.texi (Text Display): Document and index the
5495 'glyphless-char' face.
5497 2016-03-16 Dmitry Gutov <dgutov@yandex.ru>
5499 Support safe navigation operator in non-SMIE indentation code
5501 * lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
5502 Support safe navigation operator in non-SMIE indentation code.
5504 https://github.com/ruby/ruby/commit/68e16ddd7961b86e5013e62ae2954e88638de058.
5506 2016-03-16 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5508 Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
5510 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
5511 assume xsd:base64Binary values are UTF-8 strings.
5512 (soap-decode-xs-basic-type): Likewise.
5513 (soap-invoke): Document xsd:base64Binary handling.
5515 2016-03-15 Dmitry Gutov <dgutov@yandex.ru>
5517 Fix Ruby's operator precedence
5519 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
5520 Rearrange the smie-precs->prec2 form.
5522 2016-03-15 Dmitry Gutov <dgutov@yandex.ru>
5524 (ruby-interpolation-inside-another-interpolation): New failing test
5526 * test/automated/ruby-mode-tests.el
5527 (ruby-interpolation-inside-another-interpolation):
5530 2016-03-15 Paul Eggert <eggert@cs.ucla.edu>
5532 Port to clang 3.7.0 on x86-64
5534 * configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
5535 not done conditionally. This helps clang, which needs
5536 -Wunknown-warning-option later when configured with warnings.
5537 * src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
5538 smart enough to figure this out on its own if warnings are enabled.
5539 (lisp_time_struct): Redo for clarity, and to pacify clang.
5540 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
5541 uninitialized locals. This avoids undefined behavior and pacifies
5544 2016-03-15 Glenn Morris <rgm@gnu.org>
5546 * test/automated/package-test.el (package-test-signed): Tweak skip
5547 condition, for hydra.
5549 2016-03-15 Paul Eggert <eggert@cs.ucla.edu>
5554 2016-03-15 time_rz: port to clang -Wunused-const-variable
5555 2016-03-15 select: port more to Intel 2016.1.150 compiler
5556 * lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.
5558 2016-03-15 Eli Zaretskii <eliz@gnu.org>
5560 Fix startup of "emacs -nw" on systems that CANNOT_DUMP
5562 * src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
5565 * lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
5566 loading window.el. (Bug#22975)
5568 2016-03-14 Dmitry Gutov <dgutov@yandex.ru>
5570 Do not tokenize a comment before continuation as ';'
5572 * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5573 Account for a comment right after point.
5575 2016-03-14 Dmitry Gutov <dgutov@yandex.ru>
5577 Don't misindent arguments of a method call inside continuation
5579 * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
5580 Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
5581 Simplify the traversal loop.
5583 2016-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
5585 * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area
5587 (read_key_sequence): Test it here, as before.
5590 2016-03-14 Paul Eggert <eggert@cs.ucla.edu>
5592 ASCII-only etc/NEWS etc.
5594 * etc/NEWS, nextstep/README: Revert the recently-added curved
5595 quotes, and stick to ASCII. This typically involves replacing
5596 curved with straight quotes. Since etc/NEWS is viewed so often by
5597 UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
5598 Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
5600 2016-03-14 Alan Mackenzie <acm@muc.de>
5602 Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
5604 * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
5606 * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
5607 rather than just using the cache variable c-state-cache.
5608 (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
5609 to c-parse-state from other uses of the parse state cache.
5611 * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
5612 c-self-bind-state-cache around the processing, replacing flawed bindings of
5615 2016-03-14 Alan Mackenzie <acm@muc.de>
5617 Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
5619 * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
5621 * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
5622 rather than just using the cache variable c-state-cache.
5623 (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
5624 to c-parse-state from other uses of the parse state cache.
5626 * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
5627 c-self-bind-state-cache around the processing, replacing flawed bindings of
5630 2016-03-14 Kaushal Modi <kaushal.modi@gmail.com>
5632 Fix Isearch prompt when invoked with an argument
5634 * lisp/isearch.el (isearch--describe-regexp-mode): With
5635 `search-default-mode' set to nil, if user does C-u C-s, the minibuffer
5636 now displays "Regexp I-search: " again. But if the user has set
5637 `search-default-mode' to t, and then does C-s, the minibuffer now
5638 displays "I-search: " because the default search mode is now regexp
5639 mode. Comments have been added to explain the priority of conditions
5640 in the `cond' form. (Bug#22991)
5642 2016-03-14 Cesar Quiroz <cesar.quiroz@gmail.com> (tiny change)
5644 Fix a typo in the Emacs manual
5646 * doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
5649 2016-03-14 Paul Eggert <eggert@cs.ucla.edu>
5651 Curved quotes in etc/NEWS etc.
5653 * etc/NEWS, nextstep/README: Prefer curved quotes in the
5654 recently-changed text documentation. See:
5655 http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00860.html
5657 2016-03-14 Paul Eggert <eggert@cs.ucla.edu>
5659 Fix some single quotes in documentation
5661 * doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
5662 when documenting quoting styles.
5663 * etc/NEWS, nextstep/README: In these plain text files, quote
5664 'like this' consistently, rather than also (sometimes) ‘like this’
5665 or (more often) `like this'.
5667 2016-03-13 Dmitry Gutov <dgutov@yandex.ru>
5669 Make lisp-completion-at-point's argument optional
5671 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
5672 the argument optional, like it was before the rename.
5674 2016-03-13 Dmitry Gutov <dgutov@yandex.ru>
5676 Tweak the left precedence of '=>'
5678 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
5679 precedence of '=>', to improve indentation and sexp navigation.
5681 2016-03-13 Dmitry Gutov <dgutov@yandex.ru>
5683 Indent '.' relative to the first sibling expression
5685 * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
5686 Indent '.' relative to the first sibling expression, instead of the
5687 parent token (bug#17213).
5689 2016-03-13 Dmitry Gutov <dgutov@yandex.ru>
5691 Make '.' associative, for easier sexp navigation
5693 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
5694 Make '.' associative, for easier sexp navigation.
5696 2016-03-13 Phillip Lord <phillip.lord@russet.org.uk>
5698 Revert "Simplify "Visit New File" to "New File""
5700 This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.
5702 2016-03-12 Phillip Lord <phillip.lord@russet.org.uk>
5704 Simplify "Visit New File" to "New File"
5706 * doc/emacs/files.texi, lisp/menu-bar.el (menu-bar-file-menu),
5707 lisp/startup.el(normal-mouse-start-screen,
5708 normal-no-mouse-startup-screen): Change label "Visit New File" to "New
5711 2016-03-12 Eli Zaretskii <eliz@gnu.org>
5713 Update Unicode notes for importing a new Unicode version
5715 * admin/notes/unicode: Mention the need to update otf-script-alist
5716 in fontset.el when importing data files from a new Unicode
5719 2016-03-12 Eli Zaretskii <eliz@gnu.org>
5721 Import new data files from Unicode 9.0.0beta
5723 * admin/unidata/UnicodeData.txt:
5724 * admin/unidata/Blocks.txt:
5725 * admin/unidata/BidiMirroring.txt:
5726 * admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
5727 * admin/unidata/unidata-gen.el (unidata-gen-files): Bind
5728 'coding-system-for-read' to 'utf-8, as various Unicode data files
5729 now actually use non-ASCII characters.
5730 (unidata-setup-list, unidata-get-name): Support the new Tangut
5733 * lisp/international/characters.el (standard-case-table): Add new
5734 characters from Unicode 9.0.0.
5735 (standard-category-table): Add Arabic block u+08A0..u+08FF. Add
5736 Cyrillic Extended-C block.
5737 (char-width-table): Update ranges per Unicode 9.0.0.
5738 * lisp/international/fontset.el (script-representative-chars): Add
5739 new scripts defined by Unicode 9.0.0.
5740 (otf-script-alist): Add new OTF script tags.
5741 * lisp/international/mule-cmds.el (ucs-names): Update ranges per
5742 Unicode 9.0.0 additions.
5744 2016-03-12 Eli Zaretskii <eliz@gnu.org>
5746 Avoid errors in forms-mode when default major mode is text
5748 * lisp/forms.el (forms-mode): Bind
5749 change-major-mode-with-file-name to nil when calling
5750 set-visited-file-name. (Bug#22982)
5752 2016-03-12 Eli Zaretskii <eliz@gnu.org>
5754 Avoid crashes at startup on systems that CANNOT_DUMP
5756 * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
5758 (init_iterator, reseat_to_string)
5759 (Fcurrent_bidi_paragraph_direction)
5760 (Fbidi_find_overridden_directionality): Use
5761 redisplay--inhibit-bidi instead of purify-flag, to determine when
5762 it's safe to reorder bidirectional text.
5764 * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
5765 beginning of the file. Reset to nil when charprop.el is
5766 successfully loaded, or when we are going to dump, whichever
5767 happens last. (Bug#22975)
5769 2016-03-12 Eli Zaretskii <eliz@gnu.org>
5771 Fix documentation of seq.el functions
5773 * doc/lispref/sequences.texi (Sequence Functions): Fix typos. Add
5774 cross-references. Fix formatting. (Bug#22992)
5776 2016-03-11 Dmitry Gutov <dgutov@yandex.ru>
5778 Support Ruby 2.3.0's safe navigation operator
5780 * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
5781 (ruby-smie--backward-token): Tokenize '&.' as '.'.
5782 (ruby-smie--implicit-semi-p): Check for possible '&' before '.'.
5784 * test/indent/ruby.rb: Add an example using safe navigation
5785 operator. Fix a syntax error in existing example.
5787 2016-03-11 John Wiegley <johnw@newartisans.com>
5789 Update Emacs manual section related to character folding
5791 * doc/emacs/search.texi: Character folding is not on by default.
5793 2016-03-11 Eli Zaretskii <eliz@gnu.org>
5795 Update admin/notes/unicode
5797 * admin/notes/unicode: Update the list of files from the UCD we
5798 are using. Mention the possible need to change 'ucs-names' when
5799 importing a new version of the Unicode Standard.
5801 2016-03-10 Dmitry Gutov <dgutov@yandex.ru>
5803 Add symref-filepattern entries for c?perl-mode
5805 * lisp/cedet/semantic/symref/grep.el
5806 (semantic-symref-filepattern-alist): Add entries for perl-mode and
5809 2016-03-10 Ken Raeburn <raeburn@raeburn.org>
5811 Don't use XRANDR 1.3 extensions if the server doesn't support them.
5813 * src/xterm.h (struct x_display_info): Add fields to save XRANDR
5815 * src/xfns.c (x_get_monitor_attributes): Save the version numbers
5816 after querying the X server.
5817 (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
5818 XRRGetScreenResourcesCurrent if the server doesn't support at least
5819 RANDR version 1.3. Conditionalize the code blocks on compiling
5820 against library version 1.3 or better, rather than feature tests for
5822 * configure.ac: Stop testing for those two functions.
5824 2016-03-10 Paul Eggert <eggert@cs.ucla.edu>
5829 2016-03-08 intprops: make .h file license match module
5830 2016-03-08 acl: fix missing return on Cygwin
5831 2016-03-05 extern-inline: port to PGI CC
5832 * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
5833 * m4/extern-inline.m4:
5836 2016-03-10 Paul Eggert <eggert@cs.ucla.edu>
5838 Rework C source files to avoid ^(
5840 Work around Bug#22884 by rewording comments and strings to avoid ‘(’
5841 at the start of a line unless it starts a function. This change
5842 is a short-term hack; in the longer run we plan to fix cc-mode’s
5843 performance for C files that have ‘(’ at the start of a line in a
5846 2016-03-10 Eli Zaretskii <eliz@gnu.org>
5848 By default, etags produces unqualified Perl tag names
5850 * lib-src/etags.c (Perl_functions): Produce unqualified names,
5851 unless -Q was specified.
5852 (print_help): Update the description of -Q.
5854 * doc/man/etags.1: Update the documentation of -Q.
5856 * test/etags/ETAGS.good_1:
5857 * test/etags/ETAGS.good_2:
5858 * test/etags/ETAGS.good_3:
5859 * test/etags/ETAGS.good_4:
5860 * test/etags/ETAGS.good_5:
5861 * test/etags/CTAGS.good: Adapt the expected test results to the
5862 changed Perl functionality.
5864 2016-03-10 Dmitry Gutov <dgutov@yandex.ru>
5866 Indent methods with keyword names correctly
5868 * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5869 Rename to ruby-smie--before-method-name. Now also check if we're
5870 after a 'def' keyword. Update both callers.
5872 2016-03-10 Dmitry Gutov <dgutov@yandex.ru>
5874 Propertize character literals and special global variables differently
5876 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
5877 character literals and global variables with special names with
5878 prefix and symbol syntax classes, for SMIE to tokenize them
5879 together automatically.
5880 (ruby-font-lock-keywords): Fix an old regression in highlighting
5883 2016-03-09 John Wiegley <johnw@newartisans.com>
5885 Change how /etc/NEWS presents character folding
5887 * NEWS: Note that character folding is no longer the default.
5889 2016-03-09 John Wiegley <johnw@newartisans.com>
5891 Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""
5893 This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
5895 2016-03-09 Andreas Schwab <schwab@linux-m68k.org>
5897 Properly handle lambda as read function (bug 22961)
5899 * src/lread.c (readchar): Be more strict about checking for
5900 string in cons for read_vector.
5901 (unreadchar): Likewise.
5903 2016-03-09 Dmitry Gutov <dgutov@yandex.ru>
5905 Propertize operator symbol names with symbol syntax class
5907 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
5909 (ruby-font-lock-keywords): Instead of handling them here. Leave
5910 highlighting them to the "normal" matcher, because now we can.
5911 (ruby-smie--forward-token, ruby-smie--backward-token):
5912 Likewise, don't special-case operator symbols anymore.
5913 (ruby-smie--args-separator-p): Simplify the regexp, match operator
5915 (ruby-smie--implicit-semi-p): Handle the special cases of ? and =
5916 at EOL the same way: check if the character has been assigned the
5917 symbol syntax class by syntax-propertize.
5919 2016-03-09 Dmitry Gutov <dgutov@yandex.ru>
5921 Stop recognizing :#{} as symbol in ruby-mode
5923 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
5924 the weird part that recognized colon followed by interpolation
5925 construct without quotes (e.g. ':#{abc}') as symbol, which is just a
5926 syntax error in any modern version of Ruby. Fix nearby bug reference.
5928 2016-03-09 Dmitry Gutov <dgutov@yandex.ru>
5930 Allow using the left shift operator without spaces on both sides
5932 * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
5933 ruby-verify-heredoc, reverse the meaning of the return value, and
5934 short-circuit if preceded by a symbol not separated by whitespace.
5936 * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
5937 (ruby-no-heredoc-class-self): New tests.
5939 2016-03-08 Andreas Schwab <schwab@linux-m68k.org>
5941 Properly handle unquoting in wdired (bug 22938)
5943 The recorded old names are not quoted, don't unquote them.
5945 * lisp/wdired.el (wdired-normalize-filename): Add argument
5946 unquotep, only unquote if non-nil.
5947 (wdired-get-filename): Don't unquote the old file name.
5948 (wdired-get-previous-link): Always unquote.
5950 2016-03-06 Dmitry Gutov <dgutov@yandex.ru>
5952 Allow splat operator before percent literal
5954 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
5955 Allow splat operator before percent literal.
5957 2016-03-06 Dmitry Gutov <dgutov@yandex.ru>
5959 Don't apply the return value of goto-char as syntax class
5961 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
5962 apply the return value of goto-char as syntax class.
5964 2016-03-06 Dmitry Gutov <dgutov@yandex.ru>
5966 Guard against nested percent literals
5968 * lisp/progmodes/ruby-mode.el
5969 (ruby-syntax-propertize-percent-literal):
5970 Don't check the syntax status.
5971 (ruby-syntax-propertize): Check it here. And also guard against
5972 being in a larger percent literal.
5974 * test/automated/ruby-mode-tests.el
5975 (ruby-no-nested-percent-literals): New test.
5977 2016-03-06 Dmitry Gutov <dgutov@yandex.ru>
5979 Recognize iuwu-mod after an escaped newline
5981 * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
5983 (ruby-smie-rules): Indent iuwu-mod after an escaped newline
5986 2016-03-06 Andreas Schwab <schwab@linux-m68k.org>
5988 Fix symbolic mode string conversion for s and t
5990 * lisp/files.el (file-modes-char-to-right): Fix values for ?s and
5992 (file-modes-symbolic-to-number): Default to a for ts permissions.
5994 2016-03-06 Eli Zaretskii <eliz@gnu.org>
5996 Update 'ucs-names' database
5998 * lisp/international/mule-cmds.el (ucs-names): Update used and
5999 unused ranges from the latest UnicodeData.txt.
6001 2016-03-06 Eli Zaretskii <eliz@gnu.org>
6003 Improve doc string of 'shell-command'
6005 * lisp/simple.el (shell-command): Mention that COMMAND is prompted
6008 2016-03-06 Eli Zaretskii <eliz@gnu.org>
6010 Make the code in movemail_strftime more general
6012 * lib-src/movemail.c (movemail_strftime): Transform the format
6013 string passed by the caller instead of using a separate format
6016 2016-03-06 Eli Zaretskii <eliz@gnu.org>
6018 Speed up redisplay of binary files with long series of nulls
6020 * src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
6021 for a character needed for resolving the type of a series of BN
6022 and ET characters, as required by rule W5 of UAX#9, if the results
6023 of the resolution are known in advance, because we are at level
6024 zero, and the previous strong character was L.
6025 (bidi_resolve_neutral): Partially resurrect the optimization for a
6026 long series of control characters in an otherwise strictly L2R
6028 (bidi_level_of_next_char): Don't enter the loop that searches for
6029 a paragraph separator if the current character is already at base
6030 embedding level. (Bug#22739)
6032 2016-03-05 Dmitry Gutov <dgutov@yandex.ru>
6034 Remove the highlighting support for quoting 'like this' inside Lisp docstrings
6036 Remove the highlighting support for quoting 'like this' inside
6037 Lisp docstrings. This part of
6038 c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
6039 unintentional, considering substitute-command-keys gives wrong
6040 output for such usage.
6041 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
6042 (lisp-cl-font-lock-keywords-2): Do not highlight text between two
6043 straight quotes as symbol.
6045 2016-03-05 Paul Eggert <eggert@cs.ucla.edu>
6047 Restore leading space in movemail pop output
6049 * lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
6050 (strftime) [WINDOWSNT]: New macro.
6051 (mbx_delimit_begin): Go back to previous version of this code,
6052 now that there’s a special-purpose WINDOWSNT implementation
6053 that should do the right thing. That way, the output continues
6054 to use leading space rather than leading zero for day of month.
6056 2016-03-05 Eli Zaretskii <eliz@gnu.org>
6058 Fix bidi-paragraph-direction in Rmail view buffer
6060 * lisp/mail/rmail.el (rmail-show-message-1): Reset
6061 bidi-paragraph-direction to nil before formatting the message for
6064 2016-03-05 Dmitry Gutov <dgutov@yandex.ru>
6066 Don't misindent computed property generator methods
6068 * lisp/progmodes/js.el (js--looking-at-operator-p):
6069 Don't misindent computed property generator methods
6070 (https://github.com/mooz/js2-mode/issues/317).
6072 2016-03-05 Eli Zaretskii <eliz@gnu.org>
6074 Fix mbox files produced by movemail on MS-Windows
6076 * lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
6077 format specifiers, as at least the MS-Windows version of strftime
6078 doesn't support %e and %T.
6080 2016-03-04 Paul Eggert <eggert@cs.ucla.edu>
6082 doc string file descriptor exhaustion fix
6084 * src/doc.c (get_doc_string): Move newly-added check to a better
6085 location (Bug#22814).
6087 2016-03-04 Michael Albinus <michael.albinus@gmx.de>
6091 * src/doc.c (get_doc_string): Raise an error in case too many
6092 files are open. (Bug#22814)
6094 2016-03-04 Lars Ingebrigtsen <larsi@gnus.org>
6096 Fix insertion of edited servers in the dribble file
6098 * lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
6099 insert explicit newlines, because they're quoted (bug#22903).
6103 (cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)
6105 2016-03-04 Martin Rudalics <rudalics@gmx.at>
6107 Fix previous fix of enlarge-/shrink-window
6109 * lisp/window.el (enlarge-window, shrink-window): Consistently
6110 signal user-error instead of error. Resize minibuffer window by
6111 delta lines instead of pixels. When a window cannot be resized,
6112 signal an error only when this function was invoked by a command
6113 in the enlarge-/shrink-window group (this restores the behavior
6114 before the fix of bug#22723 for the non-interactive case).
6116 2016-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
6118 * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
6120 2016-03-03 Mark Oteiza <mvoteiza@udel.edu>
6122 Complete temperature units in calc-convert-temperature
6124 * lisp/calc/calc-units.el (calc-convert-temperature): Complete with
6125 temperature units in math-standard-units.
6127 2016-03-02 Dmitry Gutov <dgutov@yandex.ru>
6129 Make sure to use case-sensitive search
6131 * lisp/progmodes/xref.el (xref-collect-references): Make sure to
6132 use case-sensitive search.
6134 2016-03-02 Ulf Jasper <ulf.jasper@web.de>
6136 Prevent infinite loop on not-well-formed xml. (Bug#16344)
6138 * lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344)
6139 * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
6140 test cases for Bug#16344.
6142 2016-03-02 Alan Third <alan@idiocy.org>
6144 Add the missing test case for the previous patch
6146 lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
6148 lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
6149 DABBREV--SUBSTITUTE-EXPANSION.
6150 test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
6152 2016-03-02 Alan Third <alan@idiocy.org>
6154 Use the correct dabbrev expansion
6156 lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
6158 lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
6159 DABBREV--SUBSTITUTE-EXPANSION.
6160 test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
6162 2016-03-02 Nicolas Petton <nicolas@petton.fr>
6164 Bump version to 25.0.92
6168 * msdos/sed2v2.inp: Bump version to 25.0.92.
6170 2016-03-02 Nicolas Petton <nicolas@petton.fr>
6172 * etc/AUTHORS: Update the AUTHORS file
6174 2016-03-02 Nicolas Petton <nicolas@petton.fr>
6178 * admin/authors.el (authors-ignored-files): Addition.
6180 2016-03-02 Michael Albinus <michael.albinus@gmx.de>
6184 * lisp/filenotify.el (file-notify-callback): Return a `deleted'
6185 event in case of kqueue and file1 is nil. (Bug#22859)
6187 2016-03-01 Eli Zaretskii <eliz@gnu.org>
6189 Fix reordering of bidi text in an isolate inside an override
6191 * src/bidi.c (bidi_resolve_explicit): Override the orig_type value
6192 of FSI with either LRI or RLI, as determined by the first strong
6193 directional character in the isolate. This prevents failure to
6194 isolate when the FSI...PDI text is inside a directional override.
6197 2016-03-01 Alan Mackenzie <acm@muc.de>
6199 Document c-guess-basic-syntax in the CC Mode manual.
6201 * doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
6202 pxrefs to Custom Line-Up and Other Indentation.
6203 (Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
6206 2016-03-01 Michael Albinus <michael.albinus@gmx.de>
6208 Fix targets in test/automated/Makefile.in
6210 * test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
6211 empty target and target all.
6213 2016-03-01 Leo Liu <sdl.web@gmail.com>
6215 Comment on last change to define-derived-mode
6217 * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
6219 2016-03-01 Lars Ingebrigtsen <larsi@gnus.org>
6221 Allow binding `url-mime-accept-string'
6223 * lisp/url/url-http.el (url-http): Allow binding
6224 `url-mime-accept-string' (bug#22855).
6228 (cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)
6230 2016-03-01 Lars Ingebrigtsen <larsi@gnus.org>
6232 Also allow setting the paragraph direction to nil
6234 * lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
6235 setting the paragraph direction to nil ("auto").
6237 2016-02-29 Anders Lindgren <andlind@gmail.com>
6239 Made the new OS X visible bell more visible.
6241 * src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
6242 "caution" image five times, as the image in its original size
6245 2016-02-29 Lars Ingebrigtsen <larsi@gnus.org>
6247 Use the correct background color when filling nested <divs>
6249 * lisp/net/shr.el (shr-face-background): Return the first
6250 background, because that's the one that's visible (bug#22680).
6254 (cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)
6256 2016-02-29 Lars Ingebrigtsen <larsi@gnus.org>
6258 Make <div> in <li> not insert extra newlines
6260 * lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
6261 extra newlines (bug#19587).
6265 (cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)
6267 2016-02-29 Dmitry Gutov <dgutov@yandex.ru>
6269 Uncomment the next-error-function integration in xref
6271 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
6272 Uncomment the next-error-function integration
6273 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
6275 2016-02-29 Dmitry Gutov <dgutov@yandex.ru>
6277 Remove the word "valid", to avoid ambiguity
6279 * doc/emacs/maintaining.texi (Identifier Search)
6280 (Looking Up Identifiers): Remove the word "valid" (bug#22692).
6282 2016-02-28 Michael Albinus <michael.albinus@gmx.de>
6284 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
6286 2016-02-28 Michael Albinus <michael.albinus@gmx.de>
6288 Set auto-revert-use-notify to nil in global-auto-revert-mode. (Bug#22814)
6291 * etc/PROBLEMS: Mention this.
6293 * lisp/autorevert.el (global-auto-revert-mode): Set
6294 `auto-revert-use-notify' to nil. (Bug#22814)
6296 2016-02-28 Paul Eggert <eggert@cs.ucla.edu>
6298 * etc/TODO: Minor quoting and grammar fixes.
6300 2016-02-28 Friedrich Beckmann <friedrich.beckmann@gmx.de> (tiny change)
6302 Fix ModelSim error parsing
6304 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
6305 ModelSim error parsing (bug#5768).
6307 2016-02-28 Lars Ingebrigtsen <larsi@gnus.org>
6309 Make parse-time-string-chars faster
6311 * lisp/calendar/parse-time.el (parse-time-string-chars): Clean
6312 up the code (backport:).
6314 2016-02-28 Lars Ingebrigtsen <larsi@gnus.org>
6316 Add a eww command to toggle paragraph direction
6318 * lisp/net/eww.el (eww-toggle-paragraph-direction): New
6319 command and keystroke.
6321 * doc/misc/eww.texi (Advanced): Mention the `D' command.
6323 2016-02-27 Glenn Morris <rgm@gnu.org>
6325 * nextstep/WISHLIST: Merge into etc/TODO and remove.
6327 * etc/TODO: Merge in items from nextstep/WISHLIST.
6328 * nextstep/README: Update for this change.
6330 2016-02-27 Andreas Schwab <schwab@linux-m68k.org>
6332 Fix char signedness issue in bidi code
6334 * src/dispextern.h (struct bidi_t): Change type of resolved_level
6335 and isolate_level to signed char. (Bug#22830)
6337 2016-02-27 Andreas Schwab <schwab@linux-m68k.org>
6339 * lib-src/pop.c (socket_connection): Fix format string.
6341 2016-02-27 Eli Zaretskii <eliz@gnu.org>
6343 Avoid inflooping in thing-at-point-looking-at
6345 * lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
6346 with regular expressions whose matching doesn't move point.
6348 Describe the argument DISTANCE in the doc string.
6350 2016-02-27 Leo Liu <sdl.web@gmail.com>
6352 * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.
6354 2016-02-26 Michael Albinus <michael.albinus@gmx.de>
6356 etc/PROBLEMS: Mention problems with using file descriptors
6358 * etc/PROBLEMS: Mention problems with using file descriptors
6359 of kqueue file notification library.
6361 2016-02-26 Kaushal Modi <kaushal.modi@gmail.com>
6363 * lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813).
6365 2016-02-25 Eli Zaretskii <eliz@gnu.org>
6367 Remove unneeded workaround in xftfont.c
6369 * src/xftfont.c (xftfont_open): Remove "dirty workaround" for
6370 XftTextExtents8 behavior, as it is no longer needed. Suggested by
6371 Fangwen Yu <yynyygy@gmail.com>. (Bug#22383)
6373 2016-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
6375 * lisp/saveplace.el (save-place-local-mode): New minor mode
6377 (toggle-save-place): Define as obsolete alias.
6378 (save-place--setup-hooks): New function.
6379 (save-place-mode): Use it.
6381 2016-02-25 Eli Zaretskii <eliz@gnu.org>
6383 Fix redisplay on a TTY after 'make-frame'
6385 * src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
6386 garbaged TTY frame if it is not the selected frame. (Bug#22794)
6388 2016-02-25 Alan Mackenzie <acm@muc.de>
6390 Make double-click-1 work with unbalanced parens in CC Mode. Fixes bug#5560.
6392 * lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
6393 `syntax-after' to ensure syntax-table text properties are respected.
6395 2016-02-25 Magnus Henoch <magnus.henoch@gmail.com>
6397 Input method polish-slash should not use keyboard translation
6399 * lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
6400 polish-slash should not use keyboard translation (bug#19081).
6402 2016-02-25 Chris Feng <chris.w.feng@gmail.com>
6406 * src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
6407 implies start == 0) separately.
6409 2016-02-24 Eli Zaretskii <eliz@gnu.org>
6411 Fix 'toggle-save-place'
6413 * lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
6414 support save-place in the buffer. Autoload the command.
6416 2016-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
6418 * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)
6420 * src/keyboard.c (read_key_sequence): Don't inadvertently set
6421 immediate_echo when we don't want any echo-keystrokes.
6422 (echo_keystrokes_p): Move earlier.
6424 2016-02-24 Chris Zheng <chriszheng99@gmail.com> (tiny change)
6426 Minor fixes in calculator.el
6428 * lisp/calculator.el (calculator-mode-map): Bind `E' for
6430 (calculator-last-input): Fix a bug with pressing F1.
6433 2016-02-24 Anders Lindgren <andlind@gmail.com>
6435 Update HISTORY section in readme for the NextStep interface.
6437 * nextstep/README: Update HISTORY after suggestion
6438 from former maintainer Adrian Robert.
6440 2016-02-24 Eli Zaretskii <eliz@gnu.org>
6442 Improve documentation of 'save-place-mode'
6444 * lisp/saveplace.el (toggle-save-place): Update the doc string wrt
6445 turning on 'save-place-mode' globally.
6447 * etc/NEWS: Mention the need to call 'save-place-mode' for turning
6448 on the mode in all buffers.
6450 2016-02-24 Chris Feng <chris.w.feng@gmail.com> (tiny change)
6452 Allocate glyph matrices for the initial frame
6454 * src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).
6456 * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.
6458 2016-02-24 Lars Ingebrigtsen <larsi@gnus.org>
6460 Fix white space in last checkin
6462 2016-02-24 Dima Kogan <gnuplot@dima.secretsauce.net>
6464 Make `insert-pair' always leave the cursor where documented
6466 * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
6467 insert-pair states that after insertion, the point ends up
6468 after the opening character. This was not true if the pair was
6469 inserted to surround a region (bug#16949).
6471 2016-02-24 Kaushal Modi <kaushal.modi@gmail.com>
6473 etc/NEWS: Mention the new second parameter to `package-install'
6475 * etc/NEWS: Mention the new second parameter to
6476 `package-install' (bug#22784).
6478 2016-02-24 John F. Trudeau <JFTrudeau@aetna.com> (tiny change)
6480 Highlight assignments in Makefiles more correctly
6482 * lisp/progmodes/make-mode.el (makefile-macroassign-regex):
6483 Highlight assignments preceded by a TAB character correctly
6489 (cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)
6491 2016-02-23 Eli Zaretskii <eliz@gnu.org>
6493 Improve documentation of focus-related hooks
6495 * doc/lispref/commands.texi (Focus Events): Mention focus-related
6498 2016-02-23 Eli Zaretskii <eliz@gnu.org>
6500 Further improve doc string of 'disable-point-adjustment'
6502 * src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
6503 <global-disable-point-adjustment>: Clarify doc strings. (Bug#22771)
6505 2016-02-23 Michael Albinus <michael.albinus@gmx.de>
6507 Further adaptions in file-notify-tests.el for w32notify
6509 * test/automated/file-notify-tests.el
6510 (file-notify--test-read-event-timeout, file-notify--test-timeout):
6512 (file-notify-test03-autorevert)
6513 (file-notify-test04-file-validity)
6514 (file-notify-test05-dir-validity): Run tests also for w32notify.
6515 (file-notify-test08-watched-file-in-watched-dir):
6516 Adapt expected events for w32notify.
6518 2016-02-23 Jan Tatarik <jan.tatarik@gmail.com>
6520 Don't bug out on localised dates in gnus-icalendar
6522 * lisp/gnus/gnus-icalendar.el
6523 (gnus-icalendar-event:org-timestamp): Don't bug out on
6526 2016-02-23 Drew Adams <drew.adams@oracle.com>
6528 (ls-lisp-insert-directory): Make -B work
6530 * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
6535 (cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
6537 2016-02-23 Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
6539 Make buttons in header lines work
6541 * lisp/help-mode.el (help-button-action): `help-xref-button' in
6542 header line doesn't work (bug#21024).
6546 (cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)
6548 2016-02-23 Christopher Wellons <wellons@nullprogram.com>
6550 Make setf for frame-height/width work again
6552 * lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
6553 frame-height/width work again (bug#21979).
6555 2016-02-23 Łukasz Stelmach <stlman@poczta.fm>
6557 Encode header strings before printing
6559 * lisp/ps-print.el (ps-generate-header-line): Encode the
6560 header strings to avoid problems with non-ASCII headers
6565 (cherry picked from commit 3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)
6567 2016-02-23 Nicolas Richard <youngfrog@members.fsf.org>
6569 (cl-union): Do not ignore :test argument when lists are equal.
6571 * lisp/emacs-lisp/cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.
6573 * test/automated/cl-seq-tests.el: New file (bug#22729).
6575 2016-02-23 Lars Ingebrigtsen <larsi@gnus.org>
6577 Add `isearch' to `basic-faces'
6579 * doc/lispref/display.texi (Basic Faces): Mention the isearch
6580 and lazy-highlight faces.
6582 * lisp/replace.el (match): Add `isearch' to the `basic-faces'
6583 group, too (bug#22760).
6585 2016-02-23 Dmitry Gutov <dgutov@yandex.ru>
6587 Make $, : and @ "prefix characters" in ruby-mode
6589 * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
6590 syntax classes of $, : and @ to "prefix character"
6591 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
6592 (ruby-syntax-propertize): Undo that specifically for colons
6593 followed by an opening paren or bracket.
6594 (ruby-font-lock-keyword-beg-re): Include colon character.
6595 (ruby-font-lock-keywords): Adjust the constants matcher for `:'
6596 not being a symbol constituent anymore.
6598 2016-02-23 Dmitry Gutov <dgutov@yandex.ru>
6600 Make find-tag-default-bounds more strict
6602 * lisp/subr.el (find-tag-default-bounds): Delegate to
6603 bounds-of-thing-at-point (bug#22692).
6605 2016-02-22 Michael Albinus <michael.albinus@gmx.de>
6607 Minor fixes in filenotify.el
6609 * lisp/filenotify.el (top): Require 'cl-lib.
6610 (file-notify--rm-descriptor)
6611 (file-notify--event-watched-file): Use cl-caadr.
6612 (file-notify-callback): Handle also `ignore' events from inotify.
6614 2016-02-22 Michael Albinus <michael.albinus@gmx.de>
6616 Additional fixes for file notification
6618 * lisp/filenotify.el (top): Require 'cl when compiling.
6619 (file-notify--event-watched-file): New defun.
6620 (file-notify--rm-descriptor, file-notify-callback):
6621 Handle case of several monitors running in parallel.
6623 * test/automated/file-notify-tests.el
6624 (file-notify--test-event-test): Simplify test.
6625 (file-notify--test-with-events): Get rid of outer definition.
6626 Check also results of tests performed in callbacks.
6627 (file-notify-test02-events): No wrapping when calling
6628 `file-notify-rm-watch'. No special checking for callback tests.
6629 (file-notify-test07-backup): Adapt expected events for gfilenotify.
6630 (file-notify-test08-watched-file-in-watched-dir): Improve.
6632 2016-02-22 Eli Zaretskii <eliz@gnu.org>
6634 Fix documentation of 'global-disable-point-adjustment'
6636 * src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
6637 <global-disable-point-adjustment>: Doc fixes. (Bug#22771)
6639 2016-02-22 Daiki Ueno <ueno@gnu.org>
6641 Set file modes of pinentry socket for extra safety
6643 * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
6644 (pinentry-start): Change the file modes of the socket file to 0700.
6645 This is just for extra safety since the parent directory is already
6646 protected with `server-ensure-safe-dir'.
6648 2016-02-22 Daiki Ueno <ueno@gnu.org>
6650 Clarify GnuPG version compatibility chapter
6652 * doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
6653 description a bit clearer.
6655 2016-02-22 Daiki Ueno <ueno@gnu.org>
6657 Revert "Change the default socket location for pinentry"
6659 This reverts commit e34fbdee8aca84b98393b06b2450837d175999ca.
6660 It turned out that the address is fixed in Pinentry itself.
6662 2016-02-21 Dmitry Gutov <dgutov@yandex.ru>
6664 Kill off xref--display-history
6666 Now that the core workflow keeps the xref window visible, there's
6667 less value in storing this history. And it never was
6668 comprehensive enough to undo scrolling changes.
6669 * lisp/progmodes/xref.el (xref--display-history)
6670 (xref--save-to-history, xref-quit): Remove.
6671 (xref--show-pos-in-buf): Update accordingly.
6672 (xref--xref-buffer-mode-map): Remove xref-quit binding.
6674 2016-02-21 Dmitry Gutov <dgutov@yandex.ru>
6676 Keep the xref buffer visible until the user quits it explicitly
6678 * lisp/progmodes/xref.el (xref--pop-to-location):
6679 Rename WINDOW argument to ACTION.
6680 (xref--with-dedicated-window): New macro.
6681 (xref--show-pos-in-buf): Rename from `xref--display-position'.
6682 Add and handle new argument, SELECTED. Use the above macro.
6683 (xref--show-location): Add SELECTED argument.
6684 (xref-show-location-at-point): Make an effort to avoid the
6685 original window when showing the location.
6686 (xref-goto-xref): Don't quit the xref window (bug#20487 and
6687 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html).
6688 (xref--query-replace-1): Use xref--with-dedicated-window as well.
6689 (xref--next-error-function): Call xref--show-location instead of
6690 xref--pop-to-location.
6691 (xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
6692 Only pass that value to xref--pop-to-location. Pass the current
6693 selected window to xref-show-xrefs-function as the `window'
6695 (xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
6696 to DISPLAY-ACTION as well.
6698 2016-02-21 Daiki Ueno <ueno@gnu.org>
6700 Change the default socket location for pinentry
6702 * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
6703 (pinentry--socket-dir): Change the default from /tmp/emacsXXX to
6704 ~/.emacs.d/pinentry.
6705 (pinentry-start): Change the file modes of the socket file to 0700.
6706 This is just for extra safety since the parent directory is already
6707 protected with `server-ensure-safe-dir'.
6709 2016-02-21 Daiki Ueno <ueno@gnu.org>
6711 Mention how to enable pinentry feature
6713 * etc/NEWS: Mention "gpgconf --reload gpg-agent".
6714 * lisp/net/pinentry.el: Likewise.
6716 2016-02-21 Paul Eggert <eggert@cs.ucla.edu>
6721 2016-02-10 stdalign: port to older HP and IBM cc
6722 * doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.
6724 2016-02-21 David Engster <deng@randomsample.de>
6726 Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
6728 * lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
6729 `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
6730 not an idle hook, so it's not appropriate to call it there. It will
6731 already be called in the `semantic-idle-work-core-handler', which
6732 runs when Emacs is actually idle.
6734 2016-02-21 David Engster <deng@randomsample.de>
6736 Restore point when writing semantic table to disk
6738 * lisp/cedet/semantic/db-file.el (object-write): Wrap call to
6739 `semantic-fetch-tags' in `save-excursion', since it might move point
6740 in current buffer. (Bug #22287)
6742 2016-02-21 Daiki Ueno <ueno@gnu.org>
6744 Mention pinentry.el in epa manual
6746 * doc/misc/epa.texi (GnuPG version compatibility): New chapter,
6747 describing the differences between three GnuPG branches, and how
6748 to enable pinentry.el.
6749 (Caching Passphrases): Add xref to the compatibility chapter.
6751 2016-02-21 Michael Albinus <michael.albinus@gmx.de>
6755 * lisp/filenotify.el (file-notify-callback): Use the proper
6756 descriptor when calling the callback. (Bug#22736)
6758 * test/automated/file-notify-tests.el
6759 (file-notify--test-event-handler): Deactivate trace.
6760 (file-notify-test08-watched-file-in-watched-dir): Bind
6761 `file-notify--test-tmpfile' temporarily in `dir-callback'.
6763 2016-02-21 Wieland Hoffmann <themineo@gmail.com> (tiny change)
6765 Grammar fix in doc string
6767 * lisp/custom.el (defgroup): Grammar fix in doc string.
6769 2016-02-20 Daiki Ueno <ueno@gnu.org>
6771 Naming fix for consistency
6773 * lisp/epg-config.el (epg-find-configuration): Rename from
6774 `epg-configuration-find' to be consistent with other epg-* functions.
6777 2016-02-20 Daiki Ueno <ueno@gnu.org>
6779 Prefer customized value for GnuPG executable
6781 * lisp/epg-config.el (epg-configuration-find): Don't check GPG
6782 configuration if it is already set with custom. (Bug#22747)
6784 2016-02-20 Eli Zaretskii <eliz@gnu.org>
6786 Fix memory reservation on MS-Windows
6788 * src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
6789 units. This avoids leaving gaps in reserved memory regions that
6790 no one can use, since memory reservation must produce 64KB-aligned
6791 addresses. (Bug#22526)
6793 2016-02-20 Anders Lindgren <andlind@gmail.com>
6795 Update NextStep readme and add wish list.
6797 * nextstep/README: Rewritten from scratch. New sections on
6798 "History", "Overview of Cocoa and Objective-C", "Guidelines",
6799 "Tracing Support", and "GNUStep". Expanded the "See Also" section.
6800 * nextstep/WISHLIST: New file containing list of issues and ideas
6801 associated with the NS port of Emacs.
6803 2016-02-20 Michael Albinus <michael.albinus@gmx.de>
6805 Report also result in `file-notify--test-event-handler'
6807 2016-02-20 Michael Albinus <michael.albinus@gmx.de>
6809 Improve file-notify-test08-watched-file-in-watched-dir
6811 * test/automated/file-notify-tests.el (file-notify--test-desc2):
6813 (file-notify--test-cleanup): Use it.
6814 (file-notify--test-event-handler): Enable trace.
6815 (file-notify-test08-watched-file-in-watched-dir): Tag it as
6816 :expensive-test. Rewrite callbacks to use
6817 `file-notify--test-event-handler'. Read events in loop. Check
6818 `file-notify--test-results'.
6819 (file-notify-test08-watched-file-in-watched-dir): Fix docstring.
6821 2016-02-20 Stephen Berman <stephen.berman@gmx.net>
6823 Fix todo-mode item date editing bugs
6825 * lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
6826 range error by making sure the value of the numerical month date
6827 component cannot be nil. Prevent wrong type error on trying to edit
6828 day number in February by making sure numerical instead of string
6829 value of the year component is passed to todo-read-date.
6830 (todo-read-date): When using the numerical month date component make
6831 sure to use `*' for an arbitrary month instead of its numerical value.
6833 2016-02-20 Eli Zaretskii <eliz@gnu.org>
6835 Fix "[:upper:]" for non-ASCII characters
6837 * src/regex.c (re_match_2_internal): Support [:upper:] and
6838 [:lower:] for non-ASCII characters. (Bug#18150)
6840 2016-02-20 Lars Ingebrigtsen <larsi@gnus.org>
6842 Allow customising the article mode cursor behavior
6844 * doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
6846 * lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
6847 (gnus-article-mode): Use it.
6849 2016-02-20 Ari Roponen <ari.roponen@gmail.com>
6851 Use pop-to-buffer-same-window in woman.el
6853 * lisp/woman.el (woman-really-find-file): Work around going to
6854 the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
6855 (WoMan-find-buffer): Ditto.
6857 2016-02-20 Tassilo Horn <tsdh@gnu.org>
6859 New filenotify test for bug#22736
6861 * test/automated/file-notify-tests.el
6862 (file-notify-test08-watched-file-in-watched-dir):
6863 (file-notify--test-desc1): New filenotify test for bug#22736
6865 2016-02-20 Marcin Borkowski <mbork@mbork.pl>
6867 Report critical battery errors
6869 * lisp/battery.el (battery-pmset): Report critical battery
6872 2016-02-19 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
6874 Make eww message toggling message clearer
6876 * lisp/net/eww.el (eww-toggle-fonts): Make the message
6879 2016-02-19 Mark Oteiza <mvoteiza@udel.edu>
6881 * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
6883 2016-02-18 Martin Rudalics <rudalics@gmx.at>
6885 Fix bugs in window resizing code
6887 * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
6889 (shrink-window, enlarge-window): Fix bug#22723 where windows
6890 with preserved size would not get resized. Also now signal an
6891 error when the window cannot be shrunk or enlarged as requested.
6893 2016-02-17 Eli Zaretskii <eliz@gnu.org>
6895 Fix decoding DOS EOL in a unibyte buffer
6897 * src/coding.c (decode_eol): Loop over bytes, not characters.
6900 2016-02-17 Alan Mackenzie <acm@muc.de>
6902 Correct c-parse-state cache manipulation error.
6904 * lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
6905 comparison bound. Amend comments.
6907 2016-02-17 Daiki Ueno <ueno@gnu.org>
6909 Take advantage of new GnuPG version check function
6911 * lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
6912 (package-refresh-contents): Use `epg-configuration-find' to check if EPG
6915 2016-02-17 Daiki Ueno <ueno@gnu.org>
6917 Make GnuPG version check robuster
6919 We changed the default gpg program to "gpg2" from "gpg" in the commit
6920 f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1. However, there are two
6921 maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
6922 series. Check the actual version of "gpg2" at run time, and properly
6923 divert to "gpg" if necessary.
6924 * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
6925 (epg-config--program-alist): New variable.
6926 (epg--configurations): New variable.
6927 (epg-configuration-find): New function.
6928 (epg-config--make-gpg-configuration): New function.
6929 (epg-config--make-gpgsm-configuration): New function.
6930 (epg-configuration): Mark as obsolete.
6931 * lisp/epg.el (epg-context): Use `epg-configuration-find'.
6933 2016-02-17 Paul Eggert <eggert@cs.ucla.edu>
6935 Fix x-load-color-file pointer signedness
6937 * src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
6938 For sscanf and int *, use %d, not %u.
6939 Problem found on Ubuntu 15.10 x32, which lacks X support.
6941 2016-02-17 Paul Eggert <eggert@cs.ucla.edu>
6943 * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
6945 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
6947 Follow convention for greek letter constants.
6949 * lisp/calc/calc-units.el (math-standard-units):
6950 Add "sigma" and alias σ to it.
6952 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
6954 Add Stefan-Boltzmann constant to calc units table.
6956 * lisp/calc/calc-units.el (math-standard-units):
6957 Add Stefan-Boltzmann constant.
6959 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
6961 * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
6963 2016-02-16 Glenn Morris <rgm@gnu.org>
6965 Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669)
6967 * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
6968 Prefill with relevant elements for term/xterm.
6970 2016-02-16 Tassilo Horn <tsdh@gnu.org>
6972 Fix soffice UserInstallation-URL for Windows
6974 * lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
6975 UserInstallation-URL when calling soffice on Windows.
6977 2016-02-16 Lars Ingebrigtsen <larsi@gnus.org>
6979 Fix display of <pre> elements
6981 * lisp/net/eww.el (eww-display-html): Remove CRLF before
6982 parsing so that <pre> elements don't render with ^M at the end
6985 2016-02-15 Eli Zaretskii <eliz@gnu.org>
6987 Minor fixes in global-auto-composition-mode
6989 * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6990 Produce prettier names of globalized minor modes.
6991 * lisp/composite.el (global-auto-composition-mode): Make it a
6992 globalized mode. (Bug#22682)
6994 2016-02-15 Alan Mackenzie <acm@muc.de>
6996 Allow arithmetic operators inside C++ template constructs.
6998 Fixes debbugs #22486. This corrects the previous patch with this message
7001 * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
7003 (c-<>-notable-chars-re): New language variable.
7005 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
7006 c-<>-notable-chars-re in place of the former fixed string in searching for
7007 places to stop and examine.
7008 Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
7009 multichar operator in place of the former c->-op-without->-cont-regexp.
7010 Add code to skip forwards over a balanced parenthesized expression.
7012 2016-02-15 Eli Zaretskii <eliz@gnu.org>
7014 Avoid crashes in semi-malformed 'condition-case'
7016 * src/eval.c (internal_lisp_condition_case): Treat a handler
7017 '(nil)' as if it were '(nil nil)'. (Bug#22675)
7019 2016-02-15 Alan Mackenzie <acm@muc.de>
7021 Allow arithmetic operators inside C++ template constructs.
7023 Fixes debbugs #22486.
7025 * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
7027 (c-<>-notable-chars-re): New language variable.
7029 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
7030 c-<>-notable-chars-re in place of the former fixed string in searching for
7031 places to stop and examine.
7032 Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
7033 multichar operator in place of the former c->-op-without->-cont-regexp.
7034 Add code to skip forwards over a balanced parenthesized expression.
7036 2016-02-15 Eli Zaretskii <eliz@gnu.org>
7038 Fix regression with 'recent-keys' and keyboard macros
7040 * src/keyboard.c (record_char): Don't record in 'recent_keys'
7041 events that come from executing keyboard macros. (Bug#22674)
7043 2016-02-15 Eli Zaretskii <eliz@gnu.org>
7045 Fix wording in a doc-view.el comment
7047 * lisp/doc-view.el (doc-view--current-cache-dir): Don't use
7048 "illegal" for something that is not against the law.
7050 2016-02-15 Paul Eggert <eggert@cs.ucla.edu>
7052 CONTRIBUTE cleanups and updates
7054 * CONTRIBUTE: Mention URLs and info nodes more consistently,
7055 avoiding possibly-confusing punctuation adjacent to a URL, and
7056 giving full shell commands for 'info'. Start with a brief but
7057 complete how-to, for people who want to get started right away.
7058 Then briefly discuss how to join the development process in the
7059 typical order. Omit needless words. Update some of the
7060 now-obsolete file names, info node names, and quoting styles.
7061 Better document emacs-NN branches and how they are merged.
7062 * admin/notes/git-workflow: Change emacs-24 to emacs-25,
7063 and trunk to master. This file still needs work.
7065 2016-02-14 Paul Eggert <eggert@cs.ucla.edu>
7067 Port USE_STACK_LISP_OBJECTS fix to Clang
7069 * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
7070 Recent versions of Clang claim to be GCC 4.2.1 but do not have
7073 2016-02-14 Paul Eggert <eggert@cs.ucla.edu>
7075 Port to x86 GCC 4.3.1 and earlier
7077 This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
7078 * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
7079 for GCC 4.3.1 and earlier.
7081 2016-02-14 Eli Zaretskii <eliz@gnu.org>
7083 Fix point movement under 'scroll-conservatively'
7085 * src/xdisp.c (redisplay_window): Correct a typo in computing the
7086 effective number of text lines in a window. (Bug#22637)
7088 2016-02-14 Thomas Plass <thomas.plass@arcor.de>
7090 Replace colon in file name (not legal on Windows)
7092 * lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
7093 name (not legal on Windows). [tiny change]
7095 2016-02-14 Eli Zaretskii <eliz@gnu.org>
7097 Fix a typo in edt.texi
7099 * doc/misc/edt.texi: Fix a typo in an email address. Reported by
7100 "Herbert J. Skuhra" <herbert@mailbox.org>.
7102 2016-02-14 Eli Zaretskii <eliz@gnu.org>
7104 Make 'mmap_realloc' on MS-Windows more reliable
7106 * src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
7107 committing fails, return NULL. Don't call GetLastError twice for
7109 (mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
7110 before calling VirtualQuery, to avoid using garbled values if the
7111 call fails. If committing more pages from the same block fails,
7112 fall back on mmap_alloc + CopyMemory. Enhance debugging printouts
7113 if the call to VirtualAlloc to commit more pages fails.
7116 2016-02-14 Oscar Fuentes <ofv@wanadoo.es>
7118 Grep alias `all' shall not match parent directory
7120 * lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
7121 directory for `all'. Fixes bug#22577
7123 2016-02-13 Nicolas Petton <nicolas@petton.fr>
7125 Bump version to 25.0.91
7129 * msdos/sed2v2.inp: Bump version to 25.0.91.
7131 2016-02-13 Nicolas Petton <nicolas@petton.fr>
7133 * etc/AUTHORS: Update the AUTHORS file
7135 2016-02-13 Glenn Morris <rgm@gnu.org>
7137 * lisp/dired-aux.el: Require cl-lib. (Bug#22613)
7139 2016-02-13 Eli Zaretskii <eliz@gnu.org>
7141 Index tilde characters in names of backup files
7143 * doc/emacs/files.texi (Backup Names): Improve indexing.
7146 2016-02-13 Eli Zaretskii <eliz@gnu.org>
7148 Document deprecation of hi-lock-mode's 'C-x w' bindings
7150 * doc/emacs/display.texi (Highlight Interactively): Deprecate the
7151 "C-x w" bindings of hi-lock-mode.
7153 * etc/NEWS: Mark the deprecation entry as documented.
7155 2016-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
7157 Announce that the `C-x w' bindings are deprecated
7159 2016-02-13 Paul Eggert <eggert@cs.ucla.edu>
7161 Suppress GNUstep hardening
7163 Fedora 23 normally hardens GNUstep applications, which causes
7164 ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
7165 Fix this by eliding the hardening options (Bug#22518).
7166 * src/Makefile.in (LIBS_GNUSTEP): Omit options like
7167 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
7168 (GNU_OBJC_CFLAGS): Omit options like
7169 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
7171 2016-02-12 Eli Zaretskii <eliz@gnu.org>
7173 Fix redisplay after a large insertion
7175 * src/xdisp.c (redisplay_internal): Don't accept the results of
7176 "optimization 3" if the cursor ends up in a partially visible
7177 glyph row. (Bug22637)
7179 2016-02-12 Andreas Schwab <schwab@linux-m68k.org>
7181 Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
7183 This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
7185 * lisp/gnus/nnimap.el (nnimap-change-group): Revert last
7188 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
7190 * lib-src/make-docfile.c: Include stdarg.h.
7192 2016-02-11 Alan Mackenzie <acm@muc.de>
7194 Extend gpm-mouse-mode's doc string and doc to point out limitations.
7196 * lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
7197 inability to transfer text between Emacs and other programs which use GPM.
7199 * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
7200 between Emacs and other progrmas which use GPM.
7202 2016-02-11 Eli Zaretskii <eliz@gnu.org>
7204 Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"
7206 * lisp/isearch.el: Turn char-folding back oon by default.
7208 This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.
7210 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
7212 Revert "Support integer image rotation and respect EXIF rotations"
7214 This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.
7216 This change does not work on Fedora.
7218 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
7220 Revert "Document EXIF image rotation"
7222 This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.
7224 This change does not work on Fedora, for instance.
7226 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
7228 Document OS X LANG default
7230 * doc/emacs/cmdargs.texi (General Variables):
7231 Document OS X Language and Region system preference.
7232 Suggested by Alan Third.
7234 2016-02-11 Alan Third <alan@idiocy.org>
7236 Set locale when run from OS X GUI
7238 * src/emacs.c (main): Call ns_init_locale.
7239 * src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
7240 * src/nsterm.h: Include ns_init_locale.
7242 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
7244 make-docfile cleanup for I/O, etc.
7246 * lib-src/make-docfile.c (progname, generate_globals, num_globals)
7247 (num_globals_allocated, globals): Now static.
7248 (generate_globals, struct rcsoc_state, read_c_string_or_comment):
7249 (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
7250 Use bool for boolean.
7251 (verror): New function.
7252 (fatal, error): Use it. API is now like printf. All callers changed.
7253 (main): Remove err_count local that was always 0.
7254 (main, scan_c_stream, scan_lisp_file): Check for I/O error.
7255 (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
7257 (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
7258 (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
7259 (close_emacs_globals): Use ptrdiff_t for index, not int.
7260 (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
7261 opened, rather than diagnosing but exiting with status 0.
7262 (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
7265 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
7267 Memory-management cleanup in make-docfile
7269 I compiled it with -fsanitize=address and fixed the leaks it detected.
7270 Also, I changed it to prefer signed to unsigned integer types,
7271 and to check for integer overflow.
7272 * lib-src/make-docfile.c:
7273 Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
7274 (memory_exhausted): New function.
7275 (xmalloc, xrealloc): Use it.
7276 (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
7277 (uncompiled, scan_lisp_file):
7278 Prefer signed integer types to unsigned.
7279 (xstrdup): Remove. All uses removed.
7280 (num_globals, num_globals_allocated, write_globals, scan_c_stream):
7281 Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
7282 (add_global): Use const to pacify --enable-gcc-warnings.
7283 Make a copy here, rather than relying on strdup calls later.
7284 (add_global, write_globals, scan_c_stream):
7285 Avoid integer overflow when calculating sizes.
7286 (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
7287 (scan_c_stream): Check for add_global failure.
7289 2016-02-10 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7291 Kevin Gallagher has new email address
7293 * lisp/emulation/edt.el:
7294 * lisp/emulation/edt-lk201.el:
7295 * lisp/emulation/edt-mapper.el:
7296 * lisp/emulation/edt-pc.el:
7297 * lisp/emulation/edt-vt100.el:
7299 * doc/misc/edt.texi: Update Kevin Gallagher's email address.
7301 2016-02-10 Eli Zaretskii <eliz@gnu.org>
7303 Improve doc strings of 'forward/backward-word-strictly'
7305 * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
7306 in the doc string. Suggested by Glenn Morris <rgm@gnu.org>.
7307 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
7308 Mention 'subword-mode' in the doc strings.
7310 * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
7311 in the doc string. (Bug#22560)
7313 2016-02-10 Michael Albinus <michael.albinus@gmx.de>
7315 Describe Makefile test targets in test/README
7317 * CONTRIBUTE: Move Makefile test targets to test/README.
7320 * test/README: Describe Makefile test targets.
7322 2016-02-10 Artur Malabarba <bruce.connor.am@gmail.com>
7324 Backport: * lisp/isearch.el: Turn char-folding off by default
7326 (search-default-mode): Set default value to nil.
7328 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7330 Document EXIF image rotation
7332 * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
7334 2016-02-10 Dima Kogan <dima@secretsauce.net>
7336 Support integer image rotation and respect EXIF rotations
7338 * src/image.c (imagemagick_load_image): Allow integer rotations in
7339 addition to floating point rotations (bug#22591).
7340 * src/image.c (imagemagick_load_image): Images that have an
7341 orientation given in EXIF and have no explicit :rotation tag are now
7342 pre-rotated. All information such as width/height is reported for the
7345 2016-02-10 Matthew Carter <m@ahungry.com>
7347 Quote table names for postgres listings (sql-mode)
7349 * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
7350 unquoted table names to the completion list.
7352 2016-02-10 Juri Linkov <juri@linkov.net>
7354 * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.
7357 (replace-search, replace-highlight): Make arg `backward' optional.
7360 2016-02-10 Juri Linkov <juri@linkov.net>
7362 * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.
7364 (previous-line-or-history-element): Reset temporary-goal-column.
7365 Use end-of-visual-line instead of line-end-position. (Bug#22544)
7367 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
7369 Suppress ACL ops if configured with --disable-acl
7371 Without this patch, some ACL operations were suppressed, but not all.
7372 * src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
7373 (Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.
7375 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
7379 * doc/misc/emacs-mime.texi (Display Customization):
7380 Mention web bugs in the mm-html-blocked-images section.
7382 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
7384 Make mm-html-blocked-images default to "" again
7386 * lisp/gnus/mm-decode.el (mm-html-blocked-images):
7387 Default to "" that blocks all external images.
7389 * doc/misc/emacs-mime.texi (Display Customization):
7390 Mention that mm-html-blocked-images defaults to "".
7392 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
7394 Minor alignas cleanup
7396 * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
7397 over from the old way of doing things, before Bug#20862 was fixed.
7399 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
7401 Add lmalloc commentary and tweak laligned
7403 * src/alloc.c (laligned): Help compiler in a tiny way by putting
7404 the more-commonly-failing disjunct first.
7406 2016-02-09 Eli Zaretskii <eliz@gnu.org>
7408 Clarify documentation of key binding conventions
7410 * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
7411 "punctuation characters" are reserved after "C-c". (Bug#22604)
7413 2016-02-09 Oscar Fuentes <ofv@wanadoo.es>
7415 * etc/NEWS: mention the `vc-faces' customization group
7417 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
7422 2016-02-09 stdalign: port to clang 3.7.0
7423 2016-02-06 misc: port better to gcc -fsanitize=address
7424 * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
7427 2016-02-09 Michael Albinus <michael.albinus@gmx.de>
7429 * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
7431 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
7433 Make mm-html-inhibit-images and mm-html-blocked-images default to nil
7435 * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
7436 (mm-html-blocked-images): Default to nil.
7438 * doc/misc/emacs-mime.texi (Display Customization): Mention that
7439 mm-html-inhibit-images and mm-html-blocked-images default to nil.
7441 * etc/NEWS (Gnus): Document mm-html-inhibit-images and
7442 mm-html-blocked-images.
7444 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
7446 Increase success rate of fallback lmalloc
7448 * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
7449 larger and larger sizes, to increase the probability that
7450 the allocator will return a Lisp-aligned pointer.
7452 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
7454 Make backgrounds extend to the end of the lines in shr
7456 * lisp/net/shr.el (shr-face-background): Faces can also be on
7457 the form `(:background "#fff)' (bug#22547).
7459 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
7461 Make the `R' command get the correct relative <img>s
7463 * lisp/net/eww.el (eww-readable): Preserve the base URL so
7464 that image expansions are fetched from the right place (bug#22605).
7466 (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
7470 2016-02-09 Mike Kupfer <m.kupfer@acm.org>
7472 Fix typos in emacs-mime.texi and gnus.texi
7474 * doc/misc/emacs-mime.texi (Display Customization):
7475 * doc/misc/gnus.texi (HTML): Fix typo.
7477 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
7479 * doc/misc/emacs-mime.texi (Display Customization):
7480 Doc fix for mm-html-inhibit-images.
7482 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
7484 Fix message-cross-post-followup-to group names
7486 * lisp/gnus/message.el (message-cross-post-followup-to): Don't
7487 insert group names like "nntp+foo:zot", because those aren't valid.
7489 2016-02-09 David Edmondson <dme@dme.org>
7491 Compare recipient and keys case-insensitively
7493 * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
7494 recipient address with that from a key, do so in a case insensitive
7497 2016-02-08 Glenn Morris <rgm@gnu.org>
7499 * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
7501 2016-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
7503 Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
7505 * doc/misc/emacs-mime.texi (Display Customization):
7506 Remove mm-inline-text-html-with-images; add documentations for
7507 mm-html-inhibit-images and mm-html-blocked-images.
7509 * lisp/gnus/gnus-art.el (gnus-article-show-images):
7510 No need to bind mm-inline-text-html-with-images.
7511 (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
7512 (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
7513 bind mm-html-inhibit-images and mm-html-blocked-images.
7514 (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
7515 (gnus-mm-display-part, gnus-mime-display-single)
7516 (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
7518 * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
7519 (mm-html-inhibit-images, mm-html-blocked-images): New user options.
7520 (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
7521 mm-html-inhibit-images and mm-html-blocked-images respectively
7522 instead of gnus-inhibit-images and gnus-blocked-images.
7524 * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
7525 instead of mm-inline-text-html-with-images.
7527 2016-02-08 Paul Eggert <eggert@cs.ucla.edu>
7529 Port to FreeBSD 11-CURRENT i386
7531 Problem reported by Herbert J. Skuhra in:
7532 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
7534 * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
7535 (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
7536 (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
7537 (MALLOC_IS_GC_ALIGNED): New macro.
7538 * src/lisp.h (NONPOINTER_BITS): Remove. All uses removed.
7539 No longer needed now that alloc.c uses lmalloc and lrealloc.
7541 2016-02-08 Michael Albinus <michael.albinus@gmx.de>
7543 Some fixes in file-notify-tests.el
7545 * test/automated/file-notify-tests.el
7546 (file-notify--test-with-events-check)
7547 (file-notify--test-with-events-explainer): New defuns.
7548 (file-notify--test-with-events): Use it.
7549 (file-notify-test07-backup): Fix docstring. Some of the
7550 backends fire two `changed' events. Backup by rename doesn't
7553 2016-02-07 Michael Albinus <michael.albinus@gmx.de>
7557 * lisp/filenotify.el (file-notify-callback): Do not send a
7558 `stopped' event in case of backup by renaming. (Bug#22557)
7560 * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
7561 all targets but check and check-maybe.
7563 * test/automated/file-notify-tests.el
7564 (file-notify--test-read-event-timeout): New defconst.
7565 (file-notify--deftest-remote, file-notify--wait-for-events)
7566 (file-notify-test02-events)
7567 (file-notify-test04-file-validity)
7568 (file-notify-test06-many-events): Use it.
7569 (file-notify--test-cleanup): Make it more robust. Delete also
7571 (file-notify-test07-backup): New test.
7573 2016-02-07 Paul Eggert <eggert@cs.ucla.edu>
7577 Problem reported by Andreas Schwab in:
7578 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
7579 * configure.ac (dladdr): Link with LIBMODULES when checking for
7582 2016-02-07 Andreas Schwab <schwab@linux-m68k.org>
7584 Fix gnus-group-get-new-news-this-group on group with closed server
7586 * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
7587 method and pass to nnimap-open-server.
7589 2016-02-07 Artur Malabarba <bruce.connor.am@gmail.com>
7591 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
7593 While tabs in code are mostly fine because the Emacs sources have a
7594 .dir-locals file specifying tab-width, the same is not true of tabs in
7595 code examples inside docstrings. The docstring is printed on a *Help*
7596 buffer, which can be created on any directory and won't necessarily have
7597 the same tab-width set.
7599 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
7601 Don't inloop gnus-uu-mark-thread on the last thread
7603 * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
7604 final thread in the summary buffer (bug#16666).
7606 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7608 Display non-ASCII group names better in prompts
7610 * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
7611 group name, we have to do that before we remove the prefix.
7613 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7615 Default to gpg2 instead of gpg
7617 * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
7618 it exists. This fixes many problems with using the GPG
7619 authentication agent.
7621 2016-02-06 David Edmondson <dme@dme.org>
7623 src/process.c Correctly convert AF_INET6 addresses
7625 * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
7626 converted to a list of 16 bit quantities by
7627 conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
7628 same scheme rather than expecting a (longer) list of 8 bit
7633 (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
7635 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
7637 * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
7639 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
7641 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
7643 (menu-bar-search-options-menu): New variable
7645 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
7647 * lisp/isearch.el (search-default-mode)
7649 (isearch-regexp-function): Improve docstrings.
7651 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
7653 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
7655 (search-default-mode): New variable.
7656 (isearch-mode, isearch-define-mode-toggle)
7657 (isearch--describe-regexp-mode): Update accordingly.
7658 * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
7659 * etc/NEWS: Update accordingly.
7660 * doc/emacs/search.texi: Update accordingly.
7662 2016-02-06 Oscar Fuentes <ofv@wanadoo.es>
7664 Use monitor's resolution for positioning tooltips
7666 * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
7667 the mouse pointer is to avoid placing the tooltip over the border of
7668 the monitor on multi-head displays. Fixes bug#22549.
7670 2016-02-06 Eli Zaretskii <eliz@gnu.org>
7672 Fix file-notify-test on MS-Windows
7674 * test/automated/file-notify-tests.el (file-notify--test-timeout):
7675 Reduce w32notify timeout to 10 sec.
7676 (file-notify-test06-many-events): Call read-event after each
7677 rename, to keep the w32notify backend happy in batch mode.
7680 2016-02-06 Eli Zaretskii <eliz@gnu.org>
7682 Fix issues found by auditing w32notify code
7684 * src/w32inevt.c (handle_file_notifications): Count the number of
7685 events to be returned.
7686 * src/w32notify.c (send_notifications): Don't copy to the file
7687 notification buffer more than it can hold. (Bug#22534)
7689 2016-02-06 Eli Zaretskii <eliz@gnu.org>
7691 Extend etags Ruby support for accessors
7693 * lib-src/etags.c (Ruby_functions): Support accessors defined with
7694 parentheses. (Bug#22563)
7696 * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
7697 defined with parentheses.
7698 * test/etags/ETAGS.good_1:
7699 * test/etags/ETAGS.good_2:
7700 * test/etags/ETAGS.good_3:
7701 * test/etags/ETAGS.good_4:
7702 * test/etags/ETAGS.good_5:
7703 * test/etags/ETAGS.good_6:
7704 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
7706 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7708 Update publicsuffix.txt.
7710 * etc/publicsuffix.txt: Updated from
7711 https://publicsuffix.org/list/public_suffix_list.dat.
7713 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7715 Ensure that Gnus dribble handling allows removing entries
7717 * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
7718 entry is on a single line.
7720 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
7722 Be consistent when using encoded strings in nnimap data
7724 * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
7725 (nnimap-request-list): Use it.
7726 (nnimap-request-newgroups): Ditto.
7728 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
7730 Display the decoded Gnus group name
7732 * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
7733 decoded group name in the message.
7735 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
7737 Use completion-ignore-case instead of defining command
7739 * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
7740 that we get case-insensitive completion.
7741 (erc-completion-at-point): Remove.
7743 2016-02-05 Eli Zaretskii <eliz@gnu.org>
7745 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7747 2016-02-05 Michael Albinus <michael.albinus@gmx.de>
7749 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
7751 Reduce the number of iterations to 250 in case of w32notify.
7753 2016-02-05 Eli Zaretskii <eliz@gnu.org>
7755 Fix problems caused by new implementation of sub-word mode
7757 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
7759 (word-move-empty-char-table): New variable.
7761 * etc/NEWS: Mention 'forward-word-strictly' and
7762 'backward-word-strictly'.
7764 * doc/lispref/positions.texi (Word Motion): Document
7765 'find-word-boundary-function-table', 'forward-word-strictly', and
7766 'backward-word-strictly'. (Bug#22560)
7768 * src/syntax.c (syms_of_syntax)
7769 <find-word-boundary-function-table>: Doc fix.
7771 * lisp/wdired.el (wdired-xcase-word):
7772 * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
7773 (texinfo-copy-section-title, texinfo-start-menu-description)
7774 (texinfo-copy-menu-title, texinfo-specific-section-type)
7775 (texinfo-insert-node-lines, texinfo-copy-next-section-title):
7776 * lisp/textmodes/texinfo.el (texinfo-clone-environment)
7777 (texinfo-insert-@end):
7778 * lisp/textmodes/texinfmt.el (texinfo-format-scan)
7779 (texinfo-anchor, texinfo-multitable-widths)
7780 (texinfo-multitable-item):
7781 * lisp/textmodes/tex-mode.el (latex-env-before-change):
7782 * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
7783 * lisp/skeleton.el (skeleton-insert):
7784 * lisp/simple.el (count-words):
7785 * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
7786 (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
7787 (vhdl-update-sensitivity-list, vhdl-template-block)
7788 (vhdl-template-break, vhdl-template-case, vhdl-template-default)
7789 (vhdl-template-default-indent, vhdl-template-for-loop)
7790 (vhdl-template-if-then-use, vhdl-template-bare-loop)
7791 (vhdl-template-nature, vhdl-template-procedural)
7792 (vhdl-template-process, vhdl-template-selected-signal-asst)
7793 (vhdl-template-type, vhdl-template-variable)
7794 (vhdl-template-while-loop, vhdl-beginning-of-block)
7795 (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
7796 * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
7797 (verilog-forward-sexp, verilog-beg-of-statement)
7798 (verilog-set-auto-endcomments, verilog-backward-token)
7799 (verilog-do-indent):
7800 * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
7801 (vera-indent-block-closing):
7802 * lisp/progmodes/simula.el (simula-context)
7803 (simula-backward-up-level, simula-forward-down-level)
7804 (simula-previous-statement, simula-next-statement)
7805 (simula-skip-comment-backward, simula-calculate-indent)
7806 (simula-find-if, simula-electric-keyword):
7807 * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
7808 * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
7809 (ruby-smie--forward-token, ruby-smie--backward-token)
7810 (ruby-singleton-class-p, ruby-calculate-indent)
7811 (ruby-forward-sexp, ruby-backward-sexp):
7812 * lisp/progmodes/ps-mode.el (ps-run-goto-error):
7813 * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
7814 (perl-syntax-propertize-special-constructs)
7815 (perl-backward-to-start-of-continued-exp):
7816 * lisp/progmodes/pascal.el (pascal-indent-declaration):
7817 * lisp/progmodes/octave.el (octave-function-file-p):
7818 * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
7819 * lisp/progmodes/js.el (js--forward-function-decl):
7820 * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
7821 (idlwave-beginning-of-block, idlwave-end-of-block)
7822 (idlwave-block-jump-out, idlwave-determine-class):
7823 * lisp/progmodes/icon.el (icon-is-continuation-line)
7824 (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
7825 * lisp/progmodes/hideif.el (hide-ifdef-define):
7826 * lisp/progmodes/f90.el (f90-change-keywords):
7827 * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
7828 (cperl-linefeed, cperl-electric-terminator)
7829 (cperl-find-pods-heres, cperl-fix-line-spacing)
7830 (cperl-invert-if-unless):
7831 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7832 * lisp/progmodes/cc-align.el (c-lineup-java-inher):
7833 * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
7834 (ada-adjust-case-skeleton, ada-create-case-exception)
7835 (ada-create-case-exception-substring)
7836 (ada-case-read-exceptions-from-file, ada-after-keyword-p)
7837 (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
7838 (ada-get-indent-if, ada-get-indent-block-start)
7839 (ada-get-indent-loop, ada-get-indent-type)
7840 (ada-search-prev-end-stmt, ada-check-defun-name)
7841 (ada-goto-decl-start, ada-goto-matching-start)
7842 (ada-goto-matching-end, ada-looking-at-semi-or)
7843 (ada-looking-at-semi-private, ada-in-paramlist-p)
7844 (ada-search-ignore-complex-boolean, ada-move-to-start)
7845 (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
7846 * lisp/net/quickurl.el (quickurl-grab-url):
7847 * lisp/mail/sendmail.el (mail-do-fcc):
7848 * lisp/mail/rmail.el (rmail-resend):
7849 * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
7850 * lisp/mail/mail-extr.el (mail-extract-address-components):
7851 * lisp/json.el (json-read-keyword):
7852 * lisp/files.el (insert-directory):
7853 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7854 * lisp/completion.el (symbol-under-point, symbol-before-point)
7855 (symbol-before-point-for-complete, next-cdabbrev)
7856 (add-completions-from-c-buffer):
7857 * lisp/cedet/semantic/texi.el (semantic-up-context)
7858 (semantic-beginning-of-context):
7859 * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
7860 use 'forward-word-strictly' and 'backward-word-strictly' instead
7861 of 'forward-word' and 'backward-word'.
7863 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
7865 Fix doc string of tls-program
7867 * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
7869 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
7871 Restore window conf in nsm
7873 * lisp/net/nsm.el (nsm-query-user): Restore the window configuration.
7877 2016-02-05 Mark Oteiza <mvoteiza@udel.edu>
7879 * etc/NEWS: Document new mpc.el features
7881 2016-02-04 Leo Liu <sdl.web@gmail.com>
7883 * lisp/custom.el (defface): Revert indentation change. (Bug#22524)
7885 2016-02-04 Alan Mackenzie <acm@muc.de>
7887 Correctly fontify C++ initializations which "look like" functions.
7891 lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
7892 parameter to enable handling of "anonymous" declarators in declarations.
7894 lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
7895 whether a "(" opens a parameter list of a function, or an initialization of a
7898 2016-02-04 Ulf Jasper <ulf.jasper@web.de>
7900 Improve newsticker-treeview-selection-face
7902 * lisp/net/newst-treeview.el (newsticker-treeview-selection-face): Improve
7903 readability for dark background.
7905 2016-02-04 Eli Zaretskii <eliz@gnu.org>
7907 Minor fix in tagging Ruby accessors by etags
7909 * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
7910 names are not literal symbols. (Bug#22241)
7912 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
7916 2016-02-04 Dmitry Gutov <dgutov@yandex.ru>
7918 Remove 'def X' from the example
7920 * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
7921 (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
7922 * test/etags/CTAGS.good:
7923 * test/etags/ETAGS.good_1:
7924 * test/etags/ETAGS.good_2:
7925 * test/etags/ETAGS.good_3:
7926 * test/etags/ETAGS.good_4:
7927 * test/etags/ETAGS.good_5:
7928 * test/etags/ETAGS.good_6: Adjust accordingly.
7930 2016-02-04 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
7932 Allow sending empty hidden values in eww
7934 * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
7937 (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
7941 2016-02-04 David Edmondson <dme@dme.org>
7943 Make erc work better when encountering unknown prefix chars
7945 * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
7946 instead of erroring out on unknown prefix chars (bug#22380).
7948 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
7950 Make erc completion case-insensitive again
7952 * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
7953 case-insensitive again (bug#11360).
7955 2016-02-04 Carlos Pita <carlosjosepita@gmail.com> (tiny change)
7957 Make complection in erc use consistent casing
7959 * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
7960 case in the complection consistent (bug#18509).
7962 2016-02-04 Francis Litterio <flitterio@gmail.com>
7964 Make /QUIT in erc more robust
7966 * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
7967 issuing /QUIT to disconnected servers (bug#22099).
7969 2016-02-04 Kevin Brubeck Unhammer <unhammer@fsfe.org> (tiny change)
7971 Make tracking faces in Emacs work more reliably
7973 * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
7974 faces to avoid later ambiguity (bug#22424).
7976 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
7978 Make shr not bug out on images on non-graphical displays
7980 * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
7981 images on non-graphical displays (bug#22327).
7983 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
7985 Fix bookmark display widths
7987 * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
7988 preparing it so that the widths are computed correctly (bug#22328).
7990 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
7992 Fix typo in eww-make-unique-file-name
7994 * lisp/net/eww.el (eww-make-unique-file-name): Make this function
7997 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
7999 Make it possible to TAB to input fields
8001 * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
8002 input fields (bug#22540).
8004 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
8006 Insert complete alt texts when images are disabled
8008 * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
8009 the complete alt/title string (bug#22293).
8011 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
8013 Allow eww text fields to grow
8015 * lisp/net/eww.el (eww-process-text-input): Allow text fields to
8016 grow when typing in stuff that's longer than the original width.
8018 2016-02-03 Dima Kogan <dima@secretsauce.net>
8020 Make erc work when subword-mode is switched on
8022 * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
8023 (erc-bounds-of-word-at-point): New functions to do word-based
8024 things when subword-mode is switched on.
8026 * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
8029 2016-02-03 Teemu Likonen <tlikonen@iki.fi>
8031 Fix IMAP doc example
8033 * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
8035 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
8037 Quoting fixes in doc strings and diagnostics
8039 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
8040 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
8041 (mml-smime-get-ldap-cert):
8042 Follow user style preference when quoting diagnostics.
8044 2016-02-03 Noam Postavsky <npostavs@gmail.com>
8046 Fix warning message in hack-local-variables
8048 * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
8049 the original buffer name in the warning message. (Bug#21681)
8051 2016-02-03 Eli Zaretskii <eliz@gnu.org>
8053 Etags: yet another improvement in Ruby tags
8055 * lib-src/etags.c (Ruby_functions): Handle continuation lines in
8056 Ruby accessor definitions. (Bug#22241)
8058 * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
8059 accessors and multiline definitions.
8060 * test/etags/ETAGS.good_1:
8061 * test/etags/ETAGS.good_2:
8062 * test/etags/ETAGS.good_3:
8063 * test/etags/ETAGS.good_4:
8064 * test/etags/ETAGS.good_5:
8065 * test/etags/ETAGS.good_6:
8066 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8068 2016-02-03 Eli Zaretskii <eliz@gnu.org>
8070 Fix x-popup-menu on TTYs without a mouse
8072 * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
8073 for the TTY case without a mouse. (Bug#22538)
8075 2016-02-03 Nicolas Petton <nicolas@petton.fr>
8077 * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
8079 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
8081 Use pop-to-buffer-same-window in eww
8083 * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
8084 switch-to-buffer (bug#22244).
8086 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
8088 * autogen.sh: Revert all recent changes.
8090 2016-02-02 Glenn Morris <rgm@gnu.org>
8092 * make-dist: Updates related to nt/.
8094 * make-dist: Add modules/.
8096 * make-dist: Update for super-special file that can't live in etc/.
8098 2016-02-02 Eli Zaretskii <eliz@gnu.org>
8100 Fix failure to compile ns-win.el in parallel builds
8102 * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
8103 dependency on $(lispsource)/international/charprop.el.
8106 2016-02-02 Eli Zaretskii <eliz@gnu.org>
8108 Fix names of tags generated for Ruby accessors
8110 * lib-src/etags.c (Ruby_functions): Don't include the leading
8111 colon ':' in tags for Ruby accessors and aliases. (Bug#22241)
8113 * test/etags/ETAGS.good_1:
8114 * test/etags/ETAGS.good_2:
8115 * test/etags/ETAGS.good_3:
8116 * test/etags/ETAGS.good_4:
8117 * test/etags/ETAGS.good_5:
8118 * test/etags/ETAGS.good_6:
8119 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
8121 2016-02-02 Eli Zaretskii <eliz@gnu.org>
8123 Fix file-name recognition in 'etags'
8125 * lib-src/etags.c (get_language_from_filename): If FILE includes a
8126 leading directory, compare only its basename to the known file
8127 names in lang_names[].
8129 * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
8131 * test/etags/ETAGS.good_1:
8132 * test/etags/ETAGS.good_2:
8133 * test/etags/ETAGS.good_3:
8134 * test/etags/ETAGS.good_4:
8135 * test/etags/ETAGS.good_5:
8136 * test/etags/ETAGS.good_6:
8137 * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
8138 to the results in Makefile due to the above etags.c fix.
8140 2016-02-02 Eli Zaretskii <eliz@gnu.org>
8142 Change Ruby file names and extensions recognized by 'etags'
8144 * lib-src/etags.c <Ruby_filenames>: New variable, holds names
8146 <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
8147 <lang_names>: Add Ruby_filenames to the Ruby entry.
8148 * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
8151 2016-02-02 Eli Zaretskii <eliz@gnu.org>
8153 More improvements for Ruby support in 'etags'
8155 * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
8156 alias_method. Identify constants even if the assignment is not
8157 followed by whitespace. (Bug#22241)
8159 * test/etags/ruby-src/test1.ru: Add tests for constants,
8160 accessors, and alias_method.
8161 * test/etags/ETAGS.good_1:
8162 * test/etags/ETAGS.good_2:
8163 * test/etags/ETAGS.good_3:
8164 * test/etags/ETAGS.good_4:
8165 * test/etags/ETAGS.good_5:
8166 * test/etags/ETAGS.good_6:
8167 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
8169 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
8171 Add --git-config option to autogen.sh
8173 * autogen.sh: New options --git-config, --help.
8174 (git_config): New shell var. Alter function to respect this var.
8176 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
8178 Fix editing undo changes in eww fields
8180 * eww.el (eww-tag-form): Don't overwrite initial form data in text
8182 (eww-process-text-input): Make `M-t' at the end of text fields work
8185 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8187 Allow the user more control of popping up the eww window
8189 * eww.el (eww): Use pop-to-buffer-same-window (suggested by
8190 Michael Heerdegen) (bug#22244).
8192 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8194 Make eww-browse-url with new-window parameter work again
8196 * eww.el (eww-browse-url): Stay in the same buffer if we're
8197 already in a eww mode buffer so that eww-browse-url with a
8198 new-window parameter works (bug#22244).
8200 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8202 Clean up eww code slightly
8204 * eww.el (eww-browse-url): Clean up code slightly.
8206 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8208 Don't insert nil faces in shr
8210 * shr.el (shr-insert-table): Don't add nil faces, because that
8211 will show up in *Messages* as "Invalid face reference: nil [32
8214 2016-02-01 Glenn Morris <rgm@gnu.org>
8216 Improve the custom type of some user options.
8218 * lisp/autoinsert.el (auto-insert-alist):
8219 * lisp/replace.el (query-replace-from-to-separator):
8220 * lisp/gnus/gnus-art.el (gnus-hidden-properties):
8221 * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
8222 * lisp/gnus/gnus-picon.el (gnus-picon-properties):
8223 * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
8224 (prolog-mode-specificators, prolog-determinism-specificators)
8225 (prolog-directives, prolog-program-name, prolog-program-switches)
8226 (prolog-consult-string, prolog-compile-string, prolog-eof-string)
8227 (prolog-prompt-regexp): Improve custom type.
8229 2016-02-01 Glenn Morris <rgm@gnu.org>
8231 Mark some risky calendar variables.
8233 * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
8234 Remove risky setting for deleted obsolete alias.
8235 (calendar-chinese-standard-time-zone-name)
8236 (calendar-chinese-daylight-saving-start)
8237 (calendar-chinese-daylight-saving-end):
8238 * lisp/calendar/calendar.el (calendar-iso-date-display-form)
8239 (calendar-european-date-display-form)
8240 (calendar-american-date-display-form, calendar-date-display-form):
8241 * lisp/calendar/diary-lib.el (diary-remind-message)
8242 (diary-header-line-format):
8243 * lisp/calendar/solar.el (calendar-time-display-form)
8244 (calendar-location-name): Mark as risky.
8246 2016-02-01 Simen Heggestøyl <simenheg@gmail.com>
8248 Highlight two additional SCSS keywords
8250 * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
8251 identifiers on the form !foo.
8252 (scss-bang-ids): New defconst holding SCSS identifiers on the form
8254 (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
8255 `font-lock-builtin-face'.
8257 * test/indent/css-mode.css: Add bang rule test case.
8259 * test/indent/scss-mode.scss: Add test cases for the introduced bang
8262 2016-02-01 Karl Fogel <kfogel@red-bean.com>
8264 Recommend enabling integrity-checking in git
8266 * admin/notes/git-workflow: Recommend setting transfer.fsckObjects.
8268 This is related to the autogen.sh changes made by Paul Eggert in
8269 commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
8270 my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
8271 to emacswiki.org/emacs/GitQuickStartForEmacsDevs. See also the thread
8272 "Recommend these .gitconfig settings for git integrity." at
8273 https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
8275 2016-02-01 Martin Rudalics <rudalics@gmx.at>
8277 Some corrections in Elisp manual
8279 * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
8281 * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
8283 * doc/lispref/display.texi (Refresh Screen): Describe optional
8284 argument FRAME of `redraw-frame'.
8285 (Attribute Functions): Describe optional argument CHARACTER of
8287 (Defining Images): `image-load-path' is an option.
8288 (Beeping): `ring-bell-function' is an option.
8289 * doc/lispref/frames.texi (Size and Position): The PIXELWISE
8290 argument of `set-frame-size' is optional.
8291 (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
8293 * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
8294 `set-transient-map'.
8295 * doc/lispref/minibuf.texi (Text from Minibuffer):
8296 `read-regexp-defaults-function' is an option.
8297 (Minibuffer Contents): `delete-minibuffer-contents' is a command.
8298 * doc/lispref/modes.texi (Mode Line Variables):
8299 `mode-line-position' and `mode-line-modes' are variables, not
8301 * doc/lispref/strings.texi (Creating Strings): The START argument
8302 of `substring' is optional.
8303 * doc/lispref/text.texi (Buffer Contents): Describe optional
8304 argument NO-PROPERTIES of `thing-at-point'.
8305 (User-Level Deletion): Both arguments of
8306 `delete-trailing-whitespace' are optional.
8307 (Margins): Use @key{RET} instead of @kbd{RET}.
8308 * doc/lispref/windows.texi (Display Action Functions): Write
8309 non-@code{nil} instead of non-nil.
8310 (Choosing Window Options): The WINDOW arg of
8311 `split-window-sensibly' is optional.
8312 (Choosing Window Options): Write non-@code{nil} instead of
8314 (Window Start and End): Both args of `window-group-end' are
8317 * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
8318 to POSITION to keep consisteny with doc-string.
8320 2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
8322 Chatter when autogen.sh changes Git configuration
8324 * autogen.sh (git_config): New function. Use it instead of ‘git config’.
8326 2016-02-01 Kyle Meyer <kyle@kyleam.com>
8328 * lisp/org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
8330 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
8332 Omit unnecessary history from Lisp intro
8334 * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
8335 (Conclusion): Reword so as not to talk about earlier versions
8336 of Emacs in what should be an intro.
8338 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
8340 * etc/HISTORY: Add some more history, plus git tags.
8342 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
8344 Improve elisp “Security Considerations” doc
8346 * doc/lispref/os.texi (Security Considerations):
8347 Mention call-process and rename-file as opposed to shell commands.
8348 Add some more cross-references.
8350 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
8352 autogen.sh now arranges for git to check hashes
8354 Suggested by Karl Fogel in:
8355 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
8356 * autogen.sh: Do "git config transfer.fsckObjects true".
8358 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
8360 Fix (c & 040) typo in emergency escapes
8362 * src/keyboard.c (handle_interrupt): Fix recently-introduced
8363 typo (040 should have been ~040) that silently suppressed
8364 auto-saves after emergency escapes. Redo comparison to avoid
8367 2016-01-31 Eli Zaretskii <eliz@gnu.org>
8369 Fix display of overlay strings with 'display' and 'box' property
8371 * src/xdisp.c (get_next_display_element): Take the box face from
8372 display stack level that comes from a buffer, not an overlay
8375 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
8377 Fix imap-starttls-open
8379 * lisp/net/imap.el (imap-starttls-open): Log imap process
8380 output. Call imap-parse-greeting. (Bug#22500)
8382 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
8384 Fix return value of imap-starttls-open
8386 * lisp/net/imap.el (imap-starttls-open): Fix return value.
8388 2016-01-31 John Wiegley <johnw@newartisans.com>
8390 Correct reference to DARWIN_OS preprocessor symbol
8392 * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
8395 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8401 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8403 Pacify GCC on C library without glibc API
8405 Without this change, with --enable-gcc-warnings GCC would complain
8406 “error: redundant redeclaration of ‘aligned_alloc’”.
8407 * configure.ac: Simplify aligned_alloc testing.
8408 * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
8409 since the simplified configure.ac no longer checks for that.
8410 Don’t declare if HAVE_ALIGNED_ALLOC.
8411 Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
8413 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
8415 Backport: * lisp/files.el: Remove support for extra .dir-locals file
8417 (dir-locals-file-2, dir-locals--all-files): Remove.
8418 (dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
8419 (dir-locals-read-from-file, hack-dir-local-variables): Revert changes.
8421 * lisp/files-x.el (modify-dir-local-variable): Revert changes.
8423 * lisp/help-fns.el (describe-variable): Revert changes.
8425 * doc/emacs/custom.texi (Directory Variables): Revert changes.
8427 * etc/NEWS: Revert changes.
8429 2016-01-30 Glenn Morris <rgm@gnu.org>
8431 * lisp/net/browse-url.el (browse-url-default-browser):
8432 Lower priority of non-free Chrome.
8434 2016-01-30 Glenn Morris <rgm@gnu.org>
8436 Improve the custom type of some user options.
8438 * lisp/desktop.el (desktop-minor-mode-table):
8439 * lisp/man.el (Man-frame-parameters):
8440 * lisp/midnight.el (midnight-delay):
8441 * lisp/speedbar.el (speedbar-select-frame-method):
8442 * lisp/tooltip.el (tooltip-frame-parameters):
8443 * lisp/tree-widget.el (tree-widget-space-width):
8444 * lisp/type-break.el (type-break-keystroke-threshold):
8445 * lisp/woman.el (woman-imenu-generic-expression):
8446 * lisp/cedet/ede.el (ede-debug-program-function):
8447 * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
8448 * lisp/emulation/viper-keym.el (viper-toggle-key):
8449 * lisp/erc/erc-networks.el (erc-server-alist):
8450 * lisp/gnus/message.el (message-deletable-headers, message-signature):
8451 * lisp/mail/mailalias.el (mail-directory-stream):
8452 * lisp/play/tetris.el (tetris-x-colors):
8453 * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
8455 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
8457 Highlight CSS variables with variable name face
8459 * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
8460 (css--font-lock-keywords): Highlight variables in
8461 `font-lock-variable-name-face'.
8463 2016-01-30 Glenn Morris <rgm@gnu.org>
8465 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
8467 2016-01-30 Glenn Morris <rgm@gnu.org>
8469 Mark some user options that can get evalled as risky.
8471 * lisp/allout.el (allout-title):
8472 * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
8473 * lisp/gnus/message.el (message-mailer-swallows-blank-line):
8474 * lisp/progmodes/gud.el (gud-tooltip-display):
8475 * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
8478 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8480 Disable DebPrint in sys_read on MS-Windows
8482 * src/w32.c (sys_read): Disable a debugging print that is normal
8483 when non-blocking reads are retried.
8485 2016-01-30 Martin Rudalics <rudalics@gmx.at>
8487 ;Fix ChangeLog entry
8489 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8491 Fix typos in Introduction to Emacs Lisp manual
8493 * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
8494 (kill-new function, Digression into C)
8495 (Complete forward-sentence, Divide and Conquer, Find a File)
8496 (lengths-list-many-files, Columns of a graph, defcustom)
8497 (recursive-count-words): Fix typos. Reported by Daniel Bastos
8498 <dbastos@toledo.com>.
8500 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8502 Bump version to 25.0.90
8506 * msdos/sed2v2.inp: Bump version to 25.0.90.
8508 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8510 * etc/AUTHORS: Update the AUTHORS file
8512 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8514 Bump version to 25.0.90
8518 * msdos/sed2v2.inp: Bump version to 25.0.90.
8520 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8522 * etc/AUTHORS: Update the AUTHORS file
8524 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8528 * admin/authors.el (authors-renamed-files-alist): Additions.
8530 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8532 Make it possible to run make change-history on emacs-25
8534 * Makefile.in: Check if the current branch is emacs-25 instead of
8537 2016-01-30 lu4nx <lx@shellcodes.org>
8539 Support Go language in 'etags'
8541 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
8542 <Go_help>: New help.
8543 <Go_suffixes>: New variable.
8544 (Go_functions): New function.
8545 <lang_names>: Add entry for Go. (Bug#22370)
8547 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
8548 * doc/man/etags.1: Mention Go support.
8550 * etc/NEWS: Mention Go support.
8552 * test/etags/go-src/test.go:
8553 * test/etags/go-src/test1.go: New test files.
8554 * test/etags/Makefile (GOSRC): New variable.
8555 (SRCS): Add $(GOSRC).
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 addition of Go tests.
8564 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8566 Improve Ruby support in 'etags'
8568 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
8569 singleton classes. Remove class qualifiers from tags generated
8570 for method and constant names. (Bug#22241)
8572 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
8573 are tagged by etags in Ruby.
8575 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
8577 * test/etags/ruby-src/test1.ru: Add more tests.
8578 * test/etags/ETAGS.good_1:
8579 * test/etags/ETAGS.good_2:
8580 * test/etags/ETAGS.good_3:
8581 * test/etags/ETAGS.good_4:
8582 * test/etags/ETAGS.good_5:
8583 * test/etags/ETAGS.good_6:
8584 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
8587 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8589 Adjust etags test results to changes in copyright years
8591 * test/etags/CTAGS.good:
8592 * test/etags/ETAGS.good_1:
8593 * test/etags/ETAGS.good_2:
8594 * test/etags/ETAGS.good_3:
8595 * test/etags/ETAGS.good_4:
8596 * test/etags/ETAGS.good_5:
8597 * test/etags/ETAGS.good_6: Adjust to shift in characters and
8600 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
8602 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
8604 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
8606 2016-01-30 Nicolas Petton <nicolas@petton.fr>
8608 Make it possible to run make change-history on emacs-25
8610 * Makefile.in: Check if the current branch is emacs-25 instead of
8613 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8615 Don't fiddle with DEFAULT
8617 * lisp/progmodes/project.el (project--completing-read-strict):
8618 Don't change DEFAULT, whether is has any matches in
8621 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8623 Document xwidget commands and functions
8625 * doc/lispref/display.texi (Xwidgets): New section, describes some
8626 of the xwidget primitives.
8627 * doc/lispref/display.texi (Display): Update the chapter menu.
8628 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
8629 * doc/emacs/emacs.texi (Top): Update the master menu to include
8632 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
8634 Build fix for shr.el
8636 * shr.el (seq): Require.
8638 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8640 Improve project-find-file yet again!
8642 * lisp/progmodes/project.el (project--completing-read-strict):
8644 (project-find-file-in): Use it.
8645 (project-file-completion-table): Move the default
8646 implementation inside the cl-defgeneric form.
8647 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
8649 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8651 Don't pass DIR to 'hg status'
8653 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
8654 Don't pass DIR to 'hg status' (bug#22481).
8656 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
8658 Fix typo in previous commits
8660 * lisp/progmodes/project.el (project-find-file-in):
8661 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
8664 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
8666 Improve project-find-file
8668 * lisp/progmodes/project.el (project-file-completion-table): New.
8669 (project-find-file, project-or-external-find-file): Default to filename
8671 (project-file-completion-table): New, split out from
8672 project--find-file-in.
8673 (project-find-file-in): Renamed from project--find-file-in, use
8674 project-file-completion-table.
8676 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
8677 (xref--find-ignores-arguments): Add doc string.
8679 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
8681 Implement vc-mtn-find-ignore-file, fix some doc strings
8683 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
8685 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
8687 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
8689 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
8691 2016-01-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
8693 Correct a whole bunch of bugs coming with renamed cell relocation.
8695 This is the same change as commit on master branch. See
8696 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
8698 * lisp/ses.el (ses-localvars): rename variable
8699 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
8700 and adjust the comment about it.
8701 (ses-plist-delq): new defun.
8702 (ses--ses-buffer-list): new defvar.
8703 (ses--unbind-cell-name): new defun.
8704 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
8705 (ses-relocate-formula): Undo change of
8706 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
8707 preventing relocation for named cell --- now doing this is delegated
8708 to function `ses-relocate-symbol'.
8709 (ses-relocate-range): In docstring, undo change of
8710 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
8711 lower case as it is not a variable.
8712 (ses-relocate-all): Cell name relocation : 1) check that cell is a
8713 renamed cell by testing `ses-cell' property to :ses-named, rather than
8714 comparing name to corresponding standard name. Set rowcol of renamed
8715 cell into the hashmap --- `ses-cell' property must not be used for
8716 that as the same name can be used for different locations in different
8717 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
8718 `local-variable-p' to check if cell name is already in use in this
8719 sheet or needs initialization.
8720 (ses-relocate-all): Cell value relocation : 1) like for name
8721 relocation use the `ses-cell' property rather than comparing actual
8722 name to corresponding standard name. 2) Correct bug introduced in
8723 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
8724 made the other way round than the intention --- ie value relocation
8725 was disabled for standard cell, not for renamed cell as was the
8727 (ses-relocate-all): Add loop for unbinding deleted renamed cells
8729 (ses-killbuffer-hook): new defun.
8730 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
8731 kill buffer hook, plus pushing current buffer if new in list.
8732 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
8733 into `ses--in-killing-named-cell-list'.
8734 (ses-rename-cell): Remove update of variable
8735 `ses--renamed-cell-symb-list', this variable is renamed to
8736 `ses--in-killing-named-cell-list', and its setting is done in
8737 functions `ses-delete-row' and , `ses-delete-column' now.
8738 (ses-rename-cell): Make cell new name a buffer local variable.
8739 (ses-rename-cell): Change correction of
8740 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
8741 computation of the range over which `cursor-intangible' property was
8742 to be updated. This correction was ok for non spilling cells, but not
8743 for cells spilling over following blank cells. Simply use
8744 `next-single-property-change' rather than computing the end column
8747 2016-01-29 Andreas Schwab <schwab@linux-m68k.org>
8749 Re-enable checks in member, memql, delete to complain about non-lists
8751 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
8753 2016-01-29 Martin Rudalics <rudalics@gmx.at>
8755 Minor doc(-string) tweaks
8757 * lisp/window.el (window-in-direction): Fix doc-string typo.
8758 * doc/lispref/frames.texi (Frame Font): Mention canonical
8759 character width/height.
8760 * doc/lispref/windows.texi (Windows and Frames): Clarify
8761 handling of minibuffer window for `window-in-direction'.
8762 (Window Sizes): Minor tweaks in descriptions of
8763 `window-max-chars-per-line', `window-min-width' and
8765 (Deleting Windows): Minor tweak in `delete-window' description.
8766 (Selecting Windows): Clarify window use time description.
8767 (Cyclic Window Ordering): Minor tweak.
8768 (Switching Buffers): Clarify description of
8769 `switch-to-buffer-in-dedicated-window'.
8771 2016-01-29 Eli Zaretskii <eliz@gnu.org>
8773 Minor improvements to 'pcase' documentation
8775 * doc/lispref/control.texi (Pattern matching case statement):
8776 Improve the documentation of 'pcase' per comments. See two
8777 discussion threads on emacs-devel@gnu.org for the details:
8778 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
8779 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
8781 2016-01-29 Glenn Morris <rgm@gnu.org>
8783 Don't use eval to quieten prolog.el compilation.
8785 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
8786 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
8788 2016-01-29 Glenn Morris <rgm@gnu.org>
8790 Mark some risky prolog variables.
8792 * lisp/progmodes/prolog.el (prolog-system-version)
8793 (prolog-keywords, prolog-types, prolog-mode-specificators)
8794 (prolog-determinism-specificators, prolog-directives)
8795 (prolog-program-name, prolog-program-switches)
8796 (prolog-consult-string, prolog-compile-string)
8797 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
8798 Mark anything processed by prolog-find-value-by-system as risky.
8800 2016-01-28 Glenn Morris <rgm@gnu.org>
8802 * lisp/custom.el (defcustom): Doc fix.
8804 * doc/lispref/customize.texi (Variable Definitions):
8805 Defcustom should always have a type.
8807 2016-01-28 Glenn Morris <rgm@gnu.org>
8809 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
8812 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
8814 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
8818 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
8819 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8820 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
8821 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
8822 Mark it as connected.
8824 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
8825 connection property "connected" is set. (Bug#22452)
8827 2016-01-27 Glenn Morris <rgm@gnu.org>
8829 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
8831 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
8832 if not compiled with xwidgets.
8834 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
8836 C-u C-x = example doc fix
8838 * doc/emacs/mule.texi (International Chars):
8839 Adjust example to match current behavior of C-u C-x =.
8841 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
8845 This attempts to future-proof Emacs a bit against possible glibc
8846 changes, by having Emacs use <malloc.h> declarations rather than
8847 coding them up by hand. Problem noted by Florian Weimer in:
8848 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
8849 Implement this mainly by moving malloc.h-related functions from
8850 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
8851 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
8853 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
8854 (alloc_unexec_pre, alloc_unexec_post): New functions.
8855 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
8856 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
8857 (__malloc_initialize_hook): Use it.
8858 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
8860 * src/emacs.c: ... here.
8861 (malloc_get_state, malloc_set_state): Remove extern decls.
8862 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
8863 All uses changed to similarly-named new function.
8864 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
8865 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
8868 2016-01-26 Eli Zaretskii <eliz@gnu.org>
8870 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
8872 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
8874 Remove never-set var handle_user_signal_hook
8876 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
8877 Remove never-set var. All uses removed.
8879 2016-01-26 K. Handa <handa@gnu.org>
8881 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
8883 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
8884 second glyph only when there are enough glyphs.
8886 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
8888 2016-01-26 K. Handa <handa@gnu.org>
8890 support rendering of wider range of combinging characters by ftfont backend
8892 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
8893 supports rendering of combining characters, call
8896 * src/font.c (Ffont_get): Handle `combining-capability' property.
8897 (syms_of_font): New symbol ":combining-capability'.
8899 * src/font.h (struct font_driver): New member combining_capability.
8901 * src/ftfont.c: Include "category.h".
8902 (ftfont_driver): Initialize combining_capability to
8903 ftfont_combining_capability.
8904 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
8906 (ftfont_combining_capability): New function.
8908 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
8910 2016-01-26 Anders Lindgren <andlind@gmail.com>
8912 Fixed NextStep fullscreen issue (bug#22468)
8914 When in fullscreen mode, `[screen visibleFrame]' sometimes
8915 includes, sometimes excludes the menu bar. This could cause
8916 a frame to be placed too low when in fullscreen mode.
8918 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
8919 (constrain_frame_rect): New parameter, isFullscreen, when true don't
8920 query the height of the menu bar.
8921 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
8922 `constrain_frame_rect'.
8923 ([EmacsView initFrameFromEmacs:]): Trace.
8924 ([EmacsView isFullscreen]): Trace.
8925 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
8926 state to `constrain_frame_rect'.
8928 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
8930 * lisp/files.el: Use a fixed file name for the second dir-locals file
8932 (dir-locals-file): Revert to its original fixed value.
8933 (dir-locals-file-2): New const.
8934 (dir-locals--all-files): Don't use `file-name-all-completions'.
8935 Instead, just check for the 2 dir-locals files and return a list
8936 of the ones that exit (if any).
8938 * etc/NEWS: Document the change.
8940 * doc/emacs/custom.texi (Directory Variables): Document the change.
8942 * doc/lispref/variables.texi (Directory Local Variables): Update
8945 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
8947 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
8949 Change a variable name to be more meaningful, and reorder some of
8950 the code with no change in behaviour.
8952 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
8954 * lisp/files.el (dir-locals-find-file): Refactor return values
8956 Returning a cache remains unchanged, but the case of returning a
8957 file (or pattern) is now changed to return the contaning
8960 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
8962 (dir-locals-read-from-dir): Simplify accordingly.
8963 (hack-dir-local-variables): Simplify accordingly and rename a
8966 2016-01-26 Glenn Morris <rgm@gnu.org>
8968 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
8971 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
8973 * configure.ac (--with-cairo): Say it's experimental.
8975 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
8976 Rename using American spelling. Update all uses.
8978 2016-01-26 Glenn Morris <rgm@gnu.org>
8980 Yet more xwidget doc fixes.
8982 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
8983 (xwidget-insert, xwidget-webkit-browse-url)
8984 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
8985 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
8986 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
8987 (xwidget-webkit-show-id-element)
8988 (xwidget-webkit-show-id-or-named-element)
8989 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
8990 (xwidget-webkit-execute-script-rv)
8991 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
8992 (xwidget-put): Doc fixes.
8993 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
8994 (xwidget-webkit-show-id-element)
8995 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
8997 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
8999 * lisp/gnus/gnus-art.el (gnus-blocked-images):
9000 Add explicit nil choice and tags.
9002 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
9006 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
9008 (font-lock-ensure-function): Fix bug#22399
9010 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
9011 font-lock-mode is not enabled (bug#22399).
9013 2016-01-25 Alan Mackenzie <acm@muc.de>
9015 Expunge "allow" + infinitive from source and doc, part 2.
9017 Do the same for "permit", "enable", "prevent", and (where appropriate)
9020 doc/misc/reftex.texi:
9022 lib/get-permissions.c:
9024 lisp/org/org-element.el:
9025 lisp/org/org-mobile.el:
9026 lisp/textmodes/reftex-vars.el:
9030 test/etags/c-src/emacs/src/lisp.h:
9032 Expunge the likes of "This allows to do something" from the above files.
9034 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
9036 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
9038 `special-mode' is already read-only.
9040 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
9042 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
9044 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
9046 Port "$@" to OpenIndiana ksh93
9048 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
9049 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
9050 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
9051 bug in long-dead shells, so remove the workaround.
9052 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
9053 Use plain "$@" rather than ${1+"$@"}.
9055 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
9057 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
9059 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
9061 Improve wording for SMB support
9063 * doc/misc/tramp.texi (External methods): Improve and modernize
9064 wording for discussion of smbclient. There is no longer any
9065 need to mention the laundry list of old MS Windows implementations
9066 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
9068 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
9073 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
9074 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
9075 2016-01-15 detect utimes() correctly on OS/2 kLIBC
9076 2016-01-15 openat_proc_name: port to OS/2 kLIBC
9077 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
9078 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
9079 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
9080 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
9081 2016-01-14 sig2str: list all signals on FreeBSD >= 7
9082 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
9083 2016-01-12 mktime: rename macro to avoid glibc clash
9084 2016-01-12 Port "$@" to OpenIndiana ksh93
9085 2016-01-12 Port Universal Time settings to strict POSIX
9086 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
9087 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
9088 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
9089 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
9090 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
9091 * m4/fcntl.m4, m4/utimes.m4:
9093 * m4/gnulib-comp.m4: Regenerate.
9095 2016-01-24 Alan Mackenzie <acm@muc.de>
9097 Expunge "allow" + infinitive without direct object from source and doc.
9099 Do the same for "permit", "enable", and "prevent".
9101 * doc/emacs/mule.texi:
9102 * doc/lispref/control.texi:
9103 * doc/lispref/display.texi:
9104 * doc/lispref/frames.texi:
9105 * doc/lispref/functions.texi:
9106 * doc/lispref/nonascii.texi:
9107 * doc/lispref/streams.texi:
9108 * doc/lispref/windows.texi:
9109 * doc/misc/dbus.texi:
9110 * doc/misc/eww.texi:
9111 * doc/misc/flymake.texi:
9112 * doc/misc/octave-mode.texi:
9113 * doc/misc/org.texi:
9114 * doc/misc/reftex.texi:
9115 * doc/misc/tramp.texi:
9116 * doc/misc/wisent.texi:
9118 * lisp/autorevert.el:
9119 * lisp/cedet/mode-local.el:
9120 * lisp/cedet/semantic/senator.el:
9121 * lisp/cedet/semantic/wisent.el:
9124 * lisp/gnus/gnus-agent.el:
9125 * lisp/gnus/mm-util.el:
9126 * lisp/international/characters.el:
9127 * lisp/ldefs-boot.el:
9128 * lisp/mail/mailclient.el:
9130 * lisp/mh-e/mh-search.el:
9131 * lisp/net/tramp-cmds.el:
9132 * lisp/net/tramp-gvfs.el:
9133 * lisp/org/org-crypt.el:
9134 * lisp/org/org-element.el:
9135 * lisp/org/org-feed.el:
9137 * lisp/org/ox-ascii.el:
9138 * lisp/org/ox-icalendar.el:
9139 * lisp/org/ox-publish.el:
9141 * lisp/play/gamegrid.el:
9142 * lisp/play/gomoku.el:
9143 * lisp/progmodes/antlr-mode.el:
9144 * lisp/progmodes/python.el:
9145 * lisp/progmodes/vhdl-mode.el:
9147 * lisp/textmodes/ispell.el:
9148 * lisp/tree-widget.el:
9158 Replace solecisms like "This allow to do something" with a correct
9159 alternative, such as "This allow you to do something", "This allows
9160 something to be done" or "This allows the doing of something".
9162 2016-01-24 l3thal <kwhite@gnu.org>
9164 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
9166 2016-01-24 Kelvin White <kwhite@gnu.org>
9168 Add NEWS entry for asynchronous reconnect in ERC
9170 2016-01-24 l3thal <kwhite@gnu.org>
9172 Add NEWS entry for asynchronous reconnect in ERC
9174 2016-01-24 Kelvin White <kwhite@gnu.org>
9176 browse-url.el: Add 'google-chrome' to supported browsers.
9178 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
9180 Port Tramp manual to latest Texinfo
9182 Otherwise, 'make pdf' did not work (Bug#22416).
9183 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
9184 (trampfn): Specialize to the case where METHOD is nonempty.
9185 The 2nd argument is now user@host, not 2nd user and 3rd host args.
9187 (trampf): New macro.
9189 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
9191 * eww.el (eww-render): Protect against empty content-types.
9193 2016-01-24 Nicolas Petton <nicolas@petton.fr>
9197 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
9200 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
9202 Rename xref-query-replace to xref-query-replace-in-results
9204 * lisp/progmodes/xref.el(xref-query-replace):
9205 Rename to xref-query-replace-in-results.
9206 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
9208 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
9209 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
9210 * doc/emacs/dired.texi (Operating on Files):
9211 * doc/emacs/maintaining.texi (Xref Commands)
9212 (Identifier Search, Identifier Search): Update accordingly.
9214 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
9216 Update cl-defgeneric and cl-defmethod docstrings
9218 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
9219 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
9220 (cl-defmethod): Mention that multiple dispatch arguments are
9221 allowed. Document supported types. (Bug#22336)
9223 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
9225 Comment out next-error-function integration in xref
9227 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
9228 Comment out next-error-function integration
9229 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
9231 2016-01-23 John Wiegley <johnw@newartisans.com>
9233 Correct a use of "which" in intro.texi
9235 2016-01-23 Alan Mackenzie <acm@muc.de>
9237 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
9239 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
9240 context of case labels (including "default") more rigorously.
9241 (c-guess-basic-syntax CASE 15): Consequential amendment.
9243 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
9245 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
9247 Don't operate on menu bar of nonexistent frame
9249 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
9250 is valid before redisplaying its menu. Fixes bug#22438.
9252 2016-01-23 Anders Lindgren <andlind@gmail.com>
9254 Unbreak the GNUstep build.
9256 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
9257 predefined "caution" image. Add trace.
9258 (x_set_window_size): Remove unused variables `cols' and `rows'.
9259 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
9261 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
9262 ([EmacsWindow zoom:]): Remove unused variable `f'.
9264 2016-01-23 Eli Zaretskii <eliz@gnu.org>
9265 John Wiegley <johnw@gnu.org>
9266 Michael Heerdegen <michael_heerdegen@web.de>
9268 Improve documentation of 'pcase'
9270 * doc/lispref/control.texi (Pattern matching case statement):
9271 Reorganize, expand, and improve wording.
9273 * etc/NEWS: Mention that 'pcase' changes are documented.
9275 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
9277 * etc/NEWS: Say that Cairo is experimental.
9279 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
9281 Report error for PNG under Cairo
9283 * src/image.c (lookup_rgb_color): Signal a file error instead
9284 of dumping core when mishandling an image.
9286 2016-01-23 Arash Esbati <esbati@gmx.de>
9288 Delete a spurious backquote (tiny change)
9290 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
9291 spurious backquote which raises an error with emacs 25.
9293 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
9295 Pacify --enable-gcc-warnings --with-cairo
9297 Problem reported by Alexander Kuleshov in:
9298 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
9299 * src/gtkutil.c (xg_get_page_setup):
9300 Use switch rather than if-then-else.
9301 * src/image.c (COLOR_TABLE_SUPPORT):
9302 Define directly rather than via #define and optional later #undef.
9303 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
9304 Crash when the pixel is undefined, as there is a genuine bug
9306 * src/image.c (tiff_load, gif_load, svg_load_image)
9307 (x_kill_gs_process) [USE_CAIRO]:
9308 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
9309 Omit unused locals, or move them to where they’re needed.
9310 (x_clear_area1): Now ATTRIBUTE_UNUSED.
9312 2016-01-23 Eli Zaretskii <eliz@gnu.org>
9314 Update documentation for Dired search and replace
9316 * doc/emacs/dired.texi (Operating on Files): Update descriptions
9317 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
9318 'dired-do-find-regexp-and-replace'.
9320 * etc/NEWS: Mention xref-related changes in Dired.
9322 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
9324 Port recent xdisp.c fix to picky C compilers
9326 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
9327 putting #if inside the arguments to a standard function, which
9328 the C standard says has undefined behavior.
9330 2016-01-22 Alan Mackenzie <acm@muc.de>
9332 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
9334 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
9335 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
9336 contained in the preceding arg list.
9338 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
9339 `c-forward-declarator' in place of inline code.
9341 2016-01-22 Eli Zaretskii <eliz@gnu.org>
9343 Fix the build with --enable-checking=glyphs
9345 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
9346 build without xwidget support.
9348 2016-01-22 Eli Zaretskii <eliz@gnu.org>
9350 Document cl-generic.el
9352 * doc/lispref/functions.texi (Generic Functions): New section.
9354 (Functions): Update the chapter menu.
9355 * doc/lispref/elisp.texi: Update the master menu.
9357 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
9359 xwidgets style cleanup
9361 Adjust the newly-added Xwidgets code so that it uses a more-typical
9362 Emacs style. This should not affect behavior, except that in
9363 a few places it adds runtime checks that Lisp arguments are of
9364 the proper type, and in one place it uses more-precise arithmetic.
9365 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
9366 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
9367 Include xwidget.h unconditionally.
9368 * src/buffer.c (Fkill_buffer):
9369 * src/dispnew.c (update_window):
9370 * src/emacs.c (main):
9371 * src/print.c (print_object):
9372 * src/window.c (Fdelete_window_internal):
9373 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
9374 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
9375 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
9376 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
9377 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
9378 Call xwidget functions and macros without worrying about
9379 HAVE_XWIDGETS when the code is a no-op on non-xwidget
9381 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
9382 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
9383 (struct it.xwidget):
9384 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
9386 * src/emacsgtkfixed.h: Omit unnecessary comment.
9387 * src/keyboard.c: Fix spacing.
9388 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
9389 Define to be a no-op if not HAVE_XWIDGETS.
9390 * src/xwidget.c: Include xwidget.h first (after config.h)
9391 to make sure that it can stand by itself.
9392 (Fmake_xwidget, Fxwidget_webkit_execute_script):
9393 Fix typo in doc string.
9394 (Fmake_xwidget): Check type of args.
9395 (Fmake_xwidget, offscreen_damage_event)
9396 (webkit_document_load_finished_cb, webkit_download_cb)
9397 (webkit_new_window_policy_decision_requested_cb)
9398 (webkit_navigation_policy_decision_requested_cb)
9399 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
9400 (xwidget_osr_event_set_embedder, xwidget_init_view):
9401 Omit unnecessary casts.
9402 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
9403 (xwidget_show_view, xwidget_hide_view)
9404 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
9406 * src/xwidget.h (struct xwidget.kill_without_query)
9407 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
9408 Use bool for boolean.
9409 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
9410 Simplify by using list functions.
9411 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
9412 (Fxwidget_resize): Check type of integer args
9413 before doing any work. Check that they are nonnegative.
9414 (Fxwidget_set_adjustment): Check type of integer arg.
9415 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
9416 Simplify. Use double, not float.
9417 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
9418 (valid_xwidget_spec_p): Simplify.
9419 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
9420 * src/xwidget.h: Include lisp.h first, so that includers do
9421 not need to worry about doing that before including this file.
9422 Make this .h file safe to include even on non-HAVE_XWIDGETS
9423 configurations, to simplify the includers.
9424 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
9425 (xwidget_end_redisplay, lookup_xwidget)
9426 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
9427 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
9428 (struct glyph_matrix, struct glyph_string, struct xwidget)
9429 (struct xwidget_view, struct window):
9430 New forward or incomplete decls, so that includers need not
9431 assume the corresponding .h files are already included, or that
9432 HAVE_XWIDGETS is defined.
9433 (struct xwidget_type, xwidget_from_id): Remove; unused.
9435 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
9437 Backport kqueue integration from master
9439 * configure.ac (--with-file-notification): Add kqueue.
9440 (top): Remove special test for "${HAVE_NS}" and
9441 ${with_file_notification}, this is handled inside gfilenotify
9442 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
9443 instead of library specific variables. Add error message for
9446 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
9447 Fix some glitches in the example.
9449 * etc/NEWS: Mention kqueue.
9451 * lisp/filenotify.el (file-notify--library)
9452 (file-notify-descriptors, file-notify-callback)
9453 (file-notify-add-watch, file-notify-rm-watch)
9454 (file-notify-valid-p): Add kqueue support.
9455 (file-notify--rm-descriptor): Remove WHAT arg.
9457 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
9459 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
9461 * src/inotify.c (inotifyevent_to_event): Extract file name from
9462 watch_object if the event doesn't provide it.
9463 (Finotify_add_watch): Add file name to watch_object.
9465 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
9467 * src/kqueue.c: New file.
9469 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
9471 * test/automated/file-notify-tests.el
9472 (file-notify--test-expected-events): Remove.
9473 (file-notify--test-cleanup): Do not set that variable.
9474 (file-notify--test-timeout) Use different timeouts for
9475 different libraries.
9476 (file-notify--test-library): New defun.
9477 (file-notify--test-event-test): Make stronger checks.
9478 (file-notify--test-with-events): EVENTS can also be a list of
9479 lists. Flush outstanding events before running the body.
9480 Make timeout heuristically depend on the number of events.
9481 (file-notify-test01-add-watch, file-notify-test02-events)
9482 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
9483 Rewrite in order to call file monitors but directory monitors.
9484 (file-notify-test02-events, file-notify-test04-file-validity): Do
9485 not skip cygwin tests. Add additional test for file creation.
9486 Adapt expected result for different backends.
9487 (file-notify-test03-autorevert): Some of the tests don't work for
9489 (file-notify-test06-many-events): New test.
9491 2016-01-22 John Wiegley <johnw@newartisans.com>
9493 Further corrections to the pcase docstring
9495 2016-01-22 Eli Zaretskii <eliz@gnu.org>
9497 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
9499 2016-01-22 Stephen Leake <stephen_leake@stephe-leake.org>
9501 In xref-collect-references, force backends to respect the 'dir' arg
9503 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
9504 to use `default-directory'.
9506 2016-01-22 John Wiegley <johnw@newartisans.com>
9508 Minor correction to pcase docstring
9510 2016-01-22 John Wiegley <johnw@newartisans.com>
9512 Write a new docstring for the pcase macro
9514 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
9516 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
9518 Avoid byte-compiler warning in todo-mode (bug#21953)
9520 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
9521 to looking-back to comply with advertised-calling-convention.
9523 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
9525 Fix desktop support in todo-mode and doc-view (bug#22377)
9527 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
9528 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
9530 * lisp/calendar/todo-mode.el (todo-modes-set-2):
9531 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
9533 2016-01-21 Paul Eggert <eggert@cs.ucla.edu>
9535 No need to configure gobject-introspection
9537 It wasn’t needed for the recently-installed xwidget_mvp code; see:
9538 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
9539 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
9541 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
9542 Remove. All uses removed.
9543 * configure.ac (emacs_config_features): Don’t worry about GIR.
9545 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
9547 Don’t export C symbols not used elsewhere
9549 These were recently added, mostly as part of xwidget code.
9550 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
9551 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
9552 Now static functions here, not macros in emacsgtkfixed.h.
9553 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
9554 Remove. All uses replaced by definiens.
9555 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
9556 Remove; these are now static functions in emacsgtkfixed.c.
9557 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
9559 (emacs_fixed_get_type): Remove decl; no longer extern.
9560 * src/xwidget.c (offscreen_damage_event)
9561 (webkit_mime_type_policy_typedecision_requested_cb)
9562 (webkit_new_window_policy_decision_requested_cb)
9563 (webkit_navigation_policy_decision_requested_cb)
9564 (xwidget_spec_value, xwidget_view_lookup)
9565 (xwidget_start_redisplay, xwidget_touch):
9567 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
9570 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
9572 Support squiggly heredocs in ruby-mode
9574 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
9575 Support squiggly heredocs added in Ruby 2.3.
9577 * test/indent/ruby.rb: Add squiggly example.
9579 2016-01-20 Glenn Morris <rgm@gnu.org>
9581 * configure.ac (emacs_config_features): Remove WEBKIT.
9583 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
9585 Port to platforms with gtk3 but not webkitgtk3
9587 I ran into this problem on my Fedora 23 installation;
9588 Emacs configured but did not build when --with-xwidgets was specified.
9589 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
9590 (DOES_XWIDGETS_USE_GIR): New var.
9591 If --with-xwidgets is specified, report an error if not
9592 doable, to be consistent with the other --with options.
9593 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
9594 not work at all without webkitgtk3. Simplify use of
9595 EMACS_CHECK_MODULES. Output message about gobject
9596 introspection only if xwidgets are used.
9597 * etc/NEWS: Users need webkitgtk3, not merely webkit.
9598 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
9599 since this file is no longer compiled if webkitgtk3 is not available.
9601 2016-01-20 Eli Zaretskii <eliz@gnu.org>
9603 Fix doc string of 'isearch-search-fun-function'
9605 * lisp/isearch.el (isearch-search-fun-function)
9606 (isearch-search-string): Doc fixes. (Bug#22411)
9608 2016-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * lisp/xwidget.el: Nitpicks
9612 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
9613 Use with-current-buffer rather than save-excursion + set-buffer.
9615 2016-01-20 Glenn Morris <rgm@gnu.org>
9617 Don't hard-code 1 as point-min.
9619 * lisp/image-mode.el (image-display-size):
9620 * lisp/xwidget.el (xwidget-webkit-last-session)
9621 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
9623 2016-01-20 Glenn Morris <rgm@gnu.org>
9625 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
9627 2016-01-20 Glenn Morris <rgm@gnu.org>
9629 Trivial doc copyedits.
9631 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
9632 (Fxwidget_webkit_get_title, Fxwidget_resize)
9633 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
9634 (Fxwidget_info, Fxwidget_view_lookup)
9635 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
9637 2016-01-20 Glenn Morris <rgm@gnu.org>
9639 Avoid advising image-display-size for xwidgets.
9641 * lisp/xwidget.el (xwidget-image-display-size): Remove.
9642 (image-display-size): Remove advice.
9643 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
9644 (image-display-size): Incorporate xwidget code directly.
9646 2016-01-20 Glenn Morris <rgm@gnu.org>
9648 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
9650 * lisp/xwidget.el (window-configuration-change-hook)
9651 (kill-buffer-query-functions): Only modify these hooks if
9652 compiled with xwidget support.
9654 2016-01-20 Glenn Morris <rgm@gnu.org>
9656 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
9658 2016-01-19 Glenn Morris <rgm@gnu.org>
9660 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
9662 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
9664 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
9666 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
9668 * lisp/gnus/nnir.el (nnir-request-update-mark):
9669 Default to the original mark.
9670 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
9671 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
9673 2016-01-19 Glenn Morris <rgm@gnu.org>
9675 * lisp/xwidget.el (report-xwidget-bug): Remove.
9677 (top-level): No longer require reporter.
9679 2016-01-19 Joakim Verona <joakim@verona.se>
9680 Grégoire Jadi <daimrod@gmail.com>
9682 Support for the new Xwidget feature.
9685 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
9686 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
9688 (handle_display_spec, handle_single_display_spec, push_it)
9689 (pop_it, set_iterator_to_next, dump_glyph)
9690 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
9691 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
9692 (produce_xwidget_glyph, x_produce_glyphs)
9693 (get_window_cursor_type):
9694 * src/window.c (Fdelete_window_internal):
9695 * src/termhooks.h (e):
9696 * src/print.c (print_object):
9697 * src/lisp.h (ptrdiff_t):
9698 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
9700 * src/emacs.c (main):
9701 * src/dispnew.c (update_window, scrolling_window):
9702 * src/dispextern.h (g, i):
9703 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
9704 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
9705 * src/keyboard.c (kbd_buffer_get_event):
9706 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
9707 (emacs_fixed_class_init): Add case for an xwidget view.
9709 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
9712 Various improvements to the Xwidget feature.
9714 * src/emacsgtkfixed.c:
9717 2016-01-19 Eli Zaretskii <eliz@gnu.org>
9719 Improve documentation of 'alist-get'
9721 * doc/lispref/variables.texi (Setting Generalized Variables): Add
9722 'alist-get' to the list of functions that can appear in PLACE
9725 2016-01-19 Eli Zaretskii <eliz@gnu.org>
9727 Minor copyedits of doc/emacs/maintaining.texi
9729 * doc/emacs/maintaining.texi (List Identifiers): More accurate
9730 description of "C-M-i" wrt tags tables.
9731 (Tags Tables): Move the definition of "tag" to a footnote.
9733 2016-01-19 Eli Zaretskii <eliz@gnu.org>
9735 Unbreak the Cygwin-w32 build
9737 * src/w32fns.c (globals_of_w32fns): Move the initialization of
9738 resetstkoflw into a part that isn't compiled on Cygwin.
9741 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9743 * shr.el (shr-table-body): Allow tables to have text children.
9745 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
9747 Cope with multiple overlapping faces.
9749 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
9751 (hfy-face-resolve-face): Handle font specification as well as font
9752 name. Documentation update. (Bug#21990)
9754 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
9756 Fix spurious escapes in describe-input-method
9758 Problem reported by Vincent Belaïche (Bug#22309).
9759 * lisp/international/mule-cmds.el (describe-language-environment):
9760 * lisp/international/quail.el (quail-help):
9761 Apply substitute-command-keys to doc strings before displaying them.
9763 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
9765 Minor improvements to (random t) documentation
9767 * doc/lispref/numbers.texi (Random Numbers):
9768 * src/fns.c (Frandom):
9769 Omit unnecessary details about randomness fallback.
9770 Say that it is a fallback.
9772 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
9774 Rename methods in Ruby etags example file
9776 * test/etags/ruby-src/test.rb: Rename the example methods to
9777 correspond to the common terminology used in Ruby.
9778 * test/etags/CTAGS.good:
9779 * test/etags/ETAGS.good_1:
9780 * test/etags/ETAGS.good_2:
9781 * test/etags/ETAGS.good_3:
9782 * test/etags/ETAGS.good_4:
9783 * test/etags/ETAGS.good_5:
9784 * test/etags/ETAGS.good_6: Adjust accordingly.
9786 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
9788 Propertize backtick in 'def `(abc)' as symbol constituent
9790 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
9791 Propertize backtick in 'def `(abc)' as symbol constituent.
9792 (ruby-syntax-propertize-function):
9793 Rename to ruby-syntax-propertize.
9795 2016-01-18 Eli Zaretskii <eliz@gnu.org>
9797 Fix scrolling under scroll-preserve-screen-position on TTY
9799 * src/window.c (window_scroll_line_based): When setting point to
9800 preserve screen coordinates, don't let cursor enter either of the
9801 two scroll margins. (Bug#22395)
9803 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9805 Fix shr table rendering of nested tables
9807 * shr.el (shr-table-body): Don't include all tbodies in nested
9808 tables in the levels above.
9810 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
9812 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
9814 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
9816 Add xref-based replacements for Dired search commands
9818 * lisp/dired-aux.el (dired-do-find-regexp)
9819 (dired-do-find-regexp-and-replace): New commands.
9820 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
9822 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
9823 `Q' to the new commands.
9825 * lisp/progmodes/xref.el (xref-query-replace)
9826 (xref-collect-matches): Add progress reporters.
9827 (xref--find-ignores-arguments): Return nil for zero ignores.
9828 (xref--show-xrefs): Add an optional argument.
9829 (xref-collect-matches): Drop the assert. 'find' accepts a
9830 regular file in place of directory argument, too.
9832 2016-01-18 Alan Mackenzie <acm@muc.de>
9834 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
9836 2016-01-18 Eli Zaretskii <eliz@gnu.org>
9838 Improve user documentation of Xref
9840 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
9841 (Looking Up Identifiers, Identifier Search, List Identifiers):
9842 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
9843 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
9846 2016-01-18 Eli Zaretskii <eliz@gnu.org>
9848 Fix scrolling under scroll-preserve-screen-position and margins
9850 * src/window.c (window_scroll_pixel_based): When setting point to
9851 preserve screen coordinates, don't let cursor enter either of the
9852 two scroll margins. Fix incorrect usage of
9853 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
9854 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
9856 2016-01-18 Eli Zaretskii <eliz@gnu.org>
9858 Unbreak the MS-Windows build
9860 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
9861 WINDOWSNT, to avoid link failure. (Bug#22202)
9863 2016-01-18 Alan Mackenzie <acm@muc.de>
9865 Desktop: protect users against inadvertant upgrading of desktop file.
9867 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
9869 * etc/NEWS: Add an entry about upgrading a desktop file.
9871 * lisp/desktop.el (desktop-file-version): Amend doc string.
9872 (desktop-native-file-version, desktop-io-file-version): new variables.
9873 (desktop-clear): Set desktop-io-file-version to nil.
9874 (desktop-buffer-info): make the presence of the last item on the list
9875 conditional on (>= desktop-io-file-version 208).
9876 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
9877 Amend the doc string. Add code to determine the output file version.
9878 (desktop-create-buffer): Set desktop-io-file-version to the input file's
9881 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
9883 Initialize GnuTLS before calling gnutls_rnd
9885 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
9886 Don’t set gnutls_global_initialized if gnutls_global_init fails.
9887 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
9888 if 2.12 or later, which has gnutls_rnd.
9889 (emacs_gnutls_global_init, gnutls_rnd): New fallback
9890 placeholder macros if before 2.12.
9891 (init_random): Initialize gnutls globals before trying to
9894 2016-01-18 Andreas Schwab <schwab@linux-m68k.org>
9896 Don't use GnuTLS before it is initialized
9898 * src/sysdep.c (init_random): Don't use gnutls_rnd.
9900 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
9902 Port cleanup attribute to OpenBSD
9904 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
9905 sprintf, and this messes up 'configure' when it tests for the cleanup
9906 attribute. Work around the problem by using __has_attribute directly.
9907 Problem reported by Joakim Jalap (Bug#22385).
9908 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
9909 * m4/ax_gcc_var_attribute.m4: Remove.
9910 * src/conf_post.h (__has_attribute): Provide a substitute, for
9911 non-GCC or older GCC compilers. All uses changed to assume
9912 the substitute. Check for the cleanup attribute.
9913 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
9915 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
9917 Prefer GnuTLS when acquiring random seed
9919 This attempts to improve on the fix for Bug#22202.
9920 * configure.ac (HAVE_DEV_URANDOM): Remove.
9921 Check /dev/urandom existence at run time, not at build time,
9922 since the device could exist in the former but not the latter.
9923 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
9924 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
9925 (random_seed): New typedef.
9926 (set_random_seed): New static function.
9927 (seed_random): Use them.
9928 (init_random): Use random_seed instead of uintmax_t, so as to
9929 not consume more entropy than needed. Prefer gnutls_rnd if it
9930 works; this avoids a redundant open of /dev/urandom on
9931 GNU/Linux with modern GnuTLS.
9933 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9935 Improve documentation of dynamic modules
9937 * doc/lispref/loading.texi (How Programs Do Loading): Update the
9938 description of searching for files in 'load' when Emacs was built
9939 with support for dynamic modules.
9941 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9943 * INSTALL: Document --with-modules.
9945 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9947 Document 'function-put'
9949 * doc/lispref/symbols.texi (Symbol Plists): Document
9950 'function-put'. Update documentation of 'function-get'.
9952 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9954 Document 'funcall-interactively'
9956 * doc/lispref/commands.texi (Interactive Call): Document
9957 'funcall-interactively'.
9958 * doc/lispref/functions.texi (Calling Functions): Mention
9959 'funcall-interactively' and provide a cross-reference.
9961 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9963 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
9965 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
9967 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9969 Document renaming of selection-related functions
9971 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
9972 functions into the corresponding "gui-*" functions. Make the
9973 description slightly less X-centric.
9975 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9977 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
9979 2016-01-16 Eli Zaretskii <eliz@gnu.org>
9981 Document 'define-inline'
9983 * doc/lispref/functions.texi (Defining Functions): Document
9984 'define-inline' and related macros.
9986 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
9988 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
9990 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
9992 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
9994 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
9996 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
9998 instead of manually writing a dir-locals file.
10000 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
10002 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
10005 * lisp/files-x.el (modify-dir-local-variable)
10006 * lisp/dos-fns.el (dosified-file-name)
10007 * lisp/help-fns.el (describe-variable): Change accordingly.
10009 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
10011 Fix incompatbilities with MS-Windows 2000 and older
10013 * src/w32.c <multiByteToWideCharFlags>: New global variable.
10014 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
10015 Use it instead of the literal MB_ERR_INVALID_CHARS.
10016 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
10017 appropriate for the underlying OS version. For details, see
10018 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10019 * src/w32.h: Declare multiByteToWideCharFlags.
10020 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
10021 (add_tray_notification): Use multiByteToWideCharFlags instead of
10022 the literal MB_ERR_INVALID_CHARS.
10023 (_resetstkoflw_proc): New typedef.
10024 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
10025 pointer, as this function is absent in msvcrt.dll shipped with W2K
10028 2016-01-16 Eli Zaretskii <eliz@gnu.org>
10030 Mention in PROBLEMS an issue with MS-Windows NT4
10032 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
10033 on Windows NT4. For the details, see
10034 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
10036 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
10038 Ensure 8-byte aligned memory allocation on MS-Windows 9X
10040 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
10041 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
10042 (malloc_after_dump_9x, realloc_after_dump_9x)
10043 (free_after_dump_9x): New functions. (Bug#22379) See also
10044 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
10045 for more details about the original problem.
10047 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
10048 (free_after_dump_9x): Add prototypes.
10050 2016-01-16 Eli Zaretskii <eliz@gnu.org>
10052 Fix tests for active region in hideif.el
10054 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
10055 'use-region-p' to test whether to operate on region, instead of
10056 testing 'mark-active'.
10058 2016-01-16 Eli Zaretskii <eliz@gnu.org>
10060 Fix interactive specs in some hideif.el commands
10062 * lisp/progmodes/hideif.el (hif-evaluate-macro)
10063 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
10064 in commands that should only act on the region if it's active.
10066 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
10068 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
10070 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
10072 Enable test selector from command line
10074 * test/automated/Makefile.in: Change variable manipulation to avoid
10075 over-writing selector.
10077 2016-01-15 Alan Mackenzie <acm@muc.de>
10079 Don't confuse "::" with ":" when trying to parse member initializers.
10081 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
10082 more robustly for ":" token when searching backwards for it.
10084 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
10087 2016-01-15 Eli Zaretskii <eliz@gnu.org>
10089 Ensure positive number of glyphs for margins of positive width
10091 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
10092 positive value when a non-zero width of the marginal area was
10093 requested. (Bug#22356)
10095 2016-01-15 Eli Zaretskii <eliz@gnu.org>
10097 Fix crashes when mini-window has non-zero margins
10099 * src/window.c (resize_frame_windows): Use 'new_size' to set
10100 minibuffer window's 'total_cols' value, as 'size' might be in
10101 pixels. (Bug#22356)
10103 2016-01-15 Alan Mackenzie <acm@muc.de>
10105 In comment-dwim with style `extra-line', respect indent-tabs-mode.
10107 This fixes bug #22369.
10109 * lisp/newcomment.el (comment-make-bol-ws): New function.
10110 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
10112 2016-01-15 Eli Zaretskii <eliz@gnu.org>
10114 Make 'random' seeds cryptographically secure if possible
10116 * configure.ac: Check for "/dev/urandom".
10118 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
10119 for the seed from "/dev/urandom".
10120 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
10121 * src/fns.c (Frandom): Update the doc string to indicate that
10122 system entropy is used when available.
10123 * src/w32.c: Include wincrypt.h.
10124 (w32_init_crypt_random, w32_init_random): New functions, use the
10125 CryptGenRandom API.
10126 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
10127 * src/w32.h (w32_init_random): Add prototype.
10129 * doc/lispref/numbers.texi (Random Numbers): Document more details
10130 about 't' as the argument to 'random'.
10132 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
10133 strong seed if possible.
10137 2016-01-15 Eli Zaretskii <eliz@gnu.org>
10139 Unhide the --no-line-directive option to 'etags'
10141 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
10142 option. (Bug#22306)
10144 * doc/man/etags.1: Document the --no-line-directive option.
10146 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
10148 Fix picture-mode wrt double-width characters
10150 * lisp/textmodes/picture.el (picture-insert): Check the width of
10151 the character being replaced, not just that of the replacement.
10154 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
10156 Honor docstring of gnus-group-get-new-news
10158 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
10159 but non-numeric, unconditionally consider all groups to need updating.
10161 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
10163 Disallow parenthesis in non-pseudo CSS selectors
10165 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
10166 parenthesis in selectors except for in the function notation that
10167 might appear right after a pseudo-class.
10168 * test/indent/scss-mode.scss: Add a test for it.
10170 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
10172 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
10174 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
10176 check-maybe shall run only default tests
10178 * test/automated/Makefile.in (check, check-expensive): Depend on
10180 (check-maybe): Re-run only default tests.
10181 (check-doit): Use code of check-maybe.
10182 (mostlyclean): Move *.log files away.
10184 2016-01-14 Mark Oteiza <mvoteiza@udel.edu>
10186 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
10188 2016-01-14 Dmitry Gutov <dgutov@yandex.ru>
10190 Un-obsolete tags-loop-continue
10192 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
10193 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
10195 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10197 Document obsoletion of 'intangible' and 'point-entered/left'
10199 * doc/lispref/text.texi (Special Properties): Document the new
10200 properties 'cursor-intangible' and 'cursor-sensor-functions'.
10201 Document the obsolete status of 'intangible', 'pointer-left',
10202 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
10203 * doc/lispref/display.texi (Overlay Properties): Document that
10204 'intangible' overlay property is obsolete.
10206 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
10208 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10210 Updater documentation of 'looking-back'
10212 * doc/lispref/searching.texi (Regexp Search): Update documentation
10213 of 'looking-back'. Fix markup.
10215 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10217 Document 'pre-redisplay-functions'
10219 * doc/lispref/hooks.texi (Standard Hooks):
10220 * doc/lispref/display.texi (Forcing Redisplay): Document
10221 'pre-redisplay-functions'.
10223 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10225 Document the new deafault value of 'load-read-function'
10227 * doc/lispref/loading.texi (How Programs Do Loading): Document the
10228 change in the default value of 'load-read-function'.
10230 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10232 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
10234 * doc/lispref/nonascii.texi (Text Representations): Document
10235 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
10237 2016-01-13 Eli Zaretskii <eliz@gnu.org>
10239 Document the new prefix-command hooks
10241 * doc/lispref/hooks.texi (Standard Hooks): Document
10242 `prefix-command-echo-keystrokes-functions' and
10243 `prefix-command-preserve-state-hook'.
10245 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
10247 Fix one more misuse of time-stamp-time-zone
10249 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
10250 than the unportable "GMT" for time zone.
10252 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
10254 Fix NNTP NEWGROUPS off-by-a-few-hours bug
10256 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
10257 in Universal Time, since we’re telling the server “GMT”.
10259 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
10261 Update publicsuffix.txt from upstream
10263 * etc/publicsuffix.txt: Update from
10264 https://publicsuffix.org/list/effective_tld_names.dat
10265 dated 2016-01-12 11:52:01 UTC.
10267 2016-01-13 Glenn Morris <rgm@gnu.org>
10269 Fix some declarations.
10271 * lisp/descr-text.el (internal-char-font):
10272 * lisp/cedet/mode-local.el (xref-item-location):
10273 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
10274 (epg-sub-key-capability, epg-sub-key-validity):
10275 * lisp/international/mule-util.el (internal-char-font):
10278 2016-01-13 Glenn Morris <rgm@gnu.org>
10280 Fix some custom types.
10282 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
10283 * lisp/gnus/gnus.el (gnus-valid-select-methods):
10284 * lisp/mail/rmail.el (rmail-get-coding-function):
10285 * lisp/net/newst-treeview.el (newsticker-groups-filename):
10286 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
10287 * lisp/textmodes/tildify.el (tildify-space-predicates):
10288 * lisp/url/url-tramp.el (url-tramp-protocols):
10291 2016-01-13 Glenn Morris <rgm@gnu.org>
10293 Add some missing version tags.
10295 * lisp/electric.el (electric-quote-comment)
10296 (electric-quote-string, electric-quote-paragraph):
10297 * lisp/epg-config.el (epg-gpgconf-program):
10298 * lisp/rect.el (rectangle-preview):
10299 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
10300 * lisp/emacs-lisp/package.el (package-selected-packages)
10301 (package-hidden-regexps):
10302 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
10303 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
10304 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
10305 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
10306 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
10307 (mml-smime-sign-with-sender, mml2015-always-trust)
10308 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
10309 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
10310 (browse-url-conkeror-arguments):
10311 * lisp/net/newst-reader.el (newsticker-download-logos):
10312 * lisp/progmodes/gud.el (gud-guiler-command-name):
10313 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
10314 * lisp/progmodes/project.el (project-vc):
10315 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
10316 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
10317 (python-shell-completion-native-disabled-interpreters)
10318 (python-shell-completion-native-enable)
10319 (python-shell-completion-native-output-timeout)
10320 (python-shell-completion-native-try-output-timeout):
10321 * lisp/progmodes/xref.el (xref):
10322 * lisp/term/screen.el (xterm-screen-extra-capabilities):
10323 * lisp/term/xterm.el (xterm-max-cut-length):
10324 Add missing version tags.
10326 2016-01-13 Glenn Morris <rgm@gnu.org>
10328 * test/automated/core-elisp-tests.el
10329 (core-elisp-tests-1-defvar-in-let): Add a custom type.
10331 2016-01-13 Glenn Morris <rgm@gnu.org>
10333 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
10335 Remove comments that do not apply since 2005-08-09. (Bug#22349)
10337 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
10341 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
10342 It also updates to the latest version of texinfo.tex.
10343 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
10344 * build-aux/update-copyright, doc/misc/texinfo.tex:
10345 Update from gnulib.
10347 2016-01-12 Eli Zaretskii <eliz@gnu.org>
10349 Update documentation of 'process-running-child-p'
10351 * doc/lispref/processes.texi (Input to Processes): Document the
10352 changes in return value of 'process-running-child-p'.
10354 2016-01-12 Eli Zaretskii <eliz@gnu.org>
10356 Update documentation of 'deactivate-mark'.
10358 * doc/lispref/markers.texi (The Mark): Document that
10359 'deactivate-mark' is now buffer-local when set.
10361 2016-01-12 Eli Zaretskii <eliz@gnu.org>
10363 Update documentation of 'completion-table-dynamic'
10365 * doc/lispref/minibuf.texi (Programmed Completion): Document the
10366 new optional argument to 'completion-table-dynamic'.
10368 2016-01-12 Eli Zaretskii <eliz@gnu.org>
10370 Document changes in 'read-buffer' and 'read-buffer-function'
10372 * doc/lispref/minibuf.texi (High-Level Completion): Document the
10373 4th argument to 'read-buffer' and 'read-buffer-function'.
10375 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
10377 Fix time-stamp-time-zone bugs introduced in July
10379 This fixes a bug introduced when the July changes to
10380 format-time-string installed, as the changes were not
10381 correctly handled in this module (Bug#22302).
10382 Also, document time stamp time zones.
10383 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
10384 (time-stamp--format): New private function.
10385 (time-stamp-string, time-stamp-string-preprocess)
10386 (time-stamp-do-number): Use it.
10387 * doc/emacs/files.texi (Time Stamps): Mention time zones.
10388 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
10390 2016-01-12 Eli Zaretskii <eliz@gnu.org>
10392 Make piping to subprocesses more robust on MS-Windows
10394 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
10395 buffer can hold. Don't return -1 if something has been written to
10396 the pipe. Zero out 'errno' before calling '_write', to avoid
10397 returning a stale value. (Bug#22344)
10398 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
10399 * src/w32.c (pipe2): Use it to request a user-defined size for the
10400 pipe being created.
10402 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
10404 * doc/emacs/msdos.texi (Windows Processes): Document
10405 'w32-pipe-buffer-size'.
10407 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
10409 test/automated/vc-hg.el: Support out-of-tree build
10411 * test/automated/vc-hg.el
10412 (vc-hg-annotate-extract-revision-at-line-with-filename)
10413 (vc-hg-annotate-extract-revision-at-line-with-both):
10414 Don't refer to source-directory.
10415 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
10417 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
10419 Minor change in tramp-tests.el
10421 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
10422 Use `dired-uncache' instead of a Tramp internal function.
10424 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
10426 * etc/HELLO: Add Armenian and Mongolian greetings.
10430 2016-01-11 Alan Mackenzie <acm@muc.de>
10432 Java Mode: Fontify identifiers in the presence of annotations.
10434 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
10435 Don't move point when the defun fails.
10436 (c-forward-decl-or-cast-1): Correct a usage of match data.
10438 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
10439 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
10442 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
10444 2016-01-11 Eli Zaretskii <eliz@gnu.org>
10446 Avoid an infloop when we run out of memory
10448 * src/alloc.c (garbage_collect_1): Don't bother saving and
10449 restoring the echo-area message if we are GC'ing after running out
10450 of memory. This avoids an infloop due to repeated attempts to
10451 allocate memory for the cons cell needed to save the message,
10452 which signals the memory-full error, which attempts to save the
10453 echo-area message, which signals memory-full again, etc.
10455 2016-01-11 Eli Zaretskii <eliz@gnu.org>
10457 Avoid unnecessary failures of auto-saving after fatal error
10459 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
10460 the benefit of FAT volumes if we are called as part of shutting
10461 down due to a fatal error, which probably means we are trying to
10462 auto-save the session.
10463 * src/lread.c (check_obarray): Don't bother making the obarray
10464 valid if we are shutting down due to a fatal error. This avoids
10465 interfering with auto-saving the crashed session.
10467 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
10469 Simplify HAVE_MODULES use in mark_maybe_pointer
10471 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
10472 so that later code can use 'if' rather than '#ifdef'.
10473 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
10476 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
10478 Revert attempt to use 'noexcept' in typedef
10480 This use of 'noexcept' runs afoul of the C++11 standard.
10481 Problem reported by Philipp Stephani in:
10482 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
10483 * src/emacs-module.c (emacs_finalizer_function):
10484 Move this typedef here ...
10485 * src/emacs-module.h: ... from here, and use only the C
10486 version of the typedef. The typedef is now private since it
10487 is never used in the .h file now and anyway it seemed to be
10488 causing more confusion than it cured.
10489 (make_user_ptr, get_user_finalizer, set_user_finalizer):
10490 Open-code the type instead.
10492 2016-01-10 Eli Zaretskii <eliz@gnu.org>
10494 Update documentation of 'indirect-function'
10496 * doc/lispref/eval.texi (Function Indirection): Update the
10497 documentation of 'indirect-function'.
10499 2016-01-10 Eli Zaretskii <eliz@gnu.org>
10501 Update documentation for obsoleting 'syntax-begin-function'
10503 * doc/lispref/syntax.texi (Position Parse): Undocument
10504 'syntax-begin-function' that is now obsolete.
10506 2016-01-10 Eli Zaretskii <eliz@gnu.org>
10508 Document new features if Eshell
10510 * doc/misc/eshell.texi (Input/Output): Document the new
10511 '#<bufname>' syntax.
10512 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
10513 Disable "Key Index" generation, as there are no @kindex entries in
10516 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
10518 Handle too long commands in Tramp
10520 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
10521 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
10522 order to not exceed shell command line limit.
10524 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
10525 (tramp--test-utf8): Include Arabic file name, again.
10527 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
10529 * .gitattributes: *.cur and *.pif are binary files too.
10531 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10533 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
10535 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10537 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
10539 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
10541 * test/indent/shell.sh: Add corresponding test.
10543 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
10547 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
10548 cast to Lisp_Object.
10550 2016-01-10 Dmitry Gutov <dgutov@yandex.ru>
10552 Use short date for 'hg annotate', and output the author
10554 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
10555 Change '-d' to '-dq'. (Bug#21805)
10556 (vc-hg-annotate-switches): Default to "-u" "--follow".
10557 (vc-hg-annotate-re): Update to recognize the short date format
10558 and the optional username.
10559 (vc-hg-annotate-time)
10560 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
10562 * test/automated/vc-hg.el: New file.
10564 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
10568 2016-01-09 Eli Zaretskii <eliz@gnu.org>
10570 Document user-level functions in project.el
10572 * lisp/progmodes/project.el (project-find-file)
10573 (project-or-external-find-file): Add doc strings.
10575 2016-01-09 Eli Zaretskii <eliz@gnu.org>
10577 Document the user-level features of the Xref package
10579 * doc/emacs/maintaining.texi (Maintaining): Add a list of
10580 described features.
10581 (Xref): New section, made out of thoroughly rewritten "Tags"
10583 (Find Identifiers, Looking Up Identifiers, Xref Commands)
10584 (Identifier Search, List Identifiers): New subsections,
10585 incorporating the old tags commands and the new xref commands.
10586 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
10587 Section and subsections demoted to a lower level.
10588 * doc/emacs/search.texi (Search):
10589 * doc/emacs/windows.texi (Pop Up Window):
10590 * doc/emacs/frames.texi (Creating Frames):
10591 * doc/emacs/programs.texi (Imenu, Symbol Completion):
10592 * doc/emacs/building.texi (Grep Searching):
10593 * doc/emacs/dired.texi (Operating on Files):
10594 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
10596 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * doc/lispref/loading.texi: Add `define-type' entry for load-history
10600 * doc/lispref/loading.texi (Where Defined): Remove incorrect
10601 cl-defmethod description, and add missing define-type entry.
10603 2016-01-09 Eli Zaretskii <eliz@gnu.org>
10605 Improve doc strings and prompts in xref.el
10607 * lisp/progmodes/xref.el (xref-backend-functions)
10608 (xref-find-definitions): Doc fixes.
10609 (xref-query-replace): Doc fix. Improve prompts for arguments.
10611 2016-01-09 Alan Mackenzie <acm@muc.de>
10613 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
10615 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
10616 `font-lock-extend-regions-wholelines' from
10617 `font-lock-extend-region-functions' rather than setting the latter to
10620 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
10622 Fix coding system for Tramp on OS X.
10624 * lisp/net/tramp-compat.el: Require ucs-normalize.
10626 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10627 Set coding system to `utf-8-hfs' for Mac OS X.
10629 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
10630 Flush directory properties when needed.
10631 (tramp--test-utf8): Include Chinese file name, again.
10633 2016-01-09 Eli Zaretskii <eliz@gnu.org>
10635 Update 'load-history' docs
10637 * doc/lispref/loading.texi (Where Defined): Update the list of
10638 forms in 'load-history' by adding the forms created for the
10639 'cl-generic' generics. (Bug#21422)
10641 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
10643 Fix (error ...) error
10645 Problem reported by Glenn Morris in:
10646 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
10647 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
10648 introduced in my Aug 28 change, where I got confused by the
10649 two meanings of (error ...).
10651 2016-01-08 Alan Mackenzie <acm@muc.de>
10653 Correctly analyze brace arguments in templated C++ function declarations.
10655 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
10656 POS and LIMIT parameters, like the other c-go-list-* functions have.
10658 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
10659 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
10660 followed by template specifiers.
10662 2016-01-08 Glenn Morris <rgm@gnu.org>
10664 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
10666 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
10668 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
10670 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
10672 2016-01-08 Alan Mackenzie <acm@muc.de>
10674 Respect fontification region calculated by major mode. Fixes bug #22316.
10676 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
10677 fontification region has been calculated by a function on
10678 font-lock-extend-after-change-region-function use this region rather than
10679 changing the end position to somewhere else.
10681 2016-01-08 Eli Zaretskii <eliz@gnu.org>
10683 Improve documentation of Delete Selection mode
10685 * lisp/delsel.el (delete-selection-mode)
10686 (delete-selection-helper): Update and expand the doc strings.
10689 * doc/emacs/mark.texi (Using Region): Document the behavior of
10690 delete commands in Delete Selection mode. (Bug#22296)
10692 * doc/lispref/markers.texi (The Mark): Document how to add the
10693 support for Delete Selection mode to Lisp programs. (Bug#22296)
10695 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
10697 Fix two project-find-file issues
10699 * lisp/progmodes/project.el (project--value-in-dir):
10700 Temporarily set enable-local-variables to :all.
10701 (project-find-file, project-or-external-find-file):
10703 (project--find-file-in): Require xref.
10705 2016-01-08 Eli Zaretskii <eliz@gnu.org>
10707 Clarify doc string of 'dired-current-directory'
10709 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
10710 the return value might not end in a slash when called with the
10711 optional argument non-nil. (Bug#6273)
10713 2016-01-08 Eli Zaretskii <eliz@gnu.org>
10715 Use the face of preceding text for displaying the ellipsis
10717 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
10718 text in it->saved_face_id for displaying the ellipsis, and ignore
10719 the face, if any, of the invisible text. (Bug#22320)
10721 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
10723 Suppress Chinese file name test for OSX in tramp-tests.el
10725 * test/automated/tramp-tests.el (tramp--test-utf8):
10726 Remove instrumentation. Suppress Chinese file name test for OSX.
10728 2016-01-08 Glenn Morris <rgm@gnu.org>
10730 * admin/admin.el (set-version): Also handle the NEWS file.
10732 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
10734 apropos-library: Skip obvious duplicates; don't error on generics
10736 * lisp/apropos.el (apropos-library): Skip "was an autoload"
10737 entries, to avoid obvious duplicates. For each cl-defmethod
10738 entry, take just its function symbol (bug#21422).
10740 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
10742 Add project-find-file and project-or-external-find-file
10744 * lisp/minibuffer.el (completion-category-defaults):
10745 Add `project-file' category.
10747 * lisp/progmodes/project.el (project-find-file)
10748 (project-or-external-find-file): New commands.
10749 (project--find-file-in): New private function.
10751 * lisp/progmodes/xref.el (xref-collect-matches): Use
10752 `expand-file-name' on DIR, to expand the tildes.
10753 (xref--find-ignores-arguments): Extract from
10754 `xref--rgrep-command'.
10756 2016-01-07 Leo Liu <sdl.web@gmail.com>
10758 Add defvar-local to lisp-imenu-generic-expression
10760 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
10763 2016-01-07 Leo Liu <sdl.web@gmail.com>
10765 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
10767 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
10768 Don't declare (indent 1).
10770 2016-01-07 Glenn Morris <rgm@gnu.org>
10772 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
10774 2016-01-07 Glenn Morris <rgm@gnu.org>
10776 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
10778 Avoid specifying the length of a time object (it has not been "2"
10781 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
10783 Properly encode/decode base64Binary data in SOAP
10785 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
10786 base64Binary value as utf-8.
10787 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
10789 2016-01-06 Eli Zaretskii <eliz@gnu.org>
10791 Obey coding-system-for-write when writing stdout/stderr in batch
10793 * src/print.c (printchar_to_stream):
10794 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
10795 a non-nil value, use it to encode output in preference to
10796 locale-coding-system. See the discussions in
10797 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
10800 * doc/lispref/os.texi (Terminal Output): Document how to send
10801 non-ASCII text via 'send-string-to-terminal'.
10802 (Batch Mode): Document how text written to standard streams is
10803 encoded. Fix inaccuracy regarding which output streams are used
10804 by output functions in batch mode.
10806 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
10808 * doc/misc/efaq.texi (Packages that do not come with Emacs):
10809 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
10810 <chenggao@royau.me> in
10811 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
10813 2016-01-06 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
10815 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
10817 Fix backslash. (Bug#22224)
10819 2016-01-06 Federico Beffa <beffa@ieee.org> (tiny change)
10821 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
10823 Make it actually work. (Bug#22265)
10825 2016-01-05 Alan Mackenzie <acm@muc.de>
10827 Remove function wrongly on AWK Mode value of context fontification hook.
10829 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
10830 swap order of entries so that awk's entry isn't superseded by the default.
10832 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
10833 to handle nil value of c-before-context-fontification-functions.
10835 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
10837 * src/buffer.c: Stick with ASCII in doc string.
10839 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
10841 Reword transient-mark-mode doc string
10843 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
10844 The value 'lambda (literally) can be interpreted as (quote lambda),
10845 which is not intended here; we want just the lambda symbol.
10847 2016-01-05 Eli Zaretskii <eliz@gnu.org>
10849 Update doc string of 'selective-display'
10851 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
10852 using it with the value of 't' is obsolete. (Bug#1092)
10854 2016-01-05 Alan Mackenzie <acm@muc.de>
10856 Make C++ buffers writeable when writing their initial text properties.
10858 This is a correction to yesterday's CC Mode patch.
10860 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
10861 c-save-buffer-state around the function rather than a mere `let'.
10863 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
10865 Additional changes for "make check-expensive"
10867 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
10868 Explain make target `check-expensive'.
10870 * etc/NEWS: Mention new make target `check-expensive'.
10872 * test/automated/Makefile.in (check-doit): New target.
10873 (check, check-expensive): Use it.
10875 2016-01-04 Alan Mackenzie <acm@muc.de>
10877 Apply text properties for <, > in new after-change function (C++ Java Modes).
10879 These are category/syntax-table properties to give < and > paren syntax.
10880 Also apply certain `c-type' text properties to the insides of <..> constructs
10881 to ensure that identifiers contained by them get fontified. This patch fixes
10884 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
10885 after-change action.
10887 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
10888 change region to include <s and >s which might not be already marked as
10889 parens, rather than just when paren text properties are removed.
10890 (c-restore-<>-properties): New after-change function, which applies text
10891 properties marking < and > with paren syntax.
10893 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
10894 properties are applied to the interiors of <...> constructs, to ensure
10895 fontification of identifiers there.
10897 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
10898 c-restore-<>-properties to this list for C++ and Java.
10900 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
10901 c-before-font-lock-functions, exclude c-restore-<>-properties from the
10903 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
10904 to allow modification by before-change functions.
10905 (c-after-change): Amend c-new-END here, rather than initializing it and
10908 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
10910 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
10912 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
10914 Introduce check-expensive tests.
10916 * Makefile.in (check-expensive):
10917 * test/automated/Makefile.in (check-expensive): New target.
10919 * test/automated/auto-revert-tests.el
10920 (auto-revert-test01-auto-revert-several-files):
10921 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
10922 * test/automated/tramp-tests.el (tramp-test26-process-file)
10923 (tramp-test27-start-file-process, tramp-test28-shell-command)
10924 (tramp-test29-vc-registered)
10925 (tramp-test31-special-characters-with-stat)
10926 (tramp-test31-special-characters-with-perl)
10927 (tramp-test31-special-characters-with-ls)
10928 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
10929 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
10930 (tramp-test35-unload): Tag the tests as :expensive-test.
10932 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10934 shr-tag-video bug fix
10936 * shr.el (shr-tag-video): Protect against the `poster' being
10939 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
10941 Minor fixes in tramp-tests.el
10943 * test/automated/tramp-tests.el (tramp-test26-process-file):
10944 Move point properly.
10945 (tramp-test29-vc-registered): Work with relative file names.
10947 2016-01-04 Eli Zaretskii <eliz@gnu.org>
10949 Ensure redisplay when 'truncate-lines' is set
10951 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
10954 2016-01-04 Eli Zaretskii <eliz@gnu.org>
10956 Fix a doc string of 'transient-mark-mode'
10958 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
10959 "lambda" in doc string from becoming a link to lambda expressions.
10961 2016-01-04 Eli Zaretskii <eliz@gnu.org>
10963 MS-Windows followup to latest gnulib update
10965 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
10967 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
10971 2016-01-04 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
10973 Do secure signed Bcc handling
10975 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
10978 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
10980 Avoid stdio in SIGINT handler
10982 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
10983 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
10984 * lib/ignore-value.h: New file, from gnulib.
10985 * src/keyboard.c: Include it.
10986 (write_stdout, read_stdin): New functions.
10987 (handle_interrupt): Use them instead of printf and getchar,
10988 and avoid fflush when handling signals.
10990 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
10992 * doc/misc/texinfo.tex: Revert unwanted copyright change.
10994 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
10996 * lisp/align.el (align): Simplify a lambda
10998 * lisp/align.el (align): Fix arg order in call to `align-region'
11000 2016-01-03 Eli Zaretskii <eliz@gnu.org>
11002 Fix compilation next-error in buffers with selective-display
11004 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
11006 (compilation-internal-error-properties)
11007 (compilation-next-error-function, compilation-set-window): Use
11010 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11012 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
11014 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11016 Add SHA1 warnings for high network security settings
11018 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
11019 about SHA1 certificates, which are now believed to be open to
11022 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
11024 Refactor mml-smime.el, mml1991.el, mml2015.el
11026 (Maybe this is the last merge from Gnus git to Emacs git)
11028 Cf. discussion on ding mailing list, messages in
11029 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
11030 Common code from the three files mml-smime.el, mml1991.el, and
11031 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
11034 The code is supported by test cases with necessary test keys.
11036 Documentation in message.texi is updated.
11038 * doc/misc/message.texi (Security, Using S/MIME):
11039 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
11040 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
11041 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
11043 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
11046 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
11047 (epa--select-keys): Autoload.
11048 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
11049 (mml-secure-openpgp-signers): New user option;
11050 make mml1991-signers and mml2015-signers obsolete aliases to it.
11051 (mml-secure-smime-signers): New user option;
11052 make mml-smime-signers an obsolete alias to it.
11053 (mml-secure-openpgp-encrypt-to-self): New user option;
11054 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
11056 (mml-secure-smime-encrypt-to-self): New user option;
11057 make mml-smime-encrypt-to-self an obsolete alias to it.
11058 (mml-secure-openpgp-sign-with-sender): New user option;
11059 make mml2015-sign-with-sender an obsolete alias to it.
11060 (mml-secure-smime-sign-with-sender): New user option;
11061 make mml-smime-sign-with-sender an obsolete alias to it.
11062 (mml-secure-openpgp-always-trust): New user option;
11063 make mml2015-always-trust an obsolete alias to it.
11064 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
11066 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
11067 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
11068 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
11069 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
11070 (mml-secure-passphrase-callback, mml-secure-check-user-id)
11071 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
11072 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
11073 (mml-secure-fingerprint, mml-secure-filter-keys)
11074 (mml-secure-normalize-cust-name, mml-secure-select-keys)
11075 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
11076 (mml-secure-self-recipients, mml-secure-recipients)
11077 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
11079 * lisp/gnus/mml-smime.el: Require epg;
11080 refactor declaration and autoloading of epg functions.
11081 (mml-smime-use): Doc fix.
11082 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
11084 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
11085 Use format instead of gnus-format-message.
11086 (mml-smime-epg-secret-key-id-list): Remove variable.
11087 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
11088 (mml-smime-epg-find-usable-secret-key): Remove functions.
11089 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
11091 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
11092 (mml1991-passphrase-cache-expiry): Obsolete.
11093 (mml1991-epg-secret-key-id-list): Remove variable.
11094 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
11095 (mml1991-epg-find-usable-secret-key): Remove functions.
11096 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
11098 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
11099 (mml2015-passphrase-cache-expiry): Obsolete.
11100 (mml2015-epg-secret-key-id-list): Remove variable.
11101 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
11102 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
11103 (mml2015-epg-find-usable-secret-key): Remove functions.
11104 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
11105 (mml2015-epg-encrypt): Refactor.
11107 2016-01-02 Glenn Morris <rgm@gnu.org>
11109 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
11111 Explicitly ignore case. (Bug#22262)
11113 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
11115 (semantic-symref-derive-find-filepatterns): Return a list
11117 * lisp/cedet/semantic/symref/grep.el
11118 (semantic-symref-derive-find-filepatterns): Return a list.
11119 (semantic-symref-perform-search): Quote the result here once and for all.
11121 2016-01-02 Eli Zaretskii <eliz@gnu.org>
11123 Fix xref-find-references on MS-Windows
11125 * lisp/cedet/semantic/symref/grep.el
11126 (semantic-symref-derive-find-filepatterns): Use
11127 'shell-quote-argument' instead of manually quoting in a way that
11128 only works with Posix shells. (Bug#22289)
11130 2016-01-02 Eli Zaretskii <eliz@gnu.org>
11132 Document new features of tildify-mode
11134 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
11135 (tildify-mode): Spelling fixes in doc strings.
11137 * etc/NEWS: Reformat the tildify-mode entry.
11139 2016-01-02 Eli Zaretskii <eliz@gnu.org>
11141 Document new features of Whitespace mode
11143 * doc/emacs/display.texi (Useless Whitespace): Document
11144 'whitespace-toggle-options' and the new 'big-indent' style.
11145 Document 'whitespace-big-indent-regexp'. Document the Global
11148 2016-01-02 Eli Zaretskii <eliz@gnu.org>
11150 Improve documentation of new Hide-IfDef features
11152 * etc/NEWS: Expand and reword Hide-IfDef section.
11154 2016-01-02 Leo Liu <sdl.web@gmail.com>
11156 Fix regression in font-locking cl-assert and cl-check-type
11158 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
11161 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
11163 Spelling and grammar fixes
11165 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
11167 Fix copyright years by hand
11169 These are dates that admin/update-copyright did not update, or
11170 updated incorrectly.
11172 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
11174 Update copyright year to 2016
11176 Run admin/update-copyright.
11178 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
11182 This mostly just updates copyright dates of gnulib files.
11183 It also updates to the latest version of texinfo.tex.
11185 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
11187 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
11189 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
11191 Port chart.el methods to cl-generic.
11193 cl-call-next-method cannot be used inside EIEIO's defmethod.
11194 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
11195 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
11196 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
11197 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
11198 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
11199 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
11201 2015-12-31 Brian Burns <bburns.km@gmail.com>
11203 Add nt/INSTALL.W64 build instructions
11205 * nt/INSTALL.W64: New file.
11206 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
11208 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
11210 Add new input method 'programmer-dvorak'
11212 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
11215 * etc/NEWS: Mention it.
11217 2015-12-31 Eli Zaretskii <eliz@gnu.org>
11219 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
11221 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
11222 original M-TAB binding in a buffer-local variable.
11223 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
11224 if that is recorded, when point is in a place where flyspell
11225 should not be active (e.g., because the user turned on
11226 'flyspell-prog-mode'). (Bug#18533)
11228 2015-12-31 Eli Zaretskii <eliz@gnu.org>
11230 Fix EWW rendering of long RTL lines
11232 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
11233 of the selected window before filling its lines. (Bug#22250)
11235 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
11239 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
11241 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11243 Clean up cairo printing code
11245 * src/gtkutil.c (xg_get_page_setup): Use listn.
11246 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
11247 decode_window_system_frame and FRAME_VISIBLE_P.
11248 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
11250 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
11251 instead of Fdisplay. Temporarily unblock_input around QUIT.
11253 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11255 Move variables to inner loop, preparing for Mac port merge
11257 * src/keyboard.c (command_loop_1): Move variables `cmd',
11258 `keybuf', and `i' to inner loop.
11260 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11262 Add handle_user_signal_hook
11264 * src/keyboard.h (handle_user_signal_hook): New declaration.
11265 * src/keyboard.c (handle_user_signal_hook): New variable.
11266 (handle_user_signal): Call it.
11268 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11270 Avoid writing to purespace
11272 * src/alloc.c (Fmake_string): Don't write to empty string contents.
11273 (allocate_vector): Don't write to empty vector size.
11274 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
11275 Don't call unnecessary XSETCAR or XSETCDR.
11276 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
11277 write to empty string size_byte.
11279 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11281 Remove unused variable
11283 * lisp/international/mule-cmds.el: Remove unused variable
11284 `mac-system-coding-system'.
11286 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11288 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
11290 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11292 Use posix_openpt instead of openpty on Darwin
11294 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
11295 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
11296 Darwin-specific definitions. Use posix_openpt instead.
11298 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
11300 Document support for ':documentation' in Lisp mode
11302 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
11303 (lisp-string-after-doc-keyword-p)
11304 (lisp-font-lock-syntactic-face-function): Add doc strings.
11306 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
11308 Document new features of TeX mode
11310 * doc/emacs/text.texi (TeX Print): Document
11311 'tex-print-file-extension'.
11312 * doc/emacs/programs.texi (Misc for Programs): Document support
11313 for Prettify Symbols mode in TeX mode.
11315 2015-12-30 Eli Zaretskii <eliz@gnu.org>
11317 Clarify docs of hscroll in RTL text
11319 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
11320 meaning of a window's horizontal scroll amount for RTL paragraphs.
11322 2015-12-30 Eli Zaretskii <eliz@gnu.org>
11324 Fix rendering of HTML pages that use character composition
11326 * src/indent.c (Fvertical_motion): Fix the case when point starts
11327 in the middle of a composition, as in shr-vertical-motion.
11330 2015-12-30 Eli Zaretskii <eliz@gnu.org>
11332 Avoid some compiler warnings in w32.c
11334 * src/w32.c (codepage_for_filenames, crlf_to_lf)
11335 (ansi_encode_filename, socket_to_fd, sys_write)
11336 (check_windows_init_file): Avoid compiler warnings about
11337 differences in pointer signedness.
11339 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
11341 Undo ill-advised change
11343 * lisp/progmodes/xref.el (xref-collect-matches): Undo
11344 ill-advised change. The hits come in the order that `find'
11345 produces them in, which isn't alphabetical.
11347 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
11349 Unbreak completion in python-mode buffers
11351 * lisp/progmodes/python.el (python-shell-completion-at-point):
11352 Unbreak in python-mode buffers.
11354 2015-12-29 Eli Zaretskii <eliz@gnu.org>
11356 Fix typos in CC Mode manual
11358 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
11361 2015-12-29 Eli Zaretskii <eliz@gnu.org>
11363 Avoid assertion violations in compact_font_cache_entry
11365 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
11366 avoid assertion violation in ASIZE. (Bug#22263)
11368 2015-12-29 Eli Zaretskii <eliz@gnu.org>
11370 Fix filling text with bidirectional characters in shr.el
11372 * lisp/net/shr.el (shr-insert-document): Bind
11373 bidi-display-reordering to nil while filling lines. This is
11374 required for when a line includes characters whose bidi
11375 directionality is opposite to the base paragraph direction,
11376 because columns are counted in the logical order. (Bug#22250)
11378 2015-12-29 Martin Rudalics <rudalics@gmx.at>
11380 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
11382 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
11384 Sync with Tramp 2.2.13
11386 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
11388 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
11389 Use `tramp-compat-funcall'.
11391 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
11392 Make `split-string' call compatible with older Emacsen.
11394 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
11396 2015-12-29 Lambda Coder <sjLambda@gmail.com>
11398 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
11400 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
11402 Mention that tls.el is secure by default, and will fail
11404 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
11406 Make tls.el use trustfiles by default
11408 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
11409 (open-tls-stream): Insert the trustfile by looking at
11410 `gnutls-trustfiles'.
11412 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
11414 Refactor out gnutls-trustfiles
11416 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
11418 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
11420 Remove --insecure from gnutls-cli invocation
11422 * tls.el (tls-program): Default to using secure TLS
11423 connections (bug#19284).
11425 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
11429 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
11431 Port report-emacs-bug to deterministic builds
11433 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
11434 recent "built on" change to deterministic builds where
11435 emacs-build-system will be nil. See:
11436 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
11438 2015-12-29 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
11440 Fix URL auth error message
11442 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
11443 message more correct (bug#20069).
11445 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
11447 shr link traversal fixup
11449 * shr.el (shr-next-link): Don't bug out on adjacent links.
11453 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
11455 2015-12-28 Tom Tromey <tom@tromey.com>
11457 set :safe on css-indent-offset
11459 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
11461 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
11463 * eww.el (eww-mode): Remove superfluous bidi reset.
11465 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
11467 Make chunked encoding trailer detection more compliant
11469 * lisp/url/url-http.el
11470 (url-http-chunked-encoding-after-change-function): Make
11471 trailer detection more compliant (bug#16345).
11473 2015-12-28 Martin Rudalics <rudalics@gmx.at>
11475 Fix Bug#10873 in `report-emacs-bug'
11477 * lisp/mail/emacsbug.el (report-emacs-bug): If
11478 `report-emacs-bug-no-explanations' is nil, make sure we can show
11479 mail and warnings buffer on this frame (Bug#10873).
11481 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
11483 Always reset the bidi direction
11485 * eww.el (eww-display-html): Always reset the bidi direction
11486 to `left-to-right' (bug#22257).
11488 2015-12-28 Alan Mackenzie <acm@muc.de>
11490 Allow line comments ending with escaped NL to be continued to the next line.
11492 Use this in C, C++, and Objective C Modes. Fixes bug#22246
11494 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
11495 (forw-comment, back-comment): On encountering an end of comment character,
11496 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
11498 * doc/lispref/syntax.texi (Control Parsing): Describe
11499 `comment-end-can-be-escaped'.
11501 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
11503 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
11505 2015-12-28 Dmitry Gutov <dgutov@yandex.ru>
11507 Rename project-library-roots to project-external-roots
11509 * lisp/progmodes/project.el (project-library-roots): Rename to
11510 project-external-roots.
11511 (project-library-roots-function): Rename to
11512 project-vc-external-roots-function. Only use it in the VC
11513 backend, for now. Update project-external-roots accordingly.
11514 (project-vc-library-roots): Remove.
11515 (project-or-libraries-find-regexp):
11516 Rename to project-or-external-find-regexp.
11518 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
11519 Rename to elisp-load-path-roots.
11521 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
11522 an anonymous function for the default value of
11523 project-vc-external-roots-function.
11525 2015-12-27 Deniz Dogan <deniz@dogan.se>
11527 Clear erc user list upon disconnection
11529 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
11530 lists upon disconnection. This prevents invalid channel
11531 user lists when reconnecting (bug#10947).
11533 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11535 Don't bug out in erc after waking from sleep
11537 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
11538 closed connection, this may already have been detected and
11539 `erc-server-last-received-time' has been set to nil (bug#13608).
11541 2015-12-27 David Edmondson <dme@dme.org>
11543 Proxy error in erc with multiple clients
11545 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
11546 generated when multiple IRC clients talk to a single IRC proxy
11551 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
11553 2015-12-27 Dima Kogan <dima@secretsauce.net>
11555 Ensure that we don't have several timers in erc
11557 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
11558 for existing timers in the alist before adding new ones. If a
11559 timer already exists, it is cancelled and
11560 overwritten. (bug#19292).
11562 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
11564 Fix mml-sec build warnings
11566 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
11571 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
11573 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11575 Don't insert erc logs at the end
11577 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
11578 at the start of the buffer, not at the end (bug#20496).
11580 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11582 (eww-setup-buffer): Restore left-to-right defaults
11584 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
11588 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
11590 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11592 Don't join erc channels doubly
11594 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
11595 more than once (if you have several nicks) (bug#20695).
11597 2015-12-27 Eli Zaretskii <eliz@gnu.org>
11599 Avoid leaving "ghost" of mouse pointer on MS-Windows
11601 * src/w32term.c (frame_set_mouse_pixel_position):
11602 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
11603 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
11604 * src/w32term.c (frame_set_mouse_pixel_position): Include
11607 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
11609 Fix auth source lookups from erc with port numbers
11611 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
11612 numbers (bug#20541).
11614 2015-12-27 Fran Litterio <flitterio@gmail.com>
11616 Run erc-kill-channel-hook always on exit
11618 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
11619 when erc-kill-queries-on-quit is set (bug#21187).
11621 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
11625 * test/automated/url-parse-tests.el:
11626 (url-generic-parse-url/same-document-reference):
11627 Rename from url-generic-parse-url/same-decument-reference.
11629 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
11631 Reword initial *scratch* for brevity, appearance
11633 * lisp/startup.el (initial-scratch-message):
11634 Reword to avoid apostrophes, and to make it shorter.
11635 See the thread starting in:
11636 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
11638 2015-12-26 Leo Liu <sdl.web@gmail.com>
11640 Add ert-deftest to lisp-mode.el
11642 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
11643 lisp-el-font-lock-keywords-1): Add ert-deftest.
11645 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
11647 Mark imap changes as not needing doc changes
11649 * lisp/net/imap.el (imap-ssl-open): Remove
11651 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
11653 Use built-in encryption in imap.el
11655 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
11656 (imap-starttls-open): Use open-network-stream instead of starttls.el.
11657 (imap-tls-open): Use open-network-stream instead of tls.el.
11659 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11661 Don't try using /bin/sh in artist.el on MS-Windows
11663 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
11665 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
11668 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
11670 Always define gmalloc etc. in src/gmalloc.c
11672 This is a work-around to prevent the compiler from using semantic
11673 knowledge about malloc for optimization purposes. E.g., gcc 5.2
11674 with -O2 replaces most of calloc's definition by a call to calloc;
11676 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
11677 (aligned_alloc, free): Do not undef. Instead, define these as
11678 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
11680 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11682 Fix documentation of browse-url browser-related functions
11684 * lisp/net/browse-url.el (browse-url)
11685 (browse-url-default-browser, browse-url-default-windows-browser)
11686 (browse-url-default-macosx-browser, browse-url-chromium)
11687 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
11688 and NEW-WINDOW arguments in these functions. (Bug#19421)
11690 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
11692 Propagate Bug#14412 fix to backtrace_eval_unrewind
11694 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
11695 becomes accurate again. This shouldn’t affect behavior.
11696 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
11698 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11700 Don't produce non-ASCII characters in *scratch*
11702 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
11703 avoid producing non-ASCII characters in the *scratch* buffer's
11706 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11708 Document changes in 'compare-windows'
11710 * lisp/vc/compare-w.el (compare-windows-removed)
11711 (compare-windows-added): Doc fix.
11713 * doc/emacs/files.texi (Comparing Files): Document the changes in
11714 window selection by 'compare-windows'.
11716 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11718 Document 'vc-annotate-background-mode'
11720 * doc/emacs/maintaining.texi (Old Revisions): Document
11721 'vc-annotate-background-mode'.
11723 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11725 Document 'vc-region-history'
11727 * doc/emacs/maintaining.texi (VC Change Log): Document
11728 'vc-region-history'.
11730 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11732 Improve documentation of 'vc-push'
11734 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
11735 improve the documentation of 'vc-push'.
11737 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
11739 2015-12-26 Alain Schneble <a.s@realize.ch>
11741 Include the tests for the URL parsing fixes
11743 2015-12-26 Alain Schneble <a.s@realize.ch>
11745 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
11747 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
11748 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
11749 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
11750 information in URL-struct.
11751 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
11752 path and query into nil path and query, respectively.
11753 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
11754 empty path into an absolute ("/") path.
11755 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
11756 fragment-only URIs. Do not just return them unchanged.
11757 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
11758 reference URI should not drop the last segment.
11762 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
11764 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11766 Document 'url-user-agent'.
11768 * lisp/url/url-http.el (url-user-agent): Move from here...
11769 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
11770 keep all the URL defcustoms in one place, and also have it defined
11771 whenever the URL library is loaded.
11773 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
11775 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11777 Document protocols supported by URL library via Tramp
11779 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
11780 supported via Tramp.
11781 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
11784 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11786 Document changes in Shell-script mode
11788 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
11789 the 'sh-shell' file-local variable.
11790 (top level): Add an auto-load form to avoid byte-compiler warning
11791 about 'comint-send-string'.
11793 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11795 Fix documentation of 'ses-define-local-printer'
11797 * doc/misc/ses.texi (Printer functions): Fix whitespace between
11798 sentences and punctuation. Add an index entry for
11799 'ses-define-local-printer'.
11801 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
11803 Document 'ert-summarize-tests-batch-and-exit'
11805 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
11806 'ert-summarize-tests-batch-and-exit'.
11808 2015-12-26 Eli Zaretskii <eliz@gnu.org>
11810 Avoid assertion violation in unbind_to
11812 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
11813 if we get here with an object that is not a symbol. (Bug#14412)
11815 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
11817 Don't treat /foo/bar:mumble as ange-ftp address
11819 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
11820 only in the first component. (bug#5362)
11822 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11824 Follow <meta> redirects in eww
11826 Merge conflict, but I think I resolved it.
11828 Follow meta refresh tags in eww
11830 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
11834 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11836 Allow http://user:pass@foo/ URLs again
11838 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
11839 user/passwords in URLs (bug#19046).
11843 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
11845 2015-12-25 Samer Masterson <samer@samertm.com>
11847 Autoload url-insert-buffer-contents
11849 * lisp/url/url-handlers.el: Add autoload cookie so that
11850 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
11854 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
11856 2015-12-25 Eli Zaretskii <eliz@gnu.org>
11858 Make sure *scratch* etc. use forward slashes in its default-directory
11860 * lisp/startup.el (normal-top-level): On MS-Windows, convert
11861 backslashes to forward slashes while decoding default-directory
11862 of the initially-created buffers.
11864 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11866 More eww file name coding fixes
11868 * eww.el (eww-decode-url-file-name): Use the base coding
11869 system to check for encodability.
11873 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
11875 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11877 Always save eww history
11879 * eww.el (eww-setup-buffer): Always save history, even when
11880 called from outside the eww buffer (bug#19638).
11884 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
11886 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11888 Default web pages to right-to-left
11890 * eww.el (eww-mode): Most web pages are left-to-right, so make
11891 that the default (bug#19801).
11893 * shr.el (shr-tag-html): Respect "dir" attributes
11894 (left-to-right, right-to-left).
11898 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
11900 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11902 Make toggling checkboxes work again
11904 * eww.el (eww-update-field): Make toggling checkboxes work
11909 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
11911 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11913 Don't store cookies with empty names
11915 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
11916 cookies with empty names (bug#21936).
11920 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
11922 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11924 Stop rendering HTML before specdlr exhaustion
11928 * shr.el (shr-descend): Stop rendering before we run out of
11929 specpdl room (bug#22117).
11933 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
11935 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11937 Use cl-reduce, not reduce.
11941 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
11943 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11945 Allow several <tbody> tags in shr
11947 * shr.el (shr-table-body): New function to find the real body
11949 (shr-tag-table): Use it to render several <tbody> tags in a
11954 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
11956 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11958 Make prettier unique file names in eww
11960 (eww-make-unique-file-name): Make unique file names by making
11961 files like foo(2).jpg instead of foo(1)(2).jpg.
11965 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
11967 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11969 Decode hex-encoded URLs before using them as file names
11971 * eww.el (eww-decode-url-file-name): New function.
11972 (eww-download-callback): Use it to decode file names before
11977 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
11979 2015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
11981 Add FreeBSD cert bundle
11983 * doc/misc/emacs-gnutls.texi (Help For Users): Document
11986 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
11990 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
11992 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11994 Ignore invalid SVG images
11996 * shr.el (shr-tag-svg): Ignore SVG images that have no width
11997 or height, because these can't be displayed by ImageMagick,
12002 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
12004 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12006 shr table rendering fix
12008 * shr.el (shr-tag-table): Allow rendering body-less tables
12013 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
12015 2015-12-25 Eli Zaretskii <eliz@gnu.org>
12017 Restore info about the build host in bug reports
12019 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
12020 which Emacs was built. This is important information for
12021 investigating bug reports reported by users who don't build their
12024 2015-12-25 Eli Zaretskii <eliz@gnu.org>
12026 Fix bootstrap broken by changes related to OS X file-name encoding
12028 * lisp/international/ucs-normalize.el (eval-when-compile): Make
12029 sure char-code-property-alist includes elements that allow access
12030 to 'decomposition' and 'canonical-combining-class' Unicode
12031 properties, as compiling ucs-normalize.el requires that.
12032 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
12033 only of charprop.el was already loaded.
12035 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
12036 New order-only dependency.
12038 2015-12-25 Leo Liu <sdl.web@gmail.com>
12040 * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
12042 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
12044 Make tramp-test29-vc-registered more robust
12046 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
12047 Move `bzr' case down. Skip test when `vc-create-repo' fails.
12048 Remove instrumentation.
12050 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12052 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
12054 2015-12-24 Katsumi Yamaoka <yamaoka@jpl.org>
12056 Fix `gnus-union' so as to behave like `cl-union'
12058 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
12059 Make gnus-union use `equal' to compare items in lists.
12061 * lisp/gnus/gnus-util.el (gnus-union):
12062 Make it behave like cl-union partially.
12064 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
12066 Fix dired.c typo with ptrdiff_t vs Lisp_Object
12068 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
12069 an integer type, fixing a problem introduced in the recent fix for
12072 2015-12-23 Eli Zaretskii <eliz@gnu.org>
12074 Document default process sentinel more prominently
12076 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
12077 defaults for process filter and sentinel. Provide cross-references.
12078 (Process Information): Provide cross-references to where filters
12079 and sentinels are described.
12080 (Filter Functions): Add an index entry for "default filter".
12081 (Sentinels): Add a few status messages not documented previously.
12082 Resolve the "killed" confusion. Document and describe the default
12083 sentinel. (Bug#22220)
12085 2015-12-23 Eli Zaretskii <eliz@gnu.org>
12087 Fix file-name completion on OS X
12089 * src/dired.c (file_name_completion): Reject false matches due to
12090 file-name-coding-systems that decompose characters when encoding
12091 file names, by comparing decoded file names as well. (Bug#22169)
12092 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
12094 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
12095 non-nil 'decomposed-characters' property.
12097 2015-12-23 Anders Lindgren <andlind@gmail.com>
12099 File-name completion of non-ASCII characters on OS X (bug#22169)
12101 The coding system `utf-8-nfd', locally defined in ns-win.el,
12102 didn't provide a :pre-write-conversion method, causing file name
12103 completion of non-ASCII characters to fail. Solved by using the
12104 `utf-8-hfs' coding system provided by `ucs-normalize'.
12106 * lisp/loadup.el: Load international/ucs-normalize (when building
12109 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
12110 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
12111 as the file name coding system.
12113 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
12115 2015-12-23 Tom Tromey <tom@tromey.com>
12117 Fix bug #18588 by making bug-reference-bug-regexp more lenient
12119 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
12120 "bug NNNN". (Bug #18588)
12122 2015-12-23 Tom Tromey <tom@tromey.com>
12124 add some cl-* aliases to lisp-mode imenu
12126 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
12127 cl-defgeneric, and cl-defmethod.
12129 2015-12-22 Tom Tromey <tom@tromey.com>
12131 Make a variable buffer-local
12133 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
12134 font-lock-syntax-table buffer-local. (Bug #21627)
12136 2015-12-22 Eli Zaretskii <eliz@gnu.org>
12138 Fix decoding of text in URLs retrieved by EWW
12140 * lisp/net/eww.el (eww-render): Pass 'charset' to
12141 'eww-display-raw'. Use the value of 'last-coding-system-used', if
12142 non-nil, to set 'buffer-file-coding-system' of the buffer where we
12144 (eww-display-html, eww-display-raw): Decode the text correctly,
12145 using the charset found in the headers, and defaulting to UTF-8.
12146 If the user told us to use a specific encoding, override the
12147 charset from the headers. (Bug#22222)
12149 2015-12-22 Alan Mackenzie <acm@muc.de>
12151 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
12153 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
12155 After a failed search for a matching ">", restore point before continuing.
12157 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
12159 Instrument Tramp tests
12161 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
12162 (tramp--test-utf8): Instrument tests.
12164 2015-12-22 Martin Rudalics <rudalics@gmx.at>
12166 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
12168 * lisp/simple.el (display-message-or-buffer): Call
12169 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
12172 2015-12-22 Juri Linkov <juri@linkov.net>
12174 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
12176 (save-places-to-alist, save-place-dired-hook):
12177 Check for dired-subdir-alist. (Bug#19851)
12179 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
12181 Add FIXME comment re stack overflow and modules
12183 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
12185 Revert some recent emacs-module commentary
12187 Most of the recently-added commentary was incorrect, due to the
12188 possibility of stack overflow.
12190 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
12192 Spelling fix: prefer "cooperate" to "co-operate"
12194 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
12196 Port undo fixes to -fno-common
12198 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
12199 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
12200 (buffer_before_last_command_or_undo):
12201 Declare in keyboard.h, and define in keyboard.c,
12202 instead of assuming the traditional Unix relaxed ref-def linkage.
12204 2015-12-20 Philipp Stephani <phst@google.com>
12206 Improve commentary for emacs-module.c
12208 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
12209 * src/emacs-module.c (module_non_local_exit_get): Document that we
12210 cannot use the current implementation.
12211 (module_is_not_nil, module_eq): Document assumptions about EQ and
12214 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
12216 Suppress test on Mac OS X
12218 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
12219 (tramp--test-utf8): Use it.
12221 2015-12-20 Alan Mackenzie <acm@muc.de>
12223 Merge branch 'scratch/follow' into emacs-25
12225 This allows Isearch, etc., to work well when Follow Mode is active.
12227 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
12229 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
12231 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12235 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
12236 with numeric argument.
12238 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12240 Document new features of Rmail
12242 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
12243 Document new behavior of 'd' and 'C-d' with numeric argument.
12244 (Rmail Display): Document the rendering of HTML MIME parts.
12246 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12248 Improve documentation of new cl-lib functions
12250 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
12253 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12255 Document the new feature of 'minibuffer-with-setup-hook'
12257 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
12258 added to `minibuffer-setup-hook'.
12260 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12262 Document new features of Font Lock
12264 * doc/lispref/modes.texi (Other Font Lock Variables): Document
12265 'font-lock-flush-function' and 'font-lock-ensure-function'.
12266 (Font Lock Basics): Document the basic fontification functions
12267 referenced in "Other Font Lock Variables".
12269 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
12271 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12273 Document new features of Rectangle mode
12275 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
12276 rectangle-mark-mode.
12278 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12280 Manual followup to last change
12282 * doc/lispref/display.texi (Displaying Messages): Sync with the
12283 doc string. (Bug#22210)
12285 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12287 Clarify doc string of 'display-message-or-buffer'
12289 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
12290 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
12292 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12294 * doc/emacs/emacs.texi (Top): Update top-level menus.
12296 * doc/lispref/elisp.texi (Top): Update top-level menus.
12298 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12300 Document how to avoid file-local variables that aren't
12302 * doc/emacs/custom.texi (Specifying File Variables): Describe how
12303 to prevent Emacs from interpreting unrelated text as file-local
12304 variables. (Bug#22166)
12306 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
12308 Fix a typo in eterm-color's termcap entry
12310 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
12313 2015-12-19 Eli Zaretskii <eliz@gnu.org>
12315 Allow 'browse-url-emacs' visit non-existent URLs
12317 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
12318 signal an error if VISIT is non-nil, to more faithfully emulate
12319 the behavior of 'insert-file-contents'. (Bug#22160)
12321 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
12323 Remove SunOS 4.x cruft
12325 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
12326 * lib-src/pop.c [sun]: Remove no-longer-needed include.
12327 * lwlib/xlwmenu.c (SUNSO41): Remove.
12329 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
12333 This mostly commentary fixes.
12334 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
12335 * lib/gnulib.mk: Regenerate with new gnulib-tool.
12337 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
12339 Minor fixes in Tramp
12341 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
12342 Reorder ls arguments.
12344 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
12346 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
12348 Make tramp a built-in package
12350 * lisp/finder.el (finder-compile-keywords): Update
12351 `package--builtins' also when Version: keyword is available.
12353 * lisp/net/trampver.el: Add Version: keyword.
12354 (tramp-version): Change it to "2.2.13.25.1", in order to be
12355 compatible with `version-to-list'.
12357 2015-12-18 Lele Gaifax <lele@metapensiero.it>
12359 * etc/tutorials/TUTORIAL.it: Update and fix typos.
12361 2015-12-18 Alan Mackenzie <acm@muc.de>
12363 Rename `recenter-group' to `recenter-window-group'
12365 * doc/lispref/windows.texi (Textual Scrolling)
12366 * lisp/window.el (top level, recenter-group)
12367 * lisp/follow.el (follow-mode)
12368 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
12369 `recenter-window-group' and `recenter-group-function' to
12370 `recenter-window-group-function'.
12372 2015-12-18 Eli Zaretskii <eliz@gnu.org>
12374 Fix vertical-motion in tabulated-list mode
12376 * src/indent.c (Fvertical_motion): When moving from line beginning
12377 to point under line truncation, assume overshoot by one line only
12378 if point actually lies beyond the window's right margin.
12381 2015-12-18 Martin Rudalics <rudalics@gmx.at>
12383 Don't have help functions call x-display-pixel-width/-height on ttys
12385 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
12386 Don't call x-display-pixel-width/-height on ttys.
12388 2015-12-18 Dmitry Gutov <dgutov@yandex.ru>
12390 Use 'hg id' in vc-hg-previous-revision
12392 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
12393 Use 'hg id' to retrieve it (bug#22032).
12395 2015-12-17 Alan Mackenzie <acm@muc.de>
12397 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
12399 2015-12-17 Eli Zaretskii <eliz@gnu.org>
12401 Fix a typo in the Emacs manual
12403 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
12404 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
12406 2015-12-17 Eli Zaretskii <eliz@gnu.org>
12408 Fix parsing netrc entries with ports
12410 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
12411 make a list out of 't'. (Bug#22188)
12413 * test/automated/auth-source-tests.el
12414 (auth-source-test-netrc-parse-entry): New test.
12416 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
12418 Fix typo in Doug Lea malloc configure log
12420 * configure.ac (emacs_cv_var_doug_lea_malloc):
12421 Fix typo that confused the log output of 'configure'.
12423 2015-12-16 Nicolas Petton <nicolas@petton.fr>
12425 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
12427 2015-12-16 Alan Mackenzie <acm@muc.de>
12429 * etc/NEWS: Move entry on pcase to correct section
12431 (Accidentally omitted from previous commit)
12433 2015-12-16 Alan Mackenzie <acm@muc.de>
12435 Add documentation for changes to Show Paren mode.
12437 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
12439 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
12440 options, including the new show-paren-when-point-inside-paren and
12441 show-paren-when-point-in-periphery.
12443 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
12444 Move an entry on pcase to the Lisp Changes section.
12446 2015-12-16 Eli Zaretskii <eliz@gnu.org>
12448 Document Eldoc changes
12450 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
12452 2015-12-16 Eli Zaretskii <eliz@gnu.org>
12454 Fix invocation of Python and Guile interpreters from gdb-mi
12456 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
12457 commands for interactive Python and Guile interpreters.
12458 (gdb-send): Recognize various ways of exiting from Python and
12459 Guile interpreters and returning to GDB. For details, see
12460 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
12461 and http://stackoverflow.com/questions/31514741.
12463 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
12465 Remove attempt to use C11 threads
12467 C11 threads are not needed for Emacs now, and their use is causing
12468 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
12469 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
12470 * configure.ac: Do not check for C11 threads. Remove unnecessary
12471 fiddling with CPPFLAGS when configuring pthreads.
12472 * src/emacs-module.c (main_thread, check_main_thread)
12473 (module_init): Do not worry about C11 threads.
12475 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
12477 Set utf8 encoding with stty in Tramp
12479 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12480 Move up uname check. Handle Mac OS X eol encoding. Set utf8
12481 encoding with stty.
12483 2015-12-15 Alan Mackenzie <acm@muc.de>
12485 Tidy up documentation associated with window groups.
12487 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
12488 Groups". Correct example function to `window-group-start'.
12489 (Window Start and End, Textual scrolling): Point to the new anchor. State
12490 that (most of) the args in window group functions have the same meaning as for
12491 the corresponding window primitives.
12493 * doc/lispref/positions.texi (Screen Lines). Same as above.
12495 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
12497 Complete last commit
12499 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12500 Move uname check up. Handle Mac OS X eol encoding.
12502 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
12504 Handle Mac OS X eol encoding in Tramp
12506 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12507 Handle Mac OS X eol encoding.
12509 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12511 Fix variable name typo in compute_tip_xy
12513 * src/w32fns.c (compute_tip_xy):
12514 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
12515 when `right' is integer.
12517 2015-12-14 foudfou <foudil.newbie+git@gmail.com>
12519 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
12521 2015-12-14 Tassilo Horn <tsdh@gnu.org>
12523 Revert "Fix rx matcher overflow without limiting"
12525 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
12527 2015-12-14 Alan Mackenzie <acm@muc.de>
12529 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
12531 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
12532 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
12534 2015-12-14 Tassilo Horn <tsdh@gnu.org>
12536 Fix rx matcher overflow without limiting
12538 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
12539 change to the regexp without imposing a limit on the length of the
12542 2015-12-14 Alan Mackenzie <acm@muc.de>
12544 Enhance ispell-skip-region-alist by generating part of it at runtime.
12546 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
12547 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
12548 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
12549 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
12550 Include the result of ispell--make-filename-or-URL-re in regexps.
12552 2015-12-14 Glenn Morris <rgm@gnu.org>
12554 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
12556 2015-12-14 Alan Mackenzie <acm@muc.de>
12558 Replace GROUP argument in six window primitives by new functions.
12560 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
12561 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
12562 from description of six window functions. Add in description of new functions
12563 window-group-start, window-group-end, set-window-group-start,
12564 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
12565 together with the six variables indirecting to the pertinent group
12569 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
12570 applies to these two files, which added the GROUP argument to six window
12573 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
12576 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
12577 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
12578 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
12579 to window primitives (e.g. window-start) with a GROUP argument by calls to
12580 new functions (e.g. window-group-start).
12582 * lisp/ispell.el (ispell-command-loop): Replace call to
12583 pos-visible-in-window-p with pos-visible-in-window-group-p.
12585 * lisp/window.el (window-group-start, window-group-end)
12586 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
12587 (selected-window-group, move-to-window-group-line): New functions.
12588 (window-group-start-function, window-group-end-function)
12589 (set-window-group-start-function, recenter-group-function)
12590 (pos-visible-in-window-group-p-function, selected-window-group-function)
12591 (move-to-window-group-line-function): New variables.
12593 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
12595 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
12597 2015-12-13 Eli Zaretskii <eliz@gnu.org>
12599 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
12601 2015-12-13 Tassilo Horn <tsdh@gnu.org>
12603 Improve regex to not trigger stack overflow
12605 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
12606 order not to trigger a stack overflow in regex matcher with unbalanced
12607 brackets (bug#22146).
12609 2015-12-13 Eli Zaretskii <eliz@gnu.org>
12611 Fix visiting files with raw-text
12613 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
12614 when some stuff was actually read. (Bug#22162)
12616 2015-12-13 Tassilo Horn <tsdh@gnu.org>
12618 Fix regex matching keyval labels
12620 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
12621 matching keyval labels.
12623 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
12625 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
12627 ... in case of Tramp. (Bug#20821)
12629 2015-12-13 Paul Eggert <eggert@cs.ucla.edu>
12631 Fix performance regression with gcc -O0
12633 This fixes the smaller performance hit that I noted in:
12634 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
12635 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
12636 * src/puresize.h (puresize_h_PURE_P)
12637 (puresize_h_CHECK_IMPURE):
12638 New macros, with the old contents of the functions.
12639 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
12640 * src/puresize.h (PURE_P, CHECK_IMPURE):
12641 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
12642 * src/conf_post.h (ATTRIBUTE_UNUSED):
12643 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
12645 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
12647 * lisp/emacs-lisp/package.el (package-unpack): Security check
12649 Check that we received the package we were offered.
12651 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
12653 * lisp/emacs-lisp/package.el (package--compile): Don't activate
12655 `package-unpack' takes care of all activations now (other than
12656 `package-initialize). `package--compile' now only compiles.
12658 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12660 Document the new bindings of <UP> and <DOWN> in the minibuffer
12662 * doc/emacs/mini.texi (Minibuffer History): Describe the new
12663 bindings of <UP> and <DOWN> in the minibuffer.
12665 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12667 Document new features of Ido
12669 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
12671 2015-12-12 Martin Rudalics <rudalics@gmx.at>
12673 Fix frame height calculations with added menu bar on Windows (Bug#22105)
12675 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
12676 when simultaneously specifying multiple parameters for
12677 `modify-frame-parameters' that all may change the frame's size.
12678 * src/w32fns.c (x_set_menu_bar_lines): Don't set
12679 windows_or_buffers_changed here.
12680 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
12681 with third argument false.
12682 * src/w32menu.c (set_frame_menubar): Set
12683 windows_or_buffers_changed here.
12684 * src/w32term.c (x_set_window_size): Determine third argument of
12685 AdjustWindowRect from whether the frame has a menu bar and not
12686 from whether it wants one.
12688 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12690 Document the change in interactive shell mode
12692 * doc/emacs/misc.texi (Interactive Shell): Document that the
12693 '*shell*' buffer by default displays in a new window.
12695 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12697 Document new features of package.el
12699 * doc/emacs/package.texi (Package Menu): Document the 'external'
12700 status and the new menu commands.
12701 (Package Installation): Document archive priorities.
12703 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
12704 (package-menu-hide-low-priority): Doc fix.
12706 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12708 Update and document new features of xterm support
12710 * doc/emacs/frames.texi (Text-Only Mouse): Document that
12711 track-mouse is supported by newer xterm versions.
12713 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12715 Document new features of Prettify Mode
12717 * doc/emacs/programs.texi (Misc for Programs): Document
12718 'prettify-symbols-compose-predicate' and
12719 'prettify-symbols-unprettify-at-point'.
12721 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
12722 (prettify-symbols-default-compose-p)
12723 (prettify-symbols-compose-predicate)
12724 (prettify-symbols--compose-symbol): Doc fixes.
12726 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12728 Document multi-mode indentation facilities
12730 * doc/lispref/text.texi (Mode-Specific Indent): Document
12731 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
12733 * lisp/progmodes/prog-mode.el (prog-indentation-context)
12734 (prog-widen): Doc fixes.
12736 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12738 Document 'vc-refresh-state'
12740 * doc/emacs/maintaining.texi (Version Control): Document
12741 'vc-refresh-state'.
12743 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
12745 2015-12-12 Eli Zaretskii <eliz@gnu.org>
12749 * src/keyboard.c (command_loop_1): Undo last change. It caused
12750 duplicate echo of C-u. (Bug#22107)
12752 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12754 Avoid errors when creating files under SVN in new directory
12756 * lisp/vc/vc-svn.el (vc-svn-registered): Use
12757 file-accessible-directory-p, to avoid cd'ing to a non-existing
12758 directory, which signals an error on some systems. (Bug#21984)
12759 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
12760 Use declare-function to avoid byte-compiler warnings.
12762 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12764 Improve Lua support in etags
12766 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
12769 * etc/NEWS: Mention improved Lua support by 'etags'.
12771 * test/etags/lua-src/test.lua (test): Add tests for indented
12772 function definitions.
12773 * test/etags/ETAGS.good_1:
12774 * test/etags/ETAGS.good_2:
12775 * test/etags/ETAGS.good_3:
12776 * test/etags/ETAGS.good_4:
12777 * test/etags/ETAGS.good_5:
12778 * test/etags/ETAGS.good_6:
12779 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
12781 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12783 Fix 'this-command-keys' wrt prefix argument
12785 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
12786 was part of this-command-keys, but not of this-single-command-keys.
12789 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
12790 commentary about the function's return value.
12792 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12794 * lisp/files.el (load-library): Doc fix. (Bug#22140)
12796 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12798 Improve and document Ruby support in 'etags'
12800 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
12801 (Ruby_functions): Support "module" and overloaded operators.
12802 (Ruby_help): Mention "module".
12804 * test/etags/ruby-src/test.rb:
12805 * test/etags/ruby-src/test1.ru: New files.
12806 * test/etags/Makefile (RBSRC): New tests.
12807 (SRCS): Add ${RBSRC}.
12808 * test/etags/ETAGS.good_1:
12809 * test/etags/ETAGS.good_2:
12810 * test/etags/ETAGS.good_3:
12811 * test/etags/ETAGS.good_4:
12812 * test/etags/ETAGS.good_5:
12813 * test/etags/ETAGS.good_6:
12814 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
12816 * doc/man/etags.1: Mention Ruby support.
12817 * etc/NEWS: Mention Ruby support.
12819 2015-12-11 Xi Lu <lx@shellcodes.org>
12821 Initial support for Ruby in 'etags'
12823 * lib-src/etags.c <Ruby_suffixes>: New variable.
12824 (lang_names): Add an entry for Ruby.
12825 (Ruby_functions): New function. (Bug#22116)
12827 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12829 Clarify documentation of 'modify-frame-parameters'
12831 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
12832 PARMs" mean for 'modify-frame-parameters'.
12834 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
12835 PARMs" mean for this function. (Bug#22104)
12837 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12839 Fix setting buffer unibyte when reading from a device
12841 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
12842 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
12844 2015-12-11 Eli Zaretskii <eliz@gnu.org>
12846 Clarify documentation of 'values'
12848 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
12849 updated by any evaluation commands in 'lisp-interaction-mode'.
12852 2015-12-11 Anders Lindgren <andlind@gmail.com>
12854 Fixed subversion vc error when opening file in new directory (bug#21984).
12856 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
12858 2015-12-09 Eli Zaretskii <eliz@gnu.org>
12860 Yet another fix for when point ends up in invisible text
12862 * src/xdisp.c (redisplay_window): When someone forced
12863 window-start, and honoring that failed to show the cursor, try
12864 moving out of invisible text, before falling back to the middle of
12865 the window. (Bug#22098)
12867 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
12869 Fix error in Tramp perl script for cygwin
12871 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
12872 error if file doesn't exist.
12874 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12876 Remove font workaround for limited outdated versions
12878 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
12879 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
12881 2015-12-09 Anders Lindgren <andlind@gmail.com>
12883 Don't add "." to load path (bug#21104)
12885 When configured with --enable-locallisppath=no, which is the
12886 default for OS X, the load-path incorrectly was populated with ".".
12888 * src/lread.c (init_lread): Don't call `decode_env_path' when
12889 PATH_SITELOADSEARCH is empty.
12891 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
12893 * lisp/emacs-lisp/package.el (package--with-response-buffer):
12895 Search for the blank-line in the right buffer.
12897 2015-12-08 Glenn Morris <rgm@gnu.org>
12899 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
12902 2015-12-08 Glenn Morris <rgm@gnu.org>
12904 Fix some display-warning usage.
12906 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
12907 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
12908 * lisp/calendar/holidays.el (calendar-holiday-list):
12909 * lisp/mail/rmailout.el (rmail-output-read-file-name):
12910 Fix display-warning usage.
12912 2015-12-08 Glenn Morris <rgm@gnu.org>
12914 * lisp/calendar/cal-html.el: Require diary-lib.
12916 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
12918 2015-12-08 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12920 Add Obsolete-since header to eudcb-ph.el
12922 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
12924 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
12928 * doc/misc/calc.texi (Predefined Units): Use the bland modern
12929 scientific style for spelling the units “ampere” and
12930 “angstrom” rather than the older style “Ampere” and
12931 “Ångstrom”. The latter spelling was wrong anyway (it should
12932 have been “Ångström”).
12933 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
12934 Fix misspelling of ‘atom’ in code.
12936 2015-12-07 Eli Zaretskii <eliz@gnu.org>
12938 Improve documentation of kill commands
12940 * lisp/simple.el (region-extract-function, delete-backward-char)
12941 (delete-forward-char, kill-region, copy-region-as-kill)
12942 (kill-ring-save): Better document the optional argument REGION in
12943 the doc strings. Mention in the doc strings that text put in the
12944 kill-ring can be filtered by 'filter-buffer-substring'.
12946 * doc/lispref/text.texi (Kill Functions): Mention that functions
12947 described in this subsection can filter text they put in the
12948 kill-ring. Add a cross-reference to "Buffer Contents" and an
12949 index entry. Document the optional argument 'region' and its
12953 2015-12-07 Alan Mackenzie <acm@muc.de>
12955 Further progress making Isearch, Ispell, Replace work with Follow Mode.
12957 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
12958 no longer exists. Add follow-post-command-hook to three special purpose
12959 hooks at setup, and remove them at tear down.
12961 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
12962 isearch-lazy-highlight-new-loop.
12963 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
12964 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
12966 (isearch-lazy-highlight-maybe-new-loop): function removed.
12968 * lisp/replace.el: (replace-update-post-hook): New hook variable.
12969 (perform-replace): Add second (nil) argument to looking-back. Invoke
12970 replace-update-post-hook before calling replace-highlight.
12972 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
12973 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
12974 call of pos-visible-in-window-p.
12975 (ispell-display-buffer): Place *Choices* window at the top of the last window
12978 2015-12-07 Alan Mackenzie <acm@muc.de>
12980 Amend doc of `mapconcat': it can take sequences, not merely strings.
12982 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
12983 to say that SEPARATOR and the results from FUNCTION may be any character
12984 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
12986 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
12988 Fix an utf8 problem for Tramp on BSD
12990 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12991 Make lax check for utf8.
12992 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
12994 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12996 Make eudcb-ph.el obsolete
12998 * doc/misc/eudc.texi: Bump version to 1.40.0.
12999 Remove PH/QI sections and mentions.
13000 * lisp/obsolete/eudcb-ph.el: Make obsolete.
13001 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
13002 (eudc-ph-bbdb-conversion-alist): Make obsolete.
13003 * etc/NEWS: Mention this. (Bug#21191)
13005 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
13007 Remove overenthusiastic eassert
13009 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
13010 previous change. It breaks on MS-Windows --with-wide-int.
13011 Problem reported by Eli Zaretskii in:
13012 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
13014 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
13016 Pacify gcc -Wparentheses
13018 * src/xdisp.c (row_containing_pos): Reparenthesize.
13020 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
13022 Port mod-test to 32-bit Emacs --without-wide-int
13024 * modules/mod-test/test.el (mod-test-sum-test):
13025 Bring back the 2**29 tests, but port them to 32-bit Emacs
13026 --without-wide-int.
13028 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
13030 Fix minor Tramp problems found on BSD
13032 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
13033 trailing slash. Quote apostrophes.
13034 (tramp-sh-handle-file-truename): Do not append trailing slash in
13036 (tramp-get-ls-command-with-w-option): New defun.
13037 (tramp-do-file-attributes-with-ls)
13038 (tramp-do-directory-files-and-attributes-with-stat): Use it.
13040 * test/automated/tramp-tests.el
13041 (tramp-test31-special-characters-with-perl)
13042 (tramp-test31-special-characters-with-ls)
13043 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
13044 Suppress also readlink.
13046 2015-12-06 Eli Zaretskii <eliz@gnu.org>
13048 Fix cursor display when invisible text is at line beginning
13050 * src/xdisp.c (redisplay_window): When scrolling fails to show
13051 point, prefer using the desired matrix if possible for finding the
13052 fallback glyph row for displaying the cursor. (Bug#22098)
13053 (row_containing_pos): Exit the loop as soon as we hit the first
13054 disabled glyph row. Otherwise we risk accessing garbled data and
13055 departing to the no-no land.
13057 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
13059 Improve module interface when WIDE_EMACS_INT
13061 * src/emacs-module.c (plain_values): New constant.
13062 (module_nil): Now a constant.
13063 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
13064 (syms_of_module): Use if, not #ifdef, so that both sides are
13065 checked at compile-time, and so that GCC doesn’t complain
13066 about an unused var in the typical case. Also, depend on
13067 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
13068 that WIDE_EMACS_INT implies !USE_LSB_TAG.
13069 (value_to_lisp_bits, lisp_to_value_bits): New functions.
13070 Sign-extend integers rather than zero-extending them, as small
13071 negative integers are more likely.
13072 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
13074 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
13075 (mark_modules): Remove. All uses removed.
13076 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
13078 (syms_of_module): Check that module_nil converts to Qnil.
13079 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
13080 we prefer signed to unsigned when either will do.
13081 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
13082 a bit better for emacs-module.c.
13084 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
13086 Port mod-test to x86-64 GNU/Linux running 32-bit
13088 * modules/mod-test/test.el (mod-test-sum-test):
13089 Don’t attempt to match descriptions to operating systems.
13090 It didn’t work on Fedora x86-64 running a 32-bit executable,
13091 and it’s not worth the trouble anyway.
13092 Port to 32-bit platforms by removing an assumption about
13095 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
13097 Fix auto-revert-tests.el when filenotify isn't used
13099 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
13100 Make it working also when filenotify isn't used.
13102 2015-12-06 Juri Linkov <juri@linkov.net>
13104 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
13106 Let-bind isearch-regexp-function to nil. (Bug#22097)
13108 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
13110 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
13112 (package--with-response-buffer): NOERROR and ERROR-FORM only
13113 handle connection errors.
13114 (bad-signature): New error type.
13115 (package--check-signature-content): Use it.
13116 (package--check-signature): Properly distinguish connection errors
13117 from bad-signature errors. Do the check for
13118 `package-check-signature' `allow-unsigned' here instead of forcing
13119 the callbacks to do it. Add a new argument, UNWIND.
13120 (package--download-one-archive, package-install-from-archive):
13121 Update usage of `package--check-signature'.
13123 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
13127 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
13128 Clean up inconsistent line endings. (Bug#22092)
13129 (icalendar--clean-up-line-endings): New.
13130 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
13133 2015-12-05 Eli Zaretskii <eliz@gnu.org>
13135 Document 'bookmark-set-no-overwrite'
13137 * doc/emacs/regs.texi (Bookmarks): Document the new command
13138 'bookmark-set-no-overwrite' and its keybinding.
13140 2015-12-05 Eli Zaretskii <eliz@gnu.org>
13142 Document new binding of 'mouse-buffer-menu'
13144 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
13147 2015-12-05 Eli Zaretskii <eliz@gnu.org>
13149 Initial documentation of dynamic modules
13151 * doc/lispref/loading.texi (Dynamic Modules): New section with
13152 initial documentation for dynamic modules.
13153 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
13156 * etc/NEWS: Fix typos in dynamic modules' entry.
13158 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
13160 Remove copyright statements from trivial test files
13162 2015-12-05 Eli Zaretskii <eliz@gnu.org>
13164 Add "Preliminaries" section to etc/DEBUG
13166 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
13167 Most of the content was suggested by Phillip Lord
13168 <phillip.lord@russet.org.uk>. Remove the section about debugging
13169 with the Visual Studio, as building Emacs with the Microsoft
13170 compilers is no longer supported. Minor fixes in some other
13173 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
13175 Improve parsing of version strings
13177 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
13178 (version-to-list): More helpful error messages.
13179 (version-to-list): ".5" is valid (update docstring). Make
13180 "22.8X3" invalid, as the doc string says.
13182 * test/automated/subr-tests.el (ert-test-version-parsing): New
13183 tests for version string processing.
13185 2015-12-05 Eli Zaretskii <eliz@gnu.org>
13187 Fix documentation of 'undo' changes
13189 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
13190 English conventions for spelling and whitespace between sentences.
13192 * etc/NEWS: Fix wording and spelling of undo-related entries.
13193 Mark them as documented.
13195 2015-12-05 Glenn Morris <rgm@gnu.org>
13197 * lisp/net/net-utils.el: Small improvements.
13199 (net-utils--executable-find-sbin): New function.
13200 (ifconfig-program): Check sbin directories.
13201 Fallback to "ip". (Bug#22091)
13202 (ifconfig-program-options): Check the actual program in use.
13203 (arp-program): Check sbin directories.
13205 2015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
13207 Fix wrong-type-argument integer-or-marker-p nil error
13209 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
13210 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
13212 2015-12-04 Alan Mackenzie <acm@muc.de>
13214 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
13216 Merge necessitated by a rebase operation.
13218 2015-12-04 Alan Mackenzie <acm@muc.de>
13220 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
13222 2015-12-04 Alan Mackenzie <acm@muc.de>
13224 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
13226 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
13227 Windows" and new @defun selected-window-group.
13228 (Window Start and End): Describe new &optional parameter GROUP and
13229 ...-group-function for window-start, window-end, set-window-start, and
13230 pos-visible-in-window-p.
13231 (Textual Scrolling) Describe the same for recenter.
13232 doc/lispref/positions.texi (Screen Lines): Describe the same for
13233 move-to-window-line.
13235 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
13236 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
13237 new optional parameter "group". At the beginning of each, check whether the
13238 corresponding ...-group-function is set to a function, and if so execute this
13239 function in place of the normal processing.
13240 (syms_of_window): Define symbols for the six new variables below.
13241 (window-start-group-function, window-end-group-function)
13242 (set-window-start-group-function, recenter-group-function)
13243 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
13244 New permanent local buffer local variables.
13245 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
13246 Fpos_visible_in_window_p.
13248 lisp/window.el (selected-window-group-function): New permanent local buffer
13250 (selected-window-group): New function.
13252 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
13253 enable, kill them at mode disable. Add/remove follow-after-change to/from
13254 after-change-functions.
13255 (follow-start-end-invalid): New variable.
13256 (follow-redisplay): Manipulate follow-start-end-invalid.
13257 (follow-after-change, follow-window-start, follow-window-end)
13258 (follow-set-window-start, follow-pos-visible-in-window-p)
13259 (follow-move-to-window-line, follow-sit-for): New functions.
13261 lisp/isearch.el (isearch-call-message): New macro.
13262 (isearch-update, with-isearch-suspended, isearch-del-char)
13263 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
13264 (with-isearch-suspended): Rearrange code such that isearch-call-message is
13265 invoked before point is moved.
13266 (isearch-message): Add comment about where point must be at function call.
13267 (isearch-search): Remove call to isearch-message.
13268 (isearch-lazy-highlight-window-group): New variable.
13269 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
13270 the battery of tests to ...
13271 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
13272 Note: (sit-for 0) is still called.
13273 (isearch-lazy-highlight-update): Check membership of
13274 isearch-lazy-highlight-window-group. Don't set the `window' overlay
13276 (isearch-update, isearch-done, isearch-string-out-of-window)
13277 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
13278 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
13279 (isearch-lazy-highlight-update): Call the six amended primitives (see
13280 src/window.c above) with the new `group' argument set to t, to cooperate
13283 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
13287 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
13288 (ert--explain-format-atom, ert--explain-equal-rec)
13289 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
13290 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
13292 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
13294 * lisp/character-fold.el: Remove special case-folding support
13296 (character-fold-to-regexp): Remove special code for
13297 case-folding. Char-fold search still respects the
13298 `case-fold-search' variable (i.e., f matches F). This only
13299 removes the code that was added to ensure that f also matched
13300 all chars that F matched. For instance, after this commit, f
13301 no longer matches 𝔽.
13303 This was necessary because the logic created a regexp with
13304 2^(length of the string) redundant paths. So, when a very
13305 long string "almost" matched, Emacs took a very long time to
13306 figure out that it didn't. This became particularly relevant
13307 because isearch's lazy-highlight does a search bounded by (1-
13308 match-end) (which, in most circumstances, is a search that
13309 almost matches). A recipe for this can be found in bug#22090.
13311 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13313 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
13317 2015-12-04 Daiki Ueno <ueno@gnu.org>
13319 lisp/gnus/qp.el: Don't replace "from " at bol
13321 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
13322 to nil when looking for "^From ". Problem reported by Simon Josefsson.
13324 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
13326 Externalize some symbols in undo-auto
13328 * doc/lispref/text.texi: Update symbols.
13329 * lisp/simple.el (undo-auto--amalgamate,
13330 undo-auto--current-boundary-timer): Make symbols public.
13331 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
13334 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13336 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
13338 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
13340 Some error message improvements in tramp-sh.el
13342 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
13343 Suppress error messages for "mesg" and "biff" calls.
13344 (tramp-get-remote-path): Ignore errors when expanding
13345 `tramp-own-remote-path'. Raise a warning instead.
13347 2015-12-03 Eli Zaretskii <eliz@gnu.org>
13349 Document 'nacl' value for 'system-type'
13351 * doc/lispref/os.texi (System Environment): Document the 'nacl'
13352 value of 'system-type'.
13354 2015-12-03 Eli Zaretskii <eliz@gnu.org>
13356 Document 'window-max-chars-per-line'
13358 * doc/lispref/windows.texi (Window Sizes): Document
13359 'window-max-chars-per-line'.
13361 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
13363 Fix some file headers for the purpose of `package--builtins'
13365 * lisp/emacs-lisp/cl-preloaded.el
13366 * lisp/emacs-lisp/eieio-compat.el
13367 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
13369 * lisp/ielm.el: Fix summary line.
13371 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
13373 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
13375 Reload any previously loaded package files before compiling
13376 the package (also reload the same files after compiling).
13377 This ensures that we have the most recent definitions during
13378 compilation, and avoids generating bad elc files when a macro
13379 changes and it is used in a different file from the one it's
13382 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
13384 * lisp/emacs-lisp/package.el: Refactor package activation code
13386 (package-activate): Move code that activates dependencies into
13387 package-activate-1.
13388 (package--load-files-for-activation): New function.
13389 (package-activate-1): Add code for (optionally) activating
13390 dependencies, and move file-loading code into
13391 `package--load-files-for-activation'.
13393 2015-12-03 Eli Zaretskii <eliz@gnu.org>
13395 Document new font-related functionality
13397 * doc/lispref/display.texi (Low-Level Font): Document
13398 'default-font-width', 'default-font-height', 'window-font-width',
13399 and 'window-font-height'.
13401 * etc/NEWS: Move entries for 'default-font-width',
13402 'default-font-height', 'window-font-width', and 'window-font-height'
13403 to their place and mark them documented.
13405 2015-12-03 Eli Zaretskii <eliz@gnu.org>
13407 Fix documentation and implementation of 'directory-name-p'
13409 * lisp/files.el (directory-name-p): Modify to recognize
13410 backslashes on MS-Windows and MS-DOS. Adjust the doc string
13411 accordingly. Use '=', not char-equal, for comparison, as
13412 letter-case cannot possibly be an issue here.
13414 * doc/lispref/files.texi (Directory Names): Move the documentation
13415 of directory-name-p here from "Relative File Names". Update the
13416 description per the changes in implementation.
13418 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
13419 place and mark it documented.
13421 2015-12-02 Eli Zaretskii <eliz@gnu.org>
13423 Minor copyedit in Emacs manual
13425 * doc/emacs/search.texi (Lax Search): Make wording about character
13426 folding by default less definitive. (Bug#22043)
13428 2015-12-02 Eli Zaretskii <eliz@gnu.org>
13430 More emacs-module.c fixes for wide ints
13432 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
13433 unsigned data types to manipulate pointers, to avoid sign
13434 extension coming after us with a vengeance.
13436 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
13437 Emacs with wide ints that verify integer values near the critical
13438 value that requires us to switch to a cons cell.
13440 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
13442 Fix bug#22069 in cl-generic.el
13444 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
13445 not run thru `format'.
13447 2015-12-02 Dmitry Gutov <dgutov@yandex.ru>
13449 APPEND etags--xref-backend to xref-backend-functions
13451 * lisp/progmodes/xref.el (xref-backend-functions):
13452 Use APPEND when adding the default element
13453 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
13455 2015-12-01 Eli Zaretskii <eliz@gnu.org>
13457 More accurate documentation of lax whitespace matching
13459 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
13460 (word-search-backward, word-search-forward)
13461 (word-search-backward-lax, word-search-forward-lax): Mention in
13462 doc strings that toggling lax whitespace matching has no effect on
13465 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
13466 lax whitespace matching has no effect on these commands.
13468 2015-12-01 Eli Zaretskii <eliz@gnu.org>
13470 Fix emacs-module.c for wide ints
13472 * src/emacs-module.c (lisp_to_value): Compare the produced value
13473 with the original Lisp object, not with the one potentially
13474 converted into a Lisp_Cons. Fixes assertion violations when
13475 working with integers larger than fit into a 32-bit value.
13477 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
13478 large integers, to test --with-wide-int.
13480 2015-12-01 Eli Zaretskii <eliz@gnu.org>
13482 Document 'directory-files-recursively'
13484 * lisp/files.el (directory-files-recursively): Doc fix. Rename
13485 the argument MATCH to REGEXP, to be more explicit about its form.
13487 * doc/lispref/files.texi (Contents of Directories): Improve the
13488 documentation of 'directory-files-recursively'. Add
13491 * etc/NEWS: Move the entry for 'directory-files-recursively' to
13492 its place and mark it documented.
13494 2015-12-01 Eli Zaretskii <eliz@gnu.org>
13496 Document 'inhibit-read-only' property
13498 * doc/lispref/text.texi (Special Properties): Describe the new
13499 'inhibit-read-only' text property. Add cross-reference to where
13500 read-only buffers are described.
13501 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
13502 'inhibit-read-only' property exempts text from being read-only.
13503 Add cross-reference to "Special Properties".
13505 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
13506 its place and mark it documented.
13508 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
13510 * lisp/emacs-lisp/package.el: Update header comments
13512 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
13514 * lisp/character-fold.el: Add back multi-char matching
13516 (character-fold-to-regexp): Uncomment recently commented code
13517 and make the algorithm "dummer" by not checking every possible
13518 combination. This will miss some possible matches, but it
13519 greatly reduces regexp size.
13521 * test/automated/character-fold-tests.el
13522 (character-fold--test-fold-to-regexp): Comment out test of
13523 functionality no longer supported.
13525 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
13527 * doc/emacs/ack.texi (Acknowledgments): Update.
13529 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
13531 Check `file-remote-p' over absolute files names in files.el
13533 * lisp/files.el (directory-files-recursively)
13534 (get-free-disk-space): Check `file-remote-p' over absolute files names.
13536 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
13538 * src/lread.c (syms_of_lread): Doc fix.
13540 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
13542 Don't mistake certain JS method calls for keywords
13544 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
13545 Braceless keyword can't come after a period (bug#22063).
13547 2015-12-01 David Reitter <david.reitter@gmail.com>
13549 Read frame_title_format from buffer-local variable for NS port
13551 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
13552 icon-title-format variables from buffer in appropriate window.
13555 2015-12-01 Juri Linkov <juri@linkov.net>
13557 * lisp/replace.el (occur-engine): Count matches in empty lines.
13561 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
13563 * src/emacs-module.h: Fix finalizer typedef for C++11
13565 C++11 standard doesn't allow exception-specification in typedef.
13566 The workaround is to declare a dummy function prototype and use
13569 2015-11-30 Eli Zaretskii <eliz@gnu.org>
13573 * src/emacs-module.c (lisp_to_value, value_to_lisp)
13574 [WIDE_EMACS_INT]: Avoid compiler warnings.
13576 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13578 Rely on conservative stack scanning to find "emacs_value"s
13580 * src/emacs-module.c (struct emacs_value_tag)
13581 (struct emacs_value_frame, struct emacs_value_storage): Remove.
13582 (value_frame_size): Remove constant.
13583 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
13584 (lisp_to_value): Remove first arg.
13585 (module_nil): New constant.
13586 Use it instead of NULL when returning an emacs_value.
13587 (module_make_function): Adjust to new calling convention of
13588 Qinternal_module_call.
13589 (DEFUN): Receive args in an array rather than a list.
13590 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
13591 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
13592 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
13593 Adjust to new type of non_local_exit info.
13594 (ltv_mark) [WIDE_EMACS_INT]: New constant.
13595 (value_to_lisp, lisp_to_value): Rewrite.
13596 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
13597 (allocate_emacs_value): Remove function.
13598 (mark_modules): Gut it.
13599 (initialize_environment): Don't initialize storage any more.
13600 Keep the actual env object on Vmodule_environments.
13601 (finalize_environment): Don't finalize storage any more.
13602 (syms_of_module): Initialize ltv_mark and module_nil.
13604 * src/emacs-module.h (emacs_value): Make it more clear that this type
13605 is really opaque, including the fact that NULL may not be valid.
13607 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
13608 Don't assume that NULL is a valid emacs_value.
13610 2015-11-30 Eli Zaretskii <eliz@gnu.org>
13612 Yet another doc improvement for search commands
13614 * doc/emacs/search.texi (Word Search, Symbol Search)
13615 (Regexp Search): Document commands that don't support lax
13616 whitespace matching or character folding.
13617 (Nonincremental Search): Mention the search commands that can be
13618 invoked from the menu bar.
13620 * lisp/isearch.el (isearch-define-mode-toggle-word)
13621 (isearch-define-mode-toggle-symbol)
13622 (isearch-define-mode-toggle-character-fold): Note in the doc
13623 string that turning these on exits the regexp mode.
13624 (isearch-forward-regexp, isearch-forward-word)
13625 (isearch-forward-symbol, isearch-backward-regexp)
13626 (word-search-backward, word-search-forward)
13627 (word-search-backward-lax, word-search-forward-lax): State in the
13628 doc string which commands don't support character folding and/or
13629 lax-whitespace matching.
13631 2015-11-30 Martin Rudalics <rudalics@gmx.at>
13633 Run `window-size-change-functions' also when reading from minibuffer
13635 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
13636 also when reading from minibuffer.
13638 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
13640 Fix scrambling of html-rendered item buffers
13642 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
13643 scrambling of contents by wrapping call to html-renderer in
13644 save-selected-window.
13646 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
13648 Fix font typo in previous doc fix.
13650 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
13652 A bit more security doc, esp. file local vars
13654 * doc/emacs/emacs.texi (Top):
13655 * doc/emacs/misc.texi (Miscellaneous Commands):
13656 Refer to new Host Security section.
13657 (Host Security): New section.
13658 * doc/lispref/os.texi (Security Considerations):
13659 Mention file local variables.
13661 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
13663 * lisp/character-fold.el: Comment out branching code
13665 (character-fold-to-regexp): Comment out code that uses multi-char
13666 table. The branching caused by this induces absurdly long regexps,
13667 up to 10k chars for as little as 25 input characters.
13669 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
13671 Spelling and grammar fixes
13673 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
13675 Make lisp-completion-at-point a wrapper instead of an alias
13677 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
13678 Turn into an obsolete wrapper around elisp-completion-at-point
13681 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
13683 * lisp/isearch.el (isearch-search-fun-default): Nicer error
13685 message when the search fails.
13687 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
13689 Update menu-bar-goto-uses-etags-p for the current xref API
13691 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
13692 xref-backend-functions, instead of now-nonexistent
13693 xref-find-function.
13695 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
13697 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
13699 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
13701 * lisp/menu-bar.el: Use folding in searches
13703 (nonincremental-search-forward): Use `isearch-search-fun-default'
13704 to determine the search function.
13705 (nonincremental-search-backward)
13706 (nonincremental-repeat-search-forward)
13707 (nonincremental-repeat-search-backward): Use it.
13709 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
13711 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
13713 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
13715 * lisp/character-fold.el (character-fold-to-regexp): Be careful
13717 not to return huge regexps.
13719 2015-11-29 Eli Zaretskii <eliz@gnu.org>
13721 Improve documentation of string-collate-* functions
13723 * doc/lispref/strings.texi (Text Comparison): Improve wording and
13724 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
13726 * etc/NEWS: Move the entry of 'string-collate-equalp' and
13727 'string-collate-lessp' to "Lisp Changes" section and mark it as
13730 2015-11-29 Eli Zaretskii <eliz@gnu.org>
13732 Document truncate-string-ellipsis
13734 * doc/lispref/display.texi (Size of Displayed Text): Document
13735 'truncate-string-ellipsis'.
13737 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
13738 (truncate-string-to-width): Mention in the doc string that the
13739 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
13741 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
13744 2015-11-29 Eli Zaretskii <eliz@gnu.org>
13746 Fix confusion wrt character folding in the Emacs manual
13748 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
13749 Document that invoking search-forward/backward and
13750 re-search-forward/backward supports only case folding, but not the
13751 rest of the lax-search features. Reported by Mike Kupfer
13752 <m.kupfer@acm.org>.
13754 2015-11-29 Ken Brown <kbrown@cornell.edu>
13756 Update mod-test-sum-test
13758 * modules/mod-test/test.el (mod-test-sum-test): Update to
13759 accommodate the lack of dladdr on Cygwin.
13761 2015-11-29 Alan Mackenzie <acm@muc.de>
13763 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
13765 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
13766 to `funcall', (i) Output an error message; (ii) Generate code to signal a
13767 `wrong-number-of-arguments' error.
13769 2015-11-29 Martin Rudalics <rudalics@gmx.at>
13771 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
13773 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
13775 * lisp/character-fold.el (character-fold-to-regexp)
13777 Warn about using long strings.
13779 * test/automated/character-fold-tests.el
13780 (character-fold--test-lax-whitespace)
13781 (character-fold--test-consistency): Reduce string size for tests.
13783 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13785 Document renaming of x-select-enable-* variables
13787 * doc/emacs/killing.texi (Clipboard): Rename
13788 x-select-enable-clipboard to select-enable-clipboard and
13789 x-select-enable-primary to select-enable-primary. Update index
13792 * etc/NEWS: Mark entry as documented.
13794 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13796 Document the shorthand hints displayed by M-x
13798 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
13799 suggest-key-bindings. Document the shorthand hints for commands
13800 that have no key bindings. Document that M-x completion ignores
13803 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
13806 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13808 Update docs of character folding
13810 * doc/emacs/search.texi (Lax Search): Update the description of
13811 character folding for the latest changes.
13813 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
13815 * lisp/character-fold.el: Also play nice with case-folding
13817 (character-fold-to-regexp): Take `case-fold-search' into account.
13819 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
13821 * lisp/character-fold.el: Add support for multi-char matches
13823 (character-fold-table): Now has an extra-slot. This is a second
13824 char-table that holds multi-character matches. See docstring for
13826 (character-fold-to-regexp): Can build branching regexps when a
13827 character's entry the extra slot of `character-fold-table' matches the
13828 characters that succeed it.
13830 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
13832 * lisp/character-fold.el: Code simplifications
13834 (character-fold-table): Reduce the scope of a variable.
13835 (character-fold-to-regexp): Change logic to work directly on the
13836 input string. It's a little easier to understand, probably
13837 faster, and sets us up for implementing multi-char matches.
13839 * test/automated/character-fold-tests.el
13840 (character-fold--test-fold-to-regexp): New test.
13842 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13844 Document changes in "C-h l"
13846 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
13848 * etc/NEWS: mark "C-h l" changes as documented.
13850 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13852 Finalize documentation of 'custom-prompt-customize-unsaved-options'
13854 * doc/emacs/custom.texi (Saving Customizations): Index the new
13855 function 'custom-prompt-customize-unsaved-options'.
13857 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
13860 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13862 Document 'comment-line'
13864 * doc/emacs/programs.texi (Comment Commands): Document
13867 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
13869 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13871 Document new checkdoc features
13873 * doc/lispref/tips.texi (Tips, Library Headers): Document the
13874 keyword-checking features of checkdoc and the commands
13875 'checkdoc-file' and 'checkdoc-current-buffer'.
13877 * etc/NEWS: Move the checkdoc-related entries to their own
13880 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
13882 Simplify the prologue of emacs-module.c functions
13884 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
13885 (module_make_global_ref)
13886 (module_free_global_ref, module_make_function, module_funcall)
13887 (module_intern, module_type_of, module_extract_integer)
13888 (module_make_integer, module_extract_float, module_make_float)
13889 (module_copy_string_contents, module_make_string)
13890 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
13891 (module_get_user_finalizer, module_set_user_finalizer)
13892 (module_vec_set, module_vec_get, module_vec_size): Use new helper
13893 macro MODULE_FUNCTION_BEGIN.
13895 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13897 Don't reject module calls with no arguments
13899 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
13901 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
13903 Make module-call be visible from Lisp
13905 * src/emacs-module.c (module_make_function): Use internal--module-call.
13906 (Finternal_module_call): Renamed from Fmodule_call. Add safety
13908 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
13909 defsubr internal--module-call.
13911 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13913 Add etags tests for the recent Lua-related bugfix
13915 * test/etags/lua-src/test.lua: New file, tests the issues raised
13917 * test/etags/Makefile (LUASRC): Add test.lua.
13918 * test/etags/ETAGS.good_1:
13919 * test/etags/ETAGS.good_2:
13920 * test/etags/ETAGS.good_3:
13921 * test/etags/ETAGS.good_4:
13922 * test/etags/ETAGS.good_5:
13923 * test/etags/ETAGS.good_6:
13924 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
13925 regression fix, resolved around 25 May 2015, required changes to
13926 the "good" ETAGS files.
13928 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13930 Fix Lua tags when a function name includes '.' or ':'
13932 * lib-src/etags.c (Lua_functions): Add a tag for the last element
13933 of a function name after a dot or a colon. (Bug#21934)
13935 2015-11-28 Eli Zaretskii <eliz@gnu.org>
13937 Improve documentation of search and replace commands
13939 * doc/emacs/search.texi (Replacement and Lax Matches): Document
13940 which commands are affected by 'replace-character-fold'.
13941 (Lax Search): Add a cross reference to "Replacement and Lax
13942 Matches". Improve wording. Fix lost extra whitespace.
13943 (Search Customizations): Improve wording. (Bug#22036)
13944 See also comments in
13945 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
13947 * lisp/replace.el (query-replace, query-replace-regexp)
13948 (query-replace-regexp-eval, replace-string, replace-regexp):
13949 Mention 'replace-character-fold' in the doc strings.
13951 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
13953 Fix minor problems found by static checking
13955 * src/undo.c (prepare_record): Add proper prototype for C.
13957 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * src/emacs-module.c (struct env_storage): Delete
13961 (struct emacs_runtime_private): Keep an emacs_env instead.
13962 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
13963 (initialize_environment): Split the arg in two. Adjust all callers.
13964 Only store the private part in Vmodule_environments.
13965 (finalize_environment): Change the arg to only be the private env.
13966 Adjust all callers.
13968 2015-11-27 Eli Zaretskii <eliz@gnu.org>
13970 Improve documentation of 'replace-character-fold'
13972 * lisp/replace.el (replace-character-fold): Clarify which commands
13973 are affected by this variable.
13975 2015-11-27 Mark Oteiza <mvoteiza@udel.edu>
13977 Backport: Add interactive seek command.
13979 * lisp/mpc.el (mpc-cmd-seekcur): New function.
13980 (mpc-seek-current): New command.
13981 (mpc-mode-menu): Add entry for mpc-seek-current
13982 (mpc-mode-map): Bind mpc-seek-current to "g"
13984 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
13986 Autoload etags when using its xref backend
13988 * lisp/progmodes/xref.el (xref--etags-backend):
13989 Rename to etags--xref-backend. Move to etags.el. Autoload.
13992 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
13994 * lisp/character-fold.el: Allow complex chars to match their decomposition
13996 (character-fold-table): When a character's decomposition does not
13997 involve a formatting tag (i.e., if it has an "exact" description via
13998 other characters), then this character is allowed to match the
14001 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
14003 * lisp/character-fold.el: More descriptive variable names
14005 (character-fold-table): Rename a lot of the lexical variables to
14006 make the code easier to read.
14008 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
14010 * lisp/isearch.el: Ensure we still support `isearch-new-word'
14012 (isearch-new-regexp-function): Define variable.
14013 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
14015 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14017 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
14019 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
14021 * test/automated/abbrev-tests.el: Define more tests
14023 (abbrev-table-name-test, kill-all-abbrevs-test)
14024 (clear-abbrev-table-test): New tests.
14026 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14028 Add module tests for wrong-type-argument
14030 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
14031 wrong-type-argument.
14033 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14035 Improve handling of signals and 'throw' in modules
14037 * src/emacs-module.c: Add commentary explaining how to write
14038 functions in this file.
14039 (module_make_global_ref, module_free_global_ref)
14040 (module_non_local_exit_signal, module_non_local_exit_throw)
14041 (module_make_function, module_funcall, module_intern)
14042 (module_type_of, module_is_not_nil, module_eq)
14043 (module_extract_integer, module_make_integer)
14044 (module_extract_float, module_make_float)
14045 (module_copy_string_contents, module_make_string)
14046 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
14047 (module_get_user_finalizer, module_set_user_finalizer)
14048 (module_vec_set, module_vec_get, module_vec_size)
14049 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
14050 Do nothing and return with failure indication immediately, if some
14051 previous module call signaled an error or wants to throw. See
14052 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
14053 for the relevant discussions.
14055 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14057 Add ':version' tag to 'checkdoc-package-keywords-flag'
14059 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
14060 Add a ':version' tag.
14062 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14064 Improve documentation of 'eval-buffer' and 'eval-region'
14066 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
14068 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
14069 "accessible portion of buffer".
14071 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14073 Unbreak the Cygwin w32 build
14075 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
14076 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14078 2015-11-27 Eli Zaretskii <eliz@gnu.org>
14080 Improve commentary in character-fold.el
14082 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
14083 description from commit log message to comments. (Bug#22019)
14085 2015-11-26 Alan Mackenzie <acm@muc.de>
14087 Byte Compiler: generate code to adjust stack count after call to `signal'.
14089 Corrects change from earlier today.
14091 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
14092 `byte-compile--for-effect' as argument to `byte-compile-form'.
14094 2015-11-26 Eli Zaretskii <eliz@gnu.org>
14096 Improve commentary of prepare_to_modify_buffer_1
14098 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
14099 that this function runs Lisp. Suggested by Richard Stallman
14102 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
14104 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
14106 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
14108 Fix regression after merge.
14110 * src/undo.c (prepare_record): Remove call to run_undoable_change.
14112 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
14114 After delete, record point location in undo.
14116 Addresses Bug #21968.
14118 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
14119 better support intercalating calls.
14120 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
14121 point and current buffer before each command.
14122 * src/undo.c (record_point): Now only record the point.
14123 * src/undo.c (prepare_record): Functionality removed form
14125 * src/undo.c (record_delete): Check if point needs recording.
14126 * src/undo.c (undo-boundary): Record value of point before each
14128 * test/automated/simple-test.el: New tests.
14133 2015-11-26 Eli Zaretskii <eliz@gnu.org>
14135 Fix compiler warnings in w32.c
14137 * src/w32.c (sys_socket): In case of error, use -1 as return
14138 value, not INVALID_SOCKET, which causes compiler warnings.
14139 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
14140 to the appropriate function signature, to avoid compiler errors.
14141 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
14143 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
14145 Check if the file exists on disk before producing the revert diff
14147 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
14148 exists on disk (bug#20558).
14150 2015-11-26 Alan Mackenzie <acm@muc.de>
14152 Byte compiler: on setq with an odd number of arguments, generate a `signal'
14154 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
14155 it has an odd number of arguments, to allow bytecomp to handle the error.
14157 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
14158 odd number of arguments, generate a `signal' instead of the normal code.
14160 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
14162 Use find-tag-default for xref-backend-identifier-at-point
14164 * lisp/progmodes/etags.el (find-tag-tag)
14165 (tags-completion-at-point-function): Extract common code as
14167 (xref-backend-identifier-at-point): Define in terms of the new
14170 2015-11-26 Paul Eggert <eggert@cs.ucla.edu>
14172 * src/undo.c (record_property_change): Remove now-unused local.
14174 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
14176 run_undoable_changes now called from insdel.
14178 The original calls from inside undo.c are not always at a safe position
14179 to call lisp, as they originate in varied positions within insdel.c.
14180 Calling them directly from prepare_to_modify_buffer_1 ensures that they
14181 are always run at the same point.
14183 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
14185 * src/insdel.c (run_undoable_changes): Add function and symbol.
14187 2015-11-25 Eli Zaretskii <eliz@gnu.org>
14189 Improve and update documentation of search commands
14191 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
14192 all references changed. Move the description of lax-whitespace
14193 here. Add description of the new character folding features and
14194 additional customizable options.
14195 (Isearch Yank): Move before "Error in Search".
14196 (Basic Isearch): Improve wording. Add index entries. Add short
14197 description of how to abandon search, making this subsection a
14198 complete introduction to search basics.
14199 (Repeat Isearch): Add index entries. Describe additional
14200 customizable options. Describe mouse clicks.
14201 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
14202 area. Describe more customizable options.
14203 (Error in Isearch): Add index entries.
14204 (Special Isearch): Move actual description of some isearch
14205 commands to other sections, leaving here just the summary of the
14206 commands. Add command that toggles character folding. Describe
14207 commands, like "C-h C-h", that were previously omitted for some
14209 (Not Exiting Isearch): Describe search-exit-option. Add index
14211 (Word Search): Describe eww-search-word and eww-search-prefix.
14212 (Symbol Search): Add index entries.
14213 (Regexp Search): Describe regexp-search-ring-max.
14214 (Replacement and Lax Matches): Renamed from "Replacement and
14215 Case"; all references changed. Describe lax-whitespace matching
14216 in replace commands and related options. Describe character
14217 folding in replace commands and related options.
14218 (Query Replace): Describe query-replace-from-to-separator and the
14219 new history features. Add index entries for highlighted text.
14220 Describe query-replace-skip-read-only. Describe more keys
14221 accepted by query-replace.
14222 (Other Repeating Search): More index entries for Occur. Describe
14223 list-matching-lines-default-context-lines.
14224 (Search Customizations): New section, documents customizable
14225 options that were not documented until now.
14226 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
14227 "Character Folding".
14229 * etc/NEWS: Move search- and replace-related entries to a single
14232 * lisp/replace.el (query-replace-show-replacement): Doc fix.
14233 * lisp/isearch.el (search-nonincremental-instead)
14234 (isearch-hide-immediately): Doc fixes.
14236 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
14238 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
14240 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
14241 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
14242 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
14244 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
14246 Fix module_format_fun_env when dynlib_addr fails
14248 * src/emacs-module.c (module_format_fun_env):
14249 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
14250 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
14252 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
14254 Disambiguate variable help a bit better
14256 * lisp/help-fns.el (describe-variable): Quote the
14257 variable’s value if it is a symbol other than t or nil.
14259 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
14261 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
14263 Pass SVN commit message through log-edit-extract-headers
14265 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
14266 log-edit-extract-headers (bug#18954).
14268 2015-11-24 Alan Mackenzie <acm@muc.de>
14270 CC Mode: Eliminate compiler warning messages.
14272 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
14273 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
14274 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
14275 (c-awk-set-syntax-table-properties): Clarify comments about
14276 `font-lock-syntactic-keywords'.
14278 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
14279 of this before the real (interpreted) one, to satisfy the byte compiler.
14281 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
14283 Extend the test suite for json.el
14285 * lisp/json.el (json-plist-p): Clarify docstring.
14287 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
14289 (test-json-join, test-json-alist-p)
14290 (test-json-plist-p, test-json-advance, test-json-peek)
14291 (test-json-pop, test-json-skip-whitespace)
14292 (test-json-read-keyword, test-json-encode-keyword)
14293 (test-json-read-number, test-json-encode-number)
14294 (test-json-read-escaped-char, test-json-read-string)
14295 (test-json-encode-string, test-json-encode-key)
14296 (test-json-new-object, test-json-add-to-object)
14297 (test-json-read-object, test-json-encode-list)
14298 (test-json-read-array, test-json-encode-array)
14299 (test-json-read, test-json-read-from-string)
14300 (test-json-encode): New tests.
14301 (json-read-simple-alist): Merged into `test-json-read-object'.
14302 (json-encode-string-with-special-chars): Merged into
14303 `test-json-encode-string'.
14304 (json-read-string-with-special-chars): Split into
14305 `test-json-encode-string' and `test-json-read-from-string'.
14307 2015-11-24 Anders Lindgren <andlind@gmail.com>
14309 Fixed bug#18283: Enable applescript in NextStep.
14311 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
14313 2015-11-24 Eli Zaretskii <eliz@gnu.org>
14315 Allow completion on dynamic module files in load-library
14317 * lisp/files.el (load-library): Bind completion-ignored-extensions
14318 to nil, to allow completion on dynamic modules typed as file
14319 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14321 2015-11-24 Alan Mackenzie <acm@muc.de>
14323 CC Mode: eliminate almost all byte compilation warnings
14325 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
14326 (cc-require): Remove the crude hack that saved and restored
14327 byte-compile-noruntime-functions.
14328 (cc-conditional-require, cc-conditional-require-after-load): New macros.
14330 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
14331 cc-fix.el using the new macros in cc-bytecomp.el.
14333 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
14334 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
14335 forms to remove the superflous quotes.
14337 2015-11-24 Eli Zaretskii <eliz@gnu.org>
14339 Add one more mod-test test
14341 * modules/mod-test/test.el (mod-test-sum-test): Test the error
14342 signaled when the function is invoked with a wrong number of
14345 2015-11-24 Philipp Stephani <phst@google.com>
14347 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
14349 2015-11-24 Eli Zaretskii <eliz@gnu.org>
14351 Implement dynlib_addr for MS-Windows
14353 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
14354 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
14355 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
14356 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
14358 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
14360 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
14361 the full file name of the module for a given address.
14363 2015-11-24 Alan Mackenzie <acm@muc.de>
14365 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
14367 2015-11-24 Alan Mackenzie <acm@muc.de>
14369 Squashed commit of the following:
14371 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
14372 Author: Alan Mackenzie <acm@muc.de>
14373 Date: Tue Nov 24 16:50:09 2015 +0000
14375 Byte compile: minor amendments.
14377 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
14378 add a comment to explain the binding of variables around a subsidiary
14380 (byte-compile-new-defuns): Amend the doc string.
14382 commit c537bfed1dda1593d218956ff00c6105a3ff0316
14383 Author: Alan Mackenzie <acm@muc.de>
14384 Date: Sat Nov 21 18:43:57 2015 +0000
14386 Byte compiler: fix spurious warnings "might not be defined at runtime".
14388 Also initialize byte-compile-noruntime-functions between runs.
14390 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
14391 (byte-compile-initial-macro-environment): For eval-when-compile: bind
14392 byte-compile-unresolved-functions and byte-compile-new-defuns around
14393 byte-compile-top-level, to prevent spurious entries being made.
14394 (byte-compile-warn-about-unresolved-functions): Check whether function is
14395 in byte-compile-new-defuns before emitting a warning about it.
14396 (byte-compile-from-buffer): Initialize new variable and
14397 byte-compile-noruntime-functions to nil.
14398 (byte-compile-file-form-require): record all new functions defined by a
14399 `require' in byte-compile-new-defuns.
14400 (byte-compile-file-form-defmumble): record the new alias in
14401 byte-compile-new-defuns.
14403 2015-11-24 Eli Zaretskii <eliz@gnu.org>
14405 Fix crash at startup related to GC of font entities
14407 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
14408 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
14409 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
14410 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
14411 Don't ifdef away font cache compaction on NT_GUI, as the problems
14412 which led to that seem to have been solved.
14413 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
14414 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
14415 cousins. (Bug#21999)
14417 2015-11-24 Alan Mackenzie <acm@muc.de>
14419 Byte compile: Output an error, not a warning, for odd number of args to setq
14421 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
14423 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
14425 Fix kbd_buffer iteration loop in readable_events
14427 * src/keyboard.c (readable_events): Wrap the event pointer back to the
14428 start of the kbd_buffer array inside the top of the loop instead of
14429 right before checking the loop condition, since kbd_fetch_ptr and
14430 kbd_store_ptr point past the end of the array to mean that element 0
14431 is next. (bug#21935)
14433 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14435 Improve text-quoting-style doc again
14437 * doc/lispref/help.texi (Keys in Documentation):
14438 Omit overkill discussion of ‘setq’. Mention Emacs versions
14439 where ‘grave’ style was standard.
14441 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14443 Improve text-quoting-style doc
14445 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14447 Simplify module_make_function
14449 * src/emacs-module.c (module_make_function):
14450 Simplify by calling build_unibyte_string.
14452 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14454 Port better to FreeBSD’s dlfunc vs dlsym
14456 This avoids warnings when converting between void * and
14457 function pointers, which strict C11 does not allow.
14458 * configure.ac (dlfunc): Check for existence.
14459 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
14460 (dynlib_func): New function.
14461 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
14462 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
14463 dynlib_sym, for function pointers.
14465 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14467 Simplify use of emacs_finalizer_function type
14469 * src/emacs-module.h (emacs_finalizer_function):
14470 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
14471 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
14473 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
14475 module_format_fun_env fixes
14477 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
14478 * src/emacs-module.c (module_format_fun_env):
14479 Convert path and sym to UTF-8.
14480 Don’t use VLAs, as the C11 standard says they’re optional,
14481 and anyway they can cause core dumps with large allocations.
14482 Use exprintf rather than snprintf, as exprintf handles arbitrarily
14483 long strings. Simplify the code a bit.
14485 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
14487 Don't use package-user-dir in elisp-library-roots if it's not bound
14489 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
14490 use package-user-dir if it's not bound (bug#19759).
14492 2015-11-23 Anders Lindgren <andlind@gmail.com>
14494 New visible-bell for NextStep (OS X El Capitan compatible).
14496 Instead of inverting a rectangle in the middle of the frame, use
14497 the standard NextStep image "caution", represented using an
14498 warning sign with an exclamation mark. (Bug#21662)
14500 Implemented based on a suggestion drafted by Mustafa Kocaturk.
14502 * src/nsterm.m (EmacsBell): New class for managing the caution
14503 image. Support multiple active bells, the image is removed once
14504 all bells have timed out.
14505 (ns_timeout): Removed, no longer used.
14506 (ns_ring_bell): Reimplemented to use EmacsBell.
14508 2015-11-23 Johan Bockgård <bojohan@gnu.org>
14510 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
14512 (remove-function): Ditto. (Bug#20376)
14514 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
14516 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
14518 2015-11-23 Eli Zaretskii <eliz@gnu.org>
14520 Improve how non-ASCII strings are accepted from modules
14522 * src/emacs-module.c (module_make_function, module_make_string):
14523 Build a unibyte Lisp string and then decode it by UTF-8, instead
14524 of building a multibyte string without decoding. This is more
14525 tolerant to deviations from UTF-8.
14527 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
14529 Port recent module changes to pickier compilers
14531 * src/emacs-module.c (module_make_function)
14532 (module_make_string): Add casts to fix pointer signedness issues.
14534 2015-11-23 Philipp Stephani <phst@google.com>
14536 Fix how strings are accepted from modules
14538 * src/emacs-module.c (module_make_function, module_make_string): Use
14539 make_multibyte_string.
14540 (module_copy_string_contents): Encode before reading the byte
14541 size. Return false if and only if an error occurred.
14543 2015-11-23 Eli Zaretskii <eliz@gnu.org>
14545 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
14547 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
14549 Add the tamil-dvorak input method
14551 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
14553 * etc/NEWS: Mention the new input method.
14555 2015-11-23 Martin Rudalics <rudalics@gmx.at>
14557 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
14559 * src/frame.c (adjust_frame_size): Don't set
14560 FRAME_WINDOW_SIZES_CHANGED here ...
14561 * src/window.c (resize_frame_windows): ... but here, as suggested
14562 by Stefan Monnier. Also remove some dead code along the way.
14564 2015-11-23 Alan Mackenzie <acm@muc.de>
14566 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
14568 2015-11-23 Alan Mackenzie <acm@muc.de>
14570 Signal an error when `setf' gets an odd number of arguments.
14572 * lisp/emacs-lisp/gv.el (setf): Amend.
14574 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14576 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
14578 2015-11-23 Alan Mackenzie <acm@muc.de>
14580 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
14582 2015-11-23 Alan Mackenzie <acm@muc.de>
14584 Expunge occurrences of `setq' with an odd number of arguments.
14586 * lisp/apropos.el (apropos-documentation):
14587 * lisp/obsolete/complete.el (PC-include-file-all-completions):
14588 * lisp/progmodes/compile.el (compilation-goto-locus):
14589 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
14590 Insert missing nil at end of `setq' forms.
14592 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
14593 erroneous trailing variable name from a setq, thus allowing a compilation
14594 properly to track functions not defined at runtime.
14596 2015-11-23 John Wiegley <johnw@newartisans.com>
14598 Add a note about a questionable use of bool in xdisp.c
14600 2015-11-23 Alan Mackenzie <acm@muc.de>
14602 Issue a warning from the byte compiler on a malformed `setq' form.
14604 Partly fixes bug#20241.
14605 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
14606 `setq' form with an odd number of arguments is compiled.
14608 2015-11-23 Alan Mackenzie <acm@muc.de>
14610 Don't let cconv_convert insert a nil argument into a `setq' form.
14613 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
14614 argument into a `setq' when there're an odd number of args. This enables the
14615 byte compiler to issue a message in this case.
14617 2015-11-23 Alan Mackenzie <acm@muc.de>
14619 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
14621 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
14622 (syms_of_eval): Add a DEFSYM for Qsetq.
14624 2015-11-23 Martin Rudalics <rudalics@gmx.at>
14626 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
14628 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
14630 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14632 Add EUDC BBDB 3 entry in NEWS
14634 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
14636 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14638 Improve EUDC to BBDB 3 export
14640 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
14641 entry to single item. Add company conversion.
14642 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
14643 (bbdb-parse-phone): Declare function.
14644 (eudc-bbdbify-phone): Add BBDB 3 support.
14647 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14649 Add BBDB 3 support for EUDC export
14651 * lisp/net/eudc.el: Add bbdb-version defvar.
14652 (eudc--using-bbdb-3-or-newer-p): New function.
14653 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
14654 bbdb-create-internal argument list changes introduced in BBDB 3.
14655 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
14656 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
14659 2015-11-22 Eli Zaretskii <eliz@gnu.org>
14661 Allow loading modules by 'load-file'
14663 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
14664 2nd arg, to avoid the "binding stack not balanced" error.
14665 (syms_of_lread) <module-file-suffix>: New Lisp variable.
14667 * lisp/files.el (module-file-suffix): Declare.
14668 (load-file): Remove 'module-file-suffix' from
14669 'completion-ignored-extensions', to allow completion on modules.
14671 * etc/NEWS: Mention 'module-file-suffix'.
14673 2015-11-22 Eli Zaretskii <eliz@gnu.org>
14675 Fix unoptimized builds
14677 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
14680 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
14682 Work around the asynchronous-empty-diff problem
14684 * lisp/vc/vc-rcs.el (vc-rcs-diff):
14685 * lisp/vc/vc-mtn.el (vc-mtn-diff):
14686 * lisp/vc/vc-hg.el (vc-hg-diff):
14687 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
14688 do a synchronous process call (bug#21969).
14690 2015-11-22 Karl Fogel <kfogel@red-bean.com>
14692 Finish excising electric indent from `open-line'
14694 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
14696 * test/automated/simple-test.el (open-line-indent, open-line-hook):
14697 Adjust accordingly.
14699 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
14700 (git commit c59353896) started. It turns out that having INTERACTIVE
14701 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
14702 still had the electric indent behavior, as `post-self-insert-hook'
14703 normally contains `electric-indent-post-self-insert-function' ever
14704 since `electric-indent-mode' has been on by default. Tracing the code
14705 change in `open-line' is mildly twisty, because Artur Malabarba's
14706 earliest two commits of 24 Oct 2015 first removed the `interactive'
14707 form entirely (git commit 6939896e2) and then restored it with the new
14708 extra "p" already added (git commit bd4f04f86), such that there is no
14709 single-commit diff in which one sees the second "p" appear. Thus this
14710 change is effectively a reversion of parts of each of those commits.
14712 This could close bug#21884, at least until further discussion.
14714 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
14716 Adhere closer to the "implicit tag name" definition
14718 * lisp/progmodes/etags.el (etags-tags-completion-table):
14719 Adhere closer to the "implicit tag name" definition. Simplify
14720 the regexp. Search for the explicit tag name first, and when
14721 not found, search locally for the implicit one. (Bug#21934)
14723 2015-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14725 Unrevert most of regexp reentrancy abort patch
14727 The problem was in:
14728 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
14729 which is hence not unreverted.
14731 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
14732 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
14733 All callers in regex.c changed back to the _FAST versions.
14735 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
14736 propertization in backward-sexp.
14738 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
14740 Revert regexp reentrancy abort patch
14742 Although the patch does fix Bug#21688 and prevents a core dump,
14743 it also makes the message-mode-propertize test fail; see:
14744 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
14745 Perhaps someone else can come up with a better fix some day.
14746 * src/syntax.c (update_syntax_table_forward):
14747 Propertize even when truncated.
14748 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
14749 (UPDATE_SYNTAX_TABLE_FAST): Remove.
14750 All callers changed back to the non-_FAST versions.
14752 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
14754 Add a few safety checks when ENABLE_CHECKING
14756 This was motivated by the recent addition of module code,
14757 which added some ENABLE_CHECKING-enabled checks that are
14758 useful elsewhere too.
14759 * src/alloc.c (compact_font_cache_entry):
14760 * src/fns.c (sweep_weak_table):
14761 * src/lread.c (oblookup):
14762 Use gc_asize rather than doing it by hand.
14763 * src/emacs-module.c (module_make_global_ref)
14764 (module_free_global_ref, module_vec_size):
14765 Omit assertions that lisp.h now checks.
14766 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
14767 check that the result is nonnegative. Use eassume, as this
14768 info can help a bit when optimizing production code.
14769 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
14770 to be consistent with the USE_LSB_TAG case.
14771 (gc_asize): New function, when ASIZE is needed in the gc.
14773 (HASH_TABLE_P): Move definition up, so that it can be used ...
14774 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
14776 2015-11-21 Eli Zaretskii <eliz@gnu.org>
14778 Simplify recording of main thread's ID on MS-Windows
14780 * src/w32term.c (w32_initialize):
14781 * src/w32console.c (initialize_w32_display):
14782 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
14783 ID independently for each type of session (GUI, TTY, batch).
14784 * src/w32term.c (w32_init_main_thread): New function, records the
14785 main thread's thread ID.
14786 * src/w32term.h: Add prototype for w32_init_main_thread.
14787 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
14789 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
14790 main_thread, for consistency with other threading libraries. All
14791 users changed. Include w32term.h.
14792 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
14793 make sure the main thread is alive, as we hold a handle on it
14794 opened by w32_init_main_thread.
14795 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
14796 w32_init_main_thread, instead of calling the requisite APIs once
14799 2015-11-21 Mark Oteiza <mvoteiza@udel.edu>
14801 Backport: Fix issue where a new tempfile was created every refresh
14803 * lisp/mpc.el (mpc-format): Leave dir as relative path
14805 2015-11-21 Eli Zaretskii <eliz@gnu.org>
14807 Call 'window-size-change-functions' for mini-windows
14809 * src/window.c (grow_mini_window, shrink_mini_window): Set the
14810 frame's 'window_sizes_changed' flag.
14811 * src/xdisp.c (redisplay_internal): Call the hooks on
14812 'window-size-change-functions' if the call to 'echo_area_display'
14813 sets the frame's 'window_sizes_changed' flag.
14814 (syms_of_xdisp) <window-size-change-functions>:
14815 Update doc string to indicate the mini-window resizes trigger a
14816 call to the hooks, and don't promise that will happen "before
14817 redisplay". (Bug#19576, Bug#21333)
14819 * doc/lispref/windows.texi (Window Hooks): Update the description
14820 of 'window-size-change-functions'.
14822 2015-11-21 Eli Zaretskii <eliz@gnu.org>
14824 Improve documentation of dynamic modules
14826 * src/fns.c (Frequire): Doc fix to include the dynamic module
14828 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
14829 dynamic module support.
14830 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
14831 wrt the MUST-SUFFIX argument.
14833 * etc/NEWS: Expand documentation of dynamically loaded modules.
14835 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
14837 Initial documentation for dynamic modules
14839 * etc/NEWS: Mention the new support for dynamically loaded modules.
14841 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
14843 Add xref--etags-backend to xref-backing-functions using add-hook
14845 * lisp/progmodes/xref.el (xref-backend-functions): Move the
14846 default value into a separate `add-hook' call (bug#21964).
14848 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
14849 Don't declare the xref-backend-functions variable.
14850 It doesn't make any difference.
14852 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14854 Fix double-decrement bug when freeing global refs
14856 * src/emacs-module.c (module_free_global_ref): Add a FIXME
14857 comment about error reporting. Fix a recently-introduced typo
14858 that double-decremented the refcount.
14860 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14862 Declare emacs_module_init in the module API
14864 * src/emacs-module.h (emacs_module_init): New decl.
14865 Without it, GCC might complain about a module that defines
14866 emacs_module_init without using it. This also checks the
14869 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14871 Fix module test to use ptrdiff_t nargs too
14873 * modules/mod-test/mod-test.c (Fmod_test_return_t)
14874 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
14875 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
14876 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
14877 (Fmod_test_userptr_get, Fmod_test_vector_fill)
14878 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
14879 (finalizer): Remove; no longer used.
14881 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14883 Fix reindent-introduced typo in module code
14885 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
14886 introduced while reindenting the code earlier, and add a
14887 comment explaining the unusual use of do-while here.
14889 2015-11-20 Anders Lindgren <andlind@gmail.com>
14891 Fixed bug#19576: `write-file' saves wrong buffer.
14893 If a function on the hook `window-size-change-functions' doesn't
14894 restore the current buffer, functions that save and restore the
14895 current window configuration (like `y-or-no-p') could silently
14896 change the current buffer. When `write-file' asked the user
14897 confirmation to overwrite a file, `y-or-no-p' changed the current
14898 buffer, and the wrong buffer was saved to the file.
14900 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
14901 using the `norecord' parameter.
14902 (follow-window-size-change): Restore current buffer. Call
14903 `select-frame' using the `norecord' parameter. Cleanup.
14905 2015-11-20 John Wiegley <johnw@newartisans.com>
14907 Correct a documentation error in frames.texi
14909 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
14911 * lisp/cedet/mode-local.el: Delete obsolete comment
14913 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14915 Module function arg counts are ptrdiff_t, not int
14917 * src/emacs-module.c (struct module_fun_env)
14918 (module_make_function, module_funcall, Fmodule_call):
14919 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
14920 Use ptrdiff_t, not int, for arg counts.
14921 * src/emacs-module.c (module_make_function): Don’t bother
14922 checking arity against MOST_POSITIVE_FIXNUM, as that’s
14923 unnecessary here. Make the checking clearer by negating it.
14924 (module_make_function, Fmodule_call): No need to use xzalloc
14925 since the storage doesn’t need to be cleared.
14926 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
14927 for it, and many implementations are buggy with large VLAs anyway.
14928 Use SAFE_ALLOCA_LISP instead.
14929 (module_vec_set): Don’t crash if i < 0.
14930 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
14931 (module_vec_set, module_vec_get): Do fixnum checks only when
14932 i is out of array bounds, for efficiency in the usual case.
14933 (Fmodule_load): Simplify fixnum range check.
14934 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
14935 integer overflow in array allocation size.
14937 2015-11-20 Eli Zaretskii <eliz@gnu.org>
14939 Minor improvements in module test
14941 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
14942 about missing prototype of malloc.
14943 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
14946 2015-11-20 Eli Zaretskii <eliz@gnu.org>
14948 Improve MS-Windows implementation in dynlib.c
14950 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
14951 No need to include windows.h, as w32.h already does that.
14952 <dynlib_last_err>: New static variable.
14953 (dynlib_reset_last_error): New function.
14954 (dynlib_open): Convert forward slashes to backslashes. Convert
14955 file names from UTF-8 to either UTF-16 or the current ANSI
14956 codepage, and call either LoadLibraryW or LoadLibraryA. If the
14957 argument is NULL, return a handle to the main module, like
14958 'dlopen' does. Record the error, if any, for use by dynlib_error.
14959 (dynlib_sym): Check the handle for validity. Record the error, if
14960 any, for use by dynlib_error.
14961 (dynlib_error): Call w32_strerror to produce the error string, and
14962 zero out the last error code, like dlerror does.
14963 (dynlib_close): Check the handle for validity. Record the error,
14964 if any, for use by dynlib_error. Don't call FreeLibrary with a
14965 handle for the main module.
14966 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
14968 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14970 Include-file tweaks for modules
14972 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
14973 * src/dynlib.h: Do not include config.h.
14974 It’s every .c file’s responsibility to include config.h first.
14975 * src/emacs-module.c: Include emacs-module.h immediately after
14976 config.h, to test that emacs-module.h doesn’t depend on
14977 include files other than config.h.
14979 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14981 Simplify push_handler and profile its malloc
14983 * src/lisp.h (PUSH_HANDLER): Remove.
14984 All callers changed to use push_handler directly.
14985 * src/eval.c (internal_condition_case)
14986 (internal_condition_case_1, internal_condition_case_2)
14987 (internal_condition_case_n):
14988 Use same pattern as for other invokers of push_handler.
14989 (push_handler, push_handler_nosignal): Use call-by-value
14990 instead of call-by-reference. All uses changed.
14991 (push_handler): Simplify by rewriting in terms of
14992 push_handler_nosignal.
14993 (push_handler_nosignal): Profile any newly allocated memory.
14995 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
14997 * src/emacs-module.h: Include stddef.h, not stdlib.h.
14999 2015-11-20 Juanma Barranquero <lekktu@gmail.com>
15001 Discover repository version in linked worktrees (bug#21930)
15003 * lisp/version.el (emacs-repository--version-git-1): Do not assume
15004 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
15005 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
15008 2015-11-20 Juri Linkov <juri@linkov.net>
15010 * lisp/replace.el (occur-regexp-descr): New function.
15011 (occur-1, occur-engine): Use it.
15013 * lisp/isearch.el (isearch-occur): Propertize regexp with
15014 isearch-string and isearch-regexp-function-descr for
15015 occur-regexp-descr to display the correct description
15016 message in the header (bug#21176, bug#21180).
15018 2015-11-20 Karl Fogel <kfogel@red-bean.com>
15020 Revert `open-line' electric-indent sensitivity
15022 * lisp/simple.el (open-line): Remove electric indent code.
15023 (electric-indent-just-newline): Don't declare.
15025 * test/automated/simple-test.el (open-line-indent): Adjust test.
15027 This partly reverts Artur Malabarba's change that added electric
15028 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
15029 commit bd4f04f86), and adjusts a new test he added right afterwards
15030 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
15031 However, the new INTERACTIVE argument to `open-line', which he also
15032 added in the first commit, is not reverted here.
15034 See the thread "Questioning the new behavior of `open-line'." on the
15035 Emacs Devel mailing list, and in particular this message:
15037 From: Artur Malabarba
15038 Subject: Re: Questioning the new behavior of `open-line'.
15040 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
15041 Date: Wed, 18 Nov 2015 21:03:58 +0000
15043 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
15045 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
15047 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
15049 Omit unnecessary clear in Fmodule_load
15051 * src/emacs-module.c (Fmodule_load):
15052 Simplify and avoid unnecessary initialization of priv member to 0.
15054 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
15056 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
15058 Prefer signed integer types in module code
15060 Generally speaking, at the C level the Emacs source code prefers
15061 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
15062 partly to avoid the usual signedness confusion when comparing values.
15063 Change the module API to follow this convention.
15064 Use ‘int’ for small values that can’t exceed INT_MAX.
15065 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
15066 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
15067 (Fmod_test_vector_eq):
15068 * src/emacs-module.c (struct emacs_value_frame)
15069 (module_make_global_ref, module_free_global_ref)
15070 (module_copy_string_contents, module_make_string)
15071 (module_vec_set, module_vec_get, module_vec_size):
15072 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
15073 * src/lread.c (suffix_p):
15074 Prefer signed to unsigned integer types.
15076 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15078 Omit ‘const’ on locals
15080 Remove ‘const’ qualifier from locals that were newly added.
15081 We don’t normally bother declaring locals with ‘const’ even
15082 though they are not modified, for the same reason we don’t
15083 bother declaring them with ‘register’ even though their
15084 addresses are not taken; the advantage in compile-time
15085 checking isn’t worth the loss of readability.
15086 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
15087 (Fmod_test_vector_fill, Fmod_test_vector_eq):
15088 * src/emacs-module.c (MODULE_SETJMP_1)
15089 (module_make_global_ref, module_free_global_ref)
15090 (module_non_local_exit_get, module_make_function)
15091 (module_extract_integer, module_extract_float)
15092 (module_get_user_ptr, module_set_user_ptr)
15093 (module_get_user_finalizer, module_set_user_finalizer)
15094 (module_vec_get, Fmodule_call)
15095 (module_non_local_exit_signal_1)
15096 (module_non_local_exit_throw_1, lisp_to_value)
15097 (finalize_storage, allocate_emacs_value, mark_modules)
15098 (module_handle_signal, module_handle_throw)
15099 (module_format_fun_env):
15100 * src/eval.c (push_handler, push_handler_nosignal)
15102 * src/lread.c (suffix_p):
15103 Omit unnecessary ‘const’.
15105 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15107 Prefer intmax_t to int64_t in module code
15109 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
15110 * src/emacs-module.c (module_extract_integer)
15111 (module_make_integer):
15112 * src/emacs-module.h (struct emacs_env_25):
15113 Prefer intmax_t to int64_t. This doesn’t change the generated
15114 code on any of the machines Emacs currently ports to, but it’s
15115 at least in theory more future-proof as C99 doesn’t guarantee
15116 that int64_t exists.
15118 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15120 Rename module.c to emacs-module.c, etc.
15122 * src/emacs-module.c: Rename from src/module.c.
15123 * src/emacs-module.h: Rename from src/module.h.
15126 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15128 Fix minor module problems found by static checking
15130 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
15131 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
15132 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
15133 (Fmodule_call): Tell GCC that the default case is unreachable.
15135 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15137 Style fixes for indenting etc. in module code
15139 This is mostly indenting and spacing changes. Also, remove
15140 some unnecessary static decls instead of bothering to reindent them.
15141 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
15142 as most other Emacs files do for this sort of thing.
15144 2015-11-19 Eli Zaretskii <eliz@gnu.org>
15146 Minor improvements in modules testing Makefile
15148 * modules/mod-test/Makefile (EMACS, SO): New variables.
15149 (CFLAGS): When SO = dll, don't use -fPIC.
15150 (check): New target, runs the test.
15152 2015-11-19 Eli Zaretskii <eliz@gnu.org>
15154 * .gitignore: Add "*.dll".
15156 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15158 Migrate modules/.gitignore into .gitignore
15160 * .gitignore: Add former contents of modules/.gitignore.
15161 * modules/.gitignore: Remove.
15163 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15165 Add copyright notices to module code
15167 Put them in the usual format for GNU Emacs copyright notices.
15169 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
15171 Rename emacs_module.h to module.h
15173 * src/module.h: Rename from src/emacs_module.h.
15176 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
15178 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
15180 * src/lread.c (Fload): Remove unused variable `size'
15182 2015-11-19 Alan Mackenzie <acm@muc.de>
15184 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
15186 2015-11-19 Dmitry Gutov <dgutov@yandex.ru>
15188 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
15190 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
15191 vc-parent-buffer over log-view-mode fallback (bug#21955).
15193 2015-11-18 Alan Mackenzie <acm@muc.de>
15195 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
15197 2015-11-18 Ken Brown <kbrown@cornell.edu>
15199 * configure.ac (LIBMODULES): Don’t define on Cygwin
15201 2015-11-18 Eli Zaretskii <eliz@gnu.org>
15203 Fix MS-Windows build --with-modules
15205 * src/module.c: Reformat copyright commentary.
15206 (module_vec_get): Use explicit cast to size_t to avoid compiler
15207 warning in 32-bit builds.
15208 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
15209 Compare thread IDs directly, as GetThreadId is not available
15210 before Windows Vista.
15211 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
15212 without using APIs and constants not available on XP and older
15213 systems. Obtain and store the thread ID as well.
15215 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
15216 Philipp Stephani <phst@google.com>
15218 Add dynamic module test and helper script
15220 Add 'modhelp.py' script (python2) to automate module testing and
15223 To build and test all modules in the modules/ dir
15224 $ ./modhelp.py test
15226 To generate a module from template code (good starting point)
15227 $ ./modhelp init mynewtestmodule
15229 See the script -h option for more documentation.
15231 * modules/modhelp.py: New module helper script.
15232 * modules/mod-test/Makefile: New file. Makefile for the test module.
15233 * modules/mod-test/mod-test.c: New file. Test module source file.
15234 * modules/mod-test/test.el: New file. ert test suite for the test module.
15235 * modules/.gitignore: New file. Local .gitignore file.
15237 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
15239 Make 'Fload' look for modules
15241 'Fload' can now load dynamic modules. This also makes 'require' work.
15244 (suffix_p): New function.
15245 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
15246 with a module suffix.
15247 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
15249 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
15250 Philipp Stephani <phst@google.com>
15252 Add dynamic module module support
15254 * configure.ac: Add '--with-modules' option. Conditionally add
15255 dynlib.o and module.o to the list of objects. Add any system
15256 specific flags to the linker flags to support dynamic libraries.
15257 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
15259 * src/Makefile.in: Conditionally add module objects and linker flags.
15260 * src/alloc.c (garbage_collect_1): protect module local values from
15262 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
15263 * src/emacs-module.h: New header file included by modules. Public
15265 * src/emacs-module.c: New module implementation file.
15267 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
15269 Add new User Pointer (User_Ptr) type
15271 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
15272 (XUSER_PTR): New User_Ptr accessor.
15273 * src/alloc.c (make_user_ptr): New function.
15274 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
15275 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
15276 (Fuser-ptrp): New user pointer type predicate function.
15277 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
15279 * src/print.c (print_object): Add printer for User_Ptr type.
15281 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
15282 Philipp Stephani <phst@google.com>
15284 Add portable layer for dynamic loading
15286 * src/dynlib.h: New file.
15287 * src/dynlib.c: New file.
15289 2015-11-18 Philipp Stephani <phst@google.com>
15291 Add catch-all & no-signal version of PUSH_HANDLER
15293 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
15294 a new "catch-all" handler type.
15296 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
15298 * src/fns.c (hash_remove_from_table): Expose function public.
15299 * src/lisp.h: New handler type, define macro to push_handler call.
15301 2015-11-18 Ken Brown <kbrown@cornell.edu>
15303 Silence byte-compiler warning
15305 * lisp/server.el (server-process-filter): Silence byte-compiler
15308 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
15310 Quote symbols in docstrings using `'
15312 Be more systematic about quoting symbols `like-this' rather than
15313 `like-this or 'like-this' in docstrings. This follows up Artur
15314 Malabarba's email in:
15315 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
15317 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
15319 Fix savegames in dunnet
15321 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
15322 of separate implementation.
15324 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
15326 * lisp/emacs-lisp/package.el (package--with-response-buffer):
15328 Ensure we're at the start of the buffer before searching for
15329 the end of headers.
15331 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
15333 * admin/release-process: Improve wording.
15335 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
15337 Backport: * CONTRIBUTE: Remove information about feature freeze.
15339 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
15341 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
15343 Backport: Document the release process
15345 * admin/notes/versioning: Add information about RC releases.
15346 * admin/release-process: Document the release process.
15347 * admin/authors.el (authors-ignored-files):
15348 * admin/README: Change FOR-RELEASE to release-process.
15350 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
15352 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
15354 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
15356 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
15358 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
15360 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
15362 Backport: Mention CONTRIBUTE in README
15364 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
15365 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
15366 * README: Mention CONTRIBUTE.
15368 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
15370 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
15372 Fix docstring quoting problems with ‘ '’
15374 Problem reported by Artur Malabarba in:
15375 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
15376 Most of these fixes are to documentation; many involve fixing
15377 longstanding quoting glitches that are independent of the
15378 recent substitute-command-keys changes. The changes to code are:
15379 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
15380 (describe-mode-local-overload):
15381 Substitute docstrings before displaying them.
15382 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
15383 Quote the generated docstring for later substitution.
15385 2015-11-17 Eli Zaretskii <eliz@gnu.org>
15387 Improve configure --help text for wide ints
15389 * configure.ac (wide-int): Clarify user-level advantages and
15392 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
15396 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
15398 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
15400 eval_sub followed dangling pointer when debugging
15402 Problem reported by Pip Cet (Bug#21245).
15403 This bug could occur in eval_sub if the C compiler reused
15404 storage associated with the ‘argvals’ local after ‘argvals’
15405 went out of scope, and if the Elisp debugger stopped on Elisp
15406 function exit and accessed ‘argvals’. It could also occur if
15407 a variadic function was called with so many arguments (over
15408 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
15409 SAFE_FREE freed the arguments, then the memory manager used
15410 the storage for other purposes, then the debugger accessed the
15412 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
15413 function body. Simplify local decls.
15414 When allocating args via SAFE_ALLOCA, call
15415 debugger before invoking SAFE_FREE, as the debugger needs
15416 access to the args.
15417 (eval_sub, apply_lambda): Rework to avoid need for
15418 set_backtrace_debug_on_exit hack. This is cleaner,
15419 and should work better with buggy custom debuggers.
15421 2015-11-17 Daiki Ueno <ueno@gnu.org>
15423 * lisp/image-mode.el: Support encrypted file
15425 (image-toggle-display-image): Read content from the buffer instead
15426 of the file, if the buffer holds a decrypted data. (Bug#21870)
15428 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
15430 ELF unexec: align section header
15432 This ports the recent unexelf.c changes to Fedora x86-64
15433 when configured with GCC’s -fsanitize=undefined option.
15434 * src/unexelf.c (unexec): Align new_data2_size to a multiple
15435 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
15436 pointer aligned appropriately for its type.
15438 2015-11-17 Andreas Schwab <schwab@linux-m68k.org>
15440 Do more checks on bytecode objects (Bug#21929)
15442 * src/eval.c (funcall_lambda): Check size of compiled function
15444 (Ffetch_bytecode): Likewise.
15446 2015-11-16 Johan Bockgård <bojohan@gnu.org>
15448 pcase.el: Fix edebugging of backquoted cons patterns
15450 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
15451 cons patterns. (Bug#21920)
15453 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
15455 Improve fix for regex reentrancy abort
15457 Suggested by Stefan Monnier (Bug#21688).
15458 * src/syntax.c (update_syntax_table_forward):
15459 Remove recently-added PROPERTIZE arg, and assume it is true.
15460 All callers changed.
15461 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
15462 Invoke update_syntax_table directly.
15464 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
15466 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
15468 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
15470 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
15472 2015-11-16 Vasily Korytov <vasily.korytov@yahoo.com>
15474 Recognize .rbw and .pyw files (bug#18753)
15476 * lisp/progmodes/python.el (auto-mode-alist):
15477 Recognize .pyw files.
15479 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
15480 Recognize .rbw files.
15482 2015-11-16 Dmitry Gutov <dgutov@yandex.ru>
15484 Fix ruby-mode auto-mode-alist entry
15486 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
15487 around the extensions (bug#21257).
15489 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
15491 Fix etags completion near eob
15493 * lisp/progmodes/etags.el (tags-completion-at-point-function):
15494 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
15496 2015-11-15 Alan Mackenzie <acm@muc.de>
15498 De-pessimize detection of C++ member initialization lists.
15500 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
15501 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
15502 is only called when a construct "looks right" rather than continually.
15503 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
15505 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
15507 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
15509 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
15510 `url-insert-buffer-contents'.
15511 (url-insert-buffer-contents): New function
15513 (package--with-response-buffer): Use `url-insert-buffer-contents'.
15514 The previous code had some issues with decoding. Refactoring that
15515 function allows us to use the decoding from url-handlers while still
15516 treating both sync and async requests the same.
15518 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
15520 Improve a few doc strings, comments
15522 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
15523 * lisp/cedet/ede/locate.el (ede-locate-base):
15524 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
15525 * src/fns.c (Fdelq): Improve doc string.
15527 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
15529 2015-11-15 Anders Lindgren <andlind@gmail.com>
15531 Enhance NSTRACE (trace output for NextStep).
15533 Trace can be disabled for groups of functions. By default, event
15534 functions and functions that generate lots of output are disabled.
15536 Trace output of Objective-C functions now use the "[ClassName
15539 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
15540 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
15541 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
15542 controlling in which function groups trace should be active.
15543 (NSTRACE_WHEN): Support for silencing a function, this also
15544 silencing all called functions.
15545 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
15546 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
15547 print the full screen state in NSTRACE functions.
15549 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
15550 can be accessed from multiple threads.
15551 (nstrace_enabled_global): New variable, when FALSE, trace is
15553 (nstrace_restore_global_trace_state): New function, used to
15554 restore `nstrace_enabled_global' at end of block.
15555 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
15556 ([EmacsWindow setFrame:display:animation:])
15557 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
15558 and call corresponding super function.
15559 (Many functions): Add or enhance trace output.
15561 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
15563 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
15565 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
15566 and call corresponding super function.
15568 2015-11-15 Anders Lindgren <andlind@gmail.com>
15570 Fixed a toolbar related issue on OS X.
15572 Earlier, when toggling the tool-bar in a maximized frame, the
15573 frame size didn't match the number of text lines, leaving an
15574 unused area at the bottom of the frame.
15576 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
15577 fullscreen modes when tool bar is disabled.
15579 2015-11-15 Anders Lindgren <andlind@gmail.com>
15581 Fixed OS X 10.6.8 build issue (bug#21862).
15583 * src/nsterm.h (EmacsView): Add missing declarations.
15584 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
15585 the standard method but without the notification parameter.
15586 Intended to be used for direct calls.
15587 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
15588 version of `windowDidBecomeKey'. Made the notification method call
15589 the non-notification method instead of the vice versa.
15590 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
15593 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
15595 * lisp/faces.el (faces--attribute-at-point): Fix an issue
15597 Previous code would signal an error when the face at point was
15598 a manually built list of attributes such as '(:foregroud "white").
15600 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
15602 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
15604 Fix regex abort when it tries to reenter itself
15606 Problem reported by Ken Raeburn.
15607 Solution suggested by Stefan Monnier (Bug#21688).
15608 * src/regex.c (re_match_2_internal):
15609 Use new _FAST functions to avoid regex code reentering itself.
15610 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
15611 All callers changed.
15612 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
15613 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
15615 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
15617 Improve Ruby 1.9-style keyword keys highlighting
15619 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
15620 Handle required keyword arguments (bug#21367).
15621 And highlight the colon together with the name.
15623 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
15625 Unify the absolutely equal xref-backend-references implementations
15627 * lisp/progmodes/elisp-mode.el (xref-backend-references):
15630 * lisp/progmodes/etags.el (xref-backend-references):
15633 * lisp/progmodes/xref.el (xref-backend-references):
15634 Define the default implementation.
15636 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
15638 Update project-find-regexp for the new xref API
15640 * lisp/progmodes/project.el (project--read-regexp):
15641 Update to use the new xref API methods.
15643 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
15645 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
15647 Fix replacing a match with a shorter string
15649 In effect, partially reverting fe973fc.
15651 * lisp/progmodes/xref.el (xref-query-replace): Store the end
15652 of each match as a marker again, instead of length.
15653 (xref--query-replace-1): Update accordingly.
15655 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
15657 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
15659 Signal user-errors instead.
15661 2015-11-14 Eli Zaretskii <eliz@gnu.org>
15663 Document 'describe-symbol'
15665 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
15666 (Name Help): Document "C-h o" and describe-symbol.
15668 * lisp/help-fns.el (describe-symbol): Doc fix.
15670 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
15672 Change test name to avoid spellcheck issue.
15674 2015-11-14 Eli Zaretskii <eliz@gnu.org>
15676 Avoid signaling an error in 'describe-symbol'
15678 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
15679 exists as a function/variable/face/etc., but is undocumented.
15681 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
15684 2015-11-14 Eli Zaretskii <eliz@gnu.org>
15686 * INSTALL (--with-cairo): Document this new configure option.
15688 2015-11-14 Eli Zaretskii <eliz@gnu.org>
15690 Document that GNU Make >= 3.81 is required to build Emacs
15692 * doc/lispref/internals.texi (Building Emacs): Document that GNU
15693 Make 3.81 or later is now required.
15695 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
15697 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
15699 (package--with-work-buffer-async): Reimplement as
15700 `package--with-response-buffer'.
15701 (package--with-work-buffer): Mark obsolete.
15702 (package--with-response-buffer): New macro. This is a more self
15703 contained and less contrived version of
15704 `package--with-work-buffer-async'. It uses keyword arguments,
15705 doesn't have async on the name, doesn't fallback on
15706 `package--with-work-buffer', and has _much_ simpler error
15707 handling. On master, this macro will soon be part of another
15708 library (either standalone or inside url.el), which is why this
15709 commit is not to be merged back.
15711 (package--check-signature, package--download-one-archive)
15712 (package-install-from-archive, describe-package-1): Use it.
15714 (package--download-and-read-archives): Let
15715 `package--download-one-archive' take care of calling
15716 `package--update-downloads-in-progress'.
15718 2015-11-14 Eli Zaretskii <eliz@gnu.org>
15720 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
15722 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
15724 Merge branch 'master' into emacs-25
15726 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
15728 Use generic dispatch for xref backends
15730 * lisp/progmodes/xref.el (xref-backend-functions):
15732 (xref-find-function): Remove.
15733 (xref-find-backend)
15734 (xref--etags-backend): New functions.
15735 (xref-identifier-at-point-function)
15736 (xref-identifier-completion-table-function): Remove.
15737 (xref-backend-definitions, xref-backend-references)
15738 (xref-backend-apropos, xref-backend-identifier-at-point)
15739 (xref-backend-identifier-completion-table):
15740 New generic functions.
15742 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15743 Add `elisp--xref-backend' to the beginning of
15744 `xref-backend-functions', locally. Delete references to
15745 removed functions and vars.
15746 (elisp-xref-find): Remove.
15747 (elisp--xref-backend): New function.
15748 (elisp--xref-find-references, elisp--xref-find-apropos)
15749 (elisp--xref-identifier-completion-table):
15750 Turn into appropriately named generic methods.
15752 * lisp/progmodes/etags.el (etags-xref-find): Remove.
15753 (xref-backend-identifier-completion-table)
15754 (xref-backend-references, xref-backend-definitions)
15755 (xref-backend-apropos): New generic methods.
15757 2015-11-14 Juri Linkov <juri@linkov.net>
15759 Support rectangular regions for more commands
15761 * lisp/simple.el (region-extract-function): Handle the arg
15763 (region-insert-function): New function.
15764 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
15765 If non-nil, operate on multiple chunks.
15766 (region-noncontiguous-p): New function.
15768 * lisp/rect.el: Add function rectangle--insert-region
15769 around region-insert-function.
15770 (extract-rectangle-bounds): New function.
15771 (rectangle--extract-region): Handle the arg value ‘bounds’.
15772 (rectangle--insert-region): New function.
15774 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
15775 around region-insert-function.
15776 (cua--extract-rectangle-bounds): New function.
15777 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
15779 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
15780 ‘region-noncontiguous-p’. Use ‘use-region-p’.
15781 (query-replace-regexp-eval, map-query-replace-regexp)
15782 (replace-string, replace-regexp): Use ‘use-region-p’.
15783 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
15784 (perform-replace): Add arg ‘region-noncontiguous-p’.
15785 If non-nil, operate on multiple chunks.
15787 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
15788 If non-nil, operate on multiple chunks. (Bug#19829)
15790 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
15792 Handle multiple matches on the same line; add highlighting
15794 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
15795 column value in characters.
15796 (xref--collect-matches): Rename from `xref--collect-match'.
15797 Search for all matches in the hit line. Add `highlight' face to
15798 the matched region in the summary. Update both callers.
15800 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
15802 Replace xref-match-bounds with xref-match-length
15804 Relying on xref-location-marker to point to the beginning of the match
15806 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
15807 (xref-match-length): Add.
15808 (xref-make-match): Change the arguments.
15809 (xref--match-buffer-bounds): Remove.
15810 (xref-match-item): Store length, instead of end-column.
15811 (xref-pulse-momentarily)
15812 (xref--collect-match)
15813 (xref--query-replace-1): Update accordingly.
15814 (xref-query-replace): Ditto. And check that the search results
15817 2015-11-13 John Wiegley <johnw@newartisans.com>
15819 Merge remote-tracking branch 'origin/master' into emacs-25
15821 2015-11-13 l3thal <kwhite@gnu.org>
15823 Merge branch 'erc-async-reconnect' into emacs-25
15825 Reconnect asynchronously.
15827 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15832 2015-11-13 xalloc-oversized: improve performance with GCC 5
15833 * lib/xalloc-oversized.h: Copy from gnulib.
15835 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15837 Spruce up ftfont.c memory allocation
15839 * src/ftfont.c (setup_otf_gstring):
15840 Avoid O(N**2) behavior when reallocating.
15841 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
15842 reallocating buffers; this simplifies the code. Do not trust
15843 mflt_run to leave the output areas unchanged on failure, as
15844 this isn’t part of its interface spec.
15846 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15848 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
15850 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15852 Port recent XCB changes to 64-bit ‘long int’
15854 For historical reasons, libX11 represents 32-bit values like Atoms as
15855 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
15856 do that, so adapt the recent XCB code to behave properly on 64-bit
15857 platforms. Also, fix what appears to be a bug in the interpretation
15858 of xcb_get_property_value_length, at least on my Fedora platform
15859 which is running libxcb-1.11-5.fc21.
15860 * src/xfns.c (x_real_pos_and_offsets):
15861 * src/xterm.c (get_current_wm_state):
15862 xcb_get_property_value_length returns a byte count, not a word count.
15863 For 32-bit quantities, xcb_get_property_value returns a vector
15864 of 32-bit words, not of (possibly 64-bit) long int.
15868 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15870 * src/undo.c (run_undoable_change): Now static.
15874 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15876 Remove support for ':timeout' from w32 tray notifications
15878 * src/w32fns.c (Fw32_notification_notify): Delete the code that
15879 supports ':timeout'.
15880 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
15881 with dbusbind.c when D-Bus is compiled in.
15883 * doc/lispref/os.texi (Desktop Notifications): Don't mention
15888 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
15890 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
15892 (simple-test--transpositions): New macro.
15893 (simple-transpose-subr): New test.
15897 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
15899 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
15903 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
15905 * src/undo.c: Small fixes for previous change
15907 (run_undoable_change): Mark void argument list.
15908 (record_property_change): Remove unused variable `boundary'.
15912 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15914 Add a few more variables to redisplay--variables
15916 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
15917 and bidi-display-reordering to the list.
15921 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15923 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
15927 2015-11-13 Eli Barzilay <eli@barzilay.org>
15929 Fix point positioning after transposing with negative arg
15931 * lisp/simple.el (transpose-subr): When invoked with a negative
15932 argument, move point to after the transposed text, like we do
15933 when invoked with a positive argument. (Bug#21885)
15937 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15939 Fix last change in shr.el
15941 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
15942 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
15946 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15950 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
15951 Don't DEFSYM tray notification symbols if D-Bus is being used.
15955 2015-11-13 Eli Zaretskii <eliz@gnu.org>
15957 Another fix for MinGW64 and Cygwin builds due to notifications
15959 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
15960 being compiled into Emacs.
15961 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
15962 Sw32_notification_notify and Sw32_notification_close if the code
15963 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15967 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15969 Remove intern calls and XXX comments from Fx_export_frames
15971 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
15972 Qsvg instead of intern calls. Use "postscript" instead of "ps"
15973 for consistency with image types. Remove XXX comments.
15974 (syms_of_xfns) <Qpdf>: DEFSYM it.
15978 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15980 Port recent XCB changes to 64-bit ‘long int’
15982 For historical reasons, libX11 represents 32-bit values like Atoms as
15983 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
15984 do that, so adapt the recent XCB code to behave properly on 64-bit
15985 platforms. Also, fix what appears to be a bug in the interpretation
15986 of xcb_get_property_value_length, at least on my Fedora platform
15987 which is running libxcb-1.11-5.fc21.
15988 * src/xfns.c (x_real_pos_and_offsets):
15989 * src/xterm.c (get_current_wm_state):
15990 xcb_get_property_value_length returns a byte count, not a word count.
15991 For 32-bit quantities, xcb_get_property_value returns a vector
15992 of 32-bit words, not of (possibly 64-bit) long int.
15994 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
15996 * src/undo.c (run_undoable_change): Now static.
15998 2015-11-13 Michael Albinus <michael.albinus@gmx.de>
16000 Adapt Tramp version, do not merge with master
16002 * doc/misc/trampver.texi (trampver):
16003 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
16005 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16007 Remove support for ':timeout' from w32 tray notifications
16009 * src/w32fns.c (Fw32_notification_notify): Delete the code that
16010 supports ':timeout'.
16011 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
16012 with dbusbind.c when D-Bus is compiled in.
16014 * doc/lispref/os.texi (Desktop Notifications): Don't mention
16017 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
16019 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
16020 (simple-test--transpositions): New macro.
16021 (simple-transpose-subr): New test.
16023 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
16025 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
16027 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
16029 * src/undo.c: Small fixes for previous change
16030 (run_undoable_change): Mark void argument list.
16031 (record_property_change): Remove unused variable `boundary'.
16033 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16035 Add a few more variables to redisplay--variables
16037 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
16038 and bidi-display-reordering to the list.
16040 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16042 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
16044 2015-11-13 Eli Barzilay <eli@barzilay.org>
16046 Fix point positioning after transposing with negative arg
16048 * lisp/simple.el (transpose-subr): When invoked with a negative
16049 argument, move point to after the transposed text, like we do
16050 when invoked with a positive argument. (Bug#21885)
16052 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16054 Fix last change in shr.el
16056 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
16057 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
16059 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16063 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
16064 Don't DEFSYM tray notification symbols if D-Bus is being used.
16066 2015-11-13 Eli Zaretskii <eliz@gnu.org>
16068 Another fix for MinGW64 and Cygwin builds due to notifications
16070 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
16071 being compiled into Emacs.
16072 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
16073 Sw32_notification_notify and Sw32_notification_close if the code
16074 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16076 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16078 Remove intern calls and XXX comments from Fx_export_frames
16080 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
16081 Qsvg instead of intern calls. Use "postscript" instead of "ps"
16082 for consistency with image types. Remove XXX comments.
16083 (syms_of_xfns) <Qpdf>: DEFSYM it.
16085 2015-11-13 Eric Hanchrow <eric.hanchrow@gmail.com>
16087 shr: don't invoke unbound function (Bug#21895)
16089 * lisp/net/shr.el (have-fringes-p): New function.
16090 (shr-insert-document, shr-fill-text): Use it.
16092 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
16094 * test/automated/keymap-tests.el: Fix test to make it repeatable
16096 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
16097 entry to its initial value to make the test repeatable in interactive
16098 sessions (assuming it doesn't fail and crashes Emacs, of course).
16100 2015-11-13 Artur Malabarba <bruce.connor.am@gmail.com>
16102 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
16104 2015-11-12 Phillip Lord <phillip.lord@russet.org.uk>
16106 : Tests for undo-auto functionality.
16108 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
16110 The heuristic that Emacs uses to add an `undo-boundary' has been
16111 reworked, as it interacts poorly with functions on `post-command-hook'
16112 or `after-change-functions'.
16114 * lisp/simple.el: New section added.
16115 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
16116 (self_insert_command): Calls simple.el to amalgamate.
16117 (delete_char): Calls simple.el to amalgamate.
16118 * src/keyboard.c (last_undo_boundary): Removed.
16119 * src/undo.c (run_undoable_change): New function.
16121 2015-11-12 Juri Linkov <juri@linkov.net>
16123 Bind [?\S-\ ] to previous line command in Dired-like modes.
16125 * lisp/arc-mode.el (archive-mode-map):
16126 * lisp/dired.el (dired-mode-map):
16127 * lisp/proced.el (proced-mode-map):
16128 * lisp/vc/vc-dir.el (vc-dir-mode-map):
16129 Bind [?\S-\ ] to previous line command.
16132 2015-11-12 Eli Zaretskii <eliz@gnu.org>
16134 Fix the MinGW64 and Cygwin-w32 builds
16136 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
16137 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
16138 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
16139 which cause trouble with MinGW42 headers. Ifdef away tray
16140 notifications code for Cygwin. Reported by Andy Moreton
16141 <andrewjmoreton@gmail.com>.
16143 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
16145 Enable sorting of JSON object keys when encoding
16147 * lisp/json.el (json-encoding-object-sort-predicate): New variable
16148 for specifying a sorting predicate for JSON objects during encoding.
16149 (json--plist-to-alist): New utility function.
16150 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
16152 (json-encode-alist): Sort output by
16153 `json-encoding-object-sort-predicate, when set.
16154 (json-encode-plist): Re-use `json-encode-alist' when object keys are
16156 (json-pretty-print-buffer-ordered): New command to pretty print the
16157 buffer with object keys sorted alphabetically.
16158 (json-pretty-print-ordered): New command to pretty print the region
16159 with object keys sorted alphabetically.
16161 * test/automated/json-tests.el (test-json-plist-to-alist)
16162 (test-json-encode-plist, test-json-encode-hash-table)
16163 (test-json-encode-alist-with-sort-predicate)
16164 (test-json-encode-plist-with-sort-predicate): New tests.
16166 * etc/NEWS: Add an entry for the new commands.
16168 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
16170 * test/automated/keymap-tests.el: New test file.
16172 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
16174 Speed up x_real_pos_and_offsets using XCB
16176 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
16177 all X calls, and pipeline requests when possible, collecting results
16178 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
16180 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
16182 Enable use of XCB for checking window manager state
16184 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
16185 of XGetWindowProperty plus error-catching, since we can explicitly
16186 check for errors in the XCB version. This eliminates 3 XSync calls on
16187 top of the round-trip actually fetching the information.
16189 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
16191 Detect XCB and save a connection handle
16193 * configure.ac: If using X11, check for XCB libraries and header.
16194 * src/Makefile.in (XCB_LIBS): Define.
16195 (LIBX_EXTRA): Include it.
16197 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
16198 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
16199 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
16201 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
16203 Reduce some data dependencies between X calls
16205 Gains nothing in the traditional-Xlib code, but more closely aligns
16206 with how the XCB version will work.
16208 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
16209 send coordinates (0,0) to the X server and add in the real coordinates
16210 after getting the response. Move XGetGeometry for outer window inside
16211 error-trapping block. Use DPY variable more, since it's available.
16213 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
16215 Use color cache for creating bitmap
16217 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
16218 Set attributes to use the caching color allocator. Initialize and
16221 2015-11-12 Eli Barzilay <eli@barzilay.org>
16223 Add "^" to the interactive specs of `dired-next/previous-line'
16225 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
16226 to bind these commands to the arrow keys, and that means that they work
16227 better with a "^" in the `interactive' declaration so selection works
16230 2015-11-12 Thomas Fitzsimmons <fitzsim@fitzsim.org>
16232 Sync with soap-client repository, version 3.0.2
16234 * lisp/net/soap-client.el: Bump version to 3.0.2.
16236 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
16238 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
16239 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
16241 * lisp/net/soap-client.el: Support Emacs versions that do not have
16244 * lisp/net/soap-inspect.el: Remove version header.
16246 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
16249 2015-11-11 Alan Mackenzie <acm@muc.de>
16251 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
16253 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
16254 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
16255 (c-guess-basic-syntax):
16256 Remove bindings of open-paren-in-column-0-is-defun-start to nil.
16257 (c-get-fallback-scan-pos): "New" function (existed several years ago).
16258 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
16259 c-get-fallback-scan-pos.
16260 (c-parse-state-1): Handle 'BOD strategy.
16262 * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
16263 (c-font-lock-fontify-region): Remove bindings of
16264 open-paren-in-column-0-is-defun-start to nil.
16266 * doc/misc/cc-mode.texi (Performance Issues)
16267 (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
16269 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
16271 * lisp/obarray.el: Fix shadowed variables.
16272 (obarray-map, obarray-remove, obarray-put, obarray-get):
16273 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
16275 2015-11-11 Eli Zaretskii <eliz@gnu.org>
16277 Avoid error in submitting a form with EWW
16279 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
16280 CHUNK to be nil. (Bug#21881)
16282 2015-11-11 Nicolas Petton <nicolas@petton.fr>
16284 Rename seq-p and map-p to seqp and mapp
16286 * lisp/emacs-lisp/seq.el (seqp): New name.
16287 * lisp/emacs-lisp/map.el (mapp): New name.
16288 * doc/lispref/sequences.texi: Update the documentation for seqp.
16289 * test/automated/map-tests.el: Update the tests for mapp.
16291 2015-11-11 Nicolas Petton <nicolas@petton.fr>
16293 Rename obarray-p to obarrayp
16295 * lisp/obarray.el (obarrayp): New name.
16296 * test/automated/obarray-tests.el: Update the tests.
16298 2015-11-11 Nicolas Petton <nicolas@petton.fr>
16300 Rename obarray-foreach to obarray-map
16302 * lisp/obarray.el (obarray-map): New name.
16303 * test/automated/obarray-tests.el: Update the corresponding tests.
16305 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
16307 New file with obarray functions.
16309 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
16310 * test/automated/obarray-tests.el: New file.
16312 2015-11-11 Eli Zaretskii <eliz@gnu.org>
16314 Implement tray notifications for MS-Windows
16316 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
16317 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
16318 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
16319 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
16320 (EMACS_NOTIFICATION_MSG): New macros.
16321 (NI_Severity): New enumeration.
16322 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
16323 (delete_tray_notification, Fw32_notification_notify)
16324 (Fw32_notification_close): New functions.
16325 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
16326 keywords used by w32-notification-notify.
16328 * doc/lispref/os.texi (Desktop Notifications): Describe the native
16329 w32 tray notifications.
16331 2015-11-11 Alan Mackenzie <acm@muc.de>
16333 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
16335 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
16336 Windows" and new @defun selected-window-group.
16337 (Window Start and End): Describe new &optional parameter GROUP and
16338 ...-group-function for window-start, window-end, set-window-start, and
16339 pos-visible-in-window-p.
16340 (Textual Scrolling) Describe the same for recenter.
16341 doc/lispref/positions.texi (Screen Lines): Describe the same for
16342 move-to-window-line.
16344 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
16345 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
16346 new optional parameter "group". At the beginning of each, check whether the
16347 corresponding ...-group-function is set to a function, and if so execute this
16348 function in place of the normal processing.
16349 (syms_of_window): Define symbols for the six new variables below.
16350 (window-start-group-function, window-end-group-function)
16351 (set-window-start-group-function, recenter-group-function)
16352 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
16353 New permanent local buffer local variables.
16354 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
16355 Fpos_visible_in_window_p.
16357 lisp/window.el (selected-window-group-function): New permanent local buffer
16359 (selected-window-group): New function.
16361 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
16362 enable, kill them at mode disable. Add/remove follow-after-change to/from
16363 after-change-functions.
16364 (follow-start-end-invalid): New variable.
16365 (follow-redisplay): Manipulate follow-start-end-invalid.
16366 (follow-after-change, follow-window-start, follow-window-end)
16367 (follow-set-window-start, follow-pos-visible-in-window-p)
16368 (follow-move-to-window-line, follow-sit-for): New functions.
16370 lisp/isearch.el (isearch-call-message): New macro.
16371 (isearch-update, with-isearch-suspended, isearch-del-char)
16372 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
16373 (with-isearch-suspended): Rearrange code such that isearch-call-message is
16374 invoked before point is moved.
16375 (isearch-message): Add comment about where point must be at function call.
16376 (isearch-search): Remove call to isearch-message.
16377 (isearch-lazy-highlight-window-group): New variable.
16378 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
16379 the battery of tests to ...
16380 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
16381 Note: (sit-for 0) is still called.
16382 (isearch-lazy-highlight-update): Check membership of
16383 isearch-lazy-highlight-window-group. Don't set the `window' overlay
16385 (isearch-update, isearch-done, isearch-string-out-of-window)
16386 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
16387 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
16388 (isearch-lazy-highlight-update): Call the six amended primitives (see
16389 src/window.c above) with the new `group' argument set to t, to cooperate
16392 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
16394 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
16396 * lisp/net/tramp.el (tramp-handle-file-equal-p)
16397 (tramp-handle-file-in-directory-p): New defuns. Suggested by
16398 Harvey Chapman <hchapman@3gfp.com>.
16400 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16401 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16402 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16403 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
16405 2015-11-10 Karl Fogel <kfogel@red-bean.com>
16407 * CONTRIBUTE: Encourage adding tests.
16409 Based on this post from John Wiegley:
16411 From: "John Wiegley" <johnw@newartisans.com>
16412 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
16413 To: Juanma Barranquero <lekktu@gmail.com>
16414 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
16415 emacs-devel <emacs-devel@gnu.org>
16416 Date: Wed, 28 Oct 2015 18:45:29 -0700
16417 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
16419 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
16421 2015-11-10 David Reitter <david.reitter@gmail.com>
16423 Avoid creating notification objects when possible
16425 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
16426 (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
16427 functions that do not require a notification object. When needed,
16428 define NSWindowDidEnterFullScreenNotification to allow for compilation
16431 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
16433 Move INTEGER_TO_CONS body out of .h file
16435 * src/data.c (INTBIG_TO_LISP): New macro, with most
16436 of the contents of the old INTEGER_TO_CONS.
16437 (intbig_to_lisp, uintbig_to_lisp): New functions.
16438 * src/lisp.h (INTEGER_TO_CONS):
16439 Simplify by using EXPR_SIGNED and the new functions.
16440 This shrinks code size a bit, and makes it easier to
16441 put a breakpoint on handling of large integers.
16443 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
16448 2015-11-10 intprops: new public macro EXPR_SIGNED
16449 2015-11-10 intprops: fix typo in clang port
16450 * lib/intprops.h: Copy from gnulib.
16452 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
16456 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
16457 Fix misspelling in output.
16459 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16461 * doc/lispref/variables.texi (Directory Local Variables):
16462 Document dir-locals wildcards.
16464 * lisp/files.el (dir-locals-file): Point to Info node.
16466 * doc/emacs/custom.texi (Directory Variables):
16467 Document dir-locals wildcards.
16469 * etc/NEWS: Document new functionality.
16471 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16473 * lisp/files.el: Don't allow customization of dir-locals sorting.
16474 In retrospect, this is not a good idea for the same reason that
16475 `dir-locals-file' is a defconst, because it is important that this
16476 behavior be "uniform across different environments and users".
16477 Sure, the user can still change the sorting with a hack, but we
16478 shouldn't encourage them to change it.
16479 (dir-locals--all-files): Return list in the order returned by
16480 `file-expand-wildcards'.
16481 (file-expand-wildcards): Document the sorting predicate used.
16482 (dir-locals-sort-predicate): Delete variable.
16484 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16486 * lisp/files.el (dir-locals-read-from-file): Better handle errors.
16488 * lisp/isearch.el (search-default-regexp-mode): Change default value.
16490 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16492 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
16493 `locate-dominating-file' will now keep looking if the files it finds in
16494 a given directory are unreadable (or not files).
16496 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16498 * lisp/files.el (dir-locals-file): Allow wildcards.
16499 (dir-locals-find-file, dir-locals-collect-variables)
16500 (dir-locals-read-from-file): Update accordingly.
16501 (hack-dir-local-variables): Rename a local variable.
16503 * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
16505 * lisp/help-fns.el (describe-variable): Update accordingly.
16507 * .gitignore: Add .dir-locals?.el.
16509 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
16511 * lisp/emacs-lisp/map.el (map-merge-with): New function.
16513 * test/automated/map-tests.el (test-map-merge-with): New test.
16515 2015-11-10 Karl Fogel <kfogel@red-bean.com>
16517 Fix some recently-perturbed bookmark autoloads
16519 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
16520 (bookmark-set): Restore autoload.
16521 (bookmark-set-no-overwrite): Add autoload.
16523 Thanks to Juanma Barranquero for noticing the autoload problems
16524 introduced by my recent commit adding/changing the above functions
16525 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
16527 2015-11-09 Noah Friedman <friedman@splode.com>
16529 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
16530 the start of buffer. I don't recall if older versions of gdb were
16531 less strict but you cannot dump a 0-length range in gdb 7.9.1.
16533 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
16535 * lisp/progmodes/project.el: Update Commentary.
16537 Merge branch 'project-next'
16539 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
16541 Fold `project-ask-user' into `project-current'
16543 * lisp/progmodes/project.el (project-find-functions): Remove
16544 `project-ask-user'.
16545 (project-ask-user): Remove function and the corresponding
16546 `project-roots' implementation.
16547 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
16548 user in case there's no project in the current directory. Update
16551 2015-11-09 Karl Fogel <kfogel@red-bean.com>
16553 When VC detects a conflict, specify which file
16555 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
16556 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
16557 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
16558 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
16559 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
16560 to display a standard message that specifies the conflicted file.
16562 Before this change, the message VC used for indicating a conflicted
16563 file was just "There are unresolved conflicts in this file" without
16564 naming the file (and this language was duplicated in several places).
16565 After this change, it's "There are unresolved conflicts in file FOO"
16566 (and this language is now centralized in one function in vc.el).
16568 Justification: It's important for the message to name the conflicted
16569 file because the moment when VC realizes a file is conflicted does not
16570 always come interactively. For example, some people automatically
16571 find a set of Org Mode files on startup, and may keep those .org files
16572 under version control. If any of the files are conflicted, the user
16573 just sees some messages fly by, and might later check the "*Messages*"
16574 buffer to find out what files were conflicted. I'm not saying this
16575 happened to me or anything; it's a purely hypothetical example.
16577 2015-11-09 Eli Zaretskii <eliz@gnu.org>
16579 Fix assertion violation in define-key
16581 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
16582 objects. Reported by Drew Adams <drew.adams@oracle.com>
16583 and Juanma Barranquero <lekktu@gmail.com>.
16585 2015-11-09 Dima Kogan <dima@secretsauce.net>
16587 Fix a memory leak in GC of font cache
16589 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
16590 entities if some of the fonts it references are marked. This
16591 plugs a memory leak. (Bug#21556)
16593 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
16595 Use INT_ADD_WRAPV etc. to check integer overflow
16597 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
16598 * src/buffer.c (record_overlay_string, overlay_strings):
16599 * src/casefiddle.c (casify_object):
16600 * src/ccl.c (Fccl_execute_on_string):
16601 * src/character.c (char_width, c_string_width, lisp_string_width)
16602 (count_size_as_multibyte, string_escape_byte8):
16603 * src/coding.c (coding_alloc_by_realloc, produce_chars):
16604 * src/data.c (arith_driver):
16605 * src/dispnew.c (realloc_glyph_pool, init_display):
16606 * src/editfns.c (styled_format):
16607 * src/fns.c (Ffillarray):
16608 * src/ftfont.c (ftfont_shape_by_flt):
16609 * src/gnutls.c (gnutls_hex_string):
16610 * src/gtkutil.c (get_utf8_string):
16611 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
16612 * src/keymap.c (Fkey_description):
16613 * src/lisp.h (SAFE_ALLOCA_LISP):
16614 * src/term.c (encode_terminal_code):
16615 * src/tparam.c (tparam1):
16616 * src/xselect.c (x_property_data_to_lisp):
16617 * src/xsmfns.c (smc_save_yourself_CB):
16618 * src/xterm.c (x_term_init):
16619 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
16620 more-complicated code involving division and/or
16621 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
16622 subtraction and/or INT_ADD_OVERFLOW.
16623 * src/casefiddle.c (casify_object): Simplify multibyte size check.
16624 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
16625 * src/data.c (arith_driver): Also check for division overflow,
16626 as that’s now possible given that the accumulator can now contain
16628 * src/lisp.h (lisp_word_count): Remove; no longer used.
16630 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
16632 Make sure that the ignore file exists
16634 * lisp/vc/vc.el (vc-default-ignore-completion-table):
16635 Make sure that the ignore file exists.
16637 2015-11-09 Michael Sperber <mike@xemacs.org>
16639 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
16640 `gnus-summary-delete-article` in a way that also works on XEmacs.
16642 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
16644 Add support for retrieving paths to JSON elements
16646 Add support for retrieving the path to a JSON element. This can for
16647 instance be useful to retrieve paths in deeply nested JSON
16650 * lisp/json.el (json-pre-element-read-function)
16651 (json-post-element-read-function): New variables to hold pre- and post
16652 read callback functions for `json-read-array' and `json-read-object'.
16653 (json--path): New variable used internally by `json-path-to-position'.
16654 (json--record-path, json--check-position): New functions used
16655 internally by `json-path-to-position'.
16656 (json-path-to-position): New function for retrieving the path to a
16657 JSON element at a given position.
16658 (json-read-object, json-read-array): Call
16659 `json-pre-element-read-function' and `json-post-element-read-function'
16662 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
16663 (test-json-path-to-position-with-arrays)
16664 (test-json-path-to-position-no-match): New tests for
16665 `json-path-to-position'.
16667 2015-11-08 Karl Fogel <kfogel@red-bean.com>
16669 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
16671 This really should been part of my previous commit
16672 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
16674 2015-11-08 Karl Fogel <kfogel@red-bean.com>
16676 Offer non-overwrite bookmark setter (Bug#15746)
16678 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
16679 what `bookmark-set' used to do, but with more choices for overwrite
16680 vs push, and with minor changes to the interactive prompt format.
16681 (bookmark-set): Rewrite as wrapper around above.
16682 If overwriting, inform the user of that in the prompt.
16683 (bookmark-set-no-overwrite): New function, also done as wrapper.
16684 Bind to "M" in `ctl-x-r-map' autoloads.
16685 (bookmark-map): Similarly bind "M" here.
16687 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
16689 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
16691 2015-11-08 Alan Modra <amodra@gmail.com>
16693 ELF unexec: Don't insert a new section
16695 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
16696 don't need to mess with symbol st_shndx, or section sh_link and
16699 This does lead to eu-elflint complaints about symbols defined in .bss
16700 with a needed version, because normally it is undefined symbols that
16701 have needed versions; Defined symbols have version definitions.
16702 The exception is symbols defined by the linker in .dynbss for
16703 variables copied from a shared library in order to avoid text
16704 relocations, with copy relocs to copy their initial values from the
16705 shared library. These symbols are both defined and have needed
16706 versions, and eu-elflink only expects to see them in SHT_NOBITS
16707 sections. Of course there is no real problem with having such symbols
16708 in SHT_PROGBITS sections. glibc ld.so handles them fine.
16710 * src/unexelf.c: Delete outdated comments.
16711 (PATCH_INDEX): Delete.
16712 (find_section): Delete.
16713 (unexec): Don't add a new section. Instead reuse the last bss
16714 section, extending it to cover dumped data. Make bss sections
16715 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
16716 st_shndx. Rename bss sections.
16718 2015-11-08 Alan Modra <amodra@gmail.com>
16720 ELF unexec: Drive from PT_LOAD header rather than sections
16722 This rewrites bss handling in the ELF unexec code. Finding bss
16723 sections by name results in complicated code that
16724 - does not account for all names of possible bss sections,
16725 - assumes specific ordering of bss sections,
16726 - can wrongly choose a SHT_NOBITS section not in the bss segment,
16727 - incorrectly calculates bss size (no accounting for alignment gaps),
16728 - assumes .data and .bss are in the same segment.
16730 All of these problems and more are solved by finding the bss segment
16731 in PT_LOAD headers, ie. the address range included in p_memsz but not
16732 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
16733 in that address range.
16735 * src/unexelf.c: Delete old ppc comment.
16736 (OLD_PROGRAM_H): Define.
16737 (round_up): Delete.
16738 (unexec): Don't search for bss style sections by name. Instead,
16739 use the last PT_LOAD header address range covered by p_memsz
16740 but not p_filesz and match any SHT_NOBITS section in that
16741 address range. Simplify initialization of section header vars.
16742 Don't assume that section headers are above bss segment. Move
16743 copying of bss area out of section loop. Align .data2 section
16744 to 1, since it now covers the entire bss area. For SHT_NOBITS
16745 sections in the bss segment, leave sh_addr and sh_addralign
16746 unchanged, but correct sh_offset. Clear memory corresponding
16747 to SHT_NOBITS .plt section. Delete comment and hacks for
16748 sections partly overlapping bss range now that the full range
16749 is properly calculated. Delete now dead .sbss code.
16752 2015-11-08 Alan Modra <amodra@gmail.com>
16754 ELF unexec: R_*_NONE relocs
16756 These should be ignored on all targets.
16758 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
16759 not just Alpha. Comment on reloc size assumption.
16761 2015-11-08 Alan Modra <amodra@gmail.com>
16763 ELF unexec: _OBJC_ symbols in bss sections
16765 This code assumed that there was only one bss section. Rather than
16766 checking for a particular index, check the section type. Also, handle
16767 the possibility that the section was SHT_NOBITS originally and is
16768 unchanged, in which case no clearing is needed (and sh_offset isn't
16769 necessarily valid, which can lead to a wild memset).
16771 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
16774 2015-11-08 Alan Modra <amodra@gmail.com>
16776 ELF unexec: Symbol table patching
16778 No st_shndx value larger than SHN_LORESERVE should be changed.
16779 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
16780 SHN_LORESERVE. Error on SHN_XINDEX.
16782 2015-11-08 Alan Modra <amodra@gmail.com>
16784 ELF unexec: Merge Alpha and MIPS COFF debug handling
16786 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
16787 Don't find .mdebug section index, find the section in the loop.
16788 Allow for unlikely possibility that .mdebug is located at sh_offset
16789 before bss segment, by calculating move from difference in
16790 sh_offset rather than just assuming new_data2_size. Simplify
16791 cbLineOffset handling.
16793 2015-11-08 Alan Modra <amodra@gmail.com>
16795 ELF unexec: Tidy code
16797 Separate out some of the more mechanical changes so following patches
16800 * src/unexelf.c (unexec): Rearrange initialization of program
16801 header vars. Use pointer vars in loops rather than indexing
16802 section header array via macros. Simplify _OBJC_ sym code
16803 and reloc handling code.
16805 2015-11-08 Alan Modra <amodra@gmail.com>
16807 ELF unexec: Correct section header index
16809 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
16810 it should have been using "NEW_SECTION_H (nn)" to find the name of the
16811 section currently being processed. Of course, before the bss
16812 sections, n and nn have the same value, so this doesn't matter except
16813 in the case of .sbss. For .sbss this probably meant .bss (most likely
16814 the next section) was copied from memory. A later patch removes the
16815 bogus .sbss handling anyway.
16817 * src/unexelf.c (unexec): Use correct index to look up names.
16819 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
16823 * lisp/filenotify.el (file-notify--rm-descriptor):
16824 Use `descriptor' instead of computing its value.
16825 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
16826 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
16829 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
16831 Remove dirs in vc project roots from the the vc project library roots
16833 * lisp/progmodes/project.el (project-library-roots):
16834 Remove directories inside the project roots from the result.
16835 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
16837 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
16839 Move and rename xref-find-regexp to the project package
16841 * lisp/progmodes/project.el (project-find-regexp)
16842 (project--read-regexp)
16843 (project--find-regexp-in): New functions.
16845 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
16846 xref--show-xrefs. Use in existing callers in place of that
16848 (xref--show-xrefs): Only do the "show" part.
16849 (xref-find-regexp): Rename, more or less, to
16850 project-or-libraries-find-regexp.
16852 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
16854 Abolish temporary buffer management for xref
16856 * lisp/progmodes/xref.el (xref--temporary-buffers)
16858 (xref--inhibit-mark-current)
16859 (xref--mark-selected): Remove. Remove all references.
16860 (xref--show-xrefs): Do not construct the
16861 list of the temporary buffers, nor pass it along.
16863 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
16865 Rename "search path" to "library roots"
16867 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
16868 of the elements from CL-LIST1.
16870 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
16871 Update WRT to the above change.
16873 * lisp/progmodes/project.el (project-search-path-function): Rename
16874 to project-library-roots-function, update the documentation and
16876 (project-search-path): Likewise, to project-library-roots.
16877 (project-roots): Clarify documentation.
16878 (project-vc-search-path): Likewise, to project-vc-library-roots.
16879 (project-library-roots): In addition to the renames, thread the
16880 results through file-name-as-directory.
16881 (project-prune-directories): Accept a variable number of
16882 arguments. Rename to project-combine-directories.
16883 (project-subtract-directories): New function.
16885 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
16886 Append project-roots and project-library-roots together.
16888 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
16890 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
16892 Prefer xpalloc to doubling buffers by hand
16894 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
16895 (read1): Use it for simplicity.
16896 * src/macros.c (store_kbd_macro_char):
16897 * src/minibuf.c (read_minibuf_noninteractive):
16898 * src/term.c (encode_terminal_code):
16899 * src/xrdb.c (magic_db):
16900 Prefer xpalloc to growing buffers by hand.
16901 This doesn’t fix any bugs, but simplifies the code a bit.
16903 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
16908 2015-11-05 timespec-sub: fix overflow bug; add tests
16909 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
16910 2015-11-03 intprops: add parentheses
16911 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
16914 2015-11-07 David Reitter <david.reitter@gmail.com>
16916 Provide NS notification objects where required to eliminate warnings
16918 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
16919 Call notification functions with notification objects
16920 as per delegate APIs.
16922 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
16924 Add test for bug #21824
16926 * test/automated/buffer-tests.el: New file.
16927 (overlay-modification-hooks-message-other-buf): New test.
16929 2015-11-07 Kelvin White <kwhite@gnu.org>
16931 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
16933 2015-11-07 David Reitter <david.reitter@gmail.com>
16935 Ignore fullscreen exit notifications on NS when frame is dead
16937 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
16938 (windowDidExitFullScreen:): Return if frame is dead.
16939 These functions may be called when a fullscreen frame
16940 is closed; they are called before, not after.
16942 May address Bug#21428.
16944 2015-11-07 Eli Zaretskii <eliz@gnu.org>
16946 Speed up lookup in redisplay--variables
16948 * lisp/frame.el (redisplay--variables): Make it a hash-table.
16950 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
16951 as a hash-table. This speeds up this function by an order of
16952 magnitude: where previously a setq was slowed down by 100% by
16953 introducing the maybe_set_redisplay test, it is now only 5%
16955 (syms_of_xdisp) <redisplay--variables>: Doc fix.
16957 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
16959 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
16961 The defsubst was being created as:
16962 (cl-defsubst name (args) ("DOC") ...)
16964 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
16967 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
16969 Update doc string of hexl-mode
16971 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
16973 2015-11-07 Eli Zaretskii <eliz@gnu.org>
16975 Fix error in copy-abbrev-table
16977 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
16978 property of the abbrev-table. (Bug#21828)
16980 * test/automated/abbrev-tests.el: New file.
16982 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
16984 Add test to auto-revert-tests.el for Bug#21841
16986 * test/automated/auto-revert-tests.el
16987 (auto-revert-test01-auto-revert-several-files): New test.
16988 (auto-revert-test02-auto-revert-tail-mode)
16989 (auto-revert-test03-auto-revert-mode-dired): Rename them.
16991 2015-11-07 Martin Rudalics <rudalics@gmx.at>
16993 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
16995 2015-11-07 Martin Rudalics <rudalics@gmx.at>
16997 In x_consider_frame_title don't set title of tooltip frames
16999 * src/xdisp.c (x_consider_frame_title): Return immediately for
17000 tooltip frames to avoid displaying empty tooltips.
17002 2015-11-06 Anders Lindgren <andlind@gmail.com>
17004 Fixed NextStep fullscreen problem (bug#21770).
17006 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
17009 2015-11-06 Eli Zaretskii <eliz@gnu.org>
17011 Ensure redisplay after evaluation
17013 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
17014 Revert last change.
17015 * lisp/frame.el (redisplay--variables): Populate the
17016 redisplay--variables list.
17017 * src/xdisp.c (maybe_set_redisplay): New function.
17018 (syms_of_xdisp) <redisplay--variables>: New variable.
17019 * src/window.h (maybe_set_redisplay): Declare prototype.
17020 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
17022 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
17024 * test/automated/subr-tests.el (subr-test-when): Fix again.
17026 2015-11-06 Eli Zaretskii <eliz@gnu.org>
17028 Don't invoke overlay modification hooks in wrong buffer
17030 * src/buffer.c (report_overlay_modification): When called with
17031 AFTER non-zero, don't invoke overlay modification hooks if the
17032 buffer recorded in last_overlay_modification_hooks is different
17033 from the current buffer. (Bug#21824)
17035 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
17037 * admin/notes/repo: Fix a few obsolete references to Bazaar.
17039 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
17041 * test/automated/subr-tests.el (subr-test-when): Fix test.
17043 2015-11-06 Martin Rudalics <rudalics@gmx.at>
17045 Avoid division by zero crash observed by Yuan MEI
17047 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
17049 * src/dispnew.c (required_matrix_height, required_matrix_width):
17050 Avoid division by zero.
17051 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
17052 dpyinfo->smallest_char_width to 1.
17054 2015-11-06 Eli Zaretskii <eliz@gnu.org>
17056 Ensure redisplay after "C-x C-e"
17058 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
17059 redisplay happens to account for any side effects of the evaluated
17062 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
17064 Skip some file notification tests for cygwin
17066 * test/automated/file-notify-tests.el (file-notify--test-with-events):
17067 Remove argument TIMEOUT. Adapt all callees.
17068 (file-notify-test02-events, file-notify-test04-file-validity):
17069 Skip for cygwin. (Bug#21804)
17071 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
17073 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
17075 2015-11-05 Daiki Ueno <ueno@gnu.org>
17077 Suppress redundant Pinentry startup messages
17079 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
17080 * lisp/epg.el: Declare `pinentry-start'.
17081 (epg--start): Call `pinentry-start' with QUIET argument set.
17083 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
17085 * doc/emacs/ack.texi (Acknowledgments): Updates.
17087 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
17089 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
17090 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
17092 2015-11-05 Tassilo Horn <tsdh@gnu.org>
17094 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
17095 Add prettification support for \times.
17097 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
17099 * test/automated/process-tests.el: Skip tests when bash is unavailable.
17100 (process-test-sentinel-accept-process-output)
17101 (process-test-sentinel-sit-for): skip-unless bash executable found.
17103 2015-11-05 Eli Zaretskii <eliz@gnu.org>
17105 Add test for bug #21831
17107 * test/automated/process-tests.el
17108 (start-process-should-not-modify-arguments): New test. (Bug#21831)
17109 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
17111 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17113 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
17115 (eieio--generic-static-object-generalizer): Fix typo.
17116 * test/automated/eieio-tests.el: Byte-compile it again. It looks
17117 like the underlying cause of bug#17852 was fixed in the mean time.
17119 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
17121 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
17123 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
17124 It breaks bootstrapping (duh).
17126 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
17128 * lisp/files.el (report-errors): Obsolete.
17130 (normal-mode, hack-local-variables, dir-locals-find-file):
17131 Use `with-demoted-errors' instead.
17133 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
17135 * lisp/subr.el (when): Use `macroexp-progn'.
17137 * test/automated/subr-tests.el (subr-test-when): New test.
17139 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
17141 * lisp/progmodes/xref.el: Doc fixes.
17142 (xref-make-file-location, xref-make-buffer-location, xref-make)
17143 (xref-make-bogus-location, xref-make-match): Add cross-references.
17144 (xref--insert-xrefs): Fix typo in docstring.
17146 2015-11-04 Anders Lindgren <andlind@gmail.com>
17148 Render fringe bitmaps correctly on NextStep (bug#21301)
17150 The fringe bitmaps were inverted, the background was not transparent,
17151 the image data was horizontally mirrored, and periodic fringe bitmaps
17152 were not supported.
17154 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
17155 When both background and foreground colors are 0, set the background
17156 alpha channel to 0 (making the background transparent). When
17157 copying the image data, do this from the most significant bit
17158 (leftmost) to the least (rightmost), to avoid mirroring.
17159 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
17160 Add support for periodic images (e.g. the empty line indicator).
17162 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
17164 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
17166 2015-11-03 Nicolas Petton <nicolas@petton.fr>
17168 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
17170 * admin/MAINTAINERS: Add thunk.el.
17172 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
17174 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
17176 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
17178 Fix a stupid error in gfilenotify.c
17180 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
17181 if we've got a `deleted' signal AND the file name is the watched one.
17183 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
17185 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
17187 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
17188 Use case-insensitive string compare for file names.
17189 (emacs-test-dir): Add 'downcase' to cause case differences (at
17190 least on my system).
17192 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
17194 flymake-tests.el (warning-predicate-rx-gcc): Fix check
17196 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
17197 Also check that "make" is available, not just "gcc".
17199 2015-11-02 Ken Brown <kbrown@cornell.edu>
17201 Document behavior of collation on Cygwin
17203 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
17204 expected failure on Cygwin.
17205 * doc/lispref/strings.texi (Text Comparison): Document that
17206 punctuation and whitespace are not ignored for sorting on Cygwin.
17208 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
17210 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
17212 2015-11-01 Glenn Morris <rgm@gnu.org>
17214 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
17216 * test/automated/f90.el (f90-test-bug21794): New test.
17218 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
17220 Fix incompatibility with TCC in test for bug#18745
17222 * test/automated/process-tests.el (process-test-quoted-batfile):
17223 Remove spaces unrelated to the bug being tested.
17225 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
17227 Improve completion in tramp-gvfs.el
17229 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
17230 Rename from `tramp-zeroconf-parse-service-device-names'.
17231 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
17232 with `tramp-zeroconf-parse-device-names'.
17233 (tramp-gvfs-parse-device-names): New defun.
17234 (top): Use it when `tramp-zeroconf-parse-device-names' is not
17237 * lisp/net/tramp.el (tramp-set-completion-function): The argument
17238 could also be a zeroconf service type.
17240 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
17242 * lisp/net/ntlm.el: Change version to 2.0.0.
17244 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
17247 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
17248 `eql' instead of `=' to accommodate the case that (syntax-after (point))
17250 * test/automated/python-tests.el (python-indent-inside-paren-7):
17253 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
17255 * test/automated/python-tests.el: Avoid warnings.
17256 (python-tests-with-temp-buffer, python-tests-with-temp-file):
17257 Bind `python-indent-guess-indent-offset' to nil.
17259 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
17261 * src/alloc.c: Silence compiler warnings.
17262 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
17264 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
17266 * etc/NEWS: Fix js-jsx-mode entry punctuation.
17268 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
17270 Add JSX indentation via js-jsx-mode (Bug#21799)
17272 * lisp/progmodes/js.el: Add JSX indentation support.
17273 (js--jsx-end-tag-re)
17274 (js--jsx-after-tag-re): New variables.
17275 (js--jsx-find-before-tag)
17276 (js--jsx-indented-element-p)
17278 (js--expression-in-sgml-indent-line)
17279 (js-jsx-indent-line)
17280 (js-jsx-mode): New functions.
17281 * test/indent/js-jsx.js: New file.
17282 * etc/NEWS: Add information about js-jsx-mode.
17284 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
17286 Minor fix in filenotify.el
17288 * lisp/filenotify.el (file-notify--event-file-name)
17289 (file-notify--event-file1-name): Normalize result with
17290 `directory-file-name'.
17292 2015-10-31 Eli Zaretskii <eliz@gnu.org>
17294 Avoid errors in redisplay--pre-redisplay-functions
17296 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
17297 use 'bobp', instead compare window-point with 1. (Bug#21730)
17299 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
17304 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
17305 2015-10-25 stdalign: port to Sun C 5.9
17306 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
17309 2015-10-30 Eli Zaretskii <eliz@gnu.org>
17311 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
17312 (w32_compare_strings): Adjust for the correction.
17314 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
17316 * test/automated/vc-tests.el (vc-test--state)
17317 (vc-test--working-revision, vc-test--checkout-model):
17318 Add result messages.
17320 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17322 * test/automated/faces-tests.el: Add another test
17324 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17326 * lisp/faces.el (faces--attribute-at-point): Fix bug
17327 introduced by previous commit.
17329 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17331 * test/automated/faces-tests.el: New file.
17333 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17335 * lisp/faces.el: Refactor common code and fix a bug.
17336 (faces--attribute-at-point): New function. Fix a bug when the
17337 face at point is a list of faces and the desired attribute is not
17339 (foreground-color-at-point, background-color-at-point): Use it.
17341 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
17343 * etc/tutorials/TUTORIAL.translators: Fix PL names.
17345 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
17347 * lisp/character-fold.el: Provide `character-fold'.
17349 2015-10-30 Tassilo Horn <tsdh@gnu.org>
17351 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
17354 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
17356 Some minor fixes for tramp-gvfs.el
17358 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
17359 An attribute returned by gvfs-info might be empty. In case of
17360 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
17361 (tramp-zeroconf-parse-service-device-names): New defun.
17362 Derived from `tramp-zeroconf-parse-workstation-device-names'.
17363 (top): Add completion functions for "afp" and "smb" methods.
17365 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17367 * test/automated/character-fold-tests.el: New file
17369 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17371 * test/automated/sort-tests.el: New file.
17372 Tests in this file are randomly generated and then tested with
17373 regular, reverse, and case-fold sorting.
17375 2015-10-30 Eli Zaretskii <eliz@gnu.org>
17377 Describe known problems with pinning Emacs to taskbar
17379 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
17380 on Windows 10. For the details, see the discussion starting at
17381 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
17383 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
17385 * lisp/isearch.el: Avoid an error that blocks isearch.
17386 (isearch-update): Don't error if `isearch--current-buffer' has
17389 * test/automated/isearch-tests.el (isearch--test-update):
17392 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
17394 Fix documentation of 'beginning/end-of-buffer'
17396 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
17397 conditions under which the mark will be pushed at the previous
17398 position. (Bug#21748)
17400 2015-10-30 Tassilo Horn <tsdh@gnu.org>
17402 Add RefTeX feature idea: editing RefTeX TOC buffers
17404 More face defs for ivy, swiper, ace-window, eshell
17406 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17408 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
17409 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
17411 (auth-source-backend-parse): Use make-instance.
17412 (auth-source-search): Remove unused key args.
17413 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
17414 (auth-source-search-backends): Use slot names rather than their initarg.
17415 (auth-source-netrc-create):
17416 (auth-source-delete):
17417 (auth-source-secrets-create, auth-source-plstore-search)
17418 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
17419 (auth-source-plstore-create, auth-source-netrc-search)
17420 (auth-source-netrc-parse): Remove unused key args.
17421 (auth-source-forget+): Simplify the arglist.
17422 (auth-source-macos-keychain-search-items)
17423 (auth-source-token-passphrase-callback-function): Mark unused args.
17424 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
17425 (pp-escape-newlines): Declare.
17426 (auto-source--symbol-keyword): New function.
17427 (auth-source-plstore-create, auth-source-netrc-create)
17428 (auth-source-netrc-normalize): Use it.
17429 (auth-source-netrc-search): Don't pass :delete to
17430 auth-source-netrc-parse since it doesn't use it.
17431 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
17432 symbol-value to index in keyword args.
17433 (auth-source-macos-keychain-result-append): Avoid setq.
17434 (auth-source-netrc-create): Remove unused vars `file' and `add'.
17435 (auth-source-user-or-password): Remove unused var `cname'.
17437 2015-10-29 Juri Linkov <juri@linkov.net>
17439 * lisp/dired.el (dired-unmark-all-files-query): Declare.
17440 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
17443 2015-10-29 Juri Linkov <juri@linkov.net>
17445 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
17446 to go to the beginning of text line instead of command line.
17447 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
17449 2015-10-29 Eli Zaretskii <eliz@gnu.org>
17451 Fix encoding of saving *Help* buffers
17453 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
17454 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
17456 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17458 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
17459 (cl--generic-derived-specializers): New function.
17460 (cl--generic-derived-generalizer): New generalizer.
17461 (cl-generic-generalizers): New specializer (derived-mode MODE).
17462 (cl--generic-split-args): Apply the rewriter, if any.
17463 (cl-generic-define-context-rewriter): New macro.
17464 (major-mode): Use it to define a new context-rewriter, so we can write
17465 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
17467 * lisp/frame.el (window-system): New context-rewriter so we can write
17468 `(window-system VAL)' instead of (window-system (eql VAL)).
17469 (cl--generic-split-args): Apply the rewriter, if any.
17470 (frame-creation-function): Use the new syntax.
17472 * lisp/term/x-win.el (window-system-initialization)
17473 (handle-args-function, frame-creation-function)
17474 (gui-backend-set-selection, gui-backend-selection-owner-p)
17475 (gui-backend-selection-exists-p, gui-backend-get-selection):
17476 * lisp/term/w32-win.el (window-system-initialization)
17477 (handle-args-function, frame-creation-function)
17478 (gui-backend-set-selection, gui-backend-get-selection)
17479 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
17480 * lisp/term/pc-win.el (gui-backend-get-selection)
17481 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
17482 (gui-backend-set-selection, window-system-initialization)
17483 (frame-creation-function, handle-args-function):
17484 * lisp/term/ns-win.el (window-system-initialization)
17485 (handle-args-function, frame-creation-function)
17486 (gui-backend-set-selection, gui-backend-selection-exists-p)
17487 (gui-backend-get-selection):
17488 * lisp/startup.el (handle-args-function):
17489 * lisp/term/xterm.el (gui-backend-get-selection)
17490 (gui-backend-set-selection): Use the new syntax.
17492 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17494 * test/indent/css-mode.css: Add tests for url(...) syntax.
17496 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
17499 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
17500 (smie-prec2->grammar): Use `declare'.
17502 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17504 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
17505 (cl--generic-generalizer): Add `name' field.
17506 (cl-generic-make-generalizer): Add corresponding `name' argument.
17507 (cl-generic-define-generalizer): New macro.
17508 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
17509 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
17510 (cl--generic-t-generalizer): Use it.
17511 (cl-generic-ensure-function): Add `noerror' argument.
17512 (cl-generic-define): Use it so we don't follow aliases.
17513 (cl-generic-define-method): Preserve pre-existing ordering of methods.
17514 (cl--generic-arg-specializer): New function.
17515 (cl--generic-cache-miss): Use it.
17516 (cl-generic-generalizers): Only fset a temporary definition
17518 (cl--generic-struct-tag, cl--generic-struct-specializers):
17519 Allow extra arguments.
17521 * lisp/emacs-lisp/eieio-compat.el
17522 (eieio--generic-static-symbol-generalizer)
17523 (eieio--generic-static-object-generalizer):
17524 Use cl-generic-define-generalizer.
17525 (eieio--generic-static-symbol-specializers): Allow extra arguments.
17527 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
17528 (eieio--generic-subclass-generalizer):
17529 Use cl-generic-define-generalizer.
17530 (eieio--generic-subclass-specializers): Allow extra arguments.
17532 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17534 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
17536 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
17538 Add "afp" method to Tramp
17540 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
17542 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
17543 (tramp-gvfs-handle-expand-file-name)
17544 (tramp-gvfs-handler-mounted-unmounted)
17545 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
17546 (tramp-gvfs-maybe-open-connection): Support also "afp".
17547 (tramp-gvfs-handle-file-attributes): Handle the case of empty
17548 "owner::user" and "owner::group" entries.
17550 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
17552 Handle negative coordinates in ‘x_calc_absolute_position’
17554 * src/w32term.c (x_calc_absolute_position): Find display origin to
17555 allow for negative coordinates.
17557 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17559 (internal--syntax-propertize): Save match-data here (bug#21766)
17561 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
17562 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
17564 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
17566 Don't require default-directory to end with a slash
17568 * doc/lispref/files.texi (Magic File Names): Document the change
17569 in unhandled-file-name-directory.
17571 * lisp/url/url-handlers.el
17572 (url-handler-unhandled-file-name-directory): Update accordingly.
17574 * src/buffer.c (default-directory): Update the docsting.
17576 * src/fileio.c (unhandled-file-name-directory): Default to calling
17577 `file-name-as-directory'
17578 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
17580 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17582 * lisp/isearch.el: Delete some outdated comments.
17584 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
17586 Fix eshell/clear not working if the output has a small line count
17588 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
17589 number of newlines to be inserted. This fixes the issue where
17590 eshell/clear wouldn't work if the prompt was not at the bottom of the
17591 window, and the output wasn't too long.
17593 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17595 * lisp/files.el (write-file): Use vc-refresh-state.
17597 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
17599 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
17601 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17603 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
17604 (macroexp-unprogn): Make sure we never return an empty list.
17605 (macroexp-if): Remove unused (and unsafe) optimization.
17606 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
17607 occur occasionally.
17609 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
17611 Fix bug#21766 and add test
17612 * lisp/simple.el (delete-trailing-whitespace): Save match data when
17613 calling `skip-syntax-backward'.
17614 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
17617 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17619 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
17621 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
17623 * src/dispnew.c (init_display): Simplify overflow checking.
17625 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17627 * lisp/character-fold.el (character-fold-to-regexp): Fix case
17628 where string ends in space
17630 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17632 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
17634 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
17636 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17638 * lisp/character-fold.el: Make compatible with lax-whitespace.
17639 (character-fold-to-regexp): Rework internals to play nice with
17642 When the user types a space, we want to match the table entry for
17643 ?\s, which is generally a regexp like "[ ...]". However, the
17644 `search-spaces-regexp' variable doesn't "see" spaces inside these
17645 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
17646 manually expose a space).
17648 Furthermore, the lax search engine acts on a bunch of spaces, not
17649 on individual spaces, so if the string contains sequential spaces
17650 like " ", we need to keep them grouped together like this:
17651 "\\( \\|[ ...][ ...]\\)".
17653 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17655 * lisp/isearch.el: Refactor momentary messages.
17656 (isearch--momentary-message): New function.
17657 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
17658 (isearch-toggle-invisible): Use it.
17660 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17662 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
17663 (isearch-define-mode-toggle): New macro.
17664 (isearch-toggle-invisible): Rename to
17665 `isearch-define-mode-toggle'.
17666 (isearch-toggle-case-fold, isearch-toggle-invisible)
17667 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
17668 with `isearch-define-mode-toggle'.
17670 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
17672 Avoid using `add-to-list' on a let-local var in tramp-smb.el
17674 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
17675 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
17677 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
17679 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
17680 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
17681 does not exist in XEmacs 21.4.
17683 2015-10-28 Anders Lindgren <andlind@gmail.com>
17685 Fixed OS X startup crash
17687 Input events started to arrive before ns_term_init() was finished.
17688 Solved by blocking input. This also seems to correct the "You
17689 can't open the application "Emacs" because it may be damaged or
17690 incomplete" error issued when double-clicking on the Emacs
17693 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
17694 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
17696 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
17698 * src/process.c (Fget_buffer_process): Improve docstring.
17699 Document the fact that it doesn't return dead processes.
17701 2015-10-28 Anders Lindgren <andlind@gmail.com>
17703 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
17705 * src/nsterm.h (struct ns_output): New flag, in_animation.
17706 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
17707 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
17708 in_animation flag around call to "setVisible". Set new tool bar
17709 height before call to setVisible.
17710 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
17711 andColumns:] as this fools the subsequent call to updateFrameSize
17712 from performing the real resize.
17713 (windowDidResize): Don't update anything when in_animation is
17718 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
17720 * src/nsterm.m (x_set_window_size, updateFrameSize)
17721 ([EmacsView setRows: andColumns:])
17723 2015-10-28 Nicolas Petton <nicolas@petton.fr>
17725 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
17727 2015-10-28 Tassilo Horn <tsdh@gnu.org>
17729 Prettify TeX macros not ending in a word char
17731 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
17732 Prettify macros which don't end in a word character.
17734 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
17736 Pipe Hg commit descriptions through 'tabindent'
17738 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
17739 through 'tabindent'.
17740 (vc-hg-log-view-mode): Set tab-width to 2 locally.
17741 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
17743 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
17745 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
17746 (tramp-smb-handle-directory-files): Use `delete-dups'.
17748 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
17750 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
17752 * lisp/international/ccl.el: Use lexical-binding.
17753 (ccl-compile-if): Remove unused var `false-ic'.
17754 (ccl-compile-write-repeat): Remove unused var `i'.
17755 (ccl-compile-map-single): Remove unused var `id'.
17756 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
17757 dynamic var `ccl-code'.
17759 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
17761 * lisp/json.el (json-new-object): Optimize trivial `list' call.
17763 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
17765 * lisp/help.el: Fix bug with incorrect arglist string.
17766 (help-add-fundoc-usage): Don't mistake a mis-formatted string
17769 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
17771 * lisp/gnus/gnus-topic.el: Silence some warnings.
17772 (gnus-topic-prepare-topic): Remove unused var `topic'.
17773 (gnus-topic-remove-topic): Mark unused arg `hide'.
17774 (gnus-tmp-header): Declare.
17775 (gnus-topic-goto-missing-group): Remove unused var `entry'.
17776 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
17777 (gnus-topic-copy-matching): Mark unused arg `copyp'.
17778 Move initialization of `topic' into its declaration.
17780 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
17784 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
17785 Handle warnings from gtags about invalid options.
17786 (cedet-gnu-global-create/update-database): Do incremental update
17789 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
17790 Get monotone root right.
17792 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
17794 Fall back to polling in autorevert when needed
17796 * lisp/autorevert.el (auto-revert-notify-handler): When a
17797 `stopped' event arrives from file notification, fall back to polling.
17799 * test/automated/file-notify-tests.el
17800 (file-notify-test03-autorevert): Extend test for polling when file
17801 notification ceases to work.
17803 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
17805 Show full commit messages in 'hg log' when appropriate
17807 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
17808 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
17809 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
17811 2015-10-27 Nicolas Petton <nicolas@petton.fr>
17813 Use a plain SVG file for the icon
17815 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
17816 format instead of the Inkscape SVG format.
17818 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
17820 Fix subtle bug in auto-revert-tests.el
17822 * test/automated/auto-revert-tests.el
17823 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
17824 buffer where it belongs to. (Bug#21668)
17826 2015-10-26 Nicolas Petton <nicolas@petton.fr>
17828 * lisp/emacs-lisp/map.el: Better docstrings.
17830 * lisp/emacs-lisp/seq.el: Better docstrings.
17832 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
17834 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
17836 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
17838 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
17840 Clarify that load-path contents should be directory file names
17842 * doc/lispref/files.texi (Directory Names): Define and use "directory
17843 file name". Recommend `expand-file-name'.
17845 * src/lread.c (load-path): Fix doc string; elements are directory file
17848 2015-10-26 Eli Zaretskii <eliz@gnu.org>
17850 Fix simple-test.el test
17852 * test/automated/simple-test.el (simple-test--dummy-buffer):
17853 Make sure indentation doesn't use TABs, otherwise the 6th test
17856 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
17858 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
17859 `substring' does not account for full width characters.
17861 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
17863 Further work on `stopped' events in filenotify.el
17865 * doc/lispref/os.texi (File Notifications): Rework examples.
17867 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
17868 (file-notify--rm-descriptor, file-notify-callback): Improve check
17869 for sending `stopped' event.
17870 (file-notify-add-watch): Check for more events for `inotify'.
17872 * test/automated/file-notify-tests.el
17873 (file-notify--test-expected-events): New defvar.
17874 (file-notify--test-with-events): Use it.
17875 (file-notify--test-cleanup): Make it more robust when deleting
17877 (file-notify--test-event-test): Check also for watched directories.
17878 (file-notify--test-event-handler): Suppress temporary .#files.
17879 (file-notify-test02-events, file-notify-test04-file-validity):
17880 Rework `stopped' events.
17881 (file-notify-test05-dir-validity): Wait for events when appropriate.
17883 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
17885 * src/keyboard.c (post-command-hook): Shorten docstring.
17887 2015-10-26 Tassilo Horn <tsdh@gnu.org>
17889 Fix infinite loop in sh-script's SMIE code
17891 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
17894 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17896 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
17897 Character-fold search _still_ doesn't play well with
17898 lax-whitespace. So disable it by default (again) for now.
17900 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17902 * lisp/isearch.el: No visual feedback for default search mode.
17903 During an isearch where character-folding is the default, we don't
17904 want to take up minibuffer space just to tell the user that
17905 "Char-fold " is on. The same goes for other modes, if the user
17906 changes the default. In contrast, if the user toggles OFF the
17907 default mode, they should see "Literal", to distinguish it from
17909 (isearch--describe-regexp-mode): Return "" if describing the
17910 default mode, and return "literal " if describing a plain search
17911 and it is not default.
17913 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17915 * test/automated/simple-test.el: New file.
17916 Define tests for `newline' and `open-line'.
17918 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17920 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
17921 Also run `post-self-insert-hook' when called interactively.
17923 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17925 * lisp/simple.el (open-line): Fix docstring.
17926 Also explain apparently redundant line.
17928 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
17929 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
17931 Sync with soap-client repository, version 3.0.1
17933 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
17934 Bump version to 3.0.1.
17936 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
17938 2015-10-25 Eli Zaretskii <eliz@gnu.org>
17940 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
17942 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17944 * src/keyboard.c (post-command-hook): Extend the docstring.
17945 Mainly, explain how to use it without hanging Emacs, or giving the
17946 impression that it is hanging. Also mention `pre-command-hook'.
17947 (pre-command-hook): Mention `post-command-hook'.
17949 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
17951 * lisp/custom.el (custom-declare-variable): Shorten code again.
17952 Without using pcase this time. We can't use pcase because it is
17953 loaded after custom in loadup.el. Also add a comment explaining
17954 this to future dummies like me.
17956 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
17958 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
17960 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
17962 Introduce `stopped' event in file notification
17964 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
17965 (file-notify-rm-watch): Use it.
17966 (file-notify-callback): Implement `stopped' event.
17967 (file-notify-add-watch): Mention `stopped' in the docstring.
17968 Check, that upper directory exists.
17970 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
17971 Add two test cases.
17972 (file-notify-test02-events): Handle also `stopped' event.
17973 (file-notify-test04-file-validity): Add another test case.
17975 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
17977 Revert commit that broke 'make bootstrap'
17979 * lisp/custom.el (custom-declare-variable): Revert commit
17980 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
17981 even when pcase has not been defined yet, when doing bootstrapping.
17983 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
17985 Port recent inline functions fix to Standard C
17987 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
17988 All uses rewritten to define the function directly rather than to
17989 use a macro to define the function. This conforms to Standard C,
17990 which does not allow stray semicolons at the top level. I hope it
17991 also avoids the problems with TAGS. Those macros, though clever,
17992 were pretty confusing anyway, and it wasn’t clear they were worth
17993 the aggravation even without the TAGS problem.
17995 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
17997 * lisp/isearch.el: Make character-fold search the default again.
17999 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
18001 * lisp/character-fold.el: Many improvements.
18002 (character-fold-search-forward, character-fold-search-backward):
18004 (character-fold-to-regexp): Remove lax-whitespace hack.
18005 (character-fold-search): Remove variable. Only isearch and
18006 query-replace use char-folding, and they both have their own
18007 variables to configure that.
18009 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
18011 * lisp/isearch.el: Generalize definition of regexp-function toggles.
18012 (isearch-specify-regexp-function): New macro for specifying
18013 possible values of `isearch-regexp-function'.
18014 (isearch-toggle-character-fold, isearch-toggle-symbol)
18015 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
18017 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
18019 * lisp/isearch.el (search-default-regexp-mode): New variable.
18020 (isearch-mode): Use it.
18022 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
18024 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
18025 (search-slow-speed, search-upper-case)
18026 (search-nonincremental-instead, search-whitespace-regexp)
18027 (search-invisible, isearch-hide-immediately)
18028 (isearch-resume-in-command-history, search-ring-max)
18029 (regexp-search-ring-max, search-ring-update, search-highlight)
18030 (isearch-fail): Delete :group entries.
18032 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
18034 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
18036 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18038 addpm.c: Silence some warnings.
18040 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
18042 (add_registry): Pass NULL to optional lpClass argument of
18043 RegCreateKeyEx, not an empty string.
18045 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18047 addpm.c: Do not add obsolete GTK libraries to the path.
18049 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
18050 (add_registry): Remove variables `size' and `gtk_key'.
18051 Do not add the GTK DLL directory to the library search path; it is
18052 confusing behavior (in particular, the same Emacs version with and
18053 without invoking addpm will use a different path), and the GTK image
18054 libraries are obsolete anyway.
18056 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18058 addpm.c: Replace existing registry entries, but do not create new ones
18060 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
18061 existing values from previous versions, but do not add new ones; the
18062 key could exist for other reasons unrelated to old Emacsen, like X-style
18063 resources, or to set some environment variables like HOME or LANG, and
18064 in that case we don't want to populate it with obsolete values.
18066 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18068 * nt/addpm.c (add_registry): Do not compute unused return value.
18070 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18072 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
18074 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
18075 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
18076 current behavior because REG_OPTION_NON_VOLATILE is defined to
18077 be 0L anyway, but that option is actually documented only for
18080 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
18082 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
18084 2015-10-24 Eli Zaretskii <eliz@gnu.org>
18086 Update frame title when redisplay scrolls selected window
18088 * src/xdisp.c (redisplay_window): Reconsider the frame's title
18089 when the mode-line of the frame's selected window needs to be
18092 2015-10-24 Eli Zaretskii <eliz@gnu.org>
18094 Update frame title when scrolling the selected window
18096 * src/window.c (wset_update_mode_line): New function, sets either
18097 the window's update_mode_line flag or the global update_mode_lines
18099 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
18100 (window_scroll_line_based): Call it instead of only setting the
18101 window's update_mode_line flag.
18103 2015-10-24 Eli Zaretskii <eliz@gnu.org>
18105 An even better fix for bug#21739
18107 * src/window.c (set_window_buffer): If the window is the frame's
18108 selected window, set update_mode_lines, not the window's
18109 update_mode_line flag.
18110 * src/buffer.c (Fkill_buffer): Undo last change.
18111 (set_update_modelines_for_buf): Function deleted.
18113 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18114 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
18116 Sync with soap-client repository, version 3.0.0
18118 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
18119 Bump version to 3.0.0.
18121 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
18123 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
18125 * lisp/net/soap-inspect.el: Shorten first line description.
18127 * lisp/net/soap-client.el: Make a small whitespace fix.
18129 * lisp/net/soap-inspect.el: Update copyright years.
18131 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
18132 first use in soap-encode-xs-element.
18134 * lisp/net/soap-client.el (soap-type-is-array?): new defun
18135 (soap-encode-xs-element): handle array elements in this function
18136 (soap-encode-xs-complex-type): flag error if asked to encode an
18137 array type, this is handled in `soap-encode-xs-element'
18139 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
18140 Do not print type for attribute group.
18142 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
18144 (soap-inspect-xs-attribute-group): Likewise.
18146 * lisp/net/soap-inspect.el
18147 (soap-resolve-references-for-xs-attribute-group): Resolve
18148 references of attributes in an attribute group.
18150 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
18151 type directly, not through soap-wsdl-get.
18153 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
18154 nil if reference attribute is nil.
18156 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
18157 Convert XML schema attributes to xsd:string.
18159 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
18161 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
18162 (soap-sample-value-for-xs-complex-type): Likewise.
18163 (soap-inspect-xs-attribute): New function.
18164 (soap-inspect-xs-simple-type): Print attributes.
18165 (soap-inspect-xs-complex-type): Likewise.
18167 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
18168 Resolve references for attributes.
18169 (soap-resolve-references-for-xs-complex-type): Likewise.
18171 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
18172 Rename from soap-xml-node-first-child.
18173 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
18174 (soap-xs-parse-simple-type): Likewise.
18176 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
18178 * lisp/net/soap-client.el (soap-invoke-internal): New function.
18179 (soap-invoke-async): Call soap-invoke-internal.
18180 (soap-invoke): Likewise.
18182 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
18183 url-retrieve callback is killed.
18185 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
18187 (soap-parse-wsdl-phase-fetch-imports): Likewise.
18188 (soap-parse-wsdl-phase-parse-schema): Likewise.
18189 (soap-parse-wsdl-phase-fetch-schema): Likewise.
18190 (soap-parse-wsdl-phase-finish-parsing): Likewise.
18191 (soap-parse-wsdl): Update calls.
18193 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
18195 * lisp/net/soap-client.el (soap-invoke-async): New function.
18196 (soap-invoke): Reimplement using soap-invoke-async.
18198 * lisp/net/soap-client.el (soap-parse-server-response):
18200 (soap-invoke): Inline call to soap-parse-server-response.
18202 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18203 Prevent incorrect warning.
18205 * lisp/net/soap-client.el (soap-parse-server-response):
18206 Rename soap-process-url-response. Destroy the mime part.
18207 (soap-invoke): Call soap-parse-server-response.
18209 * lisp/net/soap-client.el: Update copyright date.
18211 * lisp/net/soap-client.el: Fix checkdoc issues.
18213 * lisp/net/soap-client.el: Fix indentation and long lines.
18215 * lisp/net/soap-client.el (soap-time-format): Remove variable.
18216 (soap-encode-xs-basic-type): Simplify date-time format detection.
18217 (soap-decode-xs-basic-type): Remove soap-time-format support.
18219 * lisp/net/soap-client.el (soap-process-url-response): New function.
18220 (soap-fetch-xml-from-url): Call soap-process-url-response.
18221 (soap-parse-wsdl-phase-1): New function.
18222 (soap-parse-wsdl-phase-2): Likewise.
18223 (soap-parse-wsdl-phase-3): Likewise.
18224 (soap-parse-wsdl-phase-4): Likewise.
18225 (soap-parse-wsdl-phase-5): Likewise.
18226 (soap-parse-wsdl): Call phase functions.
18228 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
18229 Remove one-argument and call.
18231 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
18233 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
18234 (soap-parse-schema): Add wsdl argument. Look up XML schema
18236 (soap-load-wsdl): Do not set soap-xmlschema-imports.
18237 (soap-parse-wsdl): Get XML schema imports from wsdl.
18239 * lisp/net/soap-client.el (soap-current-file): Remove variable.
18240 (soap-wsdl): Add current-file slot.
18241 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
18243 (soap-fetch-xml-from-file): Likewise.
18244 (soap-fetch-xml): Likewise.
18245 (soap-load-wsdl): Always create wsdl object first.
18246 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
18248 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
18249 (soap-xs-parse-element): Set is-group slot.
18250 (soap-resolve-references-for-xs-element): Skip is-group elements.
18251 (soap-xs-complex-type): Add is-group slot.
18252 (soap-xs-parse-complex-type): Set is-group slot.
18253 (soap-xs-parse-sequence): Parse xsd:group elements.
18254 (soap-resolve-references-for-xs-complex-type): Inline elements
18255 from referenced xsd:group nodes.
18256 (soap-parse-schema): Parse xsd:group nodes.
18258 * lisp/net/soap-client.el (soap-invoke):
18259 Don't set url-http-version to 1.0.
18261 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18262 Allow choice nodes to accept multiple values.
18264 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
18265 for extra header values.
18267 * lisp/net/soap-client.el (soap-well-known-xmlns):
18268 Add wsa and wsaw tags.
18269 (soap-operation): Add input-action and output-action slots.
18270 (soap-parse-operation): Parse wsaw:Action nodes.
18271 (soap-encode-body): Encode service-url for WS-Addressing.
18272 (soap-create-envelope): Likewise.
18273 (soap-invoke): Update soap-create-envelope call to provide
18274 service-url argument.
18276 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18277 Support xsi:type override attribute.
18278 (soap-decode-array): Likewise.
18280 * lisp/net/soap-client.el (soap-parse-schema):
18281 Handle location attribute.
18283 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
18284 matched validation regexp.
18286 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
18287 Encode xsd:list nodes.
18288 (soap-decode-xs-simple-type): Decode xsd:list nodes.
18290 * lisp/net/soap-client.el (soap-get-candidate-elements):
18291 Fix reference handling.
18293 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
18294 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
18295 (soap-xs-add-list): New function.
18297 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
18298 expected, interpret nil as "false".
18300 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
18301 gYear, gMonthDay, gDay and gMonth.
18303 * lisp/net/soap-client.el (soap-time-format): New variable.
18304 (soap-encode-xs-basic-type): Handle dateTime, time, date,
18305 gYearMonth, gYear, gMonthDay, gDay and gMonth.
18306 (soap-decode-date-time): New function.
18307 (soap-decode-xs-basic-type): Use soap-decode-date-time.
18309 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
18311 (soap-decode-xs-basic-type): Validate value before decoding.
18313 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
18314 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
18316 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
18317 instead of overwriting it.
18318 (soap-validate-xs-simple-type): Add union support.
18320 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
18321 to Emacs regexp using xsdre-translate.
18322 (soap-validate-xs-simple-type): Validate value against pattern.
18324 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
18325 inline simpleType nodes.
18326 (soap-decode-type): Handle union types.
18328 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
18331 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
18332 from soap-xs-attribute-group-consolidate, all callers updated
18333 (soap-get-xs-attributes): Rename from
18334 soap-xs-attributes-consolidate, all callers updated
18336 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
18337 (soap-xs-attribute-group): New type.
18338 (soap-xs-parse-attribute-group): New function.
18339 (soap-resolve-references-for-xs-attribute-group): Likewise.
18340 (soap-xs-add-extension): Handle attribute groups.
18341 (soap-resolve-references-for-xs-simple-type): Likewise.
18342 (soap-xs-parse-complex-type): Likewise.
18343 (soap-xs-parse-extension-or-restriction): Likewise.
18344 (soap-resolve-references-for-xs-complex-type): Likewise.
18345 (soap-xs-attribute-group-consolidate): New function.
18346 (soap-xs-attributes-consolidate): Handle attribute groups.
18347 (soap-parse-schema): Likewise.
18349 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
18350 Fix boolean encoding.
18352 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
18353 element names in warnings.
18355 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
18357 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
18358 Eliminate invalid warnings for choice types.
18360 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
18361 Also encode base type attributes.
18363 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
18364 warning. Print e-name in warnings, or element if e-name is nil.
18366 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
18367 (soap-xs-parse-element): Set substitution-group.
18368 (soap-resolve-references-for-xs-element): Populate alternatives slot.
18369 (soap-get-candidate-elements): New function.
18370 (soap-encode-xs-complex-type): Iterate through all candidate elements.
18371 Handle types with nil type indicator. Fix warning logic.
18373 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
18374 earlier in the file to prevent compiler warning.
18376 * lisp/net/soap-client.el (soap-node-optional): New function.
18377 (soap-node-multiple): Likewise.
18378 (soap-xs-parse-element): Call soap-node-optional and
18379 soap-node-multiple.
18380 (soap-xs-complex-type): Add optional? and multiple? slots.
18381 (soap-xml-get-children-fq): New function.
18382 (soap-xs-element-get-fq-name): Likewise.
18383 (soap-xs-complex-type-optional-p): Likewise.
18384 (soap-xs-complex-type-multiple-p): Likewise.
18385 (soap-xs-attributes-consolidate): Likewise.
18386 (soap-decode-xs-attributes): Likewise.
18387 (soap-decode-xs-complex-type): Decode types with nil type indicator.
18388 Support children that use local namespaces. Decode attributes.
18389 Add type considerations to optional? and multiple? warnings.
18391 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
18392 Store parsed attributes.
18393 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
18395 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
18396 Don't add the xsi:type attribute (Exchange refuses requests which have
18399 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
18400 correct compiler warnings about unused function arguments and
18403 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
18405 (soap-parse-envelope): Handle response headers.
18406 (soap-parse-response): Likewise. Only return non-nil decoded values.
18408 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
18409 Return validated value.
18411 * lisp/net/soap-client.el (soap-xs-parse-element)
18412 (soap-xs-parse-simple-type)
18413 (soap-xs-parse-complex-type)
18414 (soap-parse-message)
18415 (soap-parse-operation): Add the current namespace to the element
18417 (soap-resolve-references-for-xs-element)
18418 (soap-resolve-references-for-xs-simple-type)
18419 (soap-resolve-references-for-xs-complex-type)
18420 (soap-resolve-references-for-operation): Resolve the namespace to
18422 (soap-make-wsdl): specify a namespace tag when creating the xsd
18423 and soapenc namespaces
18424 (soap-wsdl-resolve-references): don't update namespace tags in
18426 (soap-parse-port-type): bind the urn: to soap-target-xmlns
18427 (soap-encode-body): don't add nil namespace tags to
18428 soap-encoded-namespaces
18430 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
18431 for registering the soap-inspect method. Make debbugs tests pass.
18432 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
18433 type name, also skip string only nodes when decoding a structure.
18434 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
18436 (soap-encode-body): Grab the header value from the param table.
18438 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
18440 (soap-encode-xs-element): Don't encode nil value unless needed.
18442 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
18443 (soap-parse-binding): Parse the message parts required in the body.
18444 (soap-encode-body): Encode only the parts that are declared to be
18447 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
18448 when writing out the tag.
18449 (soap-encode-body): Remove hack that inserts the xmlns in the
18450 element attributes list.
18452 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
18453 (soap-xs-parse-attribute): Default slot is set from the XML
18455 (soap-encode-xs-complex-type-attributes): Encode any attributes
18456 that have a default value. Also, don't put the xsi:nil attribute
18457 when the complex type has no content anyway.
18459 * lisp/net/soap-client.el (soap-well-known-xmlns):
18460 Add the xml namespace.
18461 (soap-local-xmlns): Start with the xml namespace.
18462 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
18463 (soap-make-xs-basic-types): More xsd types added.
18464 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
18465 Handle "language", "time", "date", "nonNegativeInteger".
18466 (soap-resolve-references-for-xs-element): Don't signal an error if
18467 the element does not have a type.
18468 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
18469 added stum for xsd:list.
18470 (soap-xs-add-union): Call soap-l2fq on all union members.
18471 (soap-xs-add-extension): Call soap-l2fq on the base member.
18472 (soap-resolve-references-for-xs-simple-type): Don't signal an
18473 error if the simple type has no base.
18474 (soap-resolve-references-for-xs-simple-type): Bugfix, call
18475 soap-wsdl-get on each type of the base.
18477 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
18478 Referenced type can be eiher a simple type or a basic type.
18479 (soap-xs-add-restriction)
18480 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
18481 (soap-make-xs-basic-types)
18482 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
18483 Add support for more XMLSchema basic types.
18484 (soap-current-file, soap-xmlschema-imports): New defvars.
18485 (soap-parse-schema): Add locations from xsd:import tags to
18486 `soap-xmlschema-imports'.
18487 (soap-wsdl): Make destructor private.
18488 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
18489 (soap-wsdl-add-alias): Check if we try to replace aliases.
18490 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
18491 (soap-fetch-xml): New defuns.
18492 (soap-load-wsdl): Update to load the WSDL from either a file or
18494 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
18495 (soap-parse-wsdl): Process wsdl:import tags and imports from
18496 `soap-xmlschema-imports'.
18497 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
18499 (soap-l2fq): Make the name part always a string.
18500 (soap-name-p): New defun, used for name tests.
18502 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
18503 Supply sample values for choice types with a special tag.
18504 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
18505 Handle anonymous elements correctly.
18506 (soap-encode-value): Accept nodes that have no namespace tag.
18508 * lisp/net/soap-client.el (soap-invoke): Encode the string for
18509 `url-request-data' as UTF-8. Fixes issue 16.
18511 2015-10-24 Nicolas Petton <nicolas@petton.fr>
18513 Update the new icon
18515 Move the E slightly to the right in the circle.
18517 * etc/images/icons/hicolor/128x128/apps/emacs.png:
18518 * etc/images/icons/hicolor/16x16/apps/emacs.png:
18519 * etc/images/icons/hicolor/24x24/apps/emacs.png:
18520 * etc/images/icons/hicolor/32x32/apps/emacs.png:
18521 * etc/images/icons/hicolor/48x48/apps/emacs.png:
18522 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
18523 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
18524 * nt/icons/emacs.ico: New icom update.
18526 2015-10-24 Eli Zaretskii <eliz@gnu.org>
18528 Avoid missing inline functions from lisp.h in TAGS
18530 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
18531 need to end each invocation with a semi-colon.
18532 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
18533 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
18534 inline functions defined immediately after each invocation, and
18535 also avoid tagging every invocation of these macros.
18537 2015-10-24 Eli Zaretskii <eliz@gnu.org>
18539 A better fix for bug#21739
18541 * src/buffer.c (set_update_modelines_for_buf): New function.
18542 (Fkill_buffer): Use it to set the global variable
18543 update_mode_lines if the killed buffer was displayed in some
18544 window. Don't set windows_or_buffers_changed. This is a better
18545 fix for bug#21739 than the previous fix, since it will cause only
18546 redisplay of mode lines, not of entire windows, but will still
18547 catch attention of x_consider_frame_title in xdisp.c, which
18548 redraws the frame title.
18550 2015-10-24 Tassilo Horn <tsdh@gnu.org>
18552 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
18553 tar.bz2 and tar.xz archives.
18555 2015-10-23 Eli Zaretskii <eliz@gnu.org>
18557 Fix infloop in redisplay introduced by a recent change
18559 * src/xdisp.c (redisplay_internal): Avoid inflooping when
18560 redisplaying the selected window sets the selected frame's
18561 redisplay flag. (Bug#21745)
18563 2015-10-23 Nicolas Petton <nicolas@petton.fr>
18565 * lisp/emacs-lisp/thunk.el: Better documentation.
18567 2015-10-23 Nicolas Petton <nicolas@petton.fr>
18569 Replace the old icon for Windows and Mac OSX
18571 * nt/icons/emacs.ico:
18572 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
18575 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
18577 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
18578 `load-path' should contain only directory names.
18580 2015-10-23 Nicolas Petton <nicolas@petton.fr>
18582 New library thunk.el
18584 thunk.el is extracted from stream.el in ELPA, with additional tests.
18586 * lisp/emacs-lisp/thunk.el: New file.
18587 * test/automated/thunk-tests.el: New file.
18588 * etc/NEWS: Add information about thunk.el
18590 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
18594 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
18595 calling low-level functions.
18597 * test/automated/file-notify-tests.el (file-notify--test-timeout):
18598 Decrase to 6 seconds for remote directories.
18599 (file-notify-test02-events): Expect different number of
18600 `attribute-changed' events for the local and remote cases. Apply
18601 short delays between the operations, in order to receive all
18602 events in the remote case. Combine `attribute-change' tests.
18605 2015-10-23 Eli Zaretskii <eliz@gnu.org>
18607 Decode the HTML source when displaying it in EWW
18609 * lisp/net/eww.el (eww-view-source): Decode the HTML source
18610 according to its headers.
18612 2015-10-23 Nicolas Petton <nicolas@petton.fr>
18616 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
18617 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
18618 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
18619 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
18620 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
18621 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
18622 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
18623 Move the old logo files to emacs23.*.
18624 * etc/images/icons/hicolor/128x128/apps/emacs.png:
18625 * etc/images/icons/hicolor/16x16/apps/emacs.png:
18626 * etc/images/icons/hicolor/24x24/apps/emacs.png:
18627 * etc/images/icons/hicolor/32x32/apps/emacs.png:
18628 * etc/images/icons/hicolor/48x48/apps/emacs.png:
18629 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
18630 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
18632 * etc/images/icons/README: Update the copyright information.
18634 2015-10-23 Eli Zaretskii <eliz@gnu.org>
18636 Fix redisplay of frame title when current buffer is killed
18638 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
18639 non-zero value, to redisplay more than just the affected windows.
18642 2015-10-23 Anders Lindgren <andlind@gmail.com>
18644 NextStep maximization and NSTRACE rewrite
18646 Full-height, full-width, and maximized windows now cover the
18647 entire screen (except the menu bar), including the part where the
18648 system dock is placed. The system zoom animation is no longer
18651 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
18654 * src/nsterm.m (ns_menu_bar_height): New function, return height of
18655 the menu bar, or 0 when it's hidden.
18656 (constrain_frame_rect): New function for constraining a frame.
18657 (ns_constrain_all_frames): Set frame size explicitly rather than
18658 relying on the system doing it for us by writing back the current
18660 (windowWillUseStandardFrame): Register non-maximized width or
18661 height as new user size. When entering full width or height,
18662 the other size component is taken from the user size.
18663 (fullscreenState): New method for accessing the fullscreen state.
18664 (constrainFrameRect): Restrict frame to be placed under the menu bar,
18665 if present. The old version, sometimes, restricted the height of a
18666 frame to the screen, this version never does this.
18667 (zoom): Perform zoom by setting the frame to the full size of the
18668 screen (minus the menu bar). The default system function, with the
18669 zoom animation, is no longer used, as the final frame size doesn't
18670 cover the entire screen.
18672 Rework how to constrain resizing to the character grid. The old
18673 system used "resizeIncrements" in NSWindows. However, once a frame
18674 was resized so that it was not aligned to the text grid, it
18675 remained unaligned even after a resize. In addition, it conflicted
18676 when resizing a fullheight window.
18678 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
18679 unless when pixelwise frame resizing is enabled.
18680 (updateFrameSize, initFrameFromEmacs)
18681 (toggleFullScreen, handleFS): Don't set resizeIncrements.
18683 Redesign the NS trace system. The call structure is represented
18684 using indentations and vertical lines. The NSTRACE macro accepts
18685 printf-style arguments. New macros for printing various
18688 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
18689 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
18690 block (typically a function), accept printf-style arguments.
18691 (NSTRACE_MSG): Macro for extra information, accepts
18692 printf-style arguments.
18693 (NSTRACE_what): Macros for printing various types.
18694 (NSTRACE_FMT_what): Macro with printf format string snippets.
18695 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
18696 corresponds to NSTRACE_FMT_what.
18697 (NSTRACE_RETURN): Macro to print return value, accept
18698 printf-style arguments.
18699 (NSTRACE_RETURN_what): Macros to print return value for
18702 * src/nsterm.m: Remove old NSTRACE macro
18703 * src/nsterm.m (nstrace_num): Trace counter.
18704 (nstrace_depth): Current call depth.
18705 (nstrace_leave): NSTRACE support function, called when the
18706 local variable "nstrace_enabled" goes out of scope using the
18707 "cleanup" extension.
18708 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
18709 (constrain_frame_rect, ns_constrain_all_frames)
18710 (ns_update_auto_hide_menu_bar, ns_update_begin)
18711 (ns_update_window_begin, update_window_end, ns_update_end)
18712 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
18713 (ns_frame_rehighlight, x_make_frame_visible)
18714 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
18715 (x_destroy_window, x_set_offset, x_set_window_size)
18716 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
18717 (ns_defined_color, frame_set_mouse_pixel_position)
18718 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
18719 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
18720 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
18721 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
18722 (dumpcursor, ns_draw_vertical_window_border)
18723 (ns_draw_window_divider, ns_draw_relief)
18724 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
18725 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
18726 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
18727 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
18728 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
18729 (ns_create_terminal, ns_term_init, sendEvent)
18730 (applicationDidFinishLaunching, applicationDidBecomeActive)
18731 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
18732 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
18733 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
18734 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
18735 (mouse_autoselect_window, in_window, mouseDragged)
18736 (rightMouseDragged, otherMouseDragged, windowShouldClose)
18737 (updateFrameSize, windowWillResize, windowDidResize)
18738 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
18739 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
18740 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
18741 (windowDidEnterFullScreen, windowWillExitFullScreen)
18742 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
18743 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
18744 (draggingEntered, performDragOperation, validRequestorForSendType)
18745 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
18746 (EmacsScroller_initFrame, EmacsScroller_setFrame)
18747 (EmacsScroller_dealloc, condemn, reprieve, judge)
18748 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
18749 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
18751 * src/nsfns.m: Remove old NSTRACE macro
18752 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
18753 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
18754 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
18756 * src/nsimage.m: Remove old NSTRACE macro
18757 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
18758 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
18760 * src/nsmenu.m: Remove old NSTRACE macro
18761 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
18762 Use new trace system.
18764 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
18766 No need to use eval-and-compile
18768 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
18769 autoload epg functions.
18771 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
18773 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
18775 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
18776 epg-context-set-passphrase-callback, epg-decrypt-string, and
18777 epg-encrypt-string; require epg when compiling for the setf-method
18778 for epg-context-armor. (bug#21724)
18780 2015-10-22 Eli Zaretskii <eliz@gnu.org>
18782 Include file cleanup for w32 files in src directory
18784 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
18785 fontset.h, blockinput.h.
18786 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
18787 charset.h, fontset.h.
18788 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
18789 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
18790 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
18791 in an ifdef-ed away block.
18792 Include fcntl.h for CYGWIN.
18793 (set_frame_param): Remove unused function.
18794 * src/w32select.c: Don't include charset.h and composite.h.
18795 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
18796 due to pointer signedness mismatches.
18797 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
18798 due to pointer signedness mismatches.
18799 * src/w32proc.c: Include unistd.h. Don't include systime.h,
18800 process.h, dispextern.h.
18801 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
18802 (Fw32_application_type): Avoid compiler warnings due to pointer
18803 signedness mismatches.
18804 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
18805 character.h, charset.h, dispextern.h.
18806 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
18807 to pointer signedness mismatches.
18808 * src/w32inevt.c: Don't include dispextern.h, window.h,
18809 termhooks.h, w32heap.h.
18810 * src/w32font.c: Don't include dispextern.h, character.h,
18811 charset.h, fontset.h, font.h.
18812 (intern_font_name, add_font_entity_to_list)
18813 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
18814 (list_all_matching_fonts): Avoid compiler warnings due to pointer
18815 signedness mismatches.
18816 * src/w32fns.c: Don't include character.h, intervals.h,
18817 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
18818 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
18819 (w32_color_map_lookup, add_system_logical_colors_to_map)
18820 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
18821 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
18822 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
18823 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
18824 compiler warnings, mainly due to pointer signedness mismatches.
18825 (unwind_create_frame_1): Remove unused function.
18826 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
18827 window.h, termhooks.h, dispextern.h.
18828 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
18829 signedness mismatch.
18830 * src/w32.c: Include c-strcase.h and systty.h. Don't include
18833 2015-10-22 Tassilo Horn <tsdh@gnu.org>
18835 Improve doc-view wrt. auto-revert-mode
18837 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
18838 is corrupted (bug#21729).
18839 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
18841 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
18843 Describe dired-do-compress-to in the manual
18845 * etc/NEWS: Update.
18847 * lisp/dired-aux.el: Fix typo.
18849 * doc/emacs/dired.texi: Add entry.
18851 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
18853 Further fix for proper locale handling in tramp-gvfs.el
18855 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
18856 Just suppress LC_MESSAGES locale category settings.
18858 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
18860 New lispref section “Security Considerations”
18862 This attempts to document some of the issues recently discussed
18863 on emacs-devel, and to indicate other such issues. The section
18864 could be a lot longer.
18865 * doc/lispref/os.texi (Security Considerations):
18867 * doc/lispref/elisp.texi (Top):
18868 * doc/lispref/processes.texi (Shell Arguments):
18869 * lisp/subr.el (shell-quote-argument):
18870 * src/callproc.c (syms_of_callproc):
18873 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
18878 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
18879 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
18880 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
18883 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
18885 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
18886 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
18888 2015-10-21 Ken Brown <kbrown@cornell.edu>
18890 Further include-file cleanup
18892 * src/sheap.c: Include stdlib.h.
18893 * src/unexcw.c: Include string.h.
18895 2015-10-21 Eli Zaretskii <eliz@gnu.org>
18897 Fix logic in 'server-kill-emacs-query-function'
18899 * lisp/server.el (server-kill-emacs-query-function): Correct the
18900 logic that controls whether the user is asked for confirmation.
18903 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
18905 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
18906 (isearch--lax-regexp-function-p): New function.
18908 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
18910 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
18911 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
18912 around `isearch-regexp-function'.
18914 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
18916 * lisp/isearch.el: Rename word search to regexp-function search.
18917 `isearch-word' went well beyond its original purpose, and the name
18918 no longer makes sense. It is now called
18919 `isearch-regexp-function', and its value should always be a function
18920 that converts a string to a regexp (though setting it to t is still
18921 supported for now).
18922 (isearch-word): Make obsolete.
18923 (isearch-regexp-function): New variable.
18924 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
18925 (with-isearch-suspended, isearch-toggle-regexp)
18926 (isearch-toggle-word, isearch-toggle-symbol)
18927 (isearch-toggle-character-fold, isearch-query-replace)
18928 (isearch-occur, isearch-highlight-regexp)
18929 (isearch-search-and-update, isearch-message-prefix)
18930 (isearch-search-fun-default, isearch-search)
18931 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18933 (isearch-lazy-highlight-regexp-function): New var.
18934 (isearch-lazy-highlight-word): Make obsolete.
18935 (isearch--describe-regexp-mode): New function.
18936 (isearch--describe-word-mode): Make obsolete.
18938 * lisp/info.el (Info-isearch-search):
18939 * lisp/replace.el (replace-search, replace-highlight):
18940 * lisp/obsolete/longlines.el (longlines-search-function):
18941 * lisp/hexl.el (hexl-isearch-search-function):
18942 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
18945 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
18947 Add dired-do-compress-to command bound to "c"
18949 * lisp/dired-aux.el (dired-shell-command): Use the caller's
18950 `default-directory', return the result of `process-file'.
18951 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
18953 (dired-compress-files-alist): New defvar.
18954 (dired-do-compress-to): New command.
18956 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
18957 (dired-do-compress-to): Add an autoload entry.
18959 * etc/NEWS: Add two entries.
18961 2015-10-21 Tassilo Horn <tsdh@gnu.org>
18963 Make RefTeX work with LaTeX subfiles package
18965 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
18966 document class argument as master file for referencing purposes.
18968 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
18970 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
18972 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
18974 Include-file cleanup for src directory
18976 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
18977 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
18978 but does not include it directly. As a general rule, a source
18979 file should include foo.h if it needs the interfaces that foo.h
18981 * src/alloc.c: Don’t include process.h. Include dispextern.h,
18983 * src/atimer.c: Don’t include blockinput.h.
18984 * src/buffer.c: Include coding.h, systime.h. Don’t include
18985 keyboard.h, coding.h.
18986 * src/callint.c: Don’t include commands.h, keymap.h.
18987 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
18988 systty.h, termhooks.h.
18989 * src/casetab.c: Don’t include character.h.
18990 * src/category.c: Don’t include charset.h, keymap.h.
18991 * src/ccl.h: Don’t include character.h.
18992 * src/character.c: Don’t include charset.h.
18993 * src/charset.c: Don’t include disptab.h.
18994 * src/chartab.c: Don’t include ccl.h.
18995 * src/cm.c: Don’t include frame.h, termhooks.h.
18996 * src/cmds.c: Don’t include window.h, dispextern.h.
18997 * src/coding.c: Don’t include window.h, frame.h.
18998 * src/composite.c: Include composite.h. Don’t include window.h,
19000 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
19001 * src/dbusbind.c: Don’t include frame.h.
19002 * src/decompress.c: Don’t include character.h.
19003 * src/dired.c: Don’t include character.h, commands.h, charset.h.
19004 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
19005 process.h, timespec.h. Include systime.h.
19006 * src/doc.c: Include coding.h. Don’t include keyboard.h.
19007 * src/editfns.c: Include composite.h. Don’t include frame.h.
19008 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
19009 commands.h, systty.h..
19010 * src/fileio.c: Don’t include intervals.h, dispextern.h.
19011 Include composite.h.
19012 * src/filelock.c: Don’t include character.h, systime.h.
19013 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
19014 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
19015 * src/font.c: Include termhooks.h.
19016 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
19017 struct composition_it, struct face, struct glyph_string.
19018 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
19019 intervals.h, window.h, termhooks.h.
19020 * src/frame.c: Don’t include character.h, commands.h, font.h.
19021 * src/frame.h: Don’t include dispextern.h.
19022 * src/fringe.c: Don’t include character.h.
19023 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
19024 character.h, charset.h, fontset.h.
19025 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
19027 * src/ftxfont.c: Don’t include dispextern.h, character.h,
19028 charset.h, fontset.h.
19029 * src/gfilenotify.c: Don’t include frame.h, process.h.
19030 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
19031 Don’t include syssignal.h, buffer.h, charset.h, font.h.
19032 * src/gtkutil.h: Don’t include frame.h.
19033 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
19034 Don’t include character.h.
19035 * src/indent.c: Don’t include keyboard.h, termchar.h.
19036 * src/inotify.c: Don’t include character.h, frame.h.
19037 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
19038 * src/intervals.c: Don’t include character.h, keyboard.h.
19039 * src/intervals.h: Don’t include dispextern.h, composite.h.
19040 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
19042 * src/keyboard.h: Don’t incldue systime.h.
19043 * src/keymap.c: Don’t include charset.h, frame.h.
19044 * src/lread.c: Include dispextern.h and systime.h.
19045 Don’t include frame.h. Include systime.h.
19046 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
19047 * src/menu.c: Include character.h, coding.h. Don’t include
19049 * src/menu.h: Don’t include systime.h.
19050 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
19051 intervals.h, termhooks.h.
19052 * src/print.c: Include coding.h. Don’t include keyboard.h,
19053 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
19054 Add forward decl of struct terminal.
19055 * src/process.c: Don’t include termhooks.h, commands.h,
19056 dispextern.h, composite.h.
19057 * src/region-cache.c: Don’t include character.h.
19058 * src/scroll.c: Don’t include keyboard.h, window.h.
19059 * src/search.c: Don’t include category.h, commands.h.
19060 * src/sound.c: Don’t include dispextern.h.
19061 * src/syntax.c: Don’t include command.h, keymap.h.
19062 * src/sysdep.c: Don’t include window.h, dispextern.h.
19063 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
19064 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
19065 * src/terminal.c: Include character.h.
19066 Don’t include charset.h, coding.h.
19067 * src/textprop.c: Don’t include character.h.
19068 * src/undo.c: Don’t include character.h, commands.h, window.h.
19069 * src/unexsol.c: Don’t include character.h, charset.h.
19070 * src/widget.c: Include widget.h. Don’t include keyboard.h,
19071 window.h, dispextern.h, blockinput.h, character.h, font.h.
19072 * src/widgetprv.h: Don’t include widget.h.
19073 * src/window.c: Don’t include character.h, menu.h, intervals.h.
19074 * src/xdisp.c: Include composite.h, systime.h. Don’t include
19075 macros.h, process.h.
19076 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
19078 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
19079 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
19080 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
19081 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
19082 * src/xgselect.c: Don’t include timespec.h, frame.h.
19084 * src/xgselect.h: Don’t include time.h.
19085 Use a forward decl to struct timespec instead.
19086 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
19087 dispextern.h. Include systime.h.
19088 * src/xml.c: Don’t include character.h.
19089 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
19090 * src/xselect.c: Don’t include dispextern.h, character.h,
19091 buffer.h, process.h.
19092 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
19093 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
19094 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
19096 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
19098 (/ N) now returns the reciprocal of N
19100 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
19101 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
19102 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
19103 (color-xyz-to-srgb, color-xyz-to-lab):
19104 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
19105 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
19106 (shr-color-hsl-to-rgb-fractions):
19107 Exploit the change to simplify the code a bit.
19108 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
19109 Don’t complain about single-argument calls to ‘/’.
19110 * src/data.c (arith_driver, float_arith_driver):
19111 Implement the change.
19113 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
19115 Call vc-dir-refresh after stash operations
19117 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
19118 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
19120 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
19121 since it can be abbreviated (as returned by vc-find-root).
19123 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
19125 * lisp/vc/vc-svn.el:
19126 * lisp/vc/vc-mtn.el:
19127 * lisp/vc/vc-hg.el:
19128 * lisp/vc/vc-cvs.el:
19129 * lisp/vc/vc-git.el:
19130 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
19131 Its usages have been replaced with vc-run-delayed.
19133 2015-10-20 Dima Kogan <dima@secretsauce.net>
19135 Fix memory leak in fontset handling
19137 * src/font.c (copy_font_spec): Make a deep copy of the input
19138 argument FONT. (Bug#21651)
19140 2015-10-20 Michael Sperber <mike@xemacs.org>
19142 * lisp/gnus/mailcap.el (mailcap-mime-data):
19143 Conditonalize `doc-view-mode', which does not exist on XEmacs.
19145 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
19147 Update the way directories are compressed
19149 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
19150 for *.tar.gz decompression to use a pipe.
19151 Add an entry for the default directory compression (to *.tar.g).
19152 (dired-compress-file): Update.
19154 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
19156 2015-10-20 Michael Sperber <mike@xemacs.org>
19158 Unbreak `group' option for `mail-sources'
19160 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
19161 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
19162 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
19164 2015-10-19 Nicolas Petton <nicolas@petton.fr>
19166 New function seq-position
19168 * lisp/emacs-lisp/seq.el (seq-position): New function.
19169 * test/automated/seq-tests.el: New tests for seq-position.
19170 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
19172 2015-10-19 Ken Brown <kbrown@cornell.edu>
19174 Enable --with-wide-int build on 32-bit Cygwin
19176 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
19177 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
19179 2015-10-19 Glenn Morris <rgm@gnu.org>
19181 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
19183 2015-10-19 Eli Zaretskii <eliz@gnu.org>
19185 Resurrect image loading under auto-image-file-mode
19187 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
19188 'openp' specially. This special case was lost in the changes on
19189 2015-08-18. (Bug#21685)
19191 2015-10-19 Eli Zaretskii <eliz@gnu.org>
19193 Fix return value of 'set-file-extended-attributes'
19195 * lisp/files.el (set-file-extended-attributes): Return non-nil
19196 when setting either ACLs or SELinux context succeeds. Document
19197 the return value. (Bug#21699)
19199 * doc/lispref/files.texi (Changing Files): Document the return
19200 value of set-file-extended-attributes.
19202 2015-10-19 Eli Zaretskii <eliz@gnu.org>
19204 Improve documentation of functions that change files
19206 * doc/lispref/files.texi (Changing Files): Document that these
19207 functions signal an error on failure.
19209 2015-10-18 Eli Zaretskii <eliz@gnu.org>
19211 Fix doc string of 'shell-quote-argument'
19213 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
19215 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
19217 Some minor Tramp changes
19219 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
19221 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
19222 Expand `tramp-auto-save-directory'.
19224 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
19226 Minor edits in Tramp
19228 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
19231 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
19232 Remove declaration.
19234 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
19236 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
19238 2015-10-17 Eli Zaretskii <eliz@gnu.org>
19240 Avoid crashes when redisplayng a window changes faces or fonts
19242 * src/xdisp.c (redisplay_internal): If redisplaying the selected
19243 window or one of the frames turns on the frame's 'redisplay' flag,
19244 redisplay again. (Bug#21428)
19246 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
19248 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
19250 Solve timimg issues in file-notify-tests.el
19252 * test/automated/file-notify-tests.el (file-notify-test02-events):
19253 Rectify `attribute-change' tests. There are timing issues with
19254 gfilenotify. (Bug#21669)
19256 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
19258 Fix quoting of data within htmlfontify doc
19260 * doc/misc/htmlfontify.texi (Data Structures, Customization):
19261 Fix quoting of data structures. A Lisp quote is needed only
19262 when data appears within Lisp code.
19264 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
19266 * lisp/emacs-lisp/package.el: Reload archive-contents if
19268 (package--old-archive-priorities): New variable.
19269 (package-read-all-archive-contents, package-menu--refresh): Use it
19270 to decide when the `package-archive-contents' needs to be read
19273 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
19275 Make src headers idempotent and standalone
19277 Redo src/*.h so that each include file is idempotent (that is, can
19278 be included multiple times with the latter inclusions having no
19279 effect) and standalone (that is, can be included by itself,
19280 with no include file other than config.h needed as a prerequisite).
19281 This is standard practice in GNU programs nowadays.
19282 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
19283 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
19284 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
19285 * src/regex.h [emacs]:
19286 * src/syntax.h, src/systty.h, src/termhooks.h:
19287 Include lisp.h, for Lisp_Object.
19288 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
19289 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
19290 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
19291 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
19292 * src/termopts.h, src/tparam.h, src/unexec.h:
19293 Protect against multiple inclusion.
19294 * src/buffer.h: Include character.h, for STRING_CHAR.
19295 * src/emacsgtkfixed.h (struct frame):
19296 * src/fontset.h (struct face):
19297 * src/region-cache.h (struct buffer):
19298 * src/termhooks.h (struct glyph):
19299 * src/xsettings.h (struct x_display_info):
19300 Add possibly-forward decl.
19301 * src/syntax.h: Include buffer.h, for BVAR.
19302 * src/sysselect.h: Include lisp.h, for eassume.
19303 * src/termchar.h: Include <stdio.h>, for FILE.
19304 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
19305 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
19307 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
19309 Handle symlink targets containing spaces in tramp-gvfs.el
19311 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
19312 Handle symlink targets containing spaces.
19314 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
19316 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
19318 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
19319 same reason that `load-path' shouldn't. Setting it via the customize
19320 interface is a trap for the user.
19322 Installed themes commonly add themselves to this variable, which means
19323 its value is not fit for being saved (it will permanently remember dirs
19324 that don't exist anymore).
19326 This is aggravated by the fact that Emacs always applies the `user'
19327 theme on top of any theme that's loaded, since this will apply the old
19328 variable value and remove any new directories that had been recently
19329 added by themes themselves.
19331 Not to mention, we already have `custom-theme-directory', which is safe
19334 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
19336 * lisp/mpc.el: Rename the new toggling commands.
19337 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
19338 (mpc-toggle-shuffle): Add "-toggle" in the name.
19340 2015-10-16 Eli Zaretskii <eliz@gnu.org>
19342 Improve the doc string of 'completion-boundaries'
19344 * lisp/minibuffer.el (completion-boundaries): Rename the argument
19345 TABLE to COLLECTION, for consistency with other high-level
19346 completion functions. Document how COLLECTION is called if it
19347 is a function. (Bug#21644)
19349 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
19351 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
19353 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
19355 Make dired-do-compress work for *.zip files
19357 * lisp/dired-aux.el (dired-check-process): Transform the top-level
19358 comment into a docstring.
19359 (dired-shell-command): New command. This mirrors
19360 `dired-check-process', but is more user-friendly for passing
19362 (dired-compress-file-suffixes): Allow to specify the command switches
19363 along with input (%i) and output (%o) inside the PROGRAM part.
19364 Add an entry for *.zip files, and update the entry for *.tar.gz files
19365 to the new style. Update the docstring.
19366 (dired-compress-file): When PROGRAM matches %i or %o, use the new
19368 (dired-update-file-line): Avoid an error when at end of buffer.
19372 2015-10-16 Eli Zaretskii <eliz@gnu.org>
19374 Minor improvement in documentation of internals
19376 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
19378 2015-10-16 Eli Zaretskii <eliz@gnu.org>
19380 Improve documentation of COLLECTION in completion functions
19382 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
19383 cross-reference to "Programmed Completion".
19385 * src/minibuf.c (Fcompleting_read): Improve the doc string.
19388 2015-10-16 Eli Zaretskii <eliz@gnu.org>
19390 Add more release info to etc/HISTORY
19392 * etc/HISTORY: Add more release information about 19.x and 20.x
19395 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
19397 New file etc/HISTORY
19399 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
19400 * etc/HISTORY: New file.
19401 * etc/NEWS: Mention it.
19403 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
19405 js-mode: Don't misindent generator methods
19407 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
19408 generator methods from multiplication operator
19409 (https://github.com/mooz/js2-mode/issues/275).
19411 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
19413 Fix animation timeout delay calculation
19415 * lisp/image.el (image-animate-timeout):
19416 Don’t assume speed is floating-point.
19418 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
19420 Add commands for controlling MPD modes
19422 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
19423 (mpc-cmd-single): New functions.
19424 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
19425 (mpc-mode-menu): Add new commands as menu items.
19427 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
19429 Refer to `(elisp)Basic Completion' in completing-read docstring
19431 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
19432 Completion' in the docstring (bug#21644).
19434 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
19436 * lisp/mpc.el (mpc-format): Always push form to pred
19438 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
19442 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
19443 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
19444 Fix misspelling of nonexistent file name.
19446 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
19448 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
19450 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
19452 Some editing fixes in Tramp
19454 * lisp/net/tramp-gvfs.el:
19455 * doc/misc/tramp.texi: "customer option" -> "custom option".
19457 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
19459 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
19461 Use proper localization in tramp-gvfs.el
19463 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
19464 Suppress localized settings in order to proper parse gfvs output.
19466 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
19468 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19469 Quote argument in proper order. (Bug#21562)
19471 2015-10-14 Nicolas Petton <nicolas@petton.fr>
19473 Fix typos in docstrings
19475 * lisp/emacs-lisp/map.el:
19476 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
19479 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
19481 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
19483 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
19485 Make dired-jump work with tar-subfile-mode
19487 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
19488 emitting an error, switch to `tar-superior-buffer'.
19490 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
19492 * .gitignore: Add build-aux/ar-lib.
19494 2015-10-14 Nicolas Petton <nicolas@petton.fr>
19496 Better docstrings in seq.el and map.el
19498 * lisp/emacs-lisp/map.el:
19499 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
19501 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
19506 2015-10-13 binary-io, u64, unistd: port to strict C
19507 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
19508 2015-09-25 c-ctype: port better to z/OS EBCDIC
19509 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
19510 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
19511 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
19514 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
19518 * src/alloc.c (PURE_POINTER_P): Remove.
19519 All uses replaced with PURE_P.
19520 (XPNTR_OR_SYMBOL_OFFSET): New function.
19521 (XPNTR): Move here from lisp.h.
19522 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
19523 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
19524 Remove unnecessary cast.
19525 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
19526 to avoid an unnecessary runtime test for symbols.
19527 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
19528 Only alloc.c needs XPNTR now.
19530 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
19532 Add MPC play/pause command
19534 * lisp/mpc.el (mpc-toggle-play): New command.
19535 (mpc-mode-map): Bind it to "s".
19536 (mpc-mode-menu): Add corresponding menu item.
19538 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
19540 Add bindings and menu items for prev and next tracks
19542 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
19544 (mpc-mode-menu): Add corresponding menu items
19546 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
19548 Reduce face-related consing during frame creation.
19550 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
19551 attribute list once.
19552 (face-spec-reset-face): Use it instead of building the list.
19554 2015-10-13 Ken Raeburn <raeburn@permabit.com>
19556 Do process ConfigureNotify events indicating size changes.
19558 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
19559 events don't have the same size, process each one.
19561 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
19563 Derive mpc-mode from special-mode
19565 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
19566 (mpc-mode): Derive from special mode.
19567 (mpc-songs-mode-map): Don't set parent keymap.
19569 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
19571 Fix error messages for when covers are not found.
19573 The last change to mpc-format let the binding to file call
19574 mpc-file-local-copy with nil argument. Instead, employ if-let here
19575 so nil bindings don't result in needless computation and errors.
19576 * lisp/mpc.el: Require 'subr-x at compile time.
19577 * lisp/mpc.el (mpc-format): Use if-let.
19579 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
19581 Make dired-do-compress work for *.tar.gz files
19583 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
19584 "tar -zxvf" to *.tar.gz; update docstring.
19586 (dired-compress-file): Allow to specify switches after the command in
19587 `dired-compress-file-suffixes'.
19589 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
19591 Make dired-do-compress work for directories
19593 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
19594 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
19595 Also convert the top comment into a docstring.
19597 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19599 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
19601 ... since it might come straight from the memoizing table.
19603 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
19605 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
19607 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
19609 Use special-mode in eww list modes
19611 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
19612 (eww-buffers-mode): Derive from special-mode and remove redundant
19613 setting of buffer-read-only.
19614 (eww-mode-map): Remove redundant keymap parent setting.
19615 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
19616 Remove redundant keymap suppressions and mappings.
19618 2015-10-13 Martin Rudalics <rudalics@gmx.at>
19620 Allow setting frame pixel sizes from frame parameters (Bug#21415)
19622 Also fix some misfeatures in frame (re-)sizing code, add more
19623 debugging information and remove some dead code.
19625 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
19626 parameter names when setting `frame-size-history'.
19627 (frame--size-history): New function.
19629 * src/frame.c (frame_inhibit_resize): If frame has not been made
19630 yet, return t if inhibit_horizontal_resize or
19631 inhibit_vertical_resize bit have been set.
19632 (adjust_frame_size): Simplify.
19633 (make_frame): Initialize inhibit_horizontal_resize,
19634 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
19635 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
19636 inhibit_vertical_resize slots.
19637 (x_set_frame_parameters): Handle `text-pixels' specification for
19638 width and height parameters. Don't consider new_height or
19639 new_width changes. Call adjust_frame_size instead of
19641 (x_figure_window_size): Two new arguments x_width and y_width
19642 returning frame's figures width and height. Calculate tool bar
19643 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
19644 Handle `text-pixels' specification for width and height
19646 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
19647 (Qx_set_window_size_1, Qx_set_window_size_2)
19648 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
19649 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
19650 (Qfree_frame_menubar_2): New symbols.
19651 * src/frame.h (structure frame): New booleans
19652 tool_bar_redisplayed, tool_bar_resized,
19653 inhibit_horizontal_resize, inhibit_vertical_resize.
19654 (x_figure_window_size): Update external declaration.
19655 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
19656 calling gtk_window_resize.
19657 (update_frame_tool_bar): Make inhibiting of frame resizing more
19658 discriminative. Set tool_bar_resized bit.
19659 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
19660 resizing more discriminative. Call adjust_frame_size instead of
19662 (Fx_create_frame): Handle x_width and x_height if
19663 set by x_figure_window_size.
19664 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
19665 subtract 3 from tool bar height.
19666 (x_set_window_size): Add frame_size_history_add call.
19667 (x_new_font): Call adjust_frame_size instead of
19669 * src/w32fns.c (x_change_tool_bar_height): Reset
19670 tool_bar_redisplayed and tool_bar_resized bits when adding tool
19671 bar. Make inhibiting of frame resizing more discriminative.
19672 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
19673 (Fx_create_frame): Handle x_width and x_height if set by
19674 x_figure_window_size. Set size hints before adjusting frame size.
19675 (x_create_tip_frame): Adjust x_figure_window_size call.
19676 * src/w32term.c (x_set_window_size): Add frame_size_history_add
19678 * src/widget.c (set_frame_size): Remove dead code. Add
19679 frame_size_history_add call. When frame_resize_pixelwise is t
19680 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
19681 pixel_width and pixel_height.
19682 (update_various_frame_slots): Remove dead code.
19683 (EmacsFrameResize): Add more information in
19684 frame_size_history_add call.
19685 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
19687 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
19688 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
19689 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
19690 tool_bar_resized bits when adding tool bar. Make inhibiting of
19691 frame resizing more discriminative.
19692 (Fx_create_frame): Handle x_width and x_height if set by
19693 x_figure_window_size. Set size hints before adjusting frame size.
19694 (x_create_tip_frame): Adjust x_figure_window_size call.
19695 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
19696 (set_frame_menubar): On Lucid never add core-border-width to
19697 avoid that adding XtNinternalBorderWidth adds it again.
19698 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
19699 * src/xterm.c (x_new_font): In non-toolkit case handle size
19700 change of menu bar.
19701 (x_set_window_size_1): Fix calls to frame_size_history_add.
19702 (x_wm_set_size_hint): Remove dead code. Set
19703 size_hints.min_width and size_hints.min_height to base_width and
19706 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
19708 * test/automated/file-notify-tests.el (file-notify--test-timeout):
19709 Add docstring. Increase to 10 seconds for remote
19710 directories. (Bug#21669)
19712 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
19714 Unmacroize ebrowse.c and etags.c a bit
19716 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
19717 (streq, filename_eq, set_flag, has_flag): Now inline functions.
19718 (set_flag): First arg is now an address, not an lvalue.
19719 All callers changed.
19720 (filename_eq, set_flag, has_flag):
19721 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
19722 All callers changed.
19723 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
19724 Now inline functions. Remove asserts that are unnecessary these
19725 days (and in some cases were too-generous anyway).
19727 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
19729 Use highlight for current items
19731 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
19732 Apply highlight face instead of region face.
19734 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
19736 Search for more cover image names in MPC
19738 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
19741 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
19743 Remove or comment out unused variables
19745 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
19746 nontext_cursor, mode_cursor, hand_cursor and count.
19747 (x_change_tool_bar_height): Remove variable old_text_height.
19748 (deliver_wm_chars): Remove variable strip_Alt.
19749 (Fw32_shell_execute): Remove variable document_a.
19750 (Fw32_frame_geometry): Remove variable fullboth.
19751 * src/w32term.c (w32_setup_relief_color): Comment out variable
19753 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
19754 (w32_read_socket): Comment out variables rows, columns.
19755 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
19757 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
19759 * src/w32proc.c (sys_select): Fix bitwise test.
19761 2015-10-12 Eli Zaretskii <eliz@gnu.org>
19763 Minor typo corrections in doc strings
19765 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
19768 2015-10-12 Eli Zaretskii <eliz@gnu.org>
19770 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
19772 2015-10-12 Eli Zaretskii <eliz@gnu.org>
19774 Attempt to avoid crashes in plist-member
19776 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
19777 and a call to XCDR. (Bug#21655)
19779 2015-10-12 Mike FABIAN <mfabian@redhat.com>
19781 * lisp/select.el (gui-get-primary-selection): In
19782 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
19784 2015-10-12 Tassilo Horn <tsdh@gnu.org>
19786 Support RTF in doc-view
19788 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
19790 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
19792 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
19794 2015-10-11 Nicolas Petton <nicolas@petton.fr>
19796 Replace the usage of an obsolete function in auth-source.el
19798 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
19799 Replace an usage of `epg-context-set-armor' with `setf'.
19801 2015-10-11 Nicolas Petton <nicolas@petton.fr>
19803 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
19805 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
19807 Have calc-yank recognize numbers in different bases.
19809 * lisp/calc/calc-yank.el (math-number-regexp): New function.
19810 (calc-yank): Use `math-number-regexp' to recognize numbers.
19812 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
19814 Handle an opaque-move X11 window manager operation more efficiently
19816 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
19817 followed by more ConfigureNotify events for the same window, process
19820 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
19822 Fix cursor setting for tip frame; re-enable cursor generation
19824 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
19825 attributes sent when creating the new X window. Don't skip setting
19826 the pointerColor parameter.
19828 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
19830 Rewrite x_set_mouse_color to sync less
19832 We can track serial numbers of X requests and correlate error events
19833 with the associated requests. This way we can identify errors for
19834 specific calls without having to use XSync after every one.
19836 * src/xfns.c (enum mouse_cursor): New type.
19837 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
19838 (mouse_cursor_types): New array listing the Lisp variables and default
19839 cursor appearances for each cursor type.
19840 (x_set_mouse_color_handler): New function; checks error event serial
19841 number against submitted requests.
19842 (x_set_mouse_color): Updated to use the new error handler callback,
19843 and to be more table-driven, to simplify repetitious code.
19845 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
19847 Add x_catch_errors_with_handler
19849 * src/xterm.c (struct x_error_message_stack): Add new fields for a
19850 callback function and associated data pointer.
19851 (x_error_catcher): If the callback function is set, call it after
19852 saving the error message string.
19853 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
19854 accepts a callback function and data pointer.
19855 (x_catch_errors): Now a wrapper function.
19856 * src/xterm.h (x_special_error_handler): New typedef.
19857 (x_catch_errors_with_handler): Declare.
19859 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
19861 Introduce x_uncatch_errors_after_check to reduce XSync calls
19863 Both x_had_errors_p and x_check_errors call XSync, so if they're
19864 immediately followed by x_uncatch_errors, its XSync call will be
19865 redundant, resulting in a wasted round trip to the X server.
19867 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
19868 x_uncatch_errors without the XSync call.
19869 (XTmouse_position, x_wm_supports):
19870 * src/xfns.c (x_set_mouse_color):
19871 * src/xmenu.c (Fx_menu_bar_open_internal):
19872 * src/xselect.c (x_own_selection, x_get_foreign_selection):
19873 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
19874 * src/xterm.h (x_uncatch_errors_after_check): Declare.
19876 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
19878 Document the optional prefix to `calc-yank'
19880 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
19881 prefix to `calc-yank'.
19882 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
19883 the Calc buffer are yanked back unchanged.
19885 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
19887 * lisp/calendar/calendar.el: Display buffer before executing body.
19889 In each use of this macro, the modeline is derived from a window width
19890 calculation, which will be wrong if (display-buffer) splits the window
19893 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
19895 Use ‘echo’ safely with ‘\’ or leading ‘-’
19897 POSIX says that ‘echo FOO’ produces implementation-defined output
19898 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
19899 behavior in that case.
19900 * Makefile.in (removenullpaths): Remove.
19901 (epaths-force): Rewrite to avoid the need for ‘echo’.
19902 (install-etc): Be clearer about escaping the shell metacharacters
19904 * Makefile.in (install-arch-indep, install-etcdoc):
19905 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
19906 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
19907 * configure.ac, lib-src/rcs2log, make-dist:
19908 * src/Makefile.in (lisp.mk):
19909 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
19910 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
19911 if $foo can contain arbitrary characters.
19912 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
19913 * doc/lispref/two-volume.make (vol1.pdf):
19914 * test/etags/make-src/Makefile (web ftp publish):
19915 Use ‘printf’ rather than ‘echo -e’.
19917 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
19919 Allow numbers with different radixes to be yanked.
19921 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
19924 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
19926 Improve CHECK_IMPURE and PURE_P speedup
19928 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
19930 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
19932 Use events instead of chars to keep track of steps.
19934 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
19935 to keep track of steps.
19937 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
19939 Fix --enable-gcc-warnings problem with older GCC
19941 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
19942 This is for building with --enable-gcc-warnings with
19943 GCC 4.6 through 5.0.
19945 2015-10-10 Eli Zaretskii <eliz@gnu.org>
19947 Fix vertical-motion in truncated lines that end in a stretch
19949 * src/indent.c (Fvertical_motion): Expect overshoot when point is
19950 beyond window margin and lines are truncated, even if we have a
19951 stretch at point. (Bug#21468)
19953 2015-10-10 Eli Zaretskii <eliz@gnu.org>
19955 Avoid link-time errors due to inline functions
19957 * src/emacs.c: Include puresize.h, to avoid link-time errors in
19958 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
19961 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
19963 * src/data.c (Faset): Fix last change.
19965 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
19967 CHECK_IMPURE and PURE_P speedup
19969 * src/intervals.c (create_root_interval):
19970 Do CHECK_IMPURE only for strings; not needed for buffers.
19971 Prefer ! STRINGP to BUFFERP, for a tad more speed.
19972 * src/puresize.h (CHECK_IMPURE, PURE_P):
19973 Now inline functions instead of macros.
19974 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
19975 All callers changed.
19976 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
19977 All callers changed.
19979 2015-10-09 Noah Friedman <friedman@splode.com>
19981 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
19983 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
19985 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
19987 our after-change-function, rather than re-adding it if it was removed.
19989 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
19991 * lisp/cedet/ede: Silence some compiler warnings
19993 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
19994 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
19995 (ede-apply-object-keymap, ede-reset-all-buffers)
19996 (ede-auto-add-to-target): Use dolist.
19997 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
19998 Use field names rather than initarg names in `oref'.
19999 (ede-load-project-file): Remove unused var `file'.
20000 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
20001 (ede-set): Remove unused var `a'.
20003 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
20004 (ede-project-autoload): Avoid the old-style "name" argument.
20005 (ede-emacs-find-matching-target): Use field names rather than initarg
20008 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
20009 (ede-linux-load, ede-project-autoload): Avoid the old-style
20011 (ede-linux-find-matching-target): Use field names rather than initarg
20014 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
20016 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
20018 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
20020 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
20021 indenting too far after ":-".
20023 2015-10-09 Eli Zaretskii <eliz@gnu.org>
20025 Update case-table and categories of recently added characters
20027 * lisp/international/characters.el: Update information about Latin
20028 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
20029 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
20030 blocks. (Byug#21654)
20032 2015-10-09 Martin Rudalics <rudalics@gmx.at>
20034 * src/frame.c (adjust_frame_size): In minibuffer-only windows
20035 don't count minibuffer height twice. (Bug#21643)
20037 2015-10-09 Eli Zaretskii <eliz@gnu.org>
20039 Avoid inflooping in font-lock
20041 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
20042 inhibit-field-text-motion around the call to
20043 line-beginning-position, to avoid inflooping. (Bug#21615)
20045 2015-10-09 Tassilo Horn <tsdh@gnu.org>
20047 Refactor duplicated code; ensure default is in completions
20049 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
20051 (reftex-extract-bib-entries): Use it.
20052 (reftex-extract-bib-entries-from-thebibliography): Use it.
20054 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
20056 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
20059 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * lisp/calc/calc.el: Silence byte-compiler warnings.
20062 (calc-scan-for-dels): Use ignore-errors.
20063 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
20064 (calc-read-key-sequence): Remove unused var `prompt2'.
20065 (calc-kill-stack-buffer): Remove unused var `buflist'.
20066 (calc): Remove unused var `oldbuf'.
20067 (calc-refresh): Use inhibit-read-only.
20068 (calc-can-abbrev-vectors): Declare.
20069 (calc-record): Remove unused var `mainbuf'.
20070 (math-sub-bignum): Remove unused var `sum'.
20071 (math-svo-c, math-svo-wid, math-svo-off): Declare.
20073 2015-10-08 Daiki Ueno <ueno@gnu.org>
20075 Use g_clear_error instead of g_error_free
20077 * src/image.c: Define g_clear_error instead of g_error_free.
20078 (init_svg_functions): Resolve symbol g_clear_error instead of
20080 (svg_load_image): Use g_clear_error instead of g_error_free, to
20081 suppress GLib warnings when ERR is not set. See bug#21641.
20083 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
20085 * src/image.c (image_size_error): Simplify.
20087 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
20089 Fix problems caught with --enable-gcc-warnings
20091 * src/image.c (lookup_rgb_color):
20092 * src/xfns.c (x_defined_color):
20093 * src/xterm.c (x_parse_color):
20094 Remove unused locals.
20096 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
20098 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
20100 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
20102 Format initial input uniformly
20104 * lisp/calc/calc.el (calc-digit-start-entry): New function.
20105 * lisp/calc/calc.el (calcDigit-start):
20106 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
20107 Use `calc-digit-start-entry' to format input.
20109 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
20111 Disable non-working pointerColor setting for X tooltip frame
20113 It generates a bunch of server traffic, but there's some bug wherein
20114 the new mouse cursor settings don't seem to get used. In most
20115 situations the cursor isn't likely to be seen anyway, so it's not
20118 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
20120 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
20122 Reduce some unnecessary X calls
20124 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
20125 call. If border width is wanted, get it from the XGetGeometry call
20126 instead of calling XGetWindowAttributes on the same window. Skip some
20127 X calls if we've already detected an error from the X server.
20128 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
20129 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
20131 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
20133 Reduce color allocation/query traffic in the TrueColor case
20135 When working with an X visual with TrueColor class, pixel values can
20136 be generated from the RGB values according to mask value provided by
20137 the server on connection. Some of the image-handling code was already
20140 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
20142 (x_mutable_colormap): New function.
20143 * src/image.c (lookup_rgb_color): Move pixel composition code to
20144 x_make_truecolor_pixel.
20145 (x_kill_gs_process): Call x_mutable_colormap.
20146 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
20147 x_mutable_colormap.
20148 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
20149 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
20150 pixel value into RGB values directly, and don't send a request to the
20152 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
20153 value with x_make_truecolor_pixel.
20154 (x_copy_color): For an immutable color map, just return the provided
20157 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
20159 Cache XParseColor results in the X display info structure
20161 With repeated lookups of foreground and background colors for multiple
20162 faces per frame, we issue a lot of redundant color name lookups to the
20163 X server, waiting every time for the response. On a remote network
20164 with, say, 30ms round-trip time, this can add nearly a full second to
20165 creation of a new frame.
20167 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
20168 * src/image.c (get_spec_bg_or_alpha_as_argb):
20169 (xpm_init_color_cache, xpm_lookup_color):
20170 * src/xfns.c (x_defined_color):
20171 * src/xterm.c (x_parse_color): New function; caches color names not
20172 starting with "#" in the display-info structure.
20173 (x_delete_display): Delete the cache content.
20174 * src/xterm.h (struct color_name_cache_entry): New type.
20175 (x_parse_color): Declare.
20176 (struct x_display_info): Add a new field for the cache.
20178 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
20180 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
20182 2015-10-07 Eli Zaretskii <eliz@gnu.org>
20184 Fix segfault in image_size_error
20186 * src/image.c (image_size_error): Pass a Lisp string to
20187 image_error, not a C string. (Bug#21641)
20189 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
20191 Highlight CSS variable definitions
20193 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
20194 CSS variables. (Bug#21638)
20196 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
20198 * test/automated/tabulated-list-test.el: New file.
20199 Test bug#21639 and some basic functionality.
20201 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
20203 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
20204 Check if column can be sorted before trying. (Bug#21639)
20206 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
20208 Add test for `self-insert-command' (bug#21633)
20210 * test/automated/cmds-tests.el: New file.
20212 2015-10-07 Martin Rudalics <rudalics@gmx.at>
20214 * src/window.c (resize_frame_windows): Don't set root window's
20215 top position when resizing horizontally.
20217 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
20219 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
20220 Document more possible values.
20222 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
20224 * lisp/textmodes/tex-mode.el: Use lexical-binding.
20226 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
20228 * lisp/indent.el (indent--default-inside-comment): New function.
20229 (indent-for-tab-command): Use it for `noindent' indentation.
20231 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
20233 Fix bug in GC_CHECK_MARKED_OBJECTS check
20235 * src/alloc.c (mark_object): Fix bug in checking code.
20236 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
20237 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
20238 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
20239 bucket. The bug did not affect behavior either in the normal case
20240 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
20241 not have an internal error that a properly-written
20242 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
20244 2015-10-06 Tassilo Horn <tsdh@gnu.org>
20246 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
20247 Add prettified version for \\Bbb{Q}.
20249 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
20251 * test/automated/package-test.el (package-test-install-single):
20252 Add a test for bug#21625.
20254 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
20256 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
20257 not a package-desc object. Also clarify documentation. (Bug#21625)
20259 2015-10-06 Eli Zaretskii <eliz@gnu.org>
20261 Fix display of characters adjacent to ZWJ and ZWNJ
20263 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
20264 characters the same as directional formatting controls.
20265 (bidi_level_of_next_char): Include all Bn characters in rule L1,
20266 as mandated by the UBA.
20268 2015-10-06 Andreas Schwab <schwab@suse.de>
20270 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
20271 number. (Bug#21633)
20273 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
20275 * doc/lispref/objects.texi (Window Type): Add a cross reference.
20277 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
20279 2015-10-05 Eli Zaretskii <eliz@gnu.org>
20281 * lisp/language/misc-lang.el (composition-function-table):
20282 Fix entries for Arabic and Syriac.
20284 2015-10-05 Damien Cassou <damien@cassou.me>
20286 Add first unit tests for auth-source.el
20288 * test/automated/auth-source-tests.el: New file.
20290 2015-10-05 Eli Zaretskii <eliz@gnu.org>
20292 Remove redundant redisplay code
20294 * src/xdisp.c (redisplay_internal, try_cursor_movement)
20295 (try_window_reusing_current_matrix, try_window_id): Remove
20296 redundant restrictions on redisplay optimizations based on the
20297 frame's 'redisplay' flag. See
20298 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
20301 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
20303 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
20305 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
20307 Update tutorials/TUTORIAL.cn
20309 * etc/tutorials/TUTORIAL.cn: Improve translation.
20311 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20313 * src/macfont.m (macfont_encode_char, syms_of_macfont):
20314 Remove unused vars.
20316 2015-10-04 Stefan Merten <stefan@merten-home.de>
20318 Pull in version numbers from rst.el upstream release.
20320 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
20321 (rst-svn-timestamp, rst-official-version)
20322 (rst-official-cvs-rev, rst-package-emacs-version-alist):
20323 Update version numbers.
20325 2015-10-04 Eli Zaretskii <eliz@gnu.org>
20327 * test/automated/coding-tests.el: New file.
20329 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
20331 Improve XEmacs compatibility of Tramp
20333 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
20334 Declare if it doesn't exist.
20335 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
20336 (redisplay): Make it an alias if it doesn't exist.
20338 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
20339 `file-remote-p' (due to XEmacs compatibility).
20341 * lisp/net/trampver.el (locate-dominating-file)
20342 (tramp-compat-replace-regexp-in-string): Autoload.
20343 (tramp-repository-get-version): Do not dupe byte-compiler.
20345 2015-09-02 K. Handa <handa@gnu.org>
20347 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
20349 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
20350 Adjusted for the change of type of elements in the array
20351 MFLTGlyphString.glyphs.
20353 2015-10-04 Eli Zaretskii <eliz@gnu.org>
20354 Michael Heerdegen <michael_heerdegen@web.de>
20356 shr: fix too long lines in rendered buffers (Bug#21012)
20358 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
20359 Correct calculation of available width.
20360 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
20363 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
20365 Restore blank line before next section, erroneously erased
20366 in my previous commit
20368 * etc/compilation.txt (symbol ant): Add an additional trailing blank
20369 line to this section, so that there are two of them immediately before
20372 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
20374 Support MSW filename style for ant compilation error regexp
20376 * etc/compilation.txt (symbol ant):
20377 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
20378 Support MSW filename style.
20380 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
20382 * nt/INSTALL: Minor spelling and quote fixes.
20384 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
20386 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
20388 Maintain ordering of JSON object keys by default
20390 * lisp/json.el (json-object-type): Mention order handling in doc-string.
20391 (json--plist-reverse): New utility function.
20392 (json-read-object): Maintain ordering for alists and plists.
20393 (json-pretty-print): Ensure that ordering is maintained.
20395 * test/automated/json-tests.el (test-json-plist-reverse): New test for
20396 `json--plist-reverse'.
20397 (json-read-simple-alist): Update test to accommodate for changes in
20398 `json-read-object'.
20400 * etc/NEWS: Document the new behavior of the pretty printing functions.
20402 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
20404 * src/coding.c (complement_process_encoding_system): Revert last change.
20406 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
20408 * admin/MAINTAINERS: Add entry for Ulf Jasper.
20410 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
20412 Doc fix for `defmacro'
20414 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
20416 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
20418 More validatation of coding systems
20420 * src/fileio.c (Finsert_file_contents): Remove redundant
20421 coding-system check.
20422 (choose_write_coding_system): Likewise.
20423 * src/coding.c (complement_process_encoding_system): Check argument
20424 for valid coding system.
20426 2015-10-03 Eli Zaretskii <eliz@gnu.org>
20428 Avoid crashes in coding_inherit_eol_type
20430 * src/coding.c (coding_inherit_eol_type): Check the validity of
20431 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
20434 2015-10-03 Eli Zaretskii <eliz@gnu.org>
20436 More validatation of coding system in 'write-region'
20438 * src/coding.c (choose_write_coding_system): More validation of
20439 coding-system from various sources. Suggested by Andreas Schwab
20440 <schwab@linux-m68k.org>. (Bug#21602)
20442 2015-10-03 Eli Zaretskii <eliz@gnu.org>
20444 Avoid crashes due to invalid coding-system
20446 * src/fileio.c (choose_write_coding_system)
20447 (Finsert_file_contents): Check validity of coding-system-for-write
20448 and coding-system-for-read bound by the caller. (Bug#21602)
20450 2015-10-03 Tassilo Horn <tsdh@gnu.org>
20452 Adapt to new prettify-symbols-unprettify-at-point default
20454 * etc/NEWS: Mention that unprettication of symbol at point is off
20457 2015-10-03 Tassilo Horn <tsdh@gnu.org>
20459 Revert my two recent process.c changes
20461 Revert "Improve last commit to process.c" and "Remove callback-handled
20462 channels from Available set" because they did not fix bug#21313.
20464 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
20465 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
20467 2015-10-02 Markus Triska <triska@metalevel.at>
20469 * lisp/progmodes/prolog.el: Update and extend operator table.
20470 (prolog-smie-grammar): Add multifile, public etc.
20472 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
20474 Allow autogen even when Git is not installed
20476 * autogen.sh: Test ‘git status’ before trying to use Git.
20478 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20480 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
20481 Adjust lto/lfrom when we have uncommitted changes.
20483 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
20485 Fix problems found by clang 3.5.0
20487 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
20488 * src/font.c (font_parse_family_registry):
20489 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
20491 2015-10-02 Eli Zaretskii <eliz@gnu.org>
20493 * nt/INSTALL: Update instructions for running autogen.sh.
20495 * nt/INSTALL: Point to ezwinports for libXpm binaries.
20497 2015-10-02 Daniel Colascione <dancol@dancol.org>
20499 Fix winner in cl-lib not loaded case
20501 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
20502 without requiring CL
20504 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
20506 Fix a few problems with directed quotes
20508 This is in response to a problem report by Kaushal Modi in:
20509 http://bugs.gnu.org/21588#25
20510 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20511 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
20512 * lisp/info-xref.el (info-xref-check-all-custom):
20513 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
20514 Prefer directed to undirected single quotes in diagnostics.
20516 2015-10-01 Eli Zaretskii <eliz@gnu.org>
20518 Revert "Attempt to fix slow redisplay caused by last changes"
20520 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
20521 (try_cursor_movement): Don't relax requirements for redisplay
20522 optimizations for the selected frame. (Bug#21597)
20524 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
20526 2015-10-01 Eli Zaretskii <eliz@gnu.org>
20528 Fix slow redisplay when daemon frame exists
20530 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
20531 when looking for frames that need to be redisplayed. (Bug#21597)
20533 2015-10-01 Eli Zaretskii <eliz@gnu.org>
20535 Attempt to fix slow redisplay caused by last changes
20537 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
20538 (try_cursor_movement): Relax requirements for redisplay
20539 optimizations for the selected frame. (Bug#21597)
20541 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
20543 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
20544 Improve doc string.
20546 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
20548 * lisp/minibuffer.el (minibuffer-completion-help):
20549 Set default base-size, in case completion table does not set it.
20551 2015-10-01 Eli Zaretskii <eliz@gnu.org>
20553 Fix GUD display of GDB output with non-ASCII text
20555 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
20556 (gdb-mi-decode): New function.
20557 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
20558 decode octal escapes in GDB output. (Bug#21572)
20560 2015-10-01 Eli Zaretskii <eliz@gnu.org>
20562 * nt/INSTALL: Document where to find XPM support files.
20564 2015-10-01 Tassilo Horn <tsdh@gnu.org>
20566 Un- and re-prettification are not exclusive
20568 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
20569 Re-apply prettification to previous symbol also when unprettifying
20572 2015-10-01 Tassilo Horn <tsdh@gnu.org>
20574 Don't unprettify symbol at point by default
20576 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
20577 Default to disabled (nil).
20579 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
20581 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
20582 Support unprettifying when point is after a symbol.
20584 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
20586 2015-09-30 Eli Zaretskii <eliz@gnu.org>
20588 Avoid assertion violations in push_prefix_prop
20590 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
20591 a line that has a line-prefix defined starts with an image. (Bug#21428)
20593 2015-09-30 Eli Zaretskii <eliz@gnu.org>
20595 Disable some display optimizations when frames need redisplay
20597 These optimizations were previously disabled by the
20598 windows_or_buffers_changed flag, which now is not set
20599 when only some frames need to be redrawn.
20600 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
20601 'redisplay' flag is set.
20602 (try_window_reusing_current_matrix, try_window_id)
20603 (try_cursor_movement): Disable these optimizations when the
20604 frame's 'redisplay' flag is set.
20606 2015-09-30 Tassilo Horn <tsdh@gnu.org>
20608 Don't modify buffer by unprettification
20610 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
20611 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
20612 modify buffer when setting/removing custom prettify-symbols-start/end
20613 text properties. Add them to font-lock-extra-managed-props, too.
20615 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
20617 Try to avoid redisplaying all frames when creating a new one
20619 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
20620 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
20621 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
20622 * src/frame.c (x_set_screen_gamma): Set the specific frame's
20623 `redisplay' bit rather than windows_or_buffers_changed.
20625 * src/window.c (apply_window_adjustment): Remove redundant setting of
20626 windows_or_buffers_changed.
20628 * src/xdisp.c (redisplay_internal): Set the specific frame's
20629 `redisplay' bit rather than update_mode_lines in response to
20630 cursor_type_changed.
20631 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
20632 (AINC): Adjust accordingly.
20634 2015-09-30 Tassilo Horn <tsdh@gnu.org>
20636 Implement unprettification of symbol at point
20638 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
20640 (prettify-symbols--current-symbol-bounds): New variable.
20641 (prettify-symbols--post-command-hook): New function.
20642 (prettify-symbols-unprettify-at-point): New defcustom.
20643 (prettify-symbols-mode): Use it.
20644 (prettify-symbols--compose-symbol): Use them.
20646 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20648 * src/macfont.m (mac_font_descriptor_supports_languages):
20649 Regard "zh" as synonym of "zh-Hans".
20651 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20653 Work around crash when displaying etc/HELLO on OS X 10.11
20655 * src/macfont.m (mac_font_get_weight)
20656 (mac_font_descriptor_get_adjusted_weight): New functions.
20657 (macfont_store_descriptor_attributes): Adjust weight.
20659 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20661 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
20663 2015-09-30 Nicolas Petton <nicolas@petton.fr>
20665 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
20668 2015-09-30 Nicolas Petton <nicolas@petton.fr>
20670 Use unar and lsar to handle RAR archives in arc-mode
20672 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
20673 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
20675 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
20677 Clarify :create in auth-source's docs
20679 * lisp/gnus/auth-source.el (auth-source-search):
20680 Clarify :create's meaning.
20682 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
20684 Avoid empty -path arguments in rgrep
20686 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
20687 the list produced according to grep-find-ignored-directories,
20688 before passing it to Find/Grep invocation. (Bug#21548)
20690 2015-09-30 Eli Zaretskii <eliz@gnu.org>
20692 Clarify documentation of pos-visible-in-window-p
20694 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
20696 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
20697 for the original report.
20699 * doc/lispref/windows.texi (Window Start and End): Clarify the
20700 meaning of t for the POSITION argument of pos-visible-in-window-p.
20702 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
20704 * lisp/progmodes/prolog.el: Fix various indentation cases.
20705 (prolog-operator-chars): New const (add \\).
20706 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
20707 (prolog-smie-rules): Add rules according to bug#21526.
20709 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
20711 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
20712 (sh-indent-after-continuation): Add new value `always' (bug#17620)
20713 (sh-smie-sh-rules): Remove old handling of continued lines.
20714 (sh-smie--indent-continuation): New function.
20715 (sh-set-shell): Use it.
20717 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
20719 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
20720 Remove redundant :group keyword args.
20721 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
20723 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
20724 turn them into compile-time variables.
20725 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
20726 Add rules for break, continue, return, global, and persistent.
20727 Refine the rule for "until".
20728 (octave-smie--funcall-p, octave-smie--end-index-p)
20729 (octave-smie--in-parens-p): New functions.
20730 (octave-smie-backward-token, octave-smie-forward-token): Use them to
20731 distinguish the "enumeration" function and the "end" index from
20732 their corresponding keywords.
20733 (octave--block-offset-keywords): New constant.
20734 (octave-smie-rules): Use it. Adjust rules for new global/persistent
20736 (octave-reserved-words): Redefine using octave-smie-grammar.
20737 (octave-font-lock-keywords): Use octave-smie--funcall-p and
20738 octave-smie--end-index-p.
20740 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
20742 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
20744 2015-09-29 Eli Zaretskii <eliz@gnu.org>
20746 * nt/INSTALL: Remove references to GTK site.
20747 That site no longer offers Windows downloads.
20749 2015-09-29 Eli Zaretskii <eliz@gnu.org>
20751 * nt/INSTALL: Add instructions for installing Git.
20753 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
20755 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
20756 use colors. Suggested by Eli Zaretskii.
20758 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
20760 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
20761 not supporting 256 above colors (bug#21557).
20763 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
20765 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
20767 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
20769 2015-09-28 Nicolas Petton <nicolas@petton.fr>
20771 Add documentation for seq.el
20773 * doc/lispref/sequences.texi: Add documentation regarding extending
20774 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
20775 seq-do and seq-map.
20777 2015-09-28 Nicolas Petton <nicolas@petton.fr>
20779 Better documentation for seq-some
20781 * doc/lispref/sequences.texi:
20782 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
20783 guarantee that the returned value is the first non-nil value that
20784 resulted from applying the predicate.
20786 2015-09-28 Nicolas Petton <nicolas@petton.fr>
20788 * lisp/arc-mode.el: Sharp-quote function arguments.
20790 2015-09-28 Eli Zaretskii <eliz@gnu.org>
20792 Avoid redisplay error in ediff-regions-wordwise
20794 * lisp/vc/ediff-util.el
20795 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
20796 set before activating it. (Bug#21567)
20798 2015-09-28 Eli Zaretskii <eliz@gnu.org>
20800 Another attempt to fix crashes due to prematurely freed faces
20802 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
20803 faces for as long as we might have desired matrices that reference
20804 those faces. (Bug#21428)
20806 2015-09-28 Tassilo Horn <tsdh@gnu.org>
20808 Add auctex development list email address
20810 2015-09-28 Tassilo Horn <tsdh@gnu.org>
20812 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
20814 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
20816 Improve wrapfig package support and caption parsing
20818 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
20819 Correct description string and add wraptable environment.
20820 (reftex-default-context-regexps): Improve caption regexp.
20822 2015-09-28 Anders Lindgren <andlind@gmail.com>
20824 Respect value of frame_resize_pixelwise when handling fullscreen state
20826 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
20827 setting size increments.
20829 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
20831 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
20833 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
20835 Add prettify-symbols-alist for js-mode
20837 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
20840 2015-09-27 Eli Zaretskii <eliz@gnu.org>
20842 * nt/subdirs.el: File deleted (no longer used).
20844 2015-09-26 Alan Mackenzie <acm@muc.de>
20846 Fix follow-scroll-up/down, making them replacements for scroll-up/down
20848 1. Allow point to move between follow windows in scroll operations.
20849 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
20850 when EOB was isolated in the last follow window.
20852 * lisp/follow.el (follow-fixed-window): New variable.
20853 (follow-get-scrolled-point): New function.
20854 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
20855 Reformulate the code. Put `scroll-command' properties on the functions.
20856 Correct minor errors in ...-down's doc string and code.
20857 (follow-calc-win-end): Amend incomplete doc string. Use
20858 `pos-visible-in-window-p' to check whether EOB is in the window.
20859 (follow-estimate-first-window-start): Correct an off-by-1 error.
20860 (follow-adjust-window): Add handling for explicit scrolling operations.
20862 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
20864 * admin/MAINTAINERS: Add self, plus list some more files
20867 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
20869 New DWIM commands for changing letter-case
20871 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
20872 New functions. (Bug#21501)
20874 2015-09-26 Eli Zaretskii <eliz@gnu.org>
20876 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
20878 2015-09-26 Eli Zaretskii <eliz@gnu.org>
20880 Make face realization be more frame-specific
20882 * src/frame.h (struct f): New flag face_change.
20883 * src/xfaces.c (Finternal_make_lisp_face)
20884 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
20885 (update_face_from_frame_parameter): Set the face_change flag only
20886 for the frame whose faces are affected.
20887 * src/xdisp.c (init_iterator): If a frame's face_change flag is
20888 set, free faces only on that frame.
20889 (redisplay_internal): Disable "display optimization 1" if the
20890 frame's face_change flag is set.
20891 (redisplay_window): Don't allow skipping a window's redisplay if
20892 its frame's face_change flag is set.
20893 * src/frame.c (x_set_screen_gamma): Instead of calling
20894 Fclear_face_cache, call clear_face_cache and set
20895 windows_or_buffers_changed to a non-zero value. This avoids
20896 setting the global face_change flag that triggers face realization
20897 on all frames and thorough redisplay of all of them.
20899 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
20900 clear face cache if the selected frame is a GUI frame.
20902 2015-09-26 Tassilo Horn <tsdh@gnu.org>
20904 Remove font-latex specific check
20906 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
20907 Use syntax-ppss data to identify verbatim contents.
20909 2015-09-25 Tassilo Horn <tsdh@gnu.org>
20911 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
20912 Fix some false negatives.
20914 2015-09-25 Eli Zaretskii <eliz@gnu.org>
20916 Reorder Windows version in Emacs manifests
20918 * nt/emacs-x64.manifest:
20919 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
20922 2015-09-25 Eli Zaretskii <eliz@gnu.org>
20924 Update Emacs manifest files for Windows 10
20926 * nt/emacs-x86.manifest:
20927 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
20929 2015-09-25 Eli Zaretskii <eliz@gnu.org>
20931 Avoid non-ASCII decoding errors in C src files
20936 * src/doprnt.c: Add 'coding' cookies -- these files include
20937 Unicode characters and should be decoded as UTF-8.
20939 2015-09-25 Alan Mackenzie <acm@muc.de>
20941 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
20943 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
20944 amend to match current modes and functions.
20945 (edebug-set-initial-mode): Uncomment and change from setting a defun's
20946 `edebug-initial-mode''s property to setting the variable
20947 `edebug-initial-mode'.
20948 (top level): Create new binding C-x C-a C-m for
20949 `edebug-set-initial-mode'.
20951 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
20952 `edebug-set-initial-mode' and its new key binding.
20953 (Edebug Options): Mention the new command in the pertinent place.
20955 * etc/NEWS: Write entry for this change.
20957 2015-09-25 Eli Zaretskii <eliz@gnu.org>
20959 Avoid non-ASCII decoding errors in Texinfo files
20961 * doc/misc/tramp.texi:
20962 * doc/lispref/strings.texi:
20963 * doc/lispref/positions.texi:
20964 * doc/lispref/help.texi:
20965 * doc/lispref/functions.texi:
20966 * doc/lispintro/emacs-lisp-intro.texi:
20967 * doc/emacs/text.texi:
20968 * doc/emacs/modes.texi:
20969 * doc/emacs/mini.texi:
20970 * doc/emacs/display.texi:
20971 * doc/emacs/custom.texi:
20972 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
20973 Unicode characters and should be decoded as UTF-8.
20974 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
20975 apostrophe unnecessarily.
20977 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
20982 2015-09-25 c-ctype: rewrite to use inline functions
20983 2015-09-24 maint: add coding cookies to non-ASCII sources
20984 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
20985 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
20986 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
20987 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
20988 * lib/set-permissions.c:
20991 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
20993 Update publicsuffix.txt from upstream
20995 * etc/publicsuffix.txt: Update from
20996 https://publicsuffix.org/list/effective_tld_names.dat
20997 dated 2015-09-24 17:29:21 UTC.
20999 2015-09-24 Eli Zaretskii <eliz@gnu.org>
21001 Prevent timers from messing up TTY menus
21003 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
21004 the TTY menu is open. (Bug#21530)
21006 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
21008 No need to mention K&R C in c-mode intro
21010 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
21012 Fix recent bootstrap problems
21014 * src/syntax.c (parse_sexp_propertize): Fix last fix.
21015 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
21016 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
21018 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
21020 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
21022 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
21024 Properly quote nested xml comments (Bug#6267) (Bug#20001)
21026 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
21027 (nxml-mode): Set comment-quote-nested-function.
21029 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
21031 Allow major-modes full control over quoting nested comments
21033 * lisp/newcomment.el (comment-quote-nested-function): New variable.
21034 (comment-quote-nested-default): New function.
21035 (comment-quote-nested): Use `comment-quote-nested-function'.
21037 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
21039 Prefer CALLN in a few more places
21041 * src/macfont.m (macfont_set_family_cache):
21042 * src/nsterm.m (append2):
21043 * src/xterm.c (x_cr_export_frames):
21044 Prefer CALLN to allocating the arg arrays by hand.
21046 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
21048 Adapt file-notify-test02-events test case
21050 * test/automated/file-notify-tests.el (file-notify-test02-events):
21051 Create a new watch for every test.
21053 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
21055 Continue gfilenotify.c implementation of missing parts
21057 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
21058 `gfile-add-watch' call.
21059 (file-notify-rm-watch): Modify `file-notify-descriptors' only
21060 after calling the low level functions.
21062 * src/gfilenotify.c (dir_monitor_callback): Check, whether
21063 event_type is expected.
21064 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
21065 (Fgfile_rm_watch): Fix typo.
21066 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
21068 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21070 * src/syntax.c (parse_sexp_propertize): Handle spurious
21071 e_property_truncated flag.
21072 (update_syntax_table_forward): Remove invalid assertion.
21074 2015-09-23 Eli Zaretskii <eliz@gnu.org>
21076 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
21077 space display spec on text-mode terminals, by calling
21078 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
21079 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
21080 test for a GUI frame.
21082 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
21084 Move let-when-compile to lisp-mode.el
21086 This fixes the bootstrapping problem of `let-when-compile' using
21087 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
21089 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
21091 * lisp/url/url-http.el (url-http-parse-headers): Do not
21092 automatically include Authorization header in redirect.
21095 2015-09-22 Eli Zaretskii <eliz@gnu.org>
21097 Clarify documentation of ':relative-width'
21099 * doc/lispref/display.texi (Specified Space): Document that
21100 ':relative-width' is only supported on GUI frames.
21102 2015-09-22 Eli Zaretskii <eliz@gnu.org>
21104 Fix 'current-column' in presence of :relative-width
21106 * src/indent.c (check_display_width): Support ':relative-width'
21107 in a display spec that specifies a stretch glyph. (Bug#21533)
21109 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21111 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
21113 ... to conform better to CONTRIBUTE guidelines.
21115 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
21117 * lisp/progmodes/prolog.el: Fix indentation of empty line
21119 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
21120 `empty-line-token' element.
21121 (smie-indent-empty-line): New function.
21122 (smie-indent-functions): Add it.
21124 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
21125 behavior and use the new `empty-line-token' element (bug#21526).
21126 (prolog-mode-variables): Fix comment-start-skip setting to match
21129 * test/indent/prolog.prolog: Add nested indentation tests.
21131 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
21132 comment-start-skip not to misuse submatch 1.
21134 2015-09-22 Alan Mackenzie <acm@muc.de>
21136 Make description of `edebug-initial-mode' user friendly
21140 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
21141 description of `edebug-initial-mode' from that of its implementation
21142 to that of its visual effect and use. Move the paragraph higher up.
21144 2015-09-22 Eli Zaretskii <eliz@gnu.org>
21146 lisp/progmodes/gud.el (gud-format-command): Fix last commit
21148 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
21149 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
21151 2015-09-22 Tassilo Horn <tsdh@gnu.org>
21153 Improve last commit to process.c
21155 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
21157 Implement gfile-valid-p
21159 * lisp/filenotify.el (file-notify-callback): Fix typo.
21160 (gfile-valid-p): Remove defalias.
21162 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
21163 the file or directory to be watched is deleted.
21164 (Fgfile_add_watch): Make watch_object a triple.
21165 (Fgfile_rm_watch): Check, whether watch is cancelled already.
21166 (Fgfile_valid_p): New defun.
21167 (syms_of_gfilenotify): Declare Sgfile_valid_p.
21169 2015-09-22 Tassilo Horn <tsdh@gnu.org>
21171 Remove callback-handled channels from Available set
21173 * src/process.c (wait_reading_process_output): Remove channel from
21174 Available set if it is handled by a callback, e.g., dbus or
21175 inotify (bug#21313).
21177 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
21179 Use lunate epsilon for TeX \epsilon
21181 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
21182 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
21183 \epsilon to use GREEK LUNATE EPSILON SYMBOL
21185 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21187 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
21189 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
21190 rather than outermost paren (bug#21526).
21192 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
21194 Improve git diff hunk headers for .el, .texi
21196 Problem reported by Alan Mackenzie in:
21197 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
21198 * .gitattributes (*.el, *.texi): New patterns.
21199 * autogen.sh: Configure diff.elisp.xfuncname and
21200 diff.texinfo.xfuncname if using Git.
21202 2015-09-21 Eli Zaretskii <eliz@gnu.org>
21204 Don't rely on defaults in decoding UTF-8 encoded Lisp files
21207 * lisp/textmodes/rst.el:
21208 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
21210 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
21212 Clarify or replace a few \u escapes
21214 * doc/lispref/nonascii.texi (Character Properties)
21215 More-detailed commentary for \u escapes.
21216 * lisp/progmodes/python.el (python--prettify-symbols-alist):
21217 * lisp/replace.el (query-replace-from-to-separator):
21218 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
21219 (rst-mode-syntax-table):
21220 * lisp/whitespace.el (whitespace-display-mappings):
21221 Prefer actual character to \u escape when this makes the code
21222 easier to follow in the usual case where Unicode chars can be
21225 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
21227 Pacify GCC -Wmaybe-uninitialized in xdisp.c
21229 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
21230 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
21231 charpos. The loop should always execute at least once anyway.
21233 2015-09-21 Tassilo Horn <tsdh@gnu.org>
21235 Signal error on invalid regexp
21237 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
21238 Signal an error when the user tries searching with a regexp
21239 matching the empty string.
21241 2015-09-21 Eli Zaretskii <eliz@gnu.org>
21243 Another fix of file-notify-tests for w32notify
21245 * test/automated/file-notify-tests.el (file-notify-test02-events):
21246 Further adaptation for w32notify: reduce the number of expected
21247 'changed' events. (Bug#21435)
21249 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
21251 Adapt tests and manual for w32notify
21253 * doc/lispref/os.texi (File Notifications): w32notify does not
21254 send `attribute-changed' events.
21256 * test/automated/file-notify-tests.el (file-notify--test-with-events):
21257 Simplify parameters. Adapt all callees.
21258 (file-notify-test02-events): w32notify does not send
21259 `attribute-changed' events.
21260 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
21261 Do not skip in case of w32notify. Simply ignore this part of the test.
21263 2015-09-21 Dima Kogan <dima@secretsauce.net>
21265 Fix setting breakpoints when remote-debugging
21267 * lisp/progmodes/gud.el (gud-format-command): Send localized file
21268 names to the debugger running on the remote. (Bug#13304)
21270 2015-09-21 Nicolas Petton <nicolas@petton.fr>
21272 Better docstring and parameter name for seq-find
21274 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
21275 the parameter `sentinel' to `default'.
21277 * doc/lispref/sequences.texi (Sequence Functions): Update the
21278 documentation for `seq-find' accordingly.
21280 2015-09-21 Eli Zaretskii <eliz@gnu.org>
21282 Avoid infinite recursion while displaying box face
21284 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
21285 the previous string/buffer character position under bidi
21286 iteration. (Bug#21428)
21288 2015-09-21 Anders Lindgren <andlind@gmail.com>
21290 Keep upper edge unchanged when changing size of NS frame
21292 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
21295 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21297 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
21298 (prolog-smie-rules): Accommodate standard if/then/else special
21300 (prolog-mode): Add . to electric-indent-chars.
21301 (prolog-electric--if-then-else): Re-indent the line before adding space
21302 after the new char (bug#21526).
21304 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
21306 Add prettify symbols to python-mode
21308 * lisp/progmodes/python.el (python-prettify-symbols-alist):
21310 (python-mode): Use it
21312 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21314 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
21316 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
21318 (compilation-error-regexp-alist-alist): Tone down guile-file
21320 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
21321 Make guile-file a bit less enthusiastic (bug#21496).
21323 2015-09-20 Drew Csillag <drew@thecsillags.com>
21325 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
21326 Fix m4_* highlighting.
21328 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
21329 of commands when they have a "m4_" prefix.
21331 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
21333 '.' -> `.' in doc string
21335 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
21336 individual chars with grave quotes instead of straight quotes, as
21337 this works better when they are translated to curved quotes.
21339 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
21341 Improve file notifications, especially for Tramp
21343 * doc/lispref/files.texi (Magic File Names):
21344 Mention `file-notify-valid-p'.
21346 * doc/lispref/os.texi (File Notifications):
21347 Describe `file-notify-valid-p'.
21349 * etc/NEWS: Add `file-notify-valid-p'.
21351 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
21352 Improve implementation.
21353 (tramp-gvfs-monitor-file-process-filter): Rename from
21354 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
21355 process if appropriate.
21357 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21358 Improve implementation.
21359 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
21360 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
21362 (tramp-sh-inotifywait-process-filter): Rename from
21363 `tramp-sh-file-inotifywait-process-filter'. Delete process if
21366 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
21367 Use `delete-process'.
21368 (tramp-handle-file-notify-valid-p): Check also, that file or
21369 directory to be watched still exists.
21371 * test/automated/file-notify-tests.el (file-notify--test-timeout):
21372 New defun. Use it at all places a timeout is needed.
21373 (file-notify--test-cleanup): Delete directories recursively.
21374 Cleanup also Tramp connections.
21375 (file-notify-test02-events): Add tests for `attribute-change'.
21376 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
21377 Add tests for `file-notify-rm-watch'.
21379 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
21381 Use %s to format strings instead of splicing them
21383 If FOO might contain quotes that are part of a file or variable
21384 name, the quotes should not be translated when showing FOO’s name
21385 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
21386 is not quite right, as it would translate FOO’s quotes.
21387 Change it to (message "%s: bar" FOO) instead.
21388 * lisp/allout.el (allout-process-exposed):
21389 * lisp/calc/calc-ext.el (calc-do-prefix-help):
21390 * lisp/calc/calc-store.el (calc-store-into):
21391 * lisp/calendar/todo-mode.el (todo-category-completions):
21392 * lisp/cedet/semantic/complete.el (semantic-completion-message):
21393 * lisp/org/ob-latex.el (convert-pdf):
21394 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
21395 * lisp/org/ox-latex.el (org-latex-compile):
21396 * lisp/org/ox-man.el (org-man-compile):
21397 * lisp/org/ox-odt.el (org-odt--export-wrap):
21398 * lisp/org/ox-texinfo.el (org-texinfo-compile):
21399 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
21400 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
21401 (verilog-signals-combine-bus, verilog-read-defines)
21402 (verilog-getopt-file, verilog-expand-dirnames)
21403 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
21404 * lisp/term/ns-win.el (ns-spi-service-call):
21405 Use %s to avoid translating quotes of file names etc. in diagnostics.
21407 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21409 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
21410 (js-mode): Don't set syntax-begin-function.
21412 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21414 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
21415 syntax-begin-function is a symbol.
21417 2015-09-20 Eli Zaretskii <eliz@gnu.org>
21419 Improve documentation of 'run-at-time'
21420 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
21421 In particular, don't refer to 'diary-entry-time', because it is
21422 unavailable until diary-lib is loaded. Also, refer to
21423 'timer-duration-words', not 'timer-duration', as the latter's doc
21424 string says nothing about the accepted strings.
21426 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
21428 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
21430 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
21432 Repair pdbtrack remote file tracking
21433 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
21434 Rectify pdbtrack so it follows transitions from one remote source
21437 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
21439 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
21441 2015-09-19 Eli Zaretskii <eliz@gnu.org>
21443 Adapt vc-src to the old-new vc-checkin API
21444 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
21445 additional optional parameter.
21447 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
21449 Add overflow module to CSS property list
21450 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
21451 from CSS Overflow Module Level 3.
21453 2015-09-19 Eli Zaretskii <eliz@gnu.org>
21455 Fix documentation of "C-u C-x v v"
21456 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
21457 documentation of "C-u C-x v v" match what the code does.
21459 Resurrect the ability to specify a revision in vc-next-action
21460 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
21461 * lisp/vc/vc-dav.el (vc-dav-checkin):
21462 * lisp/vc/vc-git.el (vc-git-checkin):
21463 * lisp/vc/vc-hg.el (vc-hg-checkin):
21464 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
21465 an additional optional argument, the revision to checkin.
21466 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
21467 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
21468 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
21469 a revision to checkin.
21470 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
21471 revision when checking in files.
21472 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
21475 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
21477 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
21478 (verilog-decls-princ, verilog-modport-princ)
21479 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
21481 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
21483 Fix the routine for help on Calc's prefixes
21484 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
21485 (calc-do-prefix-help): Use `read-char' to determine the next Calc
21488 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
21490 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
21491 (font-lock-fontify-block): Don't let-bind it.
21492 (font-lock-compile-keywords): Don't use it.
21493 (font-lock-set-defaults): Don't set it. Allow the variable alist to
21494 start one slot earlier, instead.
21495 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
21497 (syntax-ppss): Don't use it either.
21498 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
21500 * doc/emacs/display.texi (Font Lock): Don't mention
21501 font-lock-beginning-of-syntax-function.
21502 * doc/lispref/modes.texi (Font Lock Basics): Update description of
21503 font-lock-defaults.
21504 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
21505 * lisp/loadhist.el (unload-feature-special-hooks):
21506 Remove font-lock-beginning-of-syntax-function.
21507 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
21508 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
21509 font-lock-beginning-of-syntax-function.
21511 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
21513 Backslash cleanup in Elisp source files
21514 This patch should not change behavior. It typically omits backslashes
21515 where they are redundant (e.g., in the string literal "^\$").
21516 In a few places, insert backslashes where they make regular
21517 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
21518 "^\\*", which has the same effect as a regular expression.
21519 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
21520 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
21521 RCS IDs, as that makes it clearer that the backslash is intended.
21523 Some more minor backslash fixes
21524 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
21525 * test/automated/info-xref.el (info-xref-test-write-file):
21526 Double backslashes in strings.
21528 Fix several backslash typos in Elisp strings
21529 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
21530 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
21531 (todo-reset-done-string, todo-reset-comment-string)
21532 (todo-reset-highlight-item):
21533 * lisp/erc/erc-networks.el (erc-networks-alist):
21534 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
21535 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
21536 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
21537 (nntp-telnet-shell-prompt):
21538 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
21539 * lisp/image-dired.el (image-dired-rotate-original):
21540 (image-dired-get-exif-file-name):
21541 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
21542 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
21543 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
21544 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
21545 * lisp/net/shr-color.el (shr-color->hexadecimal):
21546 * lisp/org/org-bibtex.el (org-bibtex-fields):
21547 * lisp/org/org-docview.el (org-docview-export):
21548 * lisp/org/org-entities.el (org-entities):
21549 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
21550 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
21551 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
21552 (ebnf-style-database):
21553 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
21554 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
21555 * lisp/progmodes/sql.el (sql-product-alist):
21556 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
21557 (verilog-error-font-lock-keywords)
21558 (verilog-assignment-operator-re):
21559 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
21560 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
21561 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
21562 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
21563 For example, to get the regular expression ‘\.’ use the string
21564 literal "\\.", not "\." (which is equivalent to ".").
21565 * lisp/emulation/viper-util.el (viper-glob-unix-files):
21566 Remove stray ‘\j’ from string.
21567 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
21568 (nntp-telnet-shell-prompt):
21569 Treat > like $ when matching a shell prompt.
21570 * lisp/progmodes/make-mode.el (makefile-browse):
21571 Properly quote a diagnostic.
21573 Fix minor quoting problems in diagnostics
21574 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
21575 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
21576 Follow text-quoting-style in diagnostic, and quote a file name.
21578 2015-09-17 Eli Zaretskii <eliz@gnu.org>
21580 * doc/lispref/frames.texi (Cursor Parameters):
21581 Document 'x-stretch-cursor'.
21583 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
21585 Omit unnecessary \ before paren in C docstrings
21586 Although \( is needed in docstrings in Elisp code, it is not needed in
21587 docstrings in C code, since C function definitiions do not start with
21588 a parenthesis. The backslashes made the docstrings a bit harder to
21589 read and to format in columns. Also, some C docstrings had ( in
21590 column 1 and this did not appear to be causing any problems. So,
21591 simplify C docstrings by replacing \( with ( and \) with ).
21593 A few more minor quoting fixes in a script and a text file
21595 Minor quoting fixes in scripts and doc
21596 Prefer straight quotes in random script files, as they are not
21597 converted. Prefer grave quotes in a couple of places in the manual
21598 that were missed earlier, as these quotes are converted.
21600 Minor backslash fixes in manuals and scripts
21601 * Makefile.in (install-arch-indep):
21602 * admin/charsets/compact.awk:
21603 * admin/charsets/gb180302.awk (gb_to_index):
21604 * admin/charsets/gb180304.awk (gb_to_index):
21605 Avoid undefined behavior in Awk regular expression backslashes.
21606 * doc/misc/efaq.texi (Matching parentheses):
21607 Omit unnecessary backslashes.
21608 * doc/misc/gnus-faq.texi (FAQ 5-8):
21609 Avoid undefined behavior in suggested sed backslash usage.
21611 Add -Wswitch to --enable-gcc-warnings
21612 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
21613 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
21614 * lib-src/etags.c (main, consider_token, C_entries):
21615 * src/coding.c (encode_invocation_designation):
21616 * src/data.c (Ftype_of):
21617 * src/eval.c (Fdefvaralias, default_toplevel_binding)
21618 (Fbacktrace__locals, mark_specpdl):
21619 * src/lisp.h (record_xmalloc):
21620 * src/syntax.c (scan_lists, scan_sexps_forward):
21621 * src/window.c (window_relative_x_coord):
21622 * src/xdisp.c (push_it, pop_it):
21623 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
21624 Error out or do nothing (as appropriate) if a switch statement
21625 with an enum value does not cover all of the enum.
21626 * src/dispextern.h (struct iterator_stack_entry.u.comp):
21627 Remove unused member discovered by using -Wswitch.
21628 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
21629 * src/vm-limit.c (check_memory_limits):
21630 Simplify warning-diagnostic computation by using a table.
21632 etags ‘fatal’ function is now printf-like
21633 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
21634 Also, now static; not clear why it needed to be extern.
21635 (verror): New function, with most of the old contents of ‘error’.
21636 (fatal, error): Use it.
21638 2015-09-16 Eli Zaretskii <eliz@gnu.org>
21640 More adaptations in file-notify-tests.el
21641 * test/automated/file-notify-tests.el
21642 (file-notify-test05-dir-validity): Skip for w32notify in
21643 batch-mode. (Bug#21432)
21645 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
21647 Adapt test in file-notify-tests.el
21648 * test/automated/file-notify-tests.el
21649 (file-notify-test04-file-validity): Skip for w32notify in
21650 batch-mode. Add test lost last commit.
21652 2015-09-16 Dima Kogan <dima@secretsauce.net>
21654 winner no longer holds on to dead frames
21655 * lisp/winner.el (winner-change-fun): Cull dead frames.
21656 This prevents a potentially massive memory leak. See:
21657 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
21659 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
21661 Use common report_file_notify_error function
21662 * src/fileio.c (report_file_notify_error): New function.
21663 * src/inotify.c (report_inotify_error): Remove function.
21664 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
21665 (Finotify_rm_watch): Use report_file_notify_error.
21666 * src/lisp.h (report_file_notify_error): Declare external function.
21667 * src/w32notify.c (report_w32notify_error): Remove function.
21668 (Fw32notify_add_watch, Fw32notify_rm_watch):
21669 Use report_file_notify_error.
21671 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
21674 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
21675 the documentation of the root mean square.
21677 2015-09-16 Martin Rudalics <rudalics@gmx.at>
21679 Remove tool_bar_redisplayed_once and associated code.
21680 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
21681 * src/frame.c (make_frame, x_set_font): Remove initialization of
21682 f->tool_bar_redisplayed_once.
21683 * src/w32fns.c (x_change_tool_bar_height):
21684 * src/xfns.c (x_change_tool_bar_height): Don't check for
21685 f->tool_bar_redisplayed_once.
21686 * src/xdisp.c (redisplay_internal): Remove handling of
21687 f->tool_bar_redisplayed_once.
21689 2015-09-16 Eli Zaretskii <eliz@gnu.org>
21691 Restore some of the quoting in the manuals
21692 * doc/lispref/windows.texi (Coordinates and Windows)
21693 (Coordinates and Windows):
21694 * doc/lispref/variables.texi (Lexical Binding)
21695 (File Local Variables):
21696 * doc/lispref/text.texi (Format Properties):
21697 * doc/lispref/symbols.texi (Symbol Components):
21698 * doc/lispref/strings.texi (Creating Strings):
21699 * doc/lispref/sequences.texi (Sequence Functions):
21700 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
21701 (Search and Replace):
21702 * doc/lispref/processes.texi (Bindat Spec):
21703 * doc/lispref/os.texi (Idle Timers):
21704 * doc/lispref/objects.texi (Basic Char Syntax):
21705 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
21706 * doc/lispref/nonascii.texi (Character Properties):
21707 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
21708 (Mode Line Variables):
21709 * doc/lispref/minibuf.texi (Text from Minibuffer):
21710 * doc/lispref/loading.texi (Autoload):
21711 * doc/lispref/keymaps.texi (Controlling Active Maps):
21712 * doc/lispref/frames.texi (Frame Layout, Size and Position)
21713 (Size Parameters, Implied Frame Resizing):
21714 * doc/lispref/files.texi (Changing Files, Magic File Names):
21715 * doc/lispref/eval.texi (Self-Evaluating Forms):
21716 * doc/lispref/display.texi (Progress, Abstract Display)
21717 (Abstract Display Example, Bidirectional Display):
21718 * doc/lispref/commands.texi (Event Mod):
21719 * doc/emacs/windows.texi (Displaying Buffers):
21720 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
21721 * doc/emacs/text.texi (Enriched Text):
21722 * doc/emacs/programs.texi (MixedCase Words):
21723 * doc/emacs/picture-xtra.texi (Insert in Picture)
21725 * doc/emacs/misc.texi (Emacs Server, Printing):
21726 * doc/emacs/mini.texi (Minibuffer History):
21727 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
21728 (Pulling / Pushing):
21729 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
21730 * doc/emacs/help.texi (Help, Help Echo):
21731 * doc/emacs/glossary.texi (Glossary):
21732 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
21734 * doc/emacs/files.texi (Reverting, Saving, Directories):
21735 * doc/emacs/entering.texi (Exiting):
21736 * doc/emacs/emacs.texi (Top):
21737 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
21738 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
21739 appropriate or replace quoting with @dfn.
21740 * doc/misc/ediff.texi (Window and Frame Configuration):
21741 * doc/lispref/processes.texi (Network Feature Testing):
21742 * doc/lispref/display.texi (Display Margins): Quote the phrase
21743 after "a.k.a." where appropriate.
21745 2015-09-16 Tassilo Horn <tsdh@gnu.org>
21747 Clarify reftex-extra-bindings docs
21748 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
21749 * doc/misc/reftex.texi (Key Bindings): Document that the variable
21750 only has an effect at load-time.
21752 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
21754 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
21755 search argument. (Bug#21492) (Bug#21493)
21757 2015-09-16 Tassilo Horn <tsdh@gnu.org>
21759 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
21760 Add pretty symbols for \qquad and \varrho.
21762 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
21764 Add new functions for the root mean square of a (Calc) vector
21765 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
21767 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
21768 `calc-vector-rms', add autoloads for `calc-vector-rms' and
21770 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
21772 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
21774 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
21777 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
21779 Add monotone EDE generic project
21780 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
21781 Add monotone generic project.
21783 Revert premature commit
21784 * doc/lispref/files.texi: Revert premature commit of change to
21785 file-name-all-completions.
21787 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
21788 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
21789 with cl-generic defaults.
21790 (elisp--xref-find-references): Add doc string.
21791 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
21794 Fix bugs in eieio-oref-default related to class symbols
21795 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
21796 (eieio-oref-default): Handle class properly.
21798 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
21800 Quote “fullboth” when defining it
21801 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
21802 and rewrite the containing paragraph, which was awkward. (Bug#21472).
21804 2015-09-15 Eli Zaretskii <eliz@gnu.org>
21806 Minor doc fix in emacs/ack.texi
21807 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
21810 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
21812 Adapt tests in auto-revert-tests.el
21813 * test/automated/auto-revert-tests.el (auto-revert--timeout):
21814 Make it a defconst.
21815 (auto-revert--wait-for-revert): New defun.
21816 (auto-revert-test00-auto-revert-mode)
21817 (auto-revert-test01-auto-revert-tail-mode)
21818 (auto-revert-test02-auto-revert-mode-dired): Use it.
21820 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
21822 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
21823 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
21824 (cl-lib-fdefs): Add defgeneric.
21825 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
21826 (eieio-kw, cl-lib-kw, el-kw): Remove.
21828 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
21830 Quote less in manuals
21831 The manuals often used quotes ``...'' when it is better to use @dfn or
21832 @code or capitalized words or no quoting at all. For example, there is
21833 no need for the `` and '' in “if a variable has one effect for
21834 @code{nil} values and another effect for ``non-@code{nil}'' values”.
21835 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
21836 unnecessary quoting like this, and to use @dfn etc. instead when called
21839 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
21841 * lisp/custom.el (load-theme): Only compute hash when needed.
21843 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
21845 Pacify --enable-gcc-warnings
21846 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
21848 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
21850 Improve error reports in inotify.c
21851 * src/inotify.c (report_inotify_error): New function. Clone of
21852 report_w32notify_error.
21853 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
21854 (Finotify_rm_watch): Use it.
21856 2015-09-15 Eli Zaretskii <eliz@gnu.org>
21858 Fix the file-notify tests for watch validation on w32
21859 * test/automated/file-notify-tests.el
21860 (file-notify-test04-file-validity): Move the directory deletion
21861 out of the file-notify--test-with-events macro.
21862 (file-notify-test04-file-validity)
21863 (file-notify-test05-dir-validity): Enlarge the timeout of
21864 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
21866 2015-09-15 Tassilo Horn <tsdh@gnu.org>
21868 Use OPEN BOX instead of space for \quad.
21869 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
21870 character for \quad instead of a space.
21872 2015-09-15 Eli Zaretskii <eliz@gnu.org>
21874 Add missing *.pbm images
21875 * etc/images/connect.pbm: New file.
21876 * etc/images/custom/down-pushed.pbm: New file.
21877 * etc/images/custom/down.pbm: New file.
21878 * etc/images/custom/right-pushed.pbm: New file.
21879 * etc/images/custom/right.pbm: New file.
21880 * etc/images/describe.pbm: New file.
21881 * etc/images/disconnect.pbm: New file.
21882 * etc/images/ezimage/bits.pbm: New file.
21883 * etc/images/ezimage/bitsbang.pbm: New file.
21884 * etc/images/ezimage/box-minus.pbm: New file.
21885 * etc/images/ezimage/box-plus.pbm: New file.
21886 * etc/images/ezimage/box.pbm: New file.
21887 * etc/images/ezimage/checkmark.pbm: New file.
21888 * etc/images/ezimage/dir-minus.pbm: New file.
21889 * etc/images/ezimage/dir-plus.pbm: New file.
21890 * etc/images/ezimage/dir.pbm: New file.
21891 * etc/images/ezimage/doc-minus.pbm: New file.
21892 * etc/images/ezimage/doc-plus.pbm: New file.
21893 * etc/images/ezimage/doc.pbm: New file.
21894 * etc/images/ezimage/info.pbm: New file.
21895 * etc/images/ezimage/key.pbm: New file.
21896 * etc/images/ezimage/label.pbm: New file.
21897 * etc/images/ezimage/lock.pbm: New file.
21898 * etc/images/ezimage/mail.pbm: New file.
21899 * etc/images/ezimage/page-minus.pbm: New file.
21900 * etc/images/ezimage/page-plus.pbm: New file.
21901 * etc/images/ezimage/page.pbm: New file.
21902 * etc/images/ezimage/tag-gt.pbm: New file.
21903 * etc/images/ezimage/tag-minus.pbm: New file.
21904 * etc/images/ezimage/tag-plus.pbm: New file.
21905 * etc/images/ezimage/tag-type.pbm: New file.
21906 * etc/images/ezimage/tag-v.pbm: New file.
21907 * etc/images/ezimage/tag.pbm: New file.
21908 * etc/images/ezimage/unlock.pbm: New file.
21909 * etc/images/gnus/important.pbm: New file.
21910 * etc/images/gnus/mail-send.pbm: New file.
21911 * etc/images/gnus/receipt.pbm: New file.
21912 * etc/images/gnus/toggle-subscription.pbm: New file.
21913 * etc/images/gnus/unimportant.pbm: New file.
21914 * etc/images/gud/all.pbm: New file.
21915 * etc/images/gud/rcont.pbm: New file.
21916 * etc/images/gud/recstart.pbm: New file.
21917 * etc/images/gud/recstop.pbm: New file.
21918 * etc/images/gud/rfinish.pbm: New file.
21919 * etc/images/gud/rnext.pbm: New file.
21920 * etc/images/gud/rnexti.pbm: New file.
21921 * etc/images/gud/rstep.pbm: New file.
21922 * etc/images/gud/rstepi.pbm: New file.
21923 * etc/images/gud/thread.pbm: New file.
21924 * etc/images/lock-broken.pbm: New file.
21925 * etc/images/lock-ok.pbm: New file.
21926 * etc/images/lock.pbm: New file.
21927 * etc/images/mail/copy.pbm: New file.
21928 * etc/images/mail/forward.pbm: New file.
21929 * etc/images/mail/not-spam.pbm: New file.
21930 * etc/images/mail/outbox.pbm: New file.
21931 * etc/images/mail/preview.pbm: New file.
21932 * etc/images/mail/save-draft.pbm: New file.
21933 * etc/images/mh-logo.pbm: New file.
21934 * etc/images/mpc/add.pbm: New file.
21935 * etc/images/mpc/ffwd.pbm: New file.
21936 * etc/images/mpc/next.pbm: New file.
21937 * etc/images/mpc/pause.pbm: New file.
21938 * etc/images/mpc/play.pbm: New file.
21939 * etc/images/mpc/prev.pbm: New file.
21940 * etc/images/mpc/rewind.pbm: New file.
21941 * etc/images/mpc/stop.pbm: New file.
21942 * etc/images/redo.pbm: New file.
21943 * etc/images/smilies/braindamaged.pbm: New file.
21944 * etc/images/smilies/cry.pbm: New file.
21945 * etc/images/smilies/dead.pbm: New file.
21946 * etc/images/smilies/evil.pbm: New file.
21947 * etc/images/smilies/forced.pbm: New file.
21948 * etc/images/smilies/grin.pbm: New file.
21949 * etc/images/smilies/indifferent.pbm: New file.
21950 * etc/images/sort-ascending.pbm: New file.
21951 * etc/images/sort-column-ascending.pbm: New file.
21952 * etc/images/sort-criteria.pbm: New file.
21953 * etc/images/sort-descending.pbm: New file.
21954 * etc/images/sort-row-ascending.pbm: New file.
21955 * etc/images/unchecked.pbm: New file.
21956 * etc/images/zoom-in.pbm: New file.
21957 * etc/images/README: Update instructions for PBM files.
21959 Add separator.pbm tool-bar image
21960 * etc/images/separator.pbm: New file. Having it avoids the side
21961 effect of changing the tool-bar height when the default font's size
21962 changes and XPM image support is not available, due to the SPC
21963 characters that are left in the Lisp string used to display the tool
21964 bar, because there are no images to display instead of those SPC
21967 Make show-paren-match face visible on mono-color displays
21968 * lisp/faces.el (show-paren-match): Use the underline face for
21969 mono-color displays. (Bug#21481)
21971 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
21973 Don’t double-encode non-ASCII mail clipboard
21974 * lisp/mail/mailclient.el (mailclient-send-it):
21975 Also fix the case when mailclient-place-body-on-clipboard-flag
21976 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
21978 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
21980 Adapt file-notify-tests.el test cases
21981 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
21982 * src/inotify.c (Finotify_valid_p): Adapt docstring.
21983 * test/automated/file-notify-tests.el
21984 (file-notify-test03-autorevert)
21985 (file-notify-test04-file-validity)
21986 (file-notify-test04-file-validity-remote)
21987 (file-notify-test05-dir-validity)
21988 (file-notify-test05-dir-validity-remote): Adapt docstring.
21989 (file-notify-test04-file-validity): Let events arrive before
21990 calling final `file-notify-valid-p'. Do not ignore errors.
21991 (file-notify-test05-dir-validity): Do not manipulate
21992 `temporary-file-directory', it isn't necessary. Let events arrive
21993 before calling final `file-notify-valid-p'. Do not ignore errors.
21995 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
21997 Don’t double-encode non-ASCII for mail client
21998 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
21999 Use RFC 6068’s list of unreserved characters.
22000 (mailclient-send-it): When encoding the body as a URL,
22001 first decode it as per Content-Type: and Content-Transfer-Encoding:,
22002 as URLs must use percent-encoded UTF-8 (Bug#21471).
22003 * doc/misc/url.texi (mailto): Update RFC number.
22005 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
22007 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
22009 2015-09-14 Alan Mackenzie <acm@muc.de>
22011 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
22012 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
22015 2015-09-14 Eli Zaretskii <eliz@gnu.org>
22017 Clarify documentation of char-table extra slots
22018 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
22019 slot numbers are zero-based. (Bug#21467)
22021 2015-09-14 Alan Mackenzie <acm@muc.de>
22023 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
22025 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
22026 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
22027 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
22028 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
22029 Insert "\\|\\\\." into regexps which match symbols.
22031 2015-09-14 Eli Zaretskii <eliz@gnu.org>
22033 Improve the doc string of w32notify-valid-p
22034 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
22035 that removing a watch makes its object invalid.
22037 2015-09-14 Tassilo Horn <tsdh@gnu.org>
22039 Fix tests for file-notify-valid-p
22040 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
22041 Use delete-directory to delete file-notify--test-tmpfile if it is
22042 a directory. Likewise for file-notify--test-tmpfile1.
22043 (file-notify-test04-file-validity)
22044 (file-notify-test05-dir-validity): Delete the parent directory of
22045 the test. Ignore errors when cleaning up after the test.
22047 2015-09-14 Eli Zaretskii <eliz@gnu.org>
22049 Report file-notify-error in w32notify.c
22050 * src/w32notify.c (report_w32notify_error): New function.
22051 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
22052 errors, instead of calling report_file_error. (Bug#21432)
22054 Implement w32notify-valid-p
22055 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
22056 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
22059 2015-09-14 Tassilo Horn <tsdh@gnu.org>
22061 Test file-notify-valid-p
22062 * test/automated/file-notify-tests.el
22063 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
22066 2015-09-13 Eli Zaretskii <eliz@gnu.org>
22068 Fix markup in ELisp manual
22069 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
22070 of the 'alpha' parameter value. (Bug#21470)
22072 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
22074 Introduce `file-notify-valid-p'
22075 * lisp/filenotify.el (file-notify-valid-p): New defun.
22076 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
22077 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
22078 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
22079 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
22080 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
22081 <file-notify-valid-p>: Add handler.
22082 * lisp/net/tramp.el (tramp-file-name-for-operation):
22083 Add `file-notify-valid-p'.
22084 (tramp-handle-file-notify-valid-p): New defun.
22085 * src/inotify.c (Finotify_valid_p): New defun.
22086 (syms_of_inotify): Declare Sinotify_valid_p.
22088 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
22090 Port Unicode char detection to FreeBSD+svgalib
22091 Problem reported by Ashish SHUKLA in:
22092 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
22093 * configure.ac: Check for struct unipair.unicode instead of for
22094 <linux/kd.h>, since that’s more specific to what the code
22096 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
22098 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
22100 2015-09-13 Eli Zaretskii <eliz@gnu.org>
22102 Fix vertical cursor motion across overlay strings with newlines
22103 * src/indent.c (Fvertical_motion): Don't leave point in the middle
22104 of an overlay string with newlines, as that will position the
22105 cursor after the string at whatever column is there. (Bug#21468)
22107 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
22109 Fix tests in file-notify-tests.el
22110 * test/automated/file-notify-tests.el: Remove Tramp declarations.
22111 (file-notify-test00-availability): Print remote command w/o Tramp
22112 internal functions.
22113 (file-notify-test02-events, file-notify-test02-events-remote):
22115 (file-notify-test03-autorevert): Use `format-message' when
22116 inspecting *Messages* buffer.
22118 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
22120 Bind inhibit-modification-hooks rather than a/b-c-f
22121 * lisp/wid-edit.el (widget-editable-list-insert-before)
22122 (widget-editable-list-delete-at):
22123 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
22124 (cperl-font-lock-unfontify-region-function):
22125 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
22126 * lisp/obsolete/longlines.el (longlines-mode):
22127 * lisp/obsolete/fast-lock.el (save-buffer-state):
22128 * lisp/mouse.el (mouse-save-then-kill-delete-region):
22129 * lisp/gnus/message.el (message-hide-headers):
22130 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
22131 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
22132 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
22133 than after/before-change-functions to nil.
22135 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
22137 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
22138 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
22139 the buffers, even if the forced redisplay is interrupted.
22141 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
22143 Merge syntax-propertize--done and parse-sexp-propertize-done
22144 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
22145 (syntax-propertize): Set syntax-propertize--done even if
22146 syntax-propertize-function is nil. Avoid recursive invocations.
22147 (syntax-propertize-chunks): New var.
22148 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
22150 (parse-sexp-propertize-function): Don't set any more.
22151 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
22152 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
22153 Call Qinternal__syntax_propertize instead of
22154 Vparse_sexp_propertize_function. Truncate e_property if needed.
22155 (update_syntax_table_forward): Streamline.
22156 (syms_of_syntax): Define Qinternal__syntax_propertize.
22157 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
22159 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
22161 Prefer straight quoting in some text files
22162 Mostly this just changes ` to ' in static text. Some exceptions:
22163 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
22164 typically does that now.
22165 * admin/quick-install-emacs (TRY, top level):
22166 Use straight quoting in diagnostics.
22167 * src/README: Fix working-directory confusion.
22169 * CONTRIBUTE: Move send-email here from git-workflow.
22171 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
22173 Improve file notifications in Tramp
22174 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
22175 Set proper events to watch for.
22176 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
22179 2015-09-11 Eli Zaretskii <eliz@gnu.org>
22181 Fix NS build with --enable-checking='glyphs'
22182 * src/nsfns.m (unwind_create_frame): Make the preprocessor
22183 conditionals for referencing 'dpyinfo' consistent throughout the
22184 function. (Bug#21426)
22186 2015-09-10 Nicolas Petton <nicolas@petton.fr>
22189 This function is similar to `seq-some' but returns the found element.
22190 In the cases where nil can be the found element, a sentinel optional
22191 argument can be provided to avoid ambiguities.
22192 * lisp/emacs-lisp/seq.el (seq-find): New function.
22193 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
22194 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
22197 2015-09-10 Tassilo Horn <tsdh@gnu.org>
22199 Document file-notify--test-with-events.
22200 * test/automated/file-notify-tests.el (file-notify--test-with-events):
22203 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
22205 Report used native library in file-notify-tests.el
22206 * test/automated/file-notify-tests.el
22207 (tramp-get-remote-gvfs-monitor-dir)
22208 (tramp-get-remote-inotifywait): Declare them.
22209 (file-notify-test00-availability): Print used native library.
22211 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
22213 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
22214 (mpc-file-local-copy): Check for absolute path. Check more config
22217 2015-09-10 Eli Zaretskii <eliz@gnu.org>
22219 Improve documentation of categories
22220 * doc/lispref/syntax.texi (Categories): Clarify the example of
22221 using define-category and modify-category-entry. (Bug#21448)
22223 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
22225 Revert some stray curved quotes I missed earlier
22226 Problem reported by David Kastrup in:
22227 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
22228 * lisp/international/mule-cmds.el (leim-list-header):
22229 Use format-message with an ASCII-only format.
22231 Prefer NUMBERP to spelling it out
22232 * src/editfns.c (styled_format):
22233 * src/frame.h (NUMVAL):
22234 * src/image.c (parse_image_spec):
22235 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
22236 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
22237 * src/process.c (Fsignal_process):
22238 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
22239 * src/xfaces.c (check_lface_attrs):
22240 * src/xselect.c (x_fill_property_data, x_send_client_event):
22241 Use NUMBERP rather than INTEGERP || FLOATP.
22243 2015-09-10 Tassilo Horn <tsdh@gnu.org>
22245 Improve file-notify-tests
22246 * test/automated/file-notify-tests.el: Use lexical-binding.
22247 (file-notify--test-cleanup): New function.
22248 (file-notify-test00-availability, file-notify-test01-add-watch)
22249 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
22250 (file-notify--test-with-events): New macro.
22251 (file-notify-test02-events): Use it.
22253 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
22255 Add patch-sending instructions to git-workflow
22256 From a suggestion by Mitchel Humpherys in:
22257 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
22258 * admin/notes/git-workflow (Sending patches): New section.
22260 Port to GIFLIB 5.0.6 and later
22261 Problem reported by Mitchel Humpherys in:
22262 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
22263 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
22264 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
22265 (gif_load) [HAVE_GIF]: Use it.
22267 2015-09-10 Glenn Morris <rgm@gnu.org>
22269 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
22271 2015-09-09 Glenn Morris <rgm@gnu.org>
22273 * test/automated/file-notify-tests.el (file-notify-test02-events):
22276 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
22278 Refix movemail GCC pacification
22279 Problem reported by Ken Brown in:
22280 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
22281 * lib-src/movemail.c (main): Fix previous change.
22283 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
22285 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
22286 Mark unused vars with underscore.
22288 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
22289 (parse_sexp_propertize): ...from here.
22291 * lisp/filenotify.el: Use lexical-binding
22292 (file-notify-add-watch): Avoid add-to-list.
22294 2015-09-09 Tassilo Horn <tsdh@gnu.org>
22296 Start checking event types in file-notify tests
22297 * test/automated/file-notify-tests.el (file-notify--test-events):
22299 (file-notify--test-event-handler): Append received event to
22300 file-notify--test-events for later analysis.
22301 (file-notify-test02-events): Assert that the expected notifications have
22302 arrived in the expected order.
22304 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
22306 Merge from gnulib and texinfo
22308 2015-08-03 Improve port of stdalign to C++11
22309 * lib/stdalign.in.h: Copy from gnulib.
22310 * doc/misc/texinfo.tex: Copy from texinfo.
22312 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
22314 Make syntax.c call syntax-propertize on demand
22315 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
22316 (parse-sexp-propertize-function): Use it.
22317 (syntax-propertize): Disable parse-sexp-propertize-function.
22318 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
22320 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
22321 `parse-sexp-propertize-function'.
22322 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
22323 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
22324 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
22325 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
22326 Don't assume `point' is set.
22328 2015-09-09 Eli Zaretskii <eliz@gnu.org>
22330 Fix indentation of an @example in ELisp manual
22331 * doc/lispref/syntax.texi (Categories): Untabify the example.
22334 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
22336 Define internal-char-font even if --without-x
22337 The function is used now even in non-graphical environments.
22338 Problem reported by Glenn Morris in:
22339 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
22340 * src/font.c (Finternal_char_font): Move here ...
22341 * src/fontset.c (Finternal_char_font): ... from here.
22343 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
22345 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
22348 2015-09-09 Eli Zaretskii <eliz@gnu.org>
22350 Fix display of complex local data types in GDB-MI
22351 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
22352 variable has no value, display "<complex data type>" as a
22353 placeholder, instead of a confusing "nil". (Bug#21438)
22355 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
22357 Remove redundant redefinition of seq-drop-while from seq.el
22358 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
22360 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
22362 * lisp/emacs-lisp/package.el (package--ensure-init-file):
22363 More robust check for `package-initialize' calls in init file.
22364 This function accepts an optional argument, but calls passing
22365 an argument would not have been detected.
22367 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
22369 Port movemail to RHEL 6 with --enable-gcc-warnings
22370 * lib-src/movemail.c (main): Declare local only if needed.
22372 Port recent Linux console changes to RHEL 6
22373 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
22375 Improvements for curved quotes on Linux consule
22376 This should help Emacs work better out-of-the-box on Linux consoles,
22377 which have only limited support for displaying Unicode characters.
22378 Also, undo the recent change that caused text-quoting-style to
22379 affect quote display on terminals, so that the two features are
22380 independent. See Alan Mackenzie in:
22381 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
22382 Finally, add a style parameter to startup--setup-quote-display,
22383 so that this function can also be invoked after startup, with
22384 different styles depending on user preference at the time.
22385 * configure.ac: Check for linux/kd.h header.
22386 * doc/emacs/display.texi (Text Display): Document quote display.
22387 * doc/lispref/display.texi (Active Display Table):
22389 * lisp/startup.el (startup--setup-quote-display, command-line):
22390 text-quoting-style no longer affects quote display.
22391 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
22392 * lisp/international/mule-util.el (char-displayable-p):
22393 * lisp/startup.el (startup--setup-quote-display):
22394 On a text terminal supporting glyph codes, use the reported
22395 glyph codes instead of the terminal coding system, as this
22396 is more accurate on the Linux console.
22397 * lisp/startup.el (startup--setup-quote-display):
22398 New optional arg STYLE.
22399 * src/fontset.c (Finternal_char_font):
22400 Report glyph codes for a text terminal, if they are available.
22401 Currently this is supported only for the Linux console.
22402 * src/termhooks.h (struct terminal): New member glyph-code-table.
22403 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
22404 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
22405 (terminal_glyph_code): New function.
22407 2015-09-08 Juri Linkov <juri@linkov.net>
22409 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
22410 underline. (Bug#21433)
22412 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
22414 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
22416 2015-09-08 Tassilo Horn <tsdh@gnu.org>
22418 Fix double-reporting of rename events with inotify
22419 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
22420 of rename events with inotify (bug#21435).
22422 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
22424 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
22425 (tetris-mode-map): Use it.
22427 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
22429 Remove a few simple cases of global redisplay
22430 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
22431 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
22432 rather than returning a "resized_p" boolean.
22433 (redisplay_internal): Adjust call accordingly.
22434 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
22435 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
22436 tracking of this undesirable situation.
22438 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
22439 * src/process.c (status_notify): Only set the update_mode_line on the
22440 relevant buffers rather than setting it globally.
22442 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
22444 * lisp/electric.el (electric-quote-post-self-insert-function):
22445 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
22446 (electric-quote-mode): Activate everywhere in message-mode.
22448 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
22450 Go back to grave quoting in source-code docstrings etc.
22451 This reverts almost all my recent changes to use curved quotes
22452 in docstrings and/or strings used for error diagnostics.
22453 There are a few exceptions, e.g., Bahá’í proper names.
22454 * admin/unidata/unidata-gen.el (unidata-gen-table):
22455 * lisp/abbrev.el (expand-region-abbrevs):
22456 * lisp/align.el (align-region):
22457 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
22458 (outlineify-sticky):
22459 * lisp/apropos.el (apropos-library):
22460 * lisp/bookmark.el (bookmark-default-annotation-text):
22461 * lisp/button.el (button-category-symbol, button-put)
22462 (make-text-button):
22463 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
22464 * lisp/calc/calc-embed.el (calc-do-embedded):
22465 * lisp/calc/calc-ext.el (calc-user-function-list):
22466 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
22467 * lisp/calc/calc-help.el (calc-describe-key)
22468 (calc-describe-thing, calc-full-help):
22469 * lisp/calc/calc-lang.el (calc-c-language)
22470 (math-parse-fortran-vector-end, math-parse-tex-sum)
22471 (math-parse-eqn-matrix, math-parse-eqn-prime)
22472 (calc-yacas-language, calc-maxima-language, calc-giac-language)
22473 (math-read-giac-subscr, math-read-math-subscr)
22474 (math-read-big-rec, math-read-big-balance):
22475 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
22476 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
22477 (calc-auto-recompute):
22478 * lisp/calc/calc-prog.el (calc-fix-token-name)
22479 (calc-read-parse-table-part, calc-user-define-invocation)
22480 (math-do-arg-check):
22481 * lisp/calc/calc-store.el (calc-edit-variable):
22482 * lisp/calc/calc-units.el (math-build-units-table-buffer):
22483 * lisp/calc/calc-vec.el (math-read-brackets):
22484 * lisp/calc/calc-yank.el (calc-edit-mode):
22485 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
22486 * lisp/calendar/appt.el (appt-display-message):
22487 * lisp/calendar/diary-lib.el (diary-check-diary-file)
22488 (diary-mail-entries, diary-from-outlook):
22489 * lisp/calendar/icalendar.el (icalendar-export-region)
22490 (icalendar--convert-float-to-ical)
22491 (icalendar--convert-date-to-ical)
22492 (icalendar--convert-ical-to-diary)
22493 (icalendar--convert-recurring-to-diary)
22494 (icalendar--add-diary-entry):
22495 * lisp/calendar/time-date.el (format-seconds):
22496 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
22497 (timeclock-make-hours-explicit, timeclock-log-data):
22498 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
22499 (todo-item-mark, todo-check-format)
22500 (todo-insert-item--next-param, todo-edit-item--next-key)
22502 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
22503 * lisp/cedet/mode-local.el (describe-mode-local-overload)
22504 (mode-local-print-binding, mode-local-describe-bindings-2):
22505 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
22506 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
22507 * lisp/cus-start.el (standard):
22508 * lisp/cus-theme.el (describe-theme-1):
22509 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
22510 (custom--sort-vars-1, load-theme):
22511 * lisp/descr-text.el (describe-text-properties-1, describe-char):
22512 * lisp/dired-x.el (dired-do-run-mail):
22513 * lisp/dired.el (dired-log):
22514 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
22515 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
22516 (ad-disable-advice, ad-remove-advice, ad-set-argument)
22517 (ad-set-arguments, ad--defalias-fset, ad-activate)
22519 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
22520 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
22521 (byte-optimize-while, byte-optimize-apply):
22522 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
22523 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
22524 (byte-compile-log-file, byte-compile-format-warn)
22525 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
22526 (byte-compile-cl-warn)
22527 (byte-compile-warn-about-unresolved-functions)
22528 (byte-compile-file, byte-compile--declare-var)
22529 (byte-compile-file-form-defmumble, byte-compile-form)
22530 (byte-compile-normal-call, byte-compile-check-variable)
22531 (byte-compile-variable-ref, byte-compile-variable-set)
22532 (byte-compile-subr-wrong-args, byte-compile-setq-default)
22533 (byte-compile-negation-optimizer)
22534 (byte-compile-condition-case--old)
22535 (byte-compile-condition-case--new, byte-compile-save-excursion)
22536 (byte-compile-defvar, byte-compile-autoload)
22537 (byte-compile-lambda-form)
22538 (byte-compile-make-variable-buffer-local, display-call-tree)
22539 (batch-byte-compile):
22540 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
22541 * lisp/emacs-lisp/chart.el (chart-space-usage):
22542 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
22543 (check-declare-warn, check-declare-file)
22544 (check-declare-directory):
22545 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
22546 (checkdoc-message-text-engine):
22547 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
22548 (cl--describe-class):
22549 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
22550 (cl--generic-describe, cl-generic-generalizers):
22551 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
22552 (cl-symbol-macrolet):
22553 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
22554 * lisp/emacs-lisp/copyright.el (copyright)
22555 (copyright-update-directory):
22556 * lisp/emacs-lisp/edebug.el (edebug-read-list):
22557 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
22558 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
22560 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
22561 * lisp/emacs-lisp/eieio-speedbar.el:
22562 (eieio-speedbar-child-make-tag-lines)
22563 (eieio-speedbar-child-description):
22564 * lisp/emacs-lisp/eieio.el (defclass, change-class):
22565 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
22566 (elint-init-form, elint-check-defalias-form)
22567 (elint-check-let-form):
22568 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
22569 (ert-results-pop-to-backtrace-for-test-at-point)
22570 (ert-results-pop-to-messages-for-test-at-point)
22571 (ert-results-pop-to-should-forms-for-test-at-point)
22572 (ert-describe-test):
22573 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
22574 (find-function-library):
22575 * lisp/emacs-lisp/generator.el (iter-yield):
22576 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
22577 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
22578 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
22579 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
22580 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
22581 (advice--make, define-advice):
22582 * lisp/emacs-lisp/package-x.el (package-upload-file):
22583 * lisp/emacs-lisp/package.el (package-version-join)
22584 (package-disabled-p, package-activate-1, package-activate)
22585 (package--download-one-archive)
22586 (package--download-and-read-archives)
22587 (package-compute-transaction, package-install-from-archive)
22588 (package-install, package-install-selected-packages)
22589 (package-delete, package-autoremove, describe-package-1)
22590 (package-install-button-action, package-delete-button-action)
22591 (package-menu-hide-package, package-menu--list-to-prompt)
22592 (package-menu--perform-transaction)
22593 (package-menu--find-and-notify-upgrades):
22594 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
22595 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
22596 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
22597 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
22598 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
22599 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
22601 * lisp/emacs-lisp/smie.el (smie-config-save):
22602 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
22603 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
22604 * lisp/emacs-lisp/testcover.el (testcover-1value):
22605 * lisp/emacs-lisp/timer.el (timer-event-handler):
22606 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
22607 (viper-toggle-search-style, viper-kill-buffer)
22608 (viper-brac-function):
22609 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
22610 * lisp/env.el (setenv):
22611 * lisp/erc/erc-button.el (erc-nick-popup):
22612 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
22613 * lisp/eshell/em-dirs.el (eshell/cd):
22614 * lisp/eshell/em-glob.el (eshell-glob-regexp)
22615 (eshell-glob-entries):
22616 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
22617 * lisp/eshell/esh-opt.el (eshell-show-usage):
22618 * lisp/facemenu.el (facemenu-add-new-face)
22619 (facemenu-add-new-color):
22620 * lisp/faces.el (read-face-name, read-face-font, describe-face)
22621 (x-resolve-font-name):
22622 * lisp/files-x.el (modify-file-local-variable):
22623 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
22624 (set-auto-mode, hack-one-local-variable--obsolete)
22625 (dir-locals-set-directory-class, write-file, basic-save-buffer)
22626 (delete-directory, copy-directory, recover-session)
22627 (recover-session-finish, insert-directory)
22628 (file-modes-char-to-who, file-modes-symbolic-to-number)
22629 (move-file-to-trash):
22630 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
22631 * lisp/find-cmd.el (find-generic, find-to-string):
22632 * lisp/finder.el (finder-commentary):
22633 * lisp/font-lock.el (font-lock-fontify-buffer):
22634 * lisp/format.el (format-write-file, format-find-file)
22635 (format-insert-file):
22636 * lisp/frame.el (get-device-terminal, select-frame-by-name):
22637 * lisp/fringe.el (fringe--check-style):
22638 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
22639 * lisp/help-fns.el (help-fns--key-bindings)
22640 (help-fns--compiler-macro, help-fns--parent-mode)
22641 (help-fns--obsolete, help-fns--interactive-only)
22642 (describe-function-1, describe-variable):
22643 * lisp/help.el (describe-mode)
22644 (describe-minor-mode-from-indicator):
22645 * lisp/image.el (image-type):
22646 * lisp/international/ccl.el (ccl-dump):
22647 * lisp/international/fontset.el (x-must-resolve-font-name):
22648 * lisp/international/mule-cmds.el (prefer-coding-system)
22649 (select-safe-coding-system-interactively)
22650 (select-safe-coding-system, activate-input-method)
22651 (toggle-input-method, describe-current-input-method)
22652 (describe-language-environment):
22653 * lisp/international/mule-conf.el (code-offset):
22654 * lisp/international/mule-diag.el (describe-character-set)
22655 (list-input-methods-1):
22656 * lisp/mail/feedmail.el (feedmail-run-the-queue):
22657 * lisp/mouse.el (minor-mode-menu-from-indicator):
22658 * lisp/mpc.el (mpc-playlist-rename):
22659 * lisp/msb.el (msb--choose-menu):
22660 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
22661 * lisp/net/imap.el (imap-interactive-login):
22662 * lisp/net/mairix.el (mairix-widget-create-query):
22663 * lisp/net/newst-backend.el (newsticker--sentinel-work):
22664 * lisp/net/newst-treeview.el (newsticker--treeview-load):
22665 * lisp/net/rlogin.el (rlogin):
22666 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
22667 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
22668 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
22669 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
22670 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
22671 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
22672 (org-babel-goto-named-result):
22673 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
22674 * lisp/org/ob-ref.el (org-babel-ref-resolve):
22675 * lisp/org/org-agenda.el (org-agenda-prepare):
22676 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
22677 (org-clock-resolve):
22678 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
22679 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
22680 * lisp/org/org-habit.el (org-habit-parse-todo):
22681 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
22682 (org-mouse-context-menu):
22683 * lisp/org/org-table.el (org-table-edit-formulas):
22684 * lisp/org/ox.el (org-export-async-start):
22685 * lisp/proced.el (proced-log):
22686 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
22687 (ada-check-matching-start, ada-goto-matching-start):
22688 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
22689 * lisp/progmodes/ada-xref.el (ada-find-executable):
22690 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
22691 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
22692 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
22693 (flymake-start-syntax-check-process):
22694 * lisp/progmodes/python.el (python-shell-get-process-or-error)
22695 (python-define-auxiliary-skeleton):
22696 * lisp/progmodes/sql.el (sql-comint):
22697 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
22698 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
22699 * lisp/recentf.el (recentf-open-files):
22700 * lisp/replace.el (query-replace-read-from)
22701 (occur-after-change-function, occur-1):
22702 * lisp/scroll-bar.el (scroll-bar-columns):
22703 * lisp/server.el (server-get-auth-key):
22704 * lisp/simple.el (execute-extended-command)
22705 (undo-outer-limit-truncate, list-processes--refresh)
22706 (compose-mail, set-variable, choose-completion-string)
22707 (define-alternatives):
22708 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
22710 * lisp/subr.el (noreturn, define-error, add-to-list)
22711 (read-char-choice, version-to-list):
22712 * lisp/term/common-win.el (x-handle-xrm-switch)
22713 (x-handle-name-switch, x-handle-args):
22714 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
22715 * lisp/textmodes/reftex-ref.el (reftex-label):
22716 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
22717 * lisp/textmodes/two-column.el (2C-split):
22718 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
22719 (tutorial--find-changed-keys):
22720 * lisp/type-break.el (type-break-noninteractive-query):
22721 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
22722 (wdired-do-perm-changes):
22723 * lisp/whitespace.el (whitespace-report-region):
22724 Prefer grave quoting in source-code strings used to generate help
22726 * lisp/faces.el (face-documentation):
22727 No need to convert quotes, since the result is a docstring.
22728 * lisp/info.el (Info-virtual-index-find-node)
22729 (Info-virtual-index, info-apropos):
22730 Simplify by generating only curved quotes, since info files are
22731 typically that ways nowadays anyway.
22732 * lisp/international/mule-diag.el (list-input-methods):
22733 Don’t assume text quoting style is curved.
22734 * lisp/org/org-bibtex.el (org-bibtex-fields):
22735 Revert my recent changes, going back to the old quoting style.
22737 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
22739 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
22740 (package--autoloads-file-name)
22741 (package--activate-autoloads-and-load-path): New function.
22742 (package-activate-1): Delegate autoloading and load-path
22743 configuration to `package--activate-autoloads-and-load-path'.
22744 (package--compile): Before compilation, call
22745 `package--activate-autoloads-and-load-path' instead of
22746 `package-activate-1'.
22748 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
22750 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
22752 2015-09-07 Eli Zaretskii <eliz@gnu.org>
22754 Fix deletion of symlinks to directories on MS-Windows
22755 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
22756 symlink to a directory, try again with 'rmdir'.
22757 (is_symlink): If the argument is a symlink to a directory, set a
22758 bit in the return value to indicate that fact.
22760 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
22762 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
22763 When `package-initialize' is called as part of loading the init file,
22764 the user probably doesn't want it to be called again afterwards.
22765 In this situation, `package-initialize' now sets
22766 `package-enable-at-startup' to nil to prevent that. The user can have
22767 the old behavior by setting this variable to t after the call to
22768 `package-initialize'. (Bug#21423)
22769 * doc/emacs/package.texi (Package Installation): Document it.
22770 * doc/lispref/package.texi (Packaging Basics): Document it.
22771 * etc/NEWS: Document it.
22773 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
22775 Bump version of ntlm.el to 2.00
22776 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
22779 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
22781 * doc/misc/gnus.texi (Mail Source Specifiers):
22782 Allow :mailbox to be a list.
22784 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
22786 * lisp/progmodes/etags.el (etags-tags-completion-table):
22787 Allow even one non-regular character before the implicit tag name.
22788 Reported at http://emacs.stackexchange.com/questions/15269/.
22790 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
22792 Add support for NTLMv2 authentication
22793 * lisp/net/ntlm.el (ntlm): New customization group.
22794 (ntlm-compatibility-level): New defcustom.
22795 (ntlm-compute-timestamp): New function.
22796 (ntlm-generate-nonce): Likewise.
22797 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
22799 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
22801 * lisp/emacs-lisp/package.el: Rename custom faces.
22802 All of the recently introduced faces, like `package-name-face', have
22803 been renamed to no end in `-face' to comply with the convention
22804 described in (info "(elisp) Defining Faces").
22805 (package-name, package-description)
22806 (package-status-built-in, package-status-external)
22807 (package-status-available, package-status-new)
22808 (package-status-held, package-status-disabled)
22809 (package-status-installed, package-status-dependency)
22810 (package-status-unsigned, package-status-incompat)
22811 (package-status-avail-obso): New faces.
22812 (package-menu--print-info-simple): Use them.
22814 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
22816 mail-source.el: Make the imap mail-source's :mailbox handle a list
22817 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
22818 Allow :mailbox to be a list.
22820 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
22822 nnimap.el: Handle nil arg to nnimap-request-group
22823 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
22824 This arg isn't always passed in, check it's not nil before making it
22825 into a list. The active arg will also be nil if the group is new,
22828 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
22830 File notifications: Support renaming over directory boundaries
22831 * lisp/filenotify.el (file-notify-handle-event):
22832 (file-notify--pending-event): Adapt docstring.
22833 (file-notify--descriptor, file-notify-callback): Reimplement in
22834 order to support renaming over directory boundaries.
22835 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
22836 * doc/lispref/os.texi (File Notifications): Remove limitation of
22837 file renaming to the same directory.
22839 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
22841 Spelling fix (Bug#21420)
22843 2015-09-05 Nicolas Petton <nicolas@petton.fr>
22845 Improve the semantic of map-some
22846 Update map-some to return the returned by the predicate, similar to
22848 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
22849 return value of the predicate.
22850 * test/automated/map-tests.el (test-map-some): Update the test to check
22851 for non-nil values only.
22853 Rename map-contains-key-p and map-some-p
22854 Remove the "-p" suffix from both function names.
22855 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
22856 Rename the functions.
22857 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
22858 Update both test functions.
22860 Improve the semantic of seq-some
22861 Update seq-some to return non-nil if the predicate returns non-nil for
22862 any element of the seq, in which case the returned value is the one
22863 returned by the predicate.
22864 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
22866 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
22867 * doc/lispref/sequences.texi (Sequence Functions): Update the
22868 documentation for seq-some.
22870 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
22871 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
22872 without the "-p" prefix.
22873 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
22874 the tests accordingly.
22875 * doc/lispref/sequences.texi (Sequence Functions): Update the
22876 documentation for seq.el.
22878 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
22880 text-quoting-style for usage of fn names with ‘’
22881 * lisp/help.el (help--docstring-quote): Don’t assume
22882 text-quoting-style is ‘curve’ when generating usage strings for
22883 functions whose names contain curved quotes.
22885 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
22887 Fix fix for describe-function keybinding confusion
22888 This fixes a bug introduced by the previous patch.
22889 * lisp/help-fns.el (help-fns--signature):
22890 Last arg of help-fns--signature is now a buffer, or nil if a
22891 raw signature is wanted. All callers changed.
22892 (describe-function-1): Use this to do the right thing with signatures.
22894 2015-09-05 Johan Bockgård <bojohan@gnu.org>
22896 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
22898 Use PAT rather than UPAT in pcase macros
22899 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
22900 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
22903 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
22905 Fix describe-function keybinding confusion
22906 * lisp/help-fns.el (describe-function-1): Compute signature
22907 in the original buffer, not in standard-output, so that
22908 substitute-command-keys uses the proper keybindings.
22909 This fixes Bug#21412, introduced in commit
22910 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
22912 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
22914 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
22916 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
22918 Avoid read error messages from 'inotify'
22919 * src/process.c (wait_reading_process_output): Add a
22920 'tls_available' set and manipulate it instead of 'Available' when
22921 checking TLS inputs. Assign the value to 'Available' only if we
22922 find any TLS data waiting to be read. This avoids error messages
22923 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
22925 2015-09-05 Eli Zaretskii <eliz@gnu.org>
22927 Avoid errors in thing-at-point with 2nd argument non-nil
22928 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
22929 sequences. (Bug#21391)
22931 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
22933 Fix segfaults due to using a stale face ID
22934 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
22935 (display_echo_area_1, redisplay_internal): Call it to avoid
22936 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
22937 faces, which could case a segfault if the frame's face cache was
22938 freed since the last redisplay. (Bug#21394)
22939 * src/xfaces.c (free_realized_faces):
22940 Call forget_escape_and_glyphless_faces.
22941 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
22943 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
22945 Fix minor problems with " in manual
22947 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
22949 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
22952 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
22954 Support automated ‘make check’ in non-C locale
22955 This lets the builder optionally test Emacs behavior in other locales.
22956 The C locale is still the default for tests.
22957 * test/automated/Makefile.in (TEST_LOCALE): New macro.
22959 * test/automated/flymake-tests.el (flymake-tests--current-face):
22960 Use C locale for subprocesses so that tests behave as expected.
22961 * test/automated/python-tests.el:
22962 (python-shell-prompt-validate-regexps-1)
22963 (python-shell-prompt-validate-regexps-2)
22964 (python-shell-prompt-validate-regexps-3)
22965 (python-shell-prompt-validate-regexps-4)
22966 (python-shell-prompt-validate-regexps-5)
22967 (python-shell-prompt-validate-regexps-6)
22968 (python-shell-prompt-set-calculated-regexps-1):
22969 Adjust expected output to match locale.
22970 * test/automated/tildify-tests.el (tildify-test--test)
22971 (tildify-space-test--test, tildify-space-undo-test--test):
22972 This test assumes UTF-8 encoding.
22974 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
22976 Fix some more docstring etc. quoting problems
22977 Mostly these fixes prevent the transliteration of apostrophes
22978 that should stay apostrophes. Also, prefer curved quotes in
22979 Bahá’í proper names, as that’s the preferred Bahá’í style and
22980 these names are chock-full of non-ASCII characters anyway.
22981 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
22982 (eieio-defclass-internal):
22983 * lisp/emacs-lisp/eieio.el (defclass):
22984 * lisp/hi-lock.el (hi-lock-mode):
22985 Don’t transliterate Lisp apostrophes when generating a
22986 doc string or diagnostic.
22987 * lisp/international/mule-diag.el (list-coding-systems-1):
22988 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
22989 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
22990 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
22991 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
22992 Substitute quotes before putting them in the help buffer.
22994 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
22996 Re-add the notion of echo_prompt lost in the translation
22997 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
22998 echo_prompt which contains the actual string. Update all uses.
22999 * src/keyboard.c (kset_echo_prompt): New function.
23000 (echo_update): Add echo_prompt at the very beginning.
23001 (read_char): Remove workaround for bug#19875, not needed any more.
23002 (read_key_sequence): Set echo_prompt rather than echo_string
23004 (mark_kboards): Mark echo_prompt.
23006 Fix disassembly of non-compiled lexical functions (bug#21377)
23007 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
23008 * lisp/emacs-lisp/disass.el: Use lexical-binding.
23009 (disassemble): Recognize `closure's as well.
23010 (disassemble-internal): Use indirect-function and
23011 help-function-arglist, and accept `closure's.
23012 (disassemble-internal): Use interactive-form.
23013 (disassemble-1): Use functionp.
23015 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
23016 Don't compose inside verbatim blocks!
23018 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
23020 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
23023 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
23025 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
23027 vc-git-mode-line-string: Explicitly re-apply the face
23028 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
23029 the face (bug#21404).
23031 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
23033 Treat initial-scratch-message as a doc string
23034 * doc/emacs/building.texi (Lisp Interaction):
23035 * doc/lispref/os.texi (Startup Summary):
23036 * etc/NEWS: Document this.
23037 * lisp/startup.el (initial-scratch-message):
23038 Look up find-file’s key rather than hardcoding it.
23039 (command-line-1): Substitute the doc string.
23040 This also substitutes the quotes, which will help test display
23041 quoting at startup.
23043 Fix describe-char bug with glyphs on terminals
23044 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
23045 buffers too, so don’t treat them differently from graphic displays.
23046 Without this fix, describe-char would throw an error on a terminal
23047 if given a glyph with a non-default face.
23049 Follow text-quoting-style in display table init
23050 This attempts to fix a problem reported by Alan Mackenzie in:
23051 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
23052 * doc/lispref/display.texi (Active Display Table):
23053 Mention how text-quoting-style affects it.
23054 * doc/lispref/help.texi (Keys in Documentation):
23055 Say how to set text-quoting-style in ~/.emacs.
23056 * etc/NEWS: Document the change.
23057 * lisp/startup.el (startup--setup-quote-display):
23058 Follow user preference if text-quoting-style is set.
23059 (command-line): Setup quote display again if user expresses
23060 a preference in .emacs.
23062 2015-09-02 K. Handa <handa@gnu.org>
23065 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
23066 -> OTF_positioning_type_components_mask.
23068 Fix previous change
23069 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
23070 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
23072 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
23074 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
23075 Rename from vc-find-file-hook and make interactive.
23076 (vc-find-file-hook): Redefine as obsolete alias.
23078 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
23080 Escape ` and ' in doc
23081 Escape apostrophes and grave accents in docstrings if they are
23082 are supposed to stand for themselves and are not quotes. Remove
23083 apostrophes from docstring examples like ‘'(calendar-nth-named-day
23084 -1 0 10 year)’ that confuse source code with data. Do some other
23085 minor docstring fixups as well, e.g., insert a missing close quote.
23087 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
23089 Generalize the prefix-command machinery of C-u
23090 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
23091 (prefix-command-preserve-state-hook): New hooks.
23092 (internal-echo-keystrokes-prefix): New function.
23093 (prefix-command--needs-update, prefix-command--last-echo): New vars.
23094 (prefix-command-update, prefix-command-preserve): New functions.
23095 (reset-this-command-lengths): New compatibility definition.
23096 (universal-argument--mode): Call prefix-command-update.
23097 (universal-argument, universal-argument-more, negative-argument)
23098 (digit-argument): Call prefix-command-preserve-state.
23099 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
23100 the "prefix argument" to echo.
23101 (this_command_key_count_reset, before_command_key_count)
23102 (before_command_echo_length): Delete variables.
23103 (echo_add_key): Always add a space.
23104 (echo_char): Remove.
23105 (echo_dash): Don't give up when this_command_key_count is 0, since that
23106 is now the case after a prefix command.
23107 (echo_update): New function, extracted from echo_now.
23108 (echo_now): Use it.
23109 (add_command_key, read_char, record_menu_key): Remove old disabled code.
23110 (command_loop_1): Don't refrain from pushing an undo boundary when
23111 prefix-arg is set. Remove other prefix-arg special case, now handled
23112 directly in the prefix commands instead. But call echo_now if there's
23113 a prefix state to echo.
23114 (read_char, record_menu_key): Use echo_update instead of echo_char.
23115 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
23116 (Freset_this_command_lengths): Delete function.
23117 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
23118 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
23119 * lisp/simple.el: Use those new hooks for C-u.
23120 (universal-argument--description): New function.
23121 (prefix-command-echo-keystrokes-functions): Use it.
23122 (universal-argument--preserve): New function.
23123 (prefix-command-preserve-state-hook): Use it.
23124 (command-execute): Call prefix-command-update if needed.
23125 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
23126 (kmacro-step-edit-prefix-index): Delete variables.
23127 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
23128 support for prefix arg commands.
23129 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
23130 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
23131 (cua--shift-control-prefix): Use prefix-command-preserve-state.
23132 Remove now unused arg `arg'.
23133 (cua--prefix-override-handler, cua--prefix-repeat-handler)
23134 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
23135 Update accordingly.
23136 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
23138 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
23139 if the mark is not set.
23141 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
23143 Rework quoting in Emacs Lisp Introduction
23144 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
23145 (if in more detail, type-of-animal in detail, else): Rework the
23146 early example to use " rather than ' so that we don’t burden
23147 complete novices with the low-priority detail of text quoting style.
23148 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
23149 (kill-new function, kill-ring-yank-pointer)
23150 (Complete forward-sentence, Loading Files)
23151 (Code for current-kill, Code for current-kill, yank):
23152 Resurrect the Emacs 22 versions of the code, which uses grave
23153 quoting style in doc strings.
23154 (Complete zap-to-char): Mention how quoting works in doc strings.
23156 Setup quote display only if interactive
23157 * lisp/startup.el (command-line):
23158 Skip call to startup--setup-quote-display if noninteractive.
23159 Without this change, python-shell-prompt-validate-regexps-1
23160 fails in test/automated/python-tests.el when run in an
23161 en_US.utf8 locale on Fedora.
23163 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
23165 Use defalias at the top level
23166 * lisp/gnus/gnus-util.el (gnus-format-message):
23167 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
23168 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
23170 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
23172 terminal-init-w32console mimics command-line
23173 Problem reported by Eli Zaretskii.
23174 * lisp/startup.el (startup--setup-quote-display):
23175 New function, refactored from a part of ‘command-line’.
23176 (command-line): Use it.
23177 * lisp/term/w32console.el (terminal-init-w32console):
23178 Use it, so that this function stays consistent with ‘command-line’.
23180 Display replacement quotes with shadow glyphs
23181 * lisp/startup.el (command-line): When displaying ASCII
23182 replacements for curved quotes, use a shadow glyph instead of a
23183 regular one, to avoid ambiguity.
23185 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
23187 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
23189 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
23191 Docstring fixes re quotes in C code
23192 Fix some docstring quoting problems, mostly by escaping apostrophe.
23194 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
23196 Some Tramp password fixes
23197 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
23199 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
23200 at the beginning of the command. Otherwise, it could be
23201 interpreted as password prompt if the remote host echoes the
23203 (tramp-remote-coding-commands): Add "openssl enc -base64".
23205 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
23207 Make vc-git-working-revision always return the commit hash
23208 * lisp/vc/vc-git.el (vc-git-working-revision):
23209 Return the commit hash (bug#21383).
23210 (vc-git--symbolic-ref): New function, extracted from above.
23211 (vc-git-mode-line-string): Use it.
23213 2015-09-01 K. Handa <handa@gnu.org>
23215 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
23216 * src/ftfont.c (MFLTGlyphFT): New type.
23217 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
23218 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
23219 elements in the array MFLTGlyphString.glyphs.
23221 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
23223 Improve comments in elisp-mode.el, elisp-mode-tests.el
23224 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
23226 Delete Emacs 25 test in mode-local.el
23227 * lisp/cedet/mode-local.el (describe-mode-local-overload):
23228 Fix missed an edit in previous commit.
23230 Show all known mode-local overrides in *Help*
23231 * lisp/cedet/mode-local.el (describe-mode-local-overload):
23232 Assume Emacs 25. Add all known mode-local overrides.
23234 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
23236 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
23237 Ensure that the article where the search word is found is displayed
23238 and pointed to in the summary buffer.
23240 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
23242 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
23243 When the region is active, but is empty (length 0), act as though
23244 the region was not active; that is, put a comment at the end of
23245 the line. (Bug#21119)
23247 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
23249 Port tls.el to older Emacs
23250 * lisp/net/tls.el (tls-format-message):
23251 Alias to format-message, or format if not available.
23252 (open-tls-stream): Use it.
23254 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
23256 hideif.el: Recognize .h++ as C++ header
23257 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
23259 isearch: Document character folding mode
23260 * lisp/isearch.el (isearch-forward):
23261 Mention `isearch-toggle-character-fold' in doc string.
23263 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
23265 Quoting fixes in ERC and Eshell
23266 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
23267 * lisp/erc/erc-backend.el (define-erc-response-handler):
23268 * lisp/erc/erc-fill.el (erc-fill-static-center):
23269 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
23270 * lisp/eshell/em-glob.el (eshell-glob-entries):
23271 * lisp/eshell/em-hist.el (eshell-save-some-history):
23272 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
23273 (eshell-shuffle-files):
23274 * lisp/eshell/esh-cmd.el (eshell-do-eval):
23275 * lisp/eshell/esh-proc.el (eshell-process-interact)
23276 (eshell-query-kill-processes):
23277 Respect ‘text-quoting-style’ in diagnostics and doc strings.
23279 Quoting fixes in Gnus
23280 * lisp/gnus/gnus-agent.el:
23281 (gnus-agent-possibly-synchronize-flags-server):
23282 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
23283 * lisp/gnus/gnus-eform.el (gnus-edit-form):
23284 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
23285 (gnus-group-nnimap-edit-acl):
23286 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
23287 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
23288 * lisp/gnus/message.el (message-strip-subject-encoded-words)
23289 (message-check-recipients, message-send-form-letter):
23290 * lisp/gnus/mm-decode.el (mm-display-part):
23291 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
23292 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
23293 (mml-smime-get-ldap-cert):
23294 * lisp/gnus/spam-report.el (spam-report-process-queue):
23295 Respect ‘text-quoting-style’ in diagnostics.
23296 * lisp/gnus/gnus-art.el (article-display-face)
23297 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
23298 Use straight quoting in email.
23299 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
23300 Escape apostrophes in doc strings.
23302 Quoting fixes in lisp mail, mh-e, net, url
23303 * lisp/mail/emacsbug.el (report-emacs-bug)
23304 (report-emacs-bug-hook): Use straight quotes in outgoing email,
23305 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
23306 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
23307 * lisp/mail/rmailout.el (rmail-output-read-file-name):
23308 * lisp/net/imap.el (imap-interactive-login):
23309 * lisp/net/tls.el (open-tls-stream):
23310 * lisp/url/url-auth.el (url-register-auth-scheme):
23311 Respect ‘text-quoting-style’ in diagnostics.
23312 * lisp/mh-e/mh-e.el (mh-sortm-args):
23313 Quote docstring example using text quotes, not as a Lisp quote.
23315 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
23317 Fix some byte-compiler warnings in EDE
23318 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
23319 existing autoloader list, rather than add to it.
23320 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
23321 argument to eieio class constructor.
23322 (ede-show-supported-projects): New.
23323 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
23324 with (oref ... name).
23325 (ede-auto-load-project): Use slot name, not initarg key.
23326 * lisp/cedet/ede/generic.el (ede-generic-load)
23327 (ede-generic-find-matching-target): Use slot name, not initarg key.
23328 (ede-find-target): Use oref-default on class name.
23329 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
23331 (ede-enable-generic-projects): Make project type names unique.
23333 2015-08-31 Eli Zaretskii <eliz@gnu.org>
23335 Fix directory accessibility tests for w32 network volumes
23336 * src/w32.c (faccessat): Don't fail with network volumes without a
23338 (w32_accessible_directory_p): Handle network volumes without a
23341 Fix handling long file names in readdir on MS-Windows
23342 * src/w32.c (sys_readdir): Append "\*" to the directory after
23343 converting it to UTF-16/ANSI, not before, to avoid overflowing the
23344 260-character limit on file names in filename_to_utf16/ansi.
23346 Make file-accessible-directory-p reliable on MS-Windows
23347 * src/w32.c (w32_accessible_directory_p): New function.
23348 * src/w32.h (w32_accessible_directory_p): Add prototype.
23349 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
23350 w32_accessible_directory_p to test a directory for accessibility
23351 by the current user. (Bug#21346)
23352 (Ffile_accessible_directory_p): Remove the w32 specific caveat
23353 from the doc string.
23355 2015-08-31 Martin Rudalics <rudalics@gmx.at>
23357 Don't call do_pending_window_change in signal handlers (Bug#21380)
23358 * src/gtkutil.c (xg_frame_resized):
23359 * src/xterm.c (x_set_window_size):
23360 * src/w32term.c (x_set_window_size): Don't call
23361 do_pending_window_change.
23363 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
23365 Quoting fixes in lisp/org
23366 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
23368 * lisp/org/org-capture.el (org-capture-mode)
23369 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
23370 (org-ctags-ask-append-topic):
23371 * lisp/org/org.el (org-time-string-to-time)
23372 (org-time-string-to-absolute):
23373 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
23374 (org-ctags-ask-append-topic):
23375 * lisp/org/org.el (org-time-string-to-time)
23376 (org-time-string-to-absolute):
23377 Respect ‘text-quoting-style’ in diagnostics.
23378 * lisp/org/org-agenda.el (org-agenda-custom-commands)
23379 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
23380 * lisp/org/org-capture.el (org-capture-fill-template):
23381 Avoid contraction in output file that might be ASCII.
23382 * lisp/org/org-compat.el (format-message):
23383 Define if not already defined, for backward compatibility.
23384 * lisp/org/org-src.el (org-edit-src-save):
23385 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
23386 Escape apostrophes in diagnostics.
23388 Treat “instead” strings as docstrings
23389 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
23390 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
23391 Substitute quotes in instead strings.
23393 2015-08-31 Nicolas Petton <nicolas@petton.fr>
23395 Better documentation of seq-let
23396 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
23397 documentation of seq-let.
23399 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
23401 * lisp/international/ccl.el: Fix quoting.
23403 Quoting fixes in lisp/international and lisp/leim
23404 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
23405 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
23406 * lisp/international/mule-cmds.el:
23407 (select-safe-coding-system-interactively, leim-list-file-name):
23408 * lisp/international/quail.el (quail-use-package, quail-help):
23409 * lisp/international/titdic-cnv.el (tit-process-header)
23411 Respect text quoting style in doc strings and diagnostics.
23412 * lisp/international/quail.el (lisp/international/quail.el):
23413 * lisp/leim/quail/ethiopic.el ("ethiopic"):
23414 Escape apostrophes in doc strings.
23416 Make ‘text-quoting-style’ a plain defvar
23417 It doesn’t need customization, as it’s likely useful only by experts.
23418 Suggested by Stefan Monnier in:
23419 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
23420 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
23422 Quoting fixes in lisp/textmodes
23423 * lisp/textmodes/bibtex.el (bibtex-validate)
23424 (bibtex-validate-globally, bibtex-search-entries):
23425 * lisp/textmodes/ispell.el (ispell-command-loop):
23426 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
23427 * lisp/textmodes/texinfmt.el (texinfmt-version)
23428 (texinfo-format-region, texinfo-format-buffer-1):
23429 * lisp/textmodes/two-column.el (2C-split):
23430 Respect text quoting style in doc strings and diagnostics.
23431 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
23432 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
23433 Escape apostrophes in doc strings.
23435 Documentation fixes re quotes
23436 Prefer curved quotes in examples if users will typically see
23437 curved quotes when the examples run.
23438 Mention format-message when appropriate.
23439 Don’t use @code in examples.
23440 Quote an apostrophe with @kbd.
23442 Quoting fixes in lisp/progmodes
23443 * lisp/progmodes/cc-engine.el (c-bos-report-error):
23444 * lisp/progmodes/cpp.el (cpp-edit-reset):
23445 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
23446 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
23447 (etags-tags-apropos, list-tags, tags-apropos):
23448 * lisp/progmodes/executable.el (executable-set-magic):
23449 * lisp/progmodes/octave.el (octave-sync-function-file-names)
23450 (octave-help, octave-find-definition-default-filename)
23451 (octave-find-definition):
23452 Respect text quoting style in doc strings and diagnostics.
23453 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
23454 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
23455 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
23456 Escape apostrophes in doc strings.
23457 * lisp/progmodes/cmacexp.el (c-macro-expansion):
23458 Use straight quoting in ASCII comment.
23459 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
23460 (idlwave-pad-keyword):
23461 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
23462 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
23463 (vhdl-electric-semicolon, vhdl-electric-comma)
23464 (vhdl-electric-period, vhdl-electric-equal):
23465 Use directed quotes in diagnostics and doc strings.
23467 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
23469 Minor documentation and NEWS tweak
23470 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
23471 Add an index entry.
23472 * etc/NEWS: Fix a typo in character-fold-to-regexp.
23474 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
23476 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
23477 Revert patch from 2015-08-24. Tramp shall behave like for local files.
23478 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
23481 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
23483 Text quoting fixes in cedet, emulation, emacs-lisp
23484 * lisp/cedet/ede.el (ede-check-project-directory):
23485 * lisp/cedet/semantic/analyze/debug.el
23486 (semantic-analyzer-debug-insert-include-summary):
23487 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
23488 * lisp/cedet/semantic/decorate/include.el
23489 (semantic-decoration-unknown-include-describe)
23490 (semantic-decoration-all-include-summary):
23491 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
23492 * lisp/emulation/edt.el (edt-load-keys):
23493 * lisp/emulation/viper-cmd.el
23494 (viper-display-current-destructive-command)
23495 (viper-query-replace, viper-brac-function):
23496 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
23497 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
23498 Respect text quoting style in doc string or diagnostic.
23499 * lisp/cedet/mode-local.el (describe-mode-local-overload):
23500 Use format-message to avoid overtranslating quotes.
23501 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
23502 Escape an apostrophe in a docstring.
23503 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
23505 2015-08-29 Daniel Colascione <dancol@dancol.org>
23507 Fix which-func for curly quotes: look for symbol, not message
23508 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
23509 imenu-unavailable error symbol instead of trying to match message
23511 * lisp/imenu.el (imenu-unavailable): New error.
23512 (imenu-unavailable-error): New function.
23514 2015-08-29 Eli Zaretskii <eliz@gnu.org>
23516 Fix Python tests on MS-Windows
23517 * test/automated/python-tests.el
23518 (python-shell-calculate-command-1): Run python-shell-interpreter
23519 through shell-quote-argument before comparing with what
23520 python-shell-calculate-command returns.
23521 (python-shell-calculate-pythonpath-1)
23522 (python-shell-calculate-pythonpath-2)
23523 (python-shell-calculate-process-environment-2): Use path-separator
23524 instead of a literal ':'.
23525 (python-shell-calculate-exec-path-2)
23526 (python-shell-calculate-exec-path-3)
23527 (python-shell-calculate-exec-path-4)
23528 (python-shell-with-environment-1)
23529 (python-shell-with-environment-2): Run "/env/bin" through
23530 expand-file-name before comparing with exec-path. (Bug#21375)
23532 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23534 Use Core Text types/functions/variables/enumerators directly
23535 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
23536 (CharacterCollection): Remove typedefs. All uses replaced with
23538 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
23539 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
23540 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
23541 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
23542 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
23543 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
23544 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
23546 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
23547 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
23548 (MAC_FONT_FORMAT_BITMAP)
23549 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
23550 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
23551 All uses replaced with definitions.
23552 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
23553 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
23554 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
23555 Add compatibility enumerators for older versions.
23556 (mac_font_descriptor_create_with_attributes)
23557 (mac_font_descriptor_create_matching_font_descriptors)
23558 (mac_font_descriptor_create_matching_font_descriptor)
23559 (mac_font_descriptor_copy_attribute)
23560 (mac_font_descriptor_supports_languages)
23561 (mac_font_create_with_name, mac_font_get_size)
23562 (mac_font_copy_family_name, mac_font_copy_character_set)
23563 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
23564 (mac_font_get_descent, mac_font_get_leading)
23565 (mac_font_get_underline_position)
23566 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
23567 (mac_font_copy_non_synthetic_table): Remove macros. All uses
23568 replaced with definitions.
23569 (mac_font_create_preferred_family_for_attributes)
23570 (mac_font_get_advance_width_for_glyph)
23571 (mac_font_get_bounding_rect_for_glyph)
23572 (mac_font_create_available_families, mac_font_shape):
23573 Remove macros for renamed functions.
23574 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
23575 * src/macfont.m (mac_font_descriptor_supports_languages):
23576 Rename from mac_ctfont_descriptor_supports_languages.
23577 (mac_font_create_preferred_family_for_attributes): Rename from
23578 mac_ctfont_create_preferred_family_for_attributes.
23579 (mac_font_get_advance_width_for_glyph): Rename from
23580 mac_ctfont_get_advance_width_for_glyph.
23581 Use kCTFontOrientationDefault also for older versions.
23582 (mac_font_get_bounding_rect_for_glyph): Rename from
23583 mac_ctfont_get_bounding_rect_for_glyph.
23584 Use kCTFontOrientationDefault also for older versions.
23585 (mac_font_create_available_families): Rename from
23586 mac_ctfont_create_available_families.
23587 (mac_font_equal_in_postscript_name): Rename from
23588 mac_ctfont_equal_in_postscript_name. All uses changed.
23589 (mac_font_create_line_with_string_and_font): Rename from
23590 mac_ctfont_create_line_with_string_and_font. All uses changed.
23591 (mac_font_shape): Rename from mac_ctfont_shape.
23592 (mac_font_family_compare): Remove unused declaration.
23594 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
23596 Fix minor text quoting in calc, calendar, vc
23597 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
23598 * lisp/calc/calc-help.el (calc-j-prefix-help):
23599 * lisp/calc/calc-misc.el (calc-help):
23600 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
23601 Escape an apostrophe in a docstring.
23602 * lisp/calc/calc-forms.el (calc-hms-notation):
23603 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
23604 Escape an apostrophe in a diagnostic.
23605 * lisp/calc/calc-misc.el (calc-help):
23606 * lisp/calendar/diary-lib.el (diary-include-files):
23607 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
23608 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
23609 * lisp/vc/ediff-diff.el (ediff-same-contents):
23610 * lisp/vc/ediff-merg.el (ediff-re-merge):
23611 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
23612 * lisp/vc/ediff-util.el (ediff-test-save-region)
23613 (ediff-status-info):
23614 * lisp/vc/ediff.el (ediff-merge-revisions)
23615 (ediff-merge-revisions-with-ancestor):
23616 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
23617 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
23618 Respect text quoting style in doc string or diagnostic.
23619 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
23620 * lisp/vc/add-log.el (change-log-goto-source):
23621 Avoid double-formatting.
23622 * lisp/vc/ediff-init.el (format-message):
23623 New backward-compatibility alias.
23625 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
23627 Fix minor text quoting problems in lisp top level
23628 * lisp/apropos.el (apropos-describe-plist):
23629 * lisp/cus-theme.el (customize-themes):
23630 * lisp/dired.el (dired-log):
23631 * lisp/help-fns.el (describe-variable):
23632 * lisp/hexl.el (hexl-insert-multibyte-char):
23633 * lisp/info.el (Info-finder-find-node):
23634 * lisp/json.el (json-read-string):
23635 * lisp/novice.el (disabled-command-function)
23636 (disabled-command-function):
23637 * lisp/startup.el (normal-mouse-startup-screen):
23638 * lisp/woman.el (WoMan-log, WoMan-warn):
23639 Respect text quoting style in doc string or diagnostic.
23640 * lisp/replace.el (replace-character-fold):
23641 * src/syntax.c (Fmodify_syntax_entry):
23642 Escape an apostrophe in a docstring.
23643 * lisp/tempo.el (tempo-define-template):
23644 Remove confusing apostrophe from docstring.
23645 * lisp/whitespace.el (whitespace-mark-x):
23646 Use directed quotes in docstring.
23648 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
23650 Fix indentation rule in css-mode
23651 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
23652 brackets in presence of pseudo-selectors. (Bug#21328)
23654 2015-08-28 Eli Zaretskii <eliz@gnu.org>
23656 Fix a bug in recording a macro while flyspell-mode is active
23657 * lisp/subr.el (sit-for): Don't call read-event when recording a
23660 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
23662 Tweak startup screen quoting
23663 * lisp/startup.el (normal-splash-screen): Use standard
23664 "M-" abbrevation rather than a confusingly-different one.
23665 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
23667 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
23669 Add test case for ‘format’ bug and refactor
23670 * src/editfns.c (styled_format): Refactor internally, mostly by
23671 moving declarations closer to uses. This should not affect behavior.
23672 * test/automated/textprop-tests.el (textprop-tests-format): New test.
23674 Fix ‘format’ bug with property offsets
23675 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
23676 bug in calculating string property offsets (Bug#21351).
23678 Use straight quotes in lib-src diagnostics
23679 These auxiliary programs can’t use Emacs’s text-quoting-style,
23680 and it’s too much trouble to redo that mechanism by hand.
23681 So just use straight quotes for now.
23682 * lib-src/ebrowse.c (main):
23683 * lib-src/emacsclient.c (decode_options, main):
23684 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
23685 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
23686 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
23687 (none_help, print_language_names, print_help, add_regex)
23688 (suggest_asking_for_help):
23689 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
23690 Use straight quotes in diagnostics.
23692 ‘text-quoting-style’ fixes for admin
23693 * admin/admin.el (cusver-scan, cusver-check):
23694 * admin/authors.el (authors-canonical-file-name):
23695 * admin/bzrmerge.el (bzrmerge-missing):
23696 Respect ‘text-quoting-style’ in diagnostics.
23698 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
23700 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
23701 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
23702 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
23703 * doc/lispref/internals.texi (Writing Emacs Primitives):
23705 Document the change.
23706 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
23707 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
23708 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
23709 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
23710 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
23711 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
23712 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
23713 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
23714 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
23715 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
23716 Remove. All uses removed. The code now assumes
23717 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
23718 * src/bytecode.c (relocate_byte_stack):
23719 Rename from unmark_byte_stack, since it now only relocates.
23720 All callers changed.
23721 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
23722 with GCPROs removed.
23723 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
23724 * test/automated/finalizer-tests.el (finalizer-basic)
23725 (finalizer-circular-reference, finalizer-cross-reference)
23727 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
23728 Remove tests, as they depend on gc-precise.
23730 2015-08-26 Nicolas Petton <nicolas@petton.fr>
23732 Improve seq-concatenate for new sequence types
23733 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
23734 ensure that concatenation happens on sequences only. This makes it
23735 possible to use `seq-concatenate' for new types of seqs.
23736 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
23737 New function used in `seq-concatenate'.
23738 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
23739 for seq-into-sequence.
23741 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
23743 Add mode local overrides to xref-find-definitions
23744 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
23745 (xref-mode-local-overload): New; add mode local overrides to
23746 xref-find-definitions.
23747 * test/automated/elisp-mode-tests.el: Add mode local override tests.
23748 (xref-elisp-test-run): Handle indented defuns.
23749 (xref-elisp-generic-*): Improve doc strings.
23750 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
23751 (elisp--xref-find-definitions): Use it.
23753 Add mode local overrides to describe-function
23754 * lisp/cedet/mode-local.el (describe-mode-local-overload):
23755 New; add mode local overrides to describe-function.
23756 * etc/NEWS: Document change.
23758 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
23760 Prefer straight quoting in some etc text files
23761 These files are plain text and might be used by non-Emacs apps.
23762 They’re mostly ASCII, so just use straight quotes.
23764 Fix quoting in ‘message_with_string’
23765 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
23767 * src/xdisp.c (message_to_stderr): New function, refactored from
23768 part of ‘message3_nolog’.
23769 (message3_nolog): Use it.
23770 (message_with_string): Use it. Don’t mishandle NUL bytes when
23771 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
23772 Use ‘format-message’, not ‘format’, so that quotes are translated.
23774 2015-08-26 Eli Zaretskii <eliz@gnu.org>
23776 Mention false positives of file-accessible-directory on w32
23777 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
23780 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
23782 Treat error strings as help
23783 * src/print.c (print_error_message): Translate quotes and command
23784 keys in errmsg so that users see, e.g., "Symbol’s value as
23785 variable is void: foo" when text-quoting-style is curved.
23787 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
23789 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
23791 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
23793 Top-level elisp files respect ‘text-quoting-style’
23794 In top-level elisp files, use format-message in diagnostic formats,
23795 so that they follow user preference as per ‘text-quoting-style’
23796 rather than being hard-coded to quote `like this'.
23797 * lisp/allout.el (allout-get-configvar-values):
23798 * lisp/apropos.el (apropos-symbols-internal):
23799 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
23800 (dired-do-create-files-regexp, dired-create-files-non-directory):
23801 * lisp/dired-x.el (dired-do-run-mail):
23802 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
23803 * lisp/disp-table.el (standard-display-european):
23804 * lisp/find-dired.el (find-dired):
23805 * lisp/forms.el (forms-mode):
23806 * lisp/ido.el (ido-buffer-internal):
23807 * lisp/info.el (Info-index-next):
23808 * lisp/outline.el (outline-invent-heading):
23809 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
23810 * lisp/proced.el (proced-log):
23811 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
23812 * lisp/recentf.el (recentf-open-files, recentf-save-list):
23813 * lisp/savehist.el (savehist-save):
23814 * lisp/server.el (server-ensure-safe-dir):
23815 * lisp/ses.el (ses-rename-cell):
23816 * lisp/simple.el (list-processes--refresh):
23817 * lisp/startup.el (command-line):
23818 * lisp/strokes.el (strokes-unset-last-stroke)
23819 (strokes-execute-stroke):
23820 Use format-message so that quotes are restyled.
23821 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
23822 Don’t quote ‘raised’.
23823 * lisp/descr-text.el (describe-char):
23824 * lisp/dirtrack.el (dirtrack-debug-message):
23825 * lisp/hexl.el (hexl-insert-multibyte-char):
23826 Apply substitute-command-keys to help string.
23827 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
23828 (wdired-do-perm-changes):
23829 Let dired-log do the formatting.
23831 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
23833 Go back to grave quoting in Tramp
23834 * lisp/net/tramp-adb.el:
23835 * lisp/net/tramp-cache.el:
23836 * lisp/net/tramp-compat.el:
23837 * lisp/net/tramp-gvfs.el:
23838 * lisp/net/tramp-gw.el:
23839 * lisp/net/tramp-sh.el:
23840 * lisp/net/tramp-smb.el:
23841 * lisp/net/tramp.el:
23842 Stick with grave quoting in diagnostics strings. This is more
23843 portable to older Emacs, desirable for Tramp.
23844 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
23845 for diagnostic that needs requoting.
23846 * lisp/net/tramp-compat.el (format-message):
23847 Fall back on simple ‘format’, since that’s good enough now.
23849 Go back to grave quoting in Gnus
23850 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
23851 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
23852 (gnus-agent-fetch-headers):
23853 * lisp/gnus/gnus-int.el (gnus-start-news-server):
23854 * lisp/gnus/gnus-registry.el:
23855 (gnus-registry--split-fancy-with-parent-internal)
23856 (gnus-registry-post-process-groups):
23857 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
23858 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
23859 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
23860 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
23861 * lisp/gnus/spam.el (spam-check-blackholes):
23862 Stick with grave quoting in diagnostics strings. This is more
23863 portable to older Emacs, desirable for Gnus.
23865 Fix customization of text-quoting-style
23866 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
23867 * lisp/wid-edit.el (widget-docstring):
23868 Get raw docstring here since it’s cooked later and should not be
23870 * lisp/cus-edit.el (custom-group-value-create):
23871 Cook the docstring before inserting it.
23872 * lisp/cus-start.el (text-quoting-style): Quote the customization
23873 docstrings according to the new rules. Give curved examples.
23875 format-message now curves ` and '
23876 That way, the caller doesn’t have to use curved quotes to
23877 get diagnostics that match the text-quoting-style preferences.
23878 Suggested by Dmitry Gutov in:
23879 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
23880 This means we no longer need %qs, so remove that format.
23881 While we’re at it, fix an unlikely bug and lessen the pressure
23882 on the garbage collector by processing the string once rather
23883 than twice in the usual case.
23884 * doc/lispref/strings.texi (Formatting Strings):
23885 * etc/NEWS: Document this.
23886 * lisp/subr.el (format-message): Remove; now done in C.
23887 * src/callint.c (Fcall_interactively):
23888 * src/editfns.c (Fmessage, Fmessage_box):
23889 Use Fformat_message instead of Finternal__text_restyle
23890 followed by Fformat.
23891 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
23893 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
23894 when pure ASCII now suffices. Fix unlikely bug when parsing
23895 unibyte string containing non-ASCII bytes. Use inline code
23896 rather than memcpy, as it’s a tiny number of bytes.
23897 (Finternal__text_restyle): Remove; no longer used.
23898 (syms_of_doc): Don’t declare it.
23899 * src/editfns.c (Fformat): Rewrite in terms of new function
23901 (Fformat_message): New function, moved here from subr.el.
23902 (styled_format): New function, with the old guts of Fformat,
23903 except it now optionally transliterates quotes, and it transliterates
23904 traditional grave accent and apostrophe quoting as well.
23905 Remove recently-added q flag; no longer needed or used.
23906 (syms_of_editfns): Define format-message.
23907 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
23908 Remove; no longer need to be global symbols.
23909 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
23910 so that callers can use `%s'.
23911 * src/image.c (image_size_error, xbm_load_image, xbm_load)
23912 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
23913 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
23914 (svg_load_image, gs_load, x_kill_gs_process):
23915 * src/lread.c (load_warn_old_style_backquotes):
23916 * src/xfaces.c (load_pixmap):
23917 * src/xselect.c (x_clipboard_manager_error_1):
23918 Use `%s' instead of %qs in formats.
23920 2015-08-25 Eli Zaretskii <eliz@gnu.org>
23922 Minor fixes in doc/emacs/search.texi
23923 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
23924 (Special Isearch): Use @w{} to generate several consecutive spaces
23925 with Texinfo 6. (Bug#21345)
23927 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
23929 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
23930 (tramp-awk-coding-test): New defconsts.
23931 (tramp-remote-coding-commands): Use them.
23932 (tramp-find-inline-encoding): Check for Perl only if necessary.
23934 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
23936 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
23937 index entries for the special form `quote'.
23939 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
23943 Gnus format-message typo fix
23944 * lisp/gnus/gnus-util.el (gnus-format-message):
23945 Fix typo when running in older Emacs.
23947 Prefer directed to neutral quotes in docstings and diagnostics.
23948 In docstrings, escape apostrophes that would otherwise be translated
23949 to curved quotes using the newer, simpler rules.
23950 * admin/unidata/unidata-gen.el (unidata-gen-table):
23951 * lisp/align.el (align-region):
23952 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
23953 * lisp/bookmark.el (bookmark-default-annotation-text):
23954 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
23955 * lisp/calc/calc-lang.el (math-read-giac-subscr)
23956 (math-read-math-subscr):
23957 * lisp/calc/calc-misc.el (report-calc-bug):
23958 * lisp/calc/calc-prog.el (calc-fix-token-name)
23959 (calc-read-parse-table-part):
23960 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
23961 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
23962 * lisp/dabbrev.el (dabbrev-expand):
23963 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
23964 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
23965 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
23966 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
23967 * lisp/erc/erc-button.el (erc-nick-popup):
23968 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
23969 * lisp/eshell/em-dirs.el (eshell/cd):
23970 * lisp/eshell/em-glob.el (eshell-glob-regexp):
23971 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
23972 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
23973 * lisp/eshell/esh-opt.el (eshell-show-usage):
23974 * lisp/files-x.el (modify-file-local-variable):
23975 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
23976 (filesets-update-pre010505):
23977 * lisp/find-cmd.el (find-generic, find-to-string):
23978 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
23979 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
23980 (gnus-agent-fetch-headers):
23981 * lisp/gnus/gnus-int.el (gnus-start-news-server):
23982 * lisp/gnus/gnus-registry.el:
23983 (gnus-registry--split-fancy-with-parent-internal):
23984 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
23985 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
23986 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
23987 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
23988 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
23989 * lisp/gnus/spam.el (spam-check-blackholes):
23990 * lisp/mail/feedmail.el (feedmail-run-the-queue):
23991 * lisp/mpc.el (mpc-playlist-rename):
23992 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
23993 * lisp/net/mairix.el (mairix-widget-create-query):
23994 * lisp/net/tramp-cache.el:
23995 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
23996 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
23997 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
23998 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
23999 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
24000 (org-babel-goto-named-result):
24001 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
24002 * lisp/org/ob-ref.el (org-babel-ref-resolve):
24003 * lisp/org/org-agenda.el (org-agenda-prepare):
24004 * lisp/org/org-bibtex.el (org-bibtex-fields):
24005 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
24006 (org-clock-resolve):
24007 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
24008 * lisp/org/org-habit.el (org-habit-parse-todo):
24009 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
24010 (org-mouse-context-menu):
24011 * lisp/org/org-table.el (org-table-edit-formulas):
24012 * lisp/org/ox.el (org-export-async-start):
24013 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
24014 (dun-rooms, dun-endgame-questions):
24015 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
24016 * lisp/progmodes/ada-xref.el (ada-find-executable):
24017 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
24018 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
24019 (flymake-start-syntax-check-process):
24020 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
24021 * lisp/progmodes/sql.el (sql-comint):
24022 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
24023 * lisp/server.el (server-get-auth-key):
24024 * lisp/subr.el (version-to-list):
24025 * lisp/textmodes/reftex-ref.el (reftex-label):
24026 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
24027 * lisp/vc/ediff-diff.el (ediff-same-contents):
24028 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
24029 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
24030 Use directed rather than neutral quotes in diagnostics.
24032 Treat ' like ’ even when not matching `
24033 This is simpler and easier to explain, and should encourage better
24034 typography. Do this in Electric Quote mode and when translating
24035 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
24036 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
24037 * doc/emacs/text.texi (Quotation Marks):
24038 * doc/lispref/help.texi (Keys in Documentation):
24041 * lisp/electric.el (electric-quote-post-self-insert-function):
24042 * src/doc.c (Fsubstitute_command_keys):
24043 Always treat ' like ’ even when not matched by an open quote.
24045 2015-08-25 Glenn Morris <rgm@gnu.org>
24047 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
24048 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
24050 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24052 * src/macfont.m (macfont_create_family_with_symbol):
24053 Accept localized names.
24055 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
24057 Tramp diagnostics as per ‘text-quoting-style’
24058 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
24059 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
24060 (tramp-adb-handle-delete-directory)
24061 (tramp-adb-handle-delete-file)
24062 (tramp-adb-handle-file-local-copy)
24063 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
24064 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
24065 (tramp-adb-maybe-open-connection):
24066 * lisp/net/tramp-cache.el:
24067 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
24068 (tramp-compat-octal-to-decimal)
24069 (tramp-compat-coding-system-change-eol-conversion):
24070 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
24071 (tramp-gvfs-do-copy-or-rename-file)
24072 (tramp-gvfs-handle-delete-directory)
24073 (tramp-gvfs-handle-delete-file)
24074 (tramp-gvfs-handle-expand-file-name)
24075 (tramp-gvfs-handle-file-local-copy)
24076 (tramp-gvfs-handle-file-notify-add-watch)
24077 (tramp-gvfs-handle-make-directory)
24078 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
24079 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
24080 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
24081 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
24082 (tramp-sh-handle-set-visited-file-modtime)
24083 (tramp-sh-handle-set-file-modes)
24084 (tramp-sh-handle-file-name-all-completions)
24085 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
24086 (tramp-do-copy-or-rename-file-directly)
24087 (tramp-do-copy-or-rename-file-out-of-band)
24088 (tramp-sh-handle-make-directory)
24089 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
24090 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
24091 (tramp-sh-handle-start-file-process)
24092 (tramp-sh-handle-file-local-copy)
24093 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
24094 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
24095 (tramp-find-file-exists-command, tramp-open-shell)
24097 (tramp-open-connection-setup-interactive-shell)
24098 (tramp-find-inline-encoding, tramp-find-inline-compress)
24099 (tramp-compute-multi-hops, tramp-maybe-open-connection)
24100 (tramp-wait-for-output, tramp-send-command-and-check)
24101 (tramp-send-command-and-read, tramp-get-remote-path)
24102 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
24103 (tramp-get-ls-command-with-quoting-style)
24104 (tramp-get-test-command, tramp-get-remote-ln)
24105 (tramp-get-remote-perl, tramp-get-remote-stat)
24106 (tramp-get-remote-readlink, tramp-get-remote-trash)
24107 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
24108 (tramp-get-remote-inotifywait, tramp-get-remote-id)
24109 (tramp-get-remote-python):
24110 * lisp/net/tramp-smb.el (tramp-smb-errors)
24111 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
24112 (tramp-smb-handle-delete-directory)
24113 (tramp-smb-handle-delete-file)
24114 (tramp-smb-handle-file-local-copy)
24115 (tramp-smb-handle-make-directory)
24116 (tramp-smb-handle-make-directory-internal)
24117 (tramp-smb-handle-make-symbolic-link)
24118 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
24119 (tramp-smb-handle-set-file-modes)
24120 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
24121 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
24122 (tramp-process-actions):
24123 Generate diagnostics according to ‘text-quoting-style’, by
24124 using curved quotes in format strings and ‘format-message’
24126 * lisp/net/tramp-compat.el (format-message):
24127 Define a replacement, if it’s an older version of Emacs
24128 that doesn’t have it already.
24130 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
24132 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
24134 Fix documentation for `save-excursion'
24135 * doc/lispref/positions.texi (Excursions):
24136 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
24137 (Template for save-excursion, Point and mark): `save-excursion'
24138 does not save&restore the mark any more.
24140 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
24142 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
24144 (tramp-do-file-attributes-with-stat)
24145 (tramp-do-directory-files-and-attributes-with-stat): Use them.
24146 (tramp-convert-file-attributes): Remove double slashes in symlinks.
24147 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
24148 Handle symlinks with "//" in the file name.
24150 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
24152 2015-08-24 Nicolas Petton <nicolas@petton.fr>
24154 Fix cl-subseq and cl-concatenate
24155 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
24157 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
24160 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
24162 Fix full-screen code when there is no window manager (Bug#21317)
24163 * src/xterm.h (x_wm_supports): Declare external.
24164 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
24165 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
24166 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
24167 `fullscreen' frame parameter.
24168 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
24169 without a window manager.
24171 2015-08-24 Glenn Morris <rgm@gnu.org>
24173 * lisp/version.el (emacs-version): No longer include build host.
24174 * doc/lispref/intro.texi (Version Info): Update example.
24176 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
24178 * doc/lispref/elisp.texi: Fix typo in previous change.
24180 More-conservative ‘format’ quote restyling
24181 Instead of restyling curved quotes for every call to ‘format’,
24182 create a new function ‘format-message’ that does the restyling,
24183 and using the new function instead of ‘format’ only in contexts
24184 where this seems appropriate.
24185 Problem reported by Dmitry Gutov and Andreas Schwab in:
24186 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
24187 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
24188 * doc/lispref/commands.texi (Using Interactive):
24189 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
24190 * doc/lispref/display.texi (Displaying Messages, Progress):
24191 * doc/lispref/elisp.texi:
24192 * doc/lispref/help.texi (Keys in Documentation):
24193 * doc/lispref/minibuf.texi (Minibuffer Misc):
24194 * doc/lispref/strings.texi (Formatting Strings):
24196 Document the changes.
24197 * lisp/abbrev.el (expand-region-abbrevs):
24198 * lisp/apropos.el (apropos-library):
24199 * lisp/calc/calc-ext.el (calc-record-message)
24200 (calc-user-function-list):
24201 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
24202 * lisp/calc/calc-lang.el (math-read-big-balance):
24203 * lisp/calc/calc-store.el (calc-edit-variable):
24204 * lisp/calc/calc-units.el (math-build-units-table-buffer):
24205 * lisp/calc/calc-yank.el (calc-edit-mode):
24206 * lisp/calendar/icalendar.el (icalendar-export-region)
24207 (icalendar--add-diary-entry):
24208 * lisp/cedet/mode-local.el (mode-local-print-binding)
24209 (mode-local-describe-bindings-2):
24210 * lisp/cedet/semantic/complete.el (semantic-completion-message):
24211 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
24212 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
24213 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
24214 * lisp/descr-text.el (describe-text-properties-1, describe-char):
24215 * lisp/dframe.el (dframe-message):
24216 * lisp/dired-aux.el (dired-query):
24217 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
24218 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
24219 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
24220 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
24221 (cconv-analyze-form):
24222 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
24223 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
24224 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
24225 * lisp/emacs-lisp/edebug.el (edebug-format):
24226 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
24227 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
24229 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
24230 * lisp/emacs-lisp/find-func.el (find-function-library):
24231 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
24232 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
24233 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
24234 * lisp/emacs-lisp/package.el (package-compute-transaction)
24235 (package-install-button-action, package-delete-button-action)
24236 (package-menu--list-to-prompt):
24237 * lisp/emacs-lisp/timer.el (timer-event-handler):
24238 * lisp/emacs-lisp/warnings.el (lwarn, warn):
24239 * lisp/emulation/viper-cmd.el:
24240 (viper-toggle-parse-sexp-ignore-comments)
24241 (viper-kill-buffer, viper-brac-function):
24242 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
24243 * lisp/facemenu.el (facemenu-add-new-face):
24244 * lisp/faces.el (face-documentation, read-face-name)
24245 (face-read-string, read-face-font, describe-face):
24246 * lisp/files.el (find-alternate-file, hack-local-variables)
24247 (hack-one-local-variable--obsolete, write-file)
24248 (basic-save-buffer, delete-directory):
24249 * lisp/format.el (format-write-file, format-find-file)
24250 (format-insert-file):
24251 * lisp/help-fns.el (help-fns--key-bindings)
24252 (help-fns--compiler-macro, help-fns--obsolete)
24253 (help-fns--interactive-only, describe-function-1)
24254 (describe-variable):
24255 * lisp/help.el (describe-mode):
24256 * lisp/info-xref.el (info-xref-output):
24257 * lisp/info.el (Info-virtual-index-find-node)
24258 (Info-virtual-index, info-apropos):
24259 * lisp/international/kkc.el (kkc-error):
24260 * lisp/international/mule-cmds.el:
24261 (select-safe-coding-system-interactively)
24262 (select-safe-coding-system, describe-input-method):
24263 * lisp/international/mule-conf.el (code-offset):
24264 * lisp/international/mule-diag.el (describe-character-set)
24265 (list-input-methods-1):
24266 * lisp/international/quail.el (quail-error):
24267 * lisp/minibuffer.el (minibuffer-message):
24268 * lisp/mpc.el (mpc--debug):
24269 * lisp/msb.el (msb--choose-menu):
24270 * lisp/net/ange-ftp.el (ange-ftp-message):
24271 * lisp/net/gnutls.el (gnutls-message-maybe):
24272 * lisp/net/newst-backend.el (newsticker--sentinel-work):
24273 * lisp/net/newst-treeview.el (newsticker--treeview-load):
24274 * lisp/net/nsm.el (nsm-query-user):
24275 * lisp/net/rlogin.el (rlogin):
24276 * lisp/net/soap-client.el (soap-warning):
24277 * lisp/net/tramp.el (tramp-debug-message):
24278 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
24279 * lisp/nxml/nxml-parse.el (nxml-parse-error):
24280 * lisp/nxml/rng-cmpct.el (rng-c-error):
24281 * lisp/nxml/rng-match.el (rng-compile-error):
24282 * lisp/nxml/rng-uri.el (rng-uri-error):
24283 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
24284 * lisp/org/org-ctags.el:
24285 (org-ctags-ask-rebuild-tags-file-then-find-tag):
24286 * lisp/proced.el (proced-log):
24287 * lisp/progmodes/ebnf2ps.el (ebnf-log):
24288 * lisp/progmodes/flymake.el (flymake-log):
24289 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
24290 * lisp/replace.el (occur-1):
24291 * lisp/simple.el (execute-extended-command)
24292 (undo-outer-limit-truncate, define-alternatives):
24293 * lisp/startup.el (command-line):
24294 * lisp/subr.el (error, user-error, add-to-list):
24295 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
24296 (tutorial--find-changed-keys):
24297 * src/callint.c (Fcall_interactively):
24298 * src/editfns.c (Fmessage, Fmessage_box):
24299 Restyle the quotes of format strings intended for use as a
24300 diagnostic, when restyling seems appropriate.
24301 * lisp/subr.el (format-message): New function.
24302 * src/doc.c (Finternal__text_restyle): New function.
24303 (syms_of_doc): Define it.
24305 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
24307 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
24309 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
24311 python.el: Fix python-shell-buffer-substring on indented code
24313 * lisp/progmodes/python.el (python-shell-buffer-substring):
24314 Respect current line indentation when calculating string.
24315 * test/automated/python-tests.el
24316 (python-shell-buffer-substring-10)
24317 (python-shell-buffer-substring-11)
24318 (python-shell-buffer-substring-12): New tests.
24320 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
24322 Fix minor glitches from ‘format’ reversion
24323 * doc/lispref/strings.texi (Formatting Strings):
24324 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
24325 Documentation’, not below.
24326 * src/syntax.c (Finternal_describe_syntax_value):
24327 Prefer AUTO_STRING to build_string where either will do, as
24328 AUTO_STRING is a bit faster.
24330 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
24332 python.el: Defer shell setup code until first interactive prompt
24333 * lisp/progmodes/python.el
24334 (python-shell-comint-watch-for-first-prompt-output-filter):
24336 (inferior-python-mode): Use it.
24337 (python-shell-first-prompt-hook): New hook.
24338 (python-shell-send-setup-code)
24339 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
24340 this hook instead of inferior-python-hook.
24342 2015-08-23 Nicolas Petton <nicolas@petton.fr>
24344 Remove the calls to `seq-into` from `seq-concatenate`
24345 Since most new types of seq would have to be defined as sequences (cons
24346 cells or CL structs, mostly), there is no need to convert the seqs to
24347 sequences (which can be a fairly expensive operation).
24348 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
24351 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
24353 python.el: Fix completion for pdb interactions
24354 * lisp/progmodes/python.el (python-shell-completion-setup-code):
24355 Simplify. Toggle print_mode for native wrapped completer.
24356 (python-shell-completion-native-setup): Ensure process buffer.
24357 Add print_mode attribute to completer wrapper to toggle returning
24358 or printing candidates.
24359 (python-shell-completion-native-get-completions): Cleanup.
24360 (python-shell-completion-get-completions): Cleanup.
24361 (python-shell-completion-at-point): Perform prompt checks.
24362 Force fallback completion in pdb interactions.
24364 2015-08-23 Nicolas Petton <nicolas@petton.fr>
24366 Make seq.el more extensible by using cl-defmethod
24367 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
24368 make it easier to extend seq.el with new "seq types".
24369 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
24370 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
24371 subseq in cl-extra.el, and use it in seq.el.
24373 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
24375 python.el: Fix prompt detection with user overridden interpreter
24376 * lisp/progmodes/python.el (python-shell-prompt-detect):
24377 Honor buffer local python-shell-interpreter and
24378 python-shell-interpreter-interactive-arg.
24380 2015-08-23 Eli Zaretskii <eliz@gnu.org>
24382 Support exec-directory with non-ASCII characters on Windows
24383 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
24384 in the system's ANSI codepage, when it is used for invoking
24387 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
24389 Revert "Extend ‘format’ to translate curved quotes"
24390 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
24392 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
24393 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
24395 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
24397 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
24398 Clarify "invisible window".
24400 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
24402 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
24403 magic-fallback-mode-alist.
24405 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
24407 python.el: fallback completion, ffap and eldoc setup enhancements
24408 Setup codes are now sent continuously so that the current frame is
24409 always taken into account. This allows working within debuggers
24410 and always keeping a fresh version of setup codes that will return
24412 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
24413 (python-shell-send-setup-code): Send code only when
24414 python-shell-setup-codes is non-nil.
24415 (python-shell-completion-string-code): Cleanup trailing newline.
24416 (python-shell-completion-get-completions): Always use
24417 python-shell-completion-setup-code.
24418 (python-ffap-setup-code): Work with any object, not only modules.
24419 (python-ffap-string-code): Cleanup trailing newline.
24420 (python-ffap-module-path): Always use python-ffap-setup-code.
24421 (python-eldoc-string-code): Cleanup trailing newline.
24422 (python-eldoc--get-doc-at-point): Always use
24423 python-eldoc-setup-code. Return non-nil only if docstring is
24426 python.el: Increase native completion robustness
24427 * lisp/progmodes/python.el (python-shell-completion-native-setup):
24428 Make completer print real candidates and just return dummy ones to
24429 avoid input modification.
24430 (python-shell-completion-native-get-completions): Set
24431 comint-redirect-insert-matching-regexp to non-nil and make
24432 comint-redirect-finished-regexp match the last dummy candidate.
24433 Use python-shell-accept-process-output to wait for the full list
24436 2015-08-22 Eli Zaretskii <eliz@gnu.org>
24438 Fix invocation of programs via cmdproxy.exe
24439 * src/w32proc.c (sys_spawnve): Use exec-directory, not
24440 invocation-directory, for finding cmdproxy.exe. When Emacs is
24441 run from the source tree, look for cmdproxy.exe in the same source
24444 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
24446 Handle comments inside unquoted URIs in css-mode
24447 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
24448 (css-syntax-propertize-function): New defconst.
24449 (css--font-lock-keywords): Handle parens around unquoted URIs.
24450 (css-mode): Set `syntax-propertize-function'.
24452 2015-08-22 Eli Zaretskii <eliz@gnu.org>
24454 Support invocation of Hunspell with multiple dictionaries
24455 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
24456 Support lists of dictionaries of the form "DICT1,DICT2,...".
24457 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
24459 Minor formatting changes in ispell.el
24460 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
24461 (ispell-print-if-debug, ispell-aspell-find-dictionary)
24462 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
24463 (ispell-hunspell-dictionary-alist)
24464 (ispell-hunspell-fill-dictionary-entry)
24465 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
24466 (ispell-buffer-with-debug, ispell-complete-word)
24467 (ispell-current-dictionary, ispell-current-personal-dictionary)
24468 (ispell-accept-output, ispell-minor-mode)
24469 (ispell-personal-dictionary, ispell-dictionary-alist)
24470 (ispell-really-aspell, ispell-really-hunspell)
24471 (ispell-encoding8-command, ispell-aspell-supports-utf8)
24472 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
24473 Fix whitespace, inconsistent capitalization, and arguments in doc
24476 2015-08-22 Martin Rudalics <rudalics@gmx.at>
24478 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
24479 function refused to resize a size-preserved window.
24481 2015-08-22 Eli Zaretskii <eliz@gnu.org>
24483 * doc/lispref/windows.texi (Selecting Windows): Improve
24484 documentation and indexing of 'window-use-time'.
24486 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
24488 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
24489 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
24490 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
24491 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
24492 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
24493 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
24494 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
24495 Fix up commenting style.
24497 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
24499 text-quoting-style in emacs-lisp diagnostics
24500 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
24501 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
24502 (ad-disable-advice, ad-remove-advice, ad-set-argument)
24503 (ad-set-arguments):
24504 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
24505 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
24506 (byte-optimize-while, byte-optimize-apply):
24507 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
24508 (byte-compile-log-file, byte-compile-format-warn)
24509 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
24510 (byte-compile-cl-warn)
24511 (byte-compile-warn-about-unresolved-functions)
24512 (byte-compile-file, byte-compile-fix-header)
24513 (byte-compile--declare-var, byte-compile-file-form-defmumble)
24514 (byte-compile-form, byte-compile-normal-call)
24515 (byte-compile-variable-ref, byte-compile-variable-set)
24516 (byte-compile-subr-wrong-args, byte-compile-setq-default)
24517 (byte-compile-negation-optimizer)
24518 (byte-compile-condition-case--old)
24519 (byte-compile-condition-case--new, byte-compile-save-excursion)
24520 (byte-compile-defvar, byte-compile-autoload)
24521 (byte-compile-lambda-form)
24522 (byte-compile-make-variable-buffer-local, display-call-tree)
24523 (batch-byte-compile):
24524 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
24525 (cconv-analyze-form):
24526 * lisp/emacs-lisp/chart.el (chart-space-usage):
24527 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
24528 (check-declare-warn, check-declare-file)
24529 (check-declare-directory):
24530 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
24531 (checkdoc-message-text-engine):
24532 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
24533 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
24534 (cl-symbol-macrolet):
24535 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
24536 * lisp/emacs-lisp/copyright.el (copyright)
24537 (copyright-update-directory):
24538 * lisp/emacs-lisp/edebug.el (edebug-read-list):
24539 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
24540 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
24541 (eieio-oref, eieio-oset-default):
24542 * lisp/emacs-lisp/eieio-speedbar.el:
24543 (eieio-speedbar-child-make-tag-lines)
24544 (eieio-speedbar-child-description):
24545 * lisp/emacs-lisp/eieio.el (defclass, change-class):
24546 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
24547 (elint-init-form, elint-check-defalias-form)
24548 (elint-check-let-form):
24549 * lisp/emacs-lisp/ert.el (ert-get-test):
24550 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
24551 (find-function-library):
24552 * lisp/emacs-lisp/generator.el (iter-yield):
24553 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
24554 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
24555 * lisp/emacs-lisp/package-x.el (package-upload-file):
24556 * lisp/emacs-lisp/package.el (package-version-join)
24557 (package-disabled-p, package-activate-1, package-activate)
24558 (package--download-one-archive)
24559 (package--download-and-read-archives)
24560 (package-compute-transaction, package-install-from-archive)
24561 (package-install, package-install-selected-packages)
24562 (package-delete, package-autoremove)
24563 (package-install-button-action, package-delete-button-action)
24564 (package-menu-hide-package, package-menu--list-to-prompt)
24565 (package-menu--perform-transaction)
24566 (package-menu--find-and-notify-upgrades):
24567 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
24568 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
24569 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
24570 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
24571 * lisp/emacs-lisp/smie.el (smie-config-save):
24572 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
24573 * lisp/emacs-lisp/testcover.el (testcover-1value):
24574 Use curved quotes in diagnostic format strings.
24576 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
24578 python.el: Ensure remote process-environment on non-interactive processes
24579 * lisp/progmodes/python.el
24580 (python-shell-tramp-refresh-process-environment): New function.
24581 (python-shell-with-environment): Use it.
24582 * test/automated/python-tests.el (python-shell-with-environment-2):
24585 python.el: Enhancements to process environment setup.
24586 * lisp/progmodes/python.el (python-shell-process-environment)
24587 (python-shell-extra-pythonpaths, python-shell-exec-path)
24588 (python-shell-virtualenv-root): Update docstring. Remove :safe.
24589 (python-shell-setup-codes): Remove :safe.
24590 (python-shell-remote-exec-path): New defcustom.
24591 (python-shell--add-to-path-with-priority): New macro.
24592 (python-shell-calculate-pythonpath): Give priority to
24593 python-shell-extra-pythonpaths. Update docstring.
24594 (python-shell-calculate-process-environment): Give priority to
24595 python-shell-process-environment. Update docstring.
24596 (python-shell-calculate-exec-path): Give priority to
24597 python-shell-exec-path and calculated virtualenv bin directory.
24599 (python-shell-tramp-refresh-remote-path): New function.
24600 (python-shell-with-environment): Use it when working remotely and
24601 do not modify tramp-remote-path. Allow nesting.
24602 (python-shell-calculate-command): Remove useless
24603 python-shell-with-environment call.
24604 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
24605 (python-shell-calculate-pythonpath-2)
24606 (python-shell-calculate-process-environment-6)
24607 (python-shell-calculate-process-environment-7)
24608 (python-shell-calculate-process-environment-8)
24609 (python-shell-calculate-exec-path-3)
24610 (python-shell-calculate-exec-path-4)
24611 (python-shell-calculate-exec-path-5)
24612 (python-shell-calculate-exec-path-6)
24613 (python-shell-with-environment-3): New tests.
24614 (python-shell-calculate-process-environment-2)
24615 (python-shell-calculate-process-environment-3)
24616 (python-shell-calculate-process-environment-4)
24617 (python-shell-calculate-process-environment-5)
24618 (python-shell-calculate-exec-path-1)
24619 (python-shell-calculate-exec-path-2)
24620 (python-shell-with-environment-1)
24621 (python-shell-with-environment-2): Update and simplify.
24623 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
24625 Avoid hard-coding "M-x command" in docstrings
24626 * lisp/calendar/todo-mode.el (todo-mode):
24627 * lisp/desktop.el (desktop-save-mode):
24628 * lisp/edmacro.el (edit-kbd-macro):
24629 * lisp/emacs-lisp/package.el (package-menu-execute):
24630 * lisp/emulation/viper-cmd.el (viper-ask-level):
24631 * lisp/emulation/viper-init.el (viper-expert-level):
24632 * lisp/filesets.el (filesets-add-buffer):
24633 * lisp/follow.el (follow-mode):
24634 * lisp/gnus/auth-source.el (auth-sources):
24635 * lisp/international/ogonek.el (ogonek-informacja)
24636 (ogonek-information):
24637 * lisp/net/tramp.el (tramp-process-actions):
24638 * lisp/org/org-gnus.el (org-gnus-no-new-news):
24639 * lisp/org/org.el (org-ellipsis):
24640 * lisp/progmodes/python.el (python-shell-get-process-or-error):
24641 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
24642 * lisp/server.el (server-start):
24643 * lisp/type-break.el (type-break-noninteractive-query):
24644 * lisp/userlock.el (ask-user-about-supersession-help):
24645 * lisp/whitespace.el (whitespace-report-region):
24646 Prefer (substitute-command-keys "`\\[foo-command]'")
24647 to "`M-x foo-command'" in docstrings and the like.
24649 2015-08-21 Tassilo Horn <tsdh@gnu.org>
24651 Use add-function for prettify-symbols-compose-predicate
24652 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
24653 prettify-symbols-compose-predicate in terms of add-function.
24654 * etc/NEWS: Mention prettify-symbols-compose-predicate and
24655 prettify-symbols-mode support in tex-mode.
24657 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
24659 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
24660 (smie-indent-exps, smie-indent-keyword): Use it.
24661 * test/indent/css-mode.css: Test alignment with leading comment.
24663 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
24665 Respect text-quoting-style in (*Finder*) menus
24666 * lisp/info.el (info--prettify-description):
24667 Treat description as a docstring, so that it's requoted as
24668 per text-quoting-style.
24670 2015-08-21 Martin Rudalics <rudalics@gmx.at>
24672 Document `window-use-time' in Elisp manual
24673 * doc/lispref/windows.texi (Selecting Windows): Document
24676 2015-08-21 Eli Zaretskii <eliz@gnu.org>
24678 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
24679 This is a cleaner fix for Bug#21260 than the previous change.
24681 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
24683 Respect text-quoting-style in calc
24684 In calc, tespect text-quoting-style preference in diagnostic
24685 formats and fix a few similar problems in docstrings.
24686 * lisp/calc/calc-aent.el (math-read-factor):
24687 * lisp/calc/calc-embed.el (calc-do-embedded):
24688 * lisp/calc/calc-ext.el (calc-user-function-list)
24689 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
24690 * lisp/calc/calc-help.el (calc-describe-key)
24691 (calc-describe-thing):
24692 * lisp/calc/calc-lang.el (calc-c-language)
24693 (math-parse-fortran-vector-end, math-parse-tex-sum)
24694 (math-parse-eqn-matrix, math-parse-eqn-prime)
24695 (calc-yacas-language, calc-maxima-language, calc-giac-language)
24696 (math-read-big-rec, math-read-big-balance):
24697 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
24698 (calc-auto-recompute):
24699 * lisp/calc/calc-prog.el (calc-user-define-invocation)
24700 (math-do-arg-check):
24701 * lisp/calc/calc-store.el (calc-edit-variable):
24702 * lisp/calc/calc-units.el (math-build-units-table-buffer):
24703 * lisp/calc/calc-vec.el (math-read-brackets):
24704 * lisp/calc/calc-yank.el (calc-edit-mode):
24705 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
24706 Use curved quotes in diagnostic format strings.
24707 * lisp/calc/calc-help.el (calc-describe-thing):
24708 Format docstrings with substitute-command-keys.
24709 * lisp/calc/calc-help.el (calc-j-prefix-help):
24710 * lisp/calc/calc-misc.el (calc-help):
24711 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
24712 Escape a docstring "`".
24714 2015-08-21 Eli Zaretskii <eliz@gnu.org>
24716 Fix documentation of 'menu-set-font' and 'set-frame-font'
24717 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
24718 * doc/lispref/frames.texi (Frame Font): Document that
24719 set-frame-font with the last argument 't' will also make the font
24720 the default for the future GUI frames.
24722 Document '--create-frame' option to emacsclient
24723 * doc/emacs/misc.texi (emacsclient Options): Document the
24724 '--create-frame' option. (Bug#21308)
24726 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
24728 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
24730 2015-08-21 Eli Zaretskii <eliz@gnu.org>
24732 Document 'get-mru-window' in the ELisp manual
24733 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
24734 'get-mru-window'. (Bug#21306)
24736 Clarify documentation of 'get-buffer-window-list'
24737 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
24738 current window, if relevant, will be the first in the list
24739 returned by 'get-buffer-window-list'.
24740 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
24742 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
24744 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
24745 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
24746 `switch-to-buffer'.
24748 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
24750 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
24751 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
24752 `display-buffer' instead of `switch-to-buffer'.
24754 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
24756 Follow user preference in calendar diagnostics
24757 Respect text-quoting-style preference in diagnostic formats by
24758 using curved quotes (which are translated as per text-quoting-style)
24759 instead of grave accent and apostrophe (which are not).
24760 * lisp/calendar/appt.el (appt-display-message):
24761 * lisp/calendar/diary-lib.el (diary-check-diary-file)
24762 (diary-mail-entries, diary-from-outlook):
24763 * lisp/calendar/icalendar.el (icalendar-export-region)
24764 (icalendar--convert-float-to-ical)
24765 (icalendar--convert-date-to-ical)
24766 (icalendar--convert-ical-to-diary)
24767 (icalendar--convert-recurring-to-diary)
24768 (icalendar--add-diary-entry):
24769 * lisp/calendar/time-date.el (format-seconds):
24770 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
24771 (timeclock-make-hours-explicit):
24772 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
24773 (todo-item-mark, todo-check-format)
24774 (todo-insert-item--next-param, todo-edit-item--next-key)
24776 Use curved quotes in diagnostic format strings.
24777 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
24778 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
24779 Just use straight quoting for simple test case.
24781 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
24783 * src/gfilenotify.c (Fgfile_add_watch):
24784 Handle errors from g_file_monitor.
24786 2015-08-21 Martin Rudalics <rudalics@gmx.at>
24788 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
24789 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
24790 frame" instead of "non-minibuffer frame".
24792 Fix frame geometry related text
24793 * doc/lispref/frames.texi (Frame Layout):
24794 Rename `x-frame-geometry' to `frame-geometry'.
24795 * doc/lispref/frames.texi (Mouse Position):
24796 * doc/lispref/windows.texi (Coordinates and Windows):
24797 Use `set-mouse-absolute-pixel-position' instead of
24798 `x-set-mouse-absolute-pixel-position'.
24800 Sanitize frame geometry related functions
24801 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
24802 (Fx_frame_edges): Rename to Fns_frame_edges.
24803 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
24804 (Fx_frame_edges): Rename to Fw32_frame_edges.
24805 (Fx_mouse_absolute_pixel_position): Rename to
24806 Fw32_mouse_absolute_pixel_position.
24807 (Fx_set_mouse_absolute_pixel_position): Rename to
24808 Fw32_set_mouse_absolute_pixel_position.
24809 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
24810 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
24811 (ns-frame-edges, w32-mouse-absolute-pixel-position)
24812 (x-mouse-absolute-pixel-position)
24813 (w32-set-mouse-absolute-pixel-position)
24814 (x-set-mouse-absolute-pixel-position): Declare.
24815 (frame-geometry, mouse-absolute-pixel-position)
24816 (set-mouse-absolute-pixel-position): New functions.
24817 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
24819 2015-08-21 Eli Zaretskii <eliz@gnu.org>
24821 Fix MinGW64 build broken by latest w32uniscribe.c changes
24822 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
24823 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
24826 2015-08-21 Tassilo Horn <tsdh@gnu.org>
24828 Add TeX defaults for prettify-symbol-mode
24829 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
24830 Rename from tex-prettify-symbols-alist.
24831 (tex--prettify-symbols-compose-p): New function.
24832 (tex-common-initialization): Use them as prettify-symbols-alist
24833 and prettify-symbols-compose-predicate.
24835 Generalize prettify-symbols to arbitrary modes
24836 * lisp/progmodes/prog-mode.el
24837 (prettify-symbols-default-compose-p): New function.
24838 (prettify-symbols-compose-predicate): New variable.
24839 (prettify-symbols--compose-symbol): Use it.
24841 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
24843 Don't quote symbols 'like-this' in docstrings etc.
24844 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
24845 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
24846 * lisp/allout.el (allout-add-resumptions, allout-mode):
24847 * lisp/calculator.el (calculator-operators):
24848 * lisp/cedet/data-debug.el (dd-propertize):
24849 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
24850 * lisp/cedet/semantic/analyze/debug.el:
24851 (semantic-analyzer-debug-global-miss-text):
24852 * lisp/cedet/semantic/lex-spp.el:
24853 (semantic-lex-spp-replace-or-symbol-or-keyword):
24854 * lisp/cedet/semantic/symref.el:
24855 (semantic-symref-cleanup-recent-buffers-fcn):
24856 * lisp/cedet/semantic/tag.el (semantic-tag-class):
24857 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
24858 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
24859 * lisp/gnus/pop3.el (pop3-authentication-scheme):
24860 * lisp/help-fns.el (describe-function-orig-buffer):
24861 * lisp/imenu.el (imenu--history-list):
24862 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
24863 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
24864 (feedmail-queue-default-file-slug)
24865 (feedmail-queue-buffer-file-name):
24866 * lisp/net/mairix.el (mairix-searches-mode-map):
24867 * lisp/net/newst-backend.el (newsticker-retrieval-method)
24868 (newsticker-auto-mark-filter-list):
24869 * lisp/obsolete/vi.el (vi-mode):
24870 * lisp/progmodes/cc-engine.el (c-literal-type):
24871 * lisp/progmodes/cpp.el (cpp-face):
24872 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
24873 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
24874 * lisp/progmodes/pascal.el (pascal-auto-lineup):
24875 * lisp/progmodes/prog-mode.el (prog-widen):
24876 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
24877 (verilog-auto-lineup, verilog-auto-reset-widths)
24878 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
24879 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
24880 (flyspell-maybe-correct-doubling):
24881 * lisp/textmodes/table.el (table-justify, table-justify-cell)
24882 (table-justify-row, table-justify-column, table-insert-sequence)
24883 (table--justify-cell-contents):
24884 * lisp/url/url-auth.el (url-get-authentication):
24885 * lisp/window.el (display-buffer-record-window):
24886 * lisp/xml.el (xml-parse-file, xml-parse-region):
24887 * src/gfilenotify.c (Fgfile_add_watch):
24888 Don't quote symbols with apostrophes in doc strings.
24889 Use asymmetric quotes instead.
24890 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
24891 Likewise for symbol in diagnostic.
24892 * lisp/image.el (image-extension-data):
24893 * lisp/register.el (frame-configuration-to-register):
24894 * src/buffer.c (syms_of_buffer):
24895 Remove bogus apostrophes after symbols.
24896 * lisp/thumbs.el (thumbs-conversion-program):
24897 Quote Lisp string values using double-quotes, not apostrophes.
24899 2015-08-20 Martin Rudalics <rudalics@gmx.at>
24901 Describe frame geometry and related functions in Elisp manual
24902 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
24903 (Showing Images): Update references.
24904 * doc/lispref/elisp.texi (Top): Update node listing.
24905 * doc/lispref/frames.texi (Frame Geometry): New node.
24906 Move `Size and Position' section here.
24907 (Size Parameters): Update references.
24908 (Mouse Position): Update references and nomenclature.
24909 Describe new functions `x-mouse-absolute-pixel-position' and
24910 `x-set-mouse-absolute-pixel-position'.
24911 * doc/lispref/windows.texi (Window Sizes): Update references.
24912 (Resizing Windows): Update references. Move description of
24913 `fit-frame-to-buffer' here.
24914 (Coordinates and Windows): Update nomenclature and references.
24915 Describe new arguments of `window-edges'. Comment out
24916 descriptions of `window-left-column', `window-top-line',
24917 `window-pixel-left' and `window-pixel-top'. Describe
24918 `window-absolute-pixel-position'.
24920 2015-08-20 Alan Mackenzie <acm@muc.de>
24922 Handling of `c-parse-state'. Fix low level bug.
24923 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
24924 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
24926 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
24928 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
24929 window instead of deleting it.
24931 2015-08-20 Martin Rudalics <rudalics@gmx.at>
24933 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
24934 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
24935 determine whether frame has a titlebar.
24936 Suggested by Eli Zaretskii <eliz@gnu.org>
24938 2015-08-20 Tassilo Horn <tsdh@gnu.org>
24940 Add a prettify-symbols-alist for (La)TeX
24941 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
24942 New variable holding an alist suitable as prettify-symbols-alist in
24945 2015-08-19 Alan Mackenzie <acm@muc.de>
24947 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
24948 Fixes debbugs#21275.
24949 In Emacs >= 25, let electric-pair-mode take precedence over
24950 delete-selection-mode.
24951 * lisp/delsel.el (delete-selection-uses-region-p): New function,
24952 previously a lambda expression in a property value for
24953 `self-insert-command'.
24954 (top-level): Set the `delete-selection' property of
24955 `self-insert-command' to `delete-selection-uses-region-p'.
24956 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
24957 property for c-electric-\(brace\|paren\) the value
24958 `delete-selection-uses-region-p' when the latter function exists.
24960 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
24962 Fix key binding quoting in tutorial *Help*
24963 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
24964 When generating help for custom key bindings, use the user-preferred
24965 quoting style rather than hardcoding the grave style.
24967 2015-08-19 Eli Zaretskii <eliz@gnu.org>
24969 Improve and future-proof OTF fonts support in w32uniscribe.c
24970 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
24971 about the expected results and why the new Uniscribe APIs are not
24972 used in this function.
24973 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
24974 (ScriptGetFontFeatureTags_Proc): New function typedefs.
24975 (uniscribe_new_apis): New static variable.
24976 (uniscribe_check_features): New function, implements OTF features
24977 verification while correctly accounting for features in the list
24978 after the nil member, if any.
24979 (uniscribe_check_otf_1): New function, retrieves the features
24980 supported by the font for the requested script and language using
24981 the Uniscribe APIs available from Windows Vista onwards.
24982 (uniscribe_check_otf): If the new Uniscribe APIs are available,
24983 use them in preference to reading the font data directly. Call
24984 uniscribe_check_features to verify that the requested features are
24985 supported, replacing the original incomplete code.
24986 (syms_of_w32uniscribe): Initialize function pointers for the new
24987 Uniscribe APIs. (Bug#21260)
24988 (otf_features): Scan the script, langsys, and feature arrays back
24989 to front, so that the result we return has them in alphabetical
24990 order, like ftfont.c does.
24991 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
24992 New variable for debugging w32uniscribe.c code.
24994 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
24996 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
24997 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
24998 clause of `isearch-search-fun-default'. That lax variable does not
24999 refer to lax-whitespacing. Related to (bug#21777).
25000 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
25001 * lisp/character-fold.el (character-fold-search): Set to nil.
25002 Default to nil for now, until someone implements proper
25003 lax-whitespacing with char-fold searching.
25005 2015-08-19 Martin Rudalics <rudalics@gmx.at>
25007 Fix doc-string of `help-mode-finish'.
25008 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
25010 In nsimage.m include coding.h (Bug#21292)
25011 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
25013 Move window edge functions to Elisp.
25014 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
25015 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
25016 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
25018 (calc_absolute_offset): Remove.
25019 * lisp/frame.el (frame-edges): New function.
25020 * lisp/window.el (window-edges, window-pixel-edges)
25021 (window-absolute-pixel-edges): Move here from window.c.
25022 (window-body-edges, window-body-pixel-edges)
25023 (window-absolute-body-pixel-edges): Move here from window.c and
25024 rename "inside" to "body". Keep old names as aliases.
25025 (window-absolute-pixel-position): New function.
25027 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
25029 [Gnus]: Use overlay functions directly
25030 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
25031 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
25032 (gnus-article-highlight-signature, gnus-article-extend-url-button)
25033 (gnus-article-add-button, gnus-insert-prev-page-button)
25034 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
25035 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
25036 (gnus-cite-add-face):
25037 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
25038 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
25039 (gnus-tree-recenter, gnus-highlight-selected-tree):
25040 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
25041 (gnus-summary-show-thread, gnus-summary-hide-thread)
25042 (gnus-highlight-selected-summary):
25043 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
25044 * lisp/gnus/message.el (message-fix-before-sending)
25045 (message-toggle-image-thumbnails):
25046 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
25047 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
25048 Use overlay functions directly instead of using gnus-overlay-*,
25049 message-overlay-*, and sieve-overlay-*.
25050 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
25051 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
25052 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
25053 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
25054 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
25055 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
25056 (message-overlay-get, message-overlay-put, message-overlays-in):
25057 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
25058 (sieve-overlays-at): Remove.
25060 2015-08-19 Martin Rudalics <rudalics@gmx.at>
25062 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
25063 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
25064 builds can use the declaration from the system headers.
25065 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
25066 definition of TITLEBAR_INFO.
25067 Suggested by Eli Zaretskii <eliz@gnu.org>
25069 2015-08-19 Glenn Morris <rgm@gnu.org>
25071 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
25073 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
25075 Use new q ‘format’ flag when fixing quotes in C
25076 * src/image.c (image_size_error): New function. All uses of
25077 image_error with "Invalid image size ..." changed to use it.
25078 * src/image.c (image_size_error, xbm_load_image, xbm_load)
25079 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
25080 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
25081 (imagemagick_load, svg_load, svg_load_image, gs_load)
25082 (x_kill_gs_process):
25083 * src/lread.c (load_warn_old_style_backquotes):
25084 * src/xfaces.c (load_pixmap):
25085 * src/xselect.c (x_clipboard_manager_error_1):
25086 Use %qs, not uLSQM and uRSQM.
25087 * src/syntax.c (Finternal_describe_syntax_value):
25088 Prefer Fsubstitute_command_keys to Fformat, as this lets
25089 us use AUTO_STRING.
25090 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
25091 as it's now guaranteed to be ASCII.
25092 * src/xselect.c (x_clipboard_manager_error_2):
25093 Avoid grave accent in low-level stderr diagnostic.
25095 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
25097 New q flag for ‘format’
25098 * doc/lispref/processes.texi (Sentinels):
25099 Don't hardwire grave quoting style in example.
25100 * doc/lispref/strings.texi (Formatting Strings):
25102 Document new q flag.
25103 * src/editfns.c (Fformat): Implement it.
25105 2015-08-18 Daiki Ueno <ueno@gnu.org>
25107 pinentry.el: Add debugging support
25108 * lisp/net/pinentry.el (pinentry-debug): New variable.
25109 (pinentry-debug-buffer): New variable.
25110 (pinentry--process-filter): Send input to the debug buffer, if
25111 `pinentry-debug' is set.
25113 pinentry.el: Improve multiline prompt
25114 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
25115 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
25118 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
25120 Fix multibyte confusion in diagnostics
25121 * src/print.c (print_error_message):
25122 Don't assume that the caller's name is unibyte.
25123 * src/xdisp.c (vadd_to_log):
25124 Don't assume that the formatted diagnostic is unibyte.
25126 Fix file name encodings in diagnostics
25127 Also, close some minor races when opening image files, by opening
25128 them once instead of multiple times.
25129 * src/gtkutil.c (xg_get_image_for_pixmap):
25130 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
25132 * src/nsimage.m (allocInitFromFile:):
25133 * src/xfns.c (xg_set_icon):
25134 Encode file name, since x_find_image_file no longer does that.
25135 * src/image.c (x_find_image_fd): New function.
25136 (x_find_image_file): Use it. Do not encode resulting file name,
25137 since callers sometimes need it decoded.
25138 (slurp_file): File arg is now a fd, not a file name.
25139 All callers changed. This saves us having to open the file twice.
25140 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
25142 Use x_find_image_fd and fdopen to save a file-open.
25143 Report file name that failed.
25144 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
25146 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
25148 Allow blink-matching-paren to jump off screen
25149 * doc/emacs/programs.texi (Matching): Mention the
25150 `blink-matching-paren' value `jump-offscreen'.
25151 * lisp/simple.el (blink-matching-paren): New possible value.
25152 (blink-matching-paren-on-screen): Clarify the docstring.
25153 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
25155 Refine the previous change
25156 * lisp/simple.el (blink-matching-open): Use minibuffer-message
25157 outside of save-excursion (bug#21286).
25159 2015-08-18 Martin Rudalics <rudalics@gmx.at>
25161 Rewrite and add frame geometry related functions.
25162 * src/frame.c (Fframe_position): New function.
25163 (Fset_frame_position): Rename parameters and rewrite doc-string.
25164 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
25165 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
25166 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
25168 * src/nsfns.m (frame_geometry): New function.
25169 (Fx_frame_geometry): Call frame_geometry.
25170 (Fx_frame_edges): New function.
25171 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
25172 (GetTitleBarInfo_Proc): Define these so we can use the
25173 GetTitleBarInfo API.
25174 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
25175 (Fx_frame_geometry): Rewrite.
25176 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
25177 (Fx_set_mouse_absolute_pixel_position): New functions.
25178 * src/xfns.c (frame_geometry): New function.
25179 (Fx_frame_geometry): Call frame_geometry.
25180 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
25181 (Fx_set_mouse_absolute_pixel_position): New functions.
25183 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
25185 Improve Tramp's compatibility
25186 * lisp/net/tramp.el (tramp-get-method-parameter):
25187 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
25188 (tramp-adb-get-device):
25189 * lisp/net/trampver.el (tramp-repository-get-version):
25190 Use `tramp-compat-replace-regexp-in-string'.
25192 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
25194 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
25195 Encode/decode string.
25197 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
25199 Clarify what happens to match data on failure
25200 Problem reported by Ernesto Alfonso (Bug#21279).
25201 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
25202 Document more carefully what happens to match data after a failed
25204 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
25205 the return value is undefined if the last search failed.
25206 (Fmatch_data): Simplify doc string line 1.
25208 2015-08-18 Daiki Ueno <ueno@gnu.org>
25210 Revert "pinentry.el: Support external passphrase cache"
25211 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
25212 pinentry.el shouldn't directly interact with the secrets service,
25213 but ask the caller to cache the passphrase.
25215 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
25217 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
25218 Message mode hooks.
25220 2015-08-17 Daiki Ueno <ueno@gnu.org>
25222 epg.el: Make gpgconf output parsing future proof
25223 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
25224 --list-options" output.
25226 pinentry.el: Support external passphrase cache
25227 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
25228 (pinentry--allow-external-password-cache): New local variable.
25229 (pinentry--key-info): New local variable.
25230 (secrets-enabled, secrets-search-items, secrets-get-secret):
25232 (pinentry--send-passphrase): New function, split from
25233 `pinentry--process-filter'.
25234 (pinentry--process-filter): Use secrets.el to retrieve passphrase
25235 from login keyring.
25237 pinentry.el: Popup window for multiline prompt
25238 * lisp/net/pinentry.el (pinentry): New custom group.
25239 (pinentry-popup-prompt-window): New user option.
25240 (pinentry-prompt-window-height): New user option.
25241 (pinentry--prompt-buffer): New variable.
25242 (pinentry-prompt-mode-map): New variable.
25243 (pinentry-prompt-mode): New function.
25244 (pinentry--prompt): New function.
25245 (pinentry--process-filter): Use `pinentry--prompt' instead of
25246 `read-passwd' and `y-or-n-p'.
25248 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
25250 message.el: Silent the byte compiler
25251 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
25252 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
25253 (message-delete-overlay, message-window-inside-pixel-edges):
25254 Declare before using.
25256 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
25257 (message-window-inside-pixel-edges): XEmacs compatible functions.
25259 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25261 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
25263 2015-08-17 Noah Friedman <friedman@splode.com>
25265 * lisp/simple.el (blink-matching-open): Restore point before
25266 calling minibuffer-message.
25268 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
25270 * lisp/play/dunnet.el: Update version number in header (now
25273 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
25275 Curved quotes in --batch diagnostics in non-UTF-8
25276 When run with --batch, check that curved quotes are compatible with
25277 the system locale before outputting them in diagnostics.
25278 Problem reported by Eli Zaretskii in:
25279 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
25280 * lisp/startup.el (command-line): Set internal--text-quoting-flag
25281 after the standard display table is initialized.
25282 * src/doc.c (default_to_grave_quoting_style): New function.
25283 (text_quoting_style): Use it.
25284 (text_quoting_flag): New static var, visible to Lisp as
25285 internal--text-quoting-flag.
25286 * src/emacs.c: Include <wchar.h> if available.
25287 (using_utf8): New function.
25288 (main): Use it to initialize text_quoting_flag.
25289 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
25290 Don't define, as it's not needed and it clashes with wchar.h.
25292 2015-08-17 Glenn Morris <rgm@gnu.org>
25294 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
25295 from makeinfo about spurious "Note:" cross-reference, and for grammar.
25297 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
25299 Minor change in variable initialization on MS-Windows
25300 * src/w32fns.c <after_dead_key>: Initialize to -1.
25301 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
25304 Fix a bug with LWindow key remapping on MS-Windows
25305 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
25307 2015-08-17 Eli Zaretskii <eliz@gnu.org>
25309 Improve fontset support for latest OTF script tags
25310 * lisp/international/fontset.el (otf-script-alist): Add some
25311 missing script tags.
25312 (setup-default-fontset): Include settings for v2 versions of the
25313 script tags used by some modern OTF/TTF fonts.
25315 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
25319 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
25321 Use curved quotes in core elisp diagnostics
25322 In the core elisp files, use curved quotes in diagnostic formats,
25323 so that they follow user preference as per ‘text-quoting-style’
25324 rather than being hard-coded to quote `like this'.
25325 * lisp/abbrev.el (expand-region-abbrevs):
25326 * lisp/button.el (button-category-symbol, button-put)
25327 (make-text-button):
25328 * lisp/cus-start.el:
25329 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
25330 (custom--sort-vars-1, load-theme):
25331 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
25332 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
25333 (cl-generic-generalizers):
25334 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
25335 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
25336 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
25337 (advice--make, define-advice):
25338 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
25339 * lisp/emacs-lisp/timer.el (timer-event-handler):
25340 * lisp/env.el (setenv):
25341 * lisp/facemenu.el (facemenu-add-new-face)
25342 (facemenu-add-new-color):
25343 * lisp/faces.el (face-documentation, read-face-name)
25344 (face-read-string, read-face-font, face-spec-set-match-display)
25345 (read-color, x-resolve-font-name):
25346 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
25347 (set-auto-mode, hack-local-variables)
25348 (hack-one-local-variable--obsolete)
25349 (dir-locals-set-directory-class, write-file)
25350 (basic-save-buffer, delete-directory, copy-directory)
25351 (recover-session, recover-session-finish, insert-directory)
25352 (file-modes-char-to-who, file-modes-symbolic-to-number)
25353 (move-file-to-trash):
25354 * lisp/font-lock.el (font-lock-fontify-buffer):
25355 * lisp/format.el (format-write-file, format-find-file)
25356 (format-insert-file):
25357 * lisp/frame.el (get-device-terminal, select-frame-by-name):
25358 * lisp/fringe.el (fringe--check-style):
25359 * lisp/help.el (describe-minor-mode-from-indicator):
25360 * lisp/image.el (image-type):
25361 * lisp/international/fontset.el (x-must-resolve-font-name):
25362 * lisp/international/mule-cmds.el (prefer-coding-system)
25363 (select-safe-coding-system-interactively)
25364 (select-safe-coding-system, activate-input-method)
25365 (toggle-input-method, describe-current-input-method):
25366 * lisp/international/mule-conf.el (code-offset):
25367 * lisp/mouse.el (minor-mode-menu-from-indicator):
25368 * lisp/replace.el (query-replace-read-from)
25369 (occur-after-change-function, occur-1):
25370 * lisp/scroll-bar.el (scroll-bar-columns):
25371 * lisp/simple.el (execute-extended-command)
25372 (undo-outer-limit-truncate, compose-mail, set-variable)
25373 (choose-completion-string, define-alternatives):
25374 * lisp/startup.el (site-run-file, tty-handle-args)
25375 (command-line, command-line-1):
25376 * lisp/subr.el (noreturn, define-error, add-to-list)
25377 (read-char-choice):
25378 * lisp/term/common-win.el (x-handle-xrm-switch)
25379 (x-handle-name-switch, x-handle-args):
25380 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
25381 Use curved quotes in diagnostics.
25382 * lisp/international/mule.el (find-auto-coding):
25383 Use " to quote in a diagnostic, to be consistent with the rest of
25386 Convert lisp/term/x-win.el to UTF-8
25387 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
25388 runtime behavior, and the file is multilingual so compile-time
25389 appearance shouldn't be an issue.
25390 * admin/notes/unicode: Document this.
25392 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
25394 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
25395 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
25396 issues and comments, bug#943.
25397 (verilog-type-font-keywords): Cycle delay operators like ##1 and
25398 ##[0:$] are now highlighted in their entirety similarly to the #
25399 delay-control operator. Likewise, the followed-by operators #-#
25400 and #=# are no longer partially highlighed.
25401 (verilog-backward-syntactic-ws-quick)
25402 (verilog-skip-backward-comments): Minor performance improvements
25403 to buffer traversal functions for reduced latency.
25404 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
25405 keyword 'final' follows 'assert/assume/cover', then it is part of
25406 a deferred immediate assertion item and should not be treated as a
25407 final construct for indentation. Reported by Yuri Sugihara.
25408 (verilog-do-indent): Virtual task/function/class definition lines
25409 should not be considered as declarations. Reported by Enzo Chi.
25410 (verilog-do-indent): Do not falsely indent to '=' of
25411 property/sequence operators on subsequent lines of a multi-line
25413 (verilog-assignment-operator-re): Fix '!==' operator and add
25414 support for '<->', ':/', '#-#', and '#=#' operators.
25415 (verilog-calculate-indent, verilog-label-be): Enable
25416 case-sensitive regular expression parsing when looking for
25418 (verilog-calc-1): Detect 'pure virtual method' declarations which
25419 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
25420 (verilog-backward-ws&directives): When moving back to the start of
25421 a line and the preceeding line ended with an escaped-newline, then
25422 jump up one line. This properly consumes a multi-line
25423 pre-processor directive. Reported by Kaushal Modi.
25424 (verilog-dpi-import-export-re, verilog-extended-complete-re)
25425 (verilog-calc-1): Teach verilog-mode to properly indent after a
25426 DPI import/export statement that resides outside of a module.
25427 Reported by Kaushal Modi.
25428 (verilog-extended-complete-re): Update regexp to match both
25429 "DPI-C" and "DPI". Reported by Kaushal Modi.
25431 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
25433 substitute-command-keys a few more doc strings
25434 * lisp/allout.el (outlineify-sticky):
25435 * lisp/files.el (hack-one-local-variable--obsolete):
25436 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
25437 Use substitute-command-keys on some doc strings so that
25438 they don't use hard-coded key bindings or quoting styles.
25440 Fix quoting in Fformat calls
25441 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
25442 (xpm_load, xpm_load_image, pbm_load, png_load_body)
25443 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
25444 (imagemagick_load, svg_load, svg_load_image, gs_load)
25445 (x_kill_gs_process):
25446 * src/lread.c (load_warn_old_style_backquotes):
25447 * src/xfaces.c (load_pixmap):
25448 * src/xselect.c (x_clipboard_manager_error_1):
25449 Quote diagnostics according to user preference when calling
25450 Fformat or its derivatives.
25452 2015-08-15 Glenn Morris <rgm@gnu.org>
25454 * admin/admin.el (set-version, set-copyright): Remove deleted files.
25456 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
25458 Allow describe-function helpers to access buffer-local values
25459 This will be used by cedet/mode-local.el `describe-mode-local-override'
25460 on `help-fns-describe-function-functions' in upstream CEDET.
25461 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
25462 `describe-function'.
25463 (describe-function): Bind it, save it on the help xref stack.
25465 Handle pulse-background being nil
25466 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
25467 pulse-background, handle it being nil.
25469 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
25471 Fix "\`" confusion in Lisp strings
25472 * admin/authors.el (authors-canonical-author-name):
25473 Fix typo by using "\\`" not "\`" in string RE.
25474 * lisp/obsolete/complete.el (PC-complete-as-file-name):
25475 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
25476 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
25477 Use plain "`", not the equivalent-but-confusing "\`", in strings.
25478 * lisp/textmodes/texinfmt.el: Fix comment likewise.
25480 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
25482 * nt/zipdist.bat: Remove -- no longer used.
25484 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
25486 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
25487 rather than "getenforce".
25488 (tramp-sh-handle-set-file-selinux-context): Do not
25489 cache SELinux context if not all context components are given.
25491 2015-08-15 Eli Zaretskii <eliz@gnu.org>
25493 Add doc strings to 2 help-mode.el functions
25494 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
25495 strings. (Bug#21263)
25497 Remove files used by the old MS-Windows specific build procedure
25498 * admin/unidata/makefile.w32-in:
25499 * doc/emacs/makefile.w32-in:
25500 * doc/lispintro/makefile.w32-in:
25501 * doc/lispref/makefile.w32-in:
25502 * doc/misc/makefile.w32-in:
25503 * leim/makefile.w32-in:
25504 * lib-src/makefile.w32-in:
25505 * lib/makefile.w32-in:
25506 * lisp/makefile.w32-in:
25509 * nt/emacs-src.tags:
25512 * nt/makefile.w32-in:
25513 * nt/multi-install-info.bat:
25516 * src/makefile.w32-in: Files deleted.
25517 * nt/configure.bat: Remove everything except the blurb about the
25518 new build procedure.
25519 * make-dist: Remove references to makefile.w32-in in various
25520 directories, and to files in nt/ that were deleted.
25521 * etc/NEWS: Mention the fact that the files were dropped.
25523 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
25525 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
25528 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
25530 Default to inotify instead of gfile
25531 * configure.ac (with_file_notification): Fix typo that
25532 prevented suppression of file notification if HAVE_NS.
25533 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
25534 with_file_notification is 'yes' (Bug#21241).
25535 * etc/NEWS: Mention this.
25537 Fix broken URLs for ISO-IR
25538 * doc/emacs/mule.texi (Charsets):
25539 * lisp/international/mule-conf.el:
25540 Fix broken URL (Bug#21248).
25542 Low-level diagnostics now use ‘text-quoting-style’
25543 * src/doprnt.c (doprnt):
25544 Format ` and ' as per ‘text-quoting-style’.
25545 * src/xdisp.c (vmessage, message): Mention that the format should
25546 not contain ` or '.
25548 Prefer ‘format’ to ‘substitute-command-keys’
25549 * src/character.h (uLSQM, uRSQM): Move here ...
25550 * src/doc.c (uLSQM, uRSQM): ... from here.
25551 * src/doc.c (Fsubstitute_command_keys):
25552 * src/syntax.c (Finternal_describe_syntax_value):
25553 * lisp/cedet/mode-local.el (mode-local-print-binding)
25554 (mode-local-describe-bindings-2):
25555 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
25556 * lisp/cus-theme.el (describe-theme-1):
25557 * lisp/descr-text.el (describe-text-properties-1, describe-char):
25558 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
25559 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
25560 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
25561 * lisp/emacs-lisp/package.el (describe-package-1):
25562 * lisp/faces.el (describe-face):
25563 * lisp/help-fns.el (help-fns--key-bindings)
25564 (help-fns--compiler-macro, help-fns--parent-mode)
25565 (help-fns--obsolete, help-fns--interactive-only)
25566 (describe-function-1, describe-variable):
25567 * lisp/help.el (describe-mode):
25568 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
25569 to implement quoting style. This generally makes the code simpler.
25571 Extend ‘format’ to translate curved quotes
25572 This is a followup to the recent doc string change, and deals with
25573 diagnostics and the like. This patch is more conservative than
25574 the doc string change, in that the behavior of ‘format’ changes
25575 only if its first arg contains curved quotes and the user prefers
25576 straight or grave quotes. (Come to think of it, perhaps we should
25577 be similarly conservative with doc strings too, but that can wait.)
25578 The upside of this conservatism is that existing usage is almost
25579 surely unaffected. The downside is that we'll eventually have to
25580 change Emacs's format strings to use curved quotes in places where
25581 the user might want curved quotes, but that's a simple and
25582 mechanical translation that I'm willing to do later. (Bug#21222)
25583 * doc/lispref/help.texi (Keys in Documentation):
25584 Move description of text-quoting-style from here ...
25585 * doc/lispref/strings.texi (Formatting Strings):
25586 ... to here, and describe new behavior of ‘format’.
25587 * etc/NEWS: Describe new behavior.
25588 * lisp/calc/calc-help.el (calc-describe-thing):
25589 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
25590 * lisp/info.el (Info-find-index-name):
25591 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
25592 of recently-added curved quotes.
25593 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
25595 * src/lisp.h: ... to here.
25596 * src/doc.c (text_quoting_style): New function.
25597 (Fsubstitute_command_keys): Use it.
25598 * src/editfns.c (Fformat): Implement new behavior.
25599 * src/lisp.h (enum text_quoting_style): New enum.
25601 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
25603 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
25604 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
25606 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
25608 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
25609 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
25611 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
25613 Flush file properties in Tramp
25614 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
25615 (tramp-sh-handle-set-file-times):
25616 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
25617 (tramp-adb-handle-set-file-times): Flush the file properties of
25620 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
25622 * doc/emacs/misc.texi (Amusements): Fixed typo.
25624 2015-08-14 Eli Zaretskii <eliz@gnu.org>
25626 Don't miss warnings about removing string text properties while dumping
25627 * src/alloc.c (purecopy): Warn about removing a string's text
25628 properties even when the same string was already pure-copied
25630 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
25631 (elisp--xref-format-extra): Fix the commentary.
25633 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
25635 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
25637 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
25639 * lisp/progmodes/compile.el: Use lexical-binding.
25640 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
25642 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
25644 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
25645 * lisp/uniquify.el: Remove redundant `:group's.
25647 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
25649 * lisp/net/tramp-adb.el
25650 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
25651 result to prevent modification of the tramp-cache by side effects.
25652 Use the correct cache key.
25654 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
25656 Make add_to_log varargs
25657 * src/alloc.c (run_finalizer_handler):
25658 * src/charset.c (load_charset_map_from_vector):
25659 * src/nsimage.m (ns_load_image):
25660 * src/xfaces.c (load_pixmap, load_color2):
25661 Simplify, now that add_to_log has a variable number of args.
25662 * src/image.c (image_error): Take a variable number of args.
25663 Callers simplified.
25664 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
25665 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
25666 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
25667 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
25669 Optional args for holiday-greek-orthodox-easter
25670 * etc/NEWS: Document this.
25671 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
25672 Add optional args N and STRING, mimicking the API and code of
25673 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
25675 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
25677 xref-find-definitions: Exclude more generic function items.
25678 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
25680 (cl--generic-find-defgeneric-regexp): New.
25681 (find-function-regexp-alist): Add it.
25682 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
25683 elisp-mode.el, change to search for ";;; Code:"
25684 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
25685 (find-function-regexp-alist): Add them.
25686 * lisp/progmodes/elisp-mode.el:
25687 (elisp--xref-format, elisp--xref-format-extra): Change back to
25688 defvar due to bug#21237.
25689 (elisp--xref-find-definitions): Exclude co-located default methods for
25690 generic functions. Also exclude implicitly declared defgeneric.
25691 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
25692 mode variables defined by 'define-minor-mode'.
25693 * test/automated/elisp-mode-tests.el: Declare generic functions, add
25695 (xref-elisp-test-run): Fix bug.
25696 (emacs-test-dir): Improve initial value.
25697 (find-defs-defun-defvar-el): Don't expect defvar.
25698 (find-defs-feature-el): Match change to find-feature-regexp.
25700 2015-08-13 Eli Zaretskii <eliz@gnu.org>
25702 Improve warning about purecopy of strings with properties
25703 * src/alloc.c (purecopy): Show the offending string with the
25704 warning about removing its text properties.
25706 2015-08-12 Alan Mackenzie <acm@muc.de>
25708 Introduce new macros to cover Emacs's new names in cl-lib.el
25709 This also eliminates `mapcan' warnings in XEmacs.
25710 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
25711 characterise [X]Emacs versions.
25712 (top-level): Require either 'cl or 'cl-lib, depending on
25714 Change this back to cc-external-require from an eval-when-compile
25716 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
25717 (c--delete-duplicates): New macros which expand into either old or new
25719 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
25720 rather than the old names.
25721 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
25722 rather than mapcan.
25723 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
25724 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
25725 depending on c--mapcan-status.
25726 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
25727 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
25728 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
25729 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
25730 (c-decl-block-key, c-keywords, c-keywords-obarray)
25731 (c-regular-keywords-regexp, c-primary-expr-regexp)
25732 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
25733 (c-known-type-key, c-nonlabel-token-key)
25734 (c-make-init-lang-vars-fun): Use the new macros rather than the old
25737 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
25739 loadhist.el (read-feature): Conform to completing-read
25740 * lisp/loadhist.el (read-feature): According to `completing-read'
25741 documentation, if collection is a list, then it must be a list of
25742 strings, not a list of symbols like before.
25744 2015-08-12 David Kastrup <dak@gnu.org>
25746 Deal gracefully with up-events (Bug#19746)
25747 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
25748 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
25749 those may easily be injected by user-level Lisp code.
25750 (read_key_sequence): Discard unbound up-events like unbound
25751 down-events: they are even more likely only relevant for special
25753 While Emacs will not produce up-events on its own currently (those are
25754 converted to drag or click events before being converted to
25755 Lisp-readable structures), the input queue can be made to contain them
25756 by synthesizing events to `unread-command-events'. Emacs should deal
25757 consistently with such events.
25759 2015-08-12 Eli Zaretskii <eliz@gnu.org>
25761 Fix display of thin lines whose newline has line-height property of t
25762 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
25763 and descent values of non-empty glyph rows, since they could have
25764 forced low values deliberately. (Bug#21243)
25766 2015-08-12 Richard Stallman <rms@gnu.org>
25768 Offer to combine multiple To or CC fields.
25769 * lisp/mail/sendmail.el (mail-combine-fields): New function.
25770 (mail-send): Call 'mail-combine-fields'.
25772 Don't decrypt encrypted files.
25773 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
25775 Handle encrypted mbox files.
25776 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
25777 the mbox file if necessary.
25779 Re-enable mime processing after decryption. Add 'decrypt' keyword.
25780 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
25781 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
25782 In a mime message, reenable Mime and show the parts that
25784 Add keyword "decrypt" if anything decrypted.
25786 epa-inhibit inhibits auto-recognition of .gpg files
25787 * lisp/epa-file.el (epa-inhibit): New variable.
25788 (epa-file-handler): Check epa-inhibit.
25790 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
25792 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
25794 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
25796 Respect python.el imenu when semantic-mode is off
25798 * lisp/cedet/semantic/wisent/python.el: Do not force
25799 wisent-python-default-setup on python-mode-hook.
25801 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
25803 Give names to Unicode code points in C code
25804 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
25805 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
25806 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
25807 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
25808 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
25809 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
25810 (OBJECT_REPLACEMENT_CHARACTER):
25811 New named constants for Unicode code points.
25812 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
25813 * src/composite.c (char_composable_p):
25814 * src/lread.c (readevalloop, read1):
25815 * src/xdisp.c (get_next_display_element):
25817 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
25818 Remove; now in character.h.
25820 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
25822 elisp--xref-find-definitions handle cl-defstuct default constructor
25823 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
25824 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
25825 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
25826 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
25827 from xref-elisp-test for ease of debugging.
25828 (xref-elisp-deftest): Rename from xref-elisp-test.
25829 (find-defs-constructor): New test.
25830 (find-defs-defgeneric-el): Match batch test config.
25831 (compile): Required for find-defs compilation-minor-mode test.
25832 (find-defs-defvar-el): Match code change.
25833 (find-defs-face-el): Match code change.
25834 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
25835 Improve doc string.
25837 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
25839 * lisp/replace.el (perform-replace): Document `replacements'.
25840 (perform-replace): Move the description of the format of `replacements'
25841 from the body's comment to the doc string.
25843 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
25845 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
25846 sequence. Recent adb version send initial escape sequences, even
25847 when terminal type is set to TERM=dumb.
25849 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
25851 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
25852 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
25854 (elisp--xref-format-cl-defmethod): New defconst.
25855 (find-feature-regexp, find-alias-regexp): New defcustoms.
25856 (elisp--xref-make-xref): New function.
25857 (elisp--xref-find-definitions): Rewrite using the above, handle many
25858 more cases. Always output all available definitions.
25859 (xref-location-marker): No need for special cases.
25860 * test/automated/elisp-mode-tests.el: Add more tests of
25861 elisp--xref-find-definitions, improve current tests.
25863 2015-08-10 Eli Zaretskii <eliz@gnu.org>
25865 Fix recording of events pushed onto unread-command-events
25866 * src/keyboard.c (read_char): Make sure events read from
25867 unread-command-events and unread-post-input-method-events are
25868 always recorded by record_char. Reported by David Kastrup
25870 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
25872 2015-08-10 Samer Masterson <samer@samertm.com>
25874 Set file buffer as current for "--file"
25875 * lisp/startup.el (command-line-1): Set file buffer as current before
25876 it is displayed so it can be used with options like "--eval".
25879 2015-08-10 Eli Zaretskii <eliz@gnu.org>
25881 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
25882 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
25883 after setting LC_ALL to the desired locale, to avoid affecting how
25884 numbers are read and printed. (Bug#21223)
25886 2015-08-10 Alan Mackenzie <acm@muc.de>
25888 Fix "Invalid search bound (wrong side of point)" in fontification
25889 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
25890 an initialization expression, check point is not beyond the
25891 fontification limit.
25893 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
25895 Fix DPI calculation when Xft/DPI is default
25896 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
25897 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
25898 Remove unnecessary cast while we're in the neighborhood.
25900 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
25902 Add project-vc-search-path and project-vc-ignores
25903 * lisp/progmodes/project.el (project-vc): New group.
25904 (project-vc-search-path, project-vc-ignores): New variables.
25905 (project--value-in-dir): Utility function.
25906 (project-search-path, project-ignores): Use them.
25907 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
25908 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
25910 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
25912 Fix some minor quoting issues with grave accent
25913 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
25914 Remove redundant quotes.
25915 * src/doc.c (uLSQM, uRSQM): New macros.
25916 * src/doc.c (Fsubstitute_command_keys):
25917 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
25918 preference for quotes rather than hardcoding the ‘grave’ style.
25919 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
25920 (re_match_2_internal) [DEBUG]: In debugging output, quote C
25921 strings with "...", not `...'.
25923 ChangeLog.2 ignores remote-tracking merges
25924 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
25925 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
25926 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
25928 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
25930 Use kpsewhich in ffap-latex-mode, if available
25931 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
25932 (ffap-latex-mode): Use kpsewhich if available.
25934 ffap: disallow braces in filenames for tex modes
25935 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
25936 braces in tex-related modes.
25938 Remove useless backslashes from ffap-string-at-point-mode-alist
25939 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
25940 misleading backslashes from default value.
25942 Augment docstring of ffap-string-at-point-mode-alist
25943 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
25944 and END are handled.
25946 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
25948 * lisp/org/org-src.el (org-edit-src-code)
25949 (org-edit-fixed-width-region):
25950 * lisp/simple.el (completion-setup-function):
25951 Remove calls to substitute-command-keys that always just return
25954 2015-08-09 Daiki Ueno <ueno@gnu.org>
25956 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
25959 2015-08-09 Ivan Kanis <ivan@kanis.fr>
25961 Fix link to source code in help window
25962 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
25963 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
25964 'No longer include timestamp in header of .elc files'. Add code
25965 that will return .el source file in load-path.
25967 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
25969 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
25970 Respect `isearch-lax-whitespace' when searching through
25973 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
25975 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
25977 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
25978 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
25979 (org-set-regexps-and-options, org-assign-fast-keys)
25980 (org-contextualize-keys, org-contextualize-validate-key)
25981 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
25982 (org-find-olp, org-find-exact-heading-in-directory)
25983 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
25984 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
25985 (org-replace-escapes): Use dolist.
25986 (org-mode): Optimize away XEmacs-only code.
25987 (org-refile-get-targets): Remove unused var `f'.
25988 (org-fast-todo-selection): Remove unused var `e'.
25989 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
25990 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
25991 (org-format-latex): Use dolist. Remove unused var `e'.
25992 (org-toggle-heading): Access vars lexically rather than dynamically.
25993 (org-backward-sentence, org-forward-sentence, org-meta-return)
25994 (org-kill-line): Mark arg as unused.
25995 (org-submit-bug-report): Silence compiler warning.
25996 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
25997 (org-get-cursor-date): Remove unused var `tm'.
25998 (org-comment-or-uncomment-region): Use standard name `_'.
25999 (reftex-docstruct-symbol, reftex-cite-format): Declare to
26000 silence byte-compiler.
26001 (org-reftex-citation): Add `org--' prefix to dynamically scoped
26004 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
26006 Electric quote if coding is undecided or no conv
26007 * lisp/electric.el (electric--insertable-p): Also say that a
26008 string is insertable if the buffer file coding system is undecided
26009 or uses no conversion, as curved quotes will work in either case.
26011 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
26013 2015-08-08 Eli Zaretskii <eliz@gnu.org>
26015 Fix overlay string display regressions introduced in Emacs 24.5
26016 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
26017 buffer position, if we move the iterator to a new position as
26018 result of jumping over text covered by a "replacing" display
26020 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
26022 Support recovery from C stack overflow on MS-Windows
26023 * src/w32fns.c (w32_reset_stack_overflow_guard)
26024 (stack_overflow_handler): New functions for handling C stack
26025 overflow exceptions.
26026 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
26027 specially, and zero out except_addr if we do.
26028 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
26030 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
26031 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
26032 the MinGW build, but the code guarded by that is for Posix hosts.
26033 * src/keyboard.c (command_loop) [WINDOWSNT]:
26034 Call w32_reset_stack_overflow_guard.
26035 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
26036 (sigsetjmp): New macro.
26037 (w32_reset_stack_overflow_guard): Declare the prototype.
26038 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
26040 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
26042 Improve error signalling for seq-subseq
26043 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
26044 when indexes are too large, but to silently ignore numbers which
26045 are too negative for lists. String and vector handling errors in
26046 both cases. This has been regularized. Error signaling behavior
26047 has been explicitly added to the doc string.
26049 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
26050 therefore also impacted by this change. Update the doc string
26053 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
26054 added for these exceptional cases, as well as one non exceptional
26057 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
26059 Improve error checking in tramp-adb.el
26060 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
26061 Improve error checking. "ls -l" on Android in Enforcing mode can
26062 print "lstat './FILENAME failed: Permission denied".
26064 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
26066 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
26067 non-struct vectors.
26069 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
26071 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
26072 * lisp/window.el: Fix typo that broke build.
26073 (display-buffer--action-function-custom-type):
26074 Add `display-buffer-use-some-frame'.
26075 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
26077 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
26078 * lisp/window.el (display-buffer-use-some-frame): Add support for
26079 'inhibit-same-window in alist.
26080 * doc/lispref/windows.texi (display-buffer-use-some-frame):
26081 Doc support for 'inhibit-same-window in alist.
26083 2015-08-07 Eli Zaretskii <eliz@gnu.org>
26085 Avoid infinite loop in display of invisible text in strings
26086 * src/xdisp.c (handle_invisible_prop): If the next change of
26087 invisibility spec does not mean the beginning of a visible text,
26088 update the string position from which to start the search for the
26089 next invisibility change. This avoids an infinite loop when we
26090 have more than one invisibility spec that are made inactive by
26091 buffer-invisibility-spec. Simplify code. (Bug#21200)
26092 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
26093 for the situation that caused bug #21200.
26095 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
26097 * lisp/emacs-lisp/package.el: Simplify describe-package-1
26098 (package-help-section-name-face): New face.
26099 (package--print-help-section): New function.
26100 (describe-package-1): Refactor section printing.
26101 (package-make-button): Use face instead of font-lock-face, which
26102 doesn't work on buttons.
26104 * lisp/emacs-lisp/package.el: Define custom faces
26105 (package-name-face, package-description-face)
26106 (package-status-built-in-face, package-status-external-face)
26107 (package-status-available-face, package-status-new-face)
26108 (package-status-held-face, package-status-disabled-face)
26109 (package-status-installed-face, package-status-dependency-face)
26110 (package-status-unsigned-face, package-status-incompat-face)
26111 (package-status-avail-obso-face): New faces.
26112 (package-menu--print-info-simple): Use them.
26114 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
26116 Fix some confusion with ‘format’
26117 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
26118 (allout-graphics-modification-handler):
26119 Protect arbitrary string in a format context with "%s" format.
26121 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
26122 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
26123 * lisp/erc/erc-button.el (erc-button-beats-to-time):
26124 * lisp/gnus/message.el (message-send-form-letter):
26125 * lisp/org/ob-core.el (org-babel-check-evaluate)
26126 (org-babel-confirm-evaluate):
26127 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
26128 * lisp/org/ox-latex.el (org-latex-compile):
26129 * lisp/org/ox-man.el (org-man-compile):
26130 * lisp/org/ox-odt.el (org-odt-template):
26131 * lisp/org/ox-texinfo.el (org-texinfo-compile):
26132 * lisp/progmodes/prolog.el (prolog-help-info)
26133 (prolog-view-predspec):
26134 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
26135 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
26136 * lisp/textmodes/rst.el (rst-replace-lines):
26137 Change (message (format ...)) to (message ...), and likewise
26138 for ‘error’. This lessens the probability of confusion when the
26139 output of ‘format’ contains ‘%’.
26141 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
26143 * lisp/replace.el (replace-character-fold): Default to nil.
26145 * lisp/character-fold.el: Fix lax whitespace.
26146 (character-fold-table): Don't make space match other whitespace chars.
26147 (character-fold-to-regexp): Simplify lax behavior.
26149 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
26151 Preserve window point in xref-find-definitions-other-window
26152 Fix the problem reported by Ingo Logmar in
26153 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
26154 * lisp/progmodes/xref.el (xref--goto-char): Extract from
26155 xref--goto-location.
26156 (xref--pop-to-location): Use it. Replace xref--goto-location with
26157 a direct xref-location-marker call.
26158 (xref--show-location): Likewise.
26159 (xref--display-position): Use xref--goto-char.
26161 * lisp/progmodes/project.el: Add a paragraph to the front matter.
26163 2015-08-04 David Kastrup <dak@gnu.org>
26165 * lisp/vc/emerge.el (emerge-show-file-name):
26166 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
26167 (vhdl-comment-insert, vhdl-hooked-abbrev):
26168 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
26169 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
26170 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
26171 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
26172 * lisp/obsolete/vip.el (vip-escape-to-emacs)
26173 (vip-prefix-arg-value, vip-prefix-arg-com):
26174 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
26175 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
26176 (quail-tibkey-update-translation):
26177 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
26178 * lisp/leim/quail/lao.el (quail-lao-update-translation):
26179 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
26180 (quail-japanese-self-insert-and-switch-to-alpha):
26181 * lisp/leim/quail/hangul.el (hangul2-input-method)
26182 (hangul3-input-method, hangul390-input-method):
26183 * lisp/language/hanja-util.el (hangul-to-hanja-char):
26184 * lisp/international/robin.el (robin-input-method):
26185 * lisp/international/quail.el (quail-start-translation)
26186 (quail-start-conversion):
26187 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
26188 (gnus-article-describe-key-briefly):
26189 * lisp/eshell/em-hist.el (eshell-list-history):
26190 * lisp/term.el (term-dynamic-list-input-ring)
26191 (term-dynamic-list-completions):
26192 * lisp/subr.el (momentary-string-display):
26193 * lisp/simple.el (read-quoted-char):
26194 * lisp/pcomplete.el (pcomplete-show-completions):
26195 * lisp/kmacro.el (kmacro-repeat-on-last-key):
26196 * lisp/info.el (Info-summary):
26197 * lisp/ehelp.el (electric-help-command-loop):
26198 * lisp/ebuff-menu.el (electric-buffer-list)
26199 (Electric-buffer-menu-exit):
26200 * lisp/double.el (double-translate-key):
26201 * lisp/comint.el (comint-dynamic-list-input-ring)
26202 (comint-dynamic-list-completions): Do not overwrite preexisting
26203 contents of `unread-command-events' when putting new events into it.
26205 2015-08-04 Daniel Colascione <dancol@dancol.org>
26207 Improve ansi-color filtering of unrecognized escape sequences
26208 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
26210 (ansi-color-filter-apply, ansi-color-apply): Filter out
26211 unrecognized escape sequences.
26213 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
26215 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
26216 definitions to `easy-menu-define', improve a couple to account for
26217 async, and add a couple of new commands.
26219 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
26221 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
26223 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
26225 Add new 'calendar-weekend-days' option
26226 Make the days receiving the 'calendar-weekend-header' face freely
26227 customizable, as they differ by region/culture.
26228 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
26230 * lisp/calendar/calendar.el (calendar-generate-month): New variable
26231 calendar-weekend-days to customize day header fontification.
26233 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
26235 Redo text-quoting-style variable
26236 Rename help-quote-translation to text-quoting-style,
26237 and use symbols rather than characters as values.
26238 This follows suggestions along these lines by Alan Mackenzie in:
26239 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
26240 and by Drew Adams in:
26241 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
26242 * doc/lispref/help.texi (Keys in Documentation)
26244 * lisp/cus-start.el (standard):
26245 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
26246 Document and/or implement the new behavior instead of the old.
26247 (syms_of_doc): New symbols 'grave' and 'straight'.
26249 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
26251 nnimap.el: Use IMAP MOVE extension if available
26252 * lisp/gnus/nnimap.el (nnimap-request-move-article)
26253 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
26254 Use MOVE extension if available.
26256 nnimap.el: Explicitly ask for server capabilities
26257 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
26258 capabilities will be returned in the login-result.
26260 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
26262 Treat help strings like other doc strings
26263 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
26264 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
26265 substitute-command-keys.
26266 * src/keyboard.c (show_help_echo, parse_menu_item): Call
26267 substitute-command-keys on the help string before displaying it.
26269 Also mention "curly quotes"
26270 See Drew Adams's email in:
26271 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
26272 * doc/lispref/help.texi (Keys in Documentation):
26273 Add index entry "curly quotes".
26274 * etc/NEWS: Use the phrase "curly quotes" too.
26276 ede-proj-target-makefile docstring tweaks
26277 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
26278 Consistently use "all:" to describe the all: target,
26279 replacing three different and confusingly-quoted usages.
26281 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
26283 Don't abort emacsclientw when -a was specified
26284 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
26285 out if we are in emacsclientw and -a was specified.
26287 2015-08-02 Eli Zaretskii <eliz@gnu.org>
26289 Fix handling of 1st keystroke on MS-Windows
26290 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
26291 This is needed to correctly handle the session's first keystroke,
26292 if it has any modifiers. (Bug#19994)
26294 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
26296 Substitute some customization etc. doc strings
26297 These changes apply substitute-command-keys to some
26298 doc strings that were going through untranslated
26299 when creating customization or other widgets.
26300 * lisp/cus-edit.el (custom-group-value-create):
26301 * lisp/wid-edit.el (widget-default-create):
26302 (widget-push-button-value-create):
26303 Treat the widget tag as a doc string.
26304 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
26305 Treat the :documentation value as a doc string.
26306 * lisp/wid-edit.el (widget-choose):
26307 Treat the choice names as doc strings.
26308 (widget-default-create): Treat the :doc value as a doc string.
26309 (widget-toggle-value-create): Treat the :on and :off values
26311 (widget-documentation-string-value-create):
26312 Substitute the doc string.
26314 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
26316 Add a second argument to project-ignores
26317 * lisp/progmodes/project.el (project-ignores): Add a second
26319 * lisp/progmodes/project.el (project-ignores): Only include the VC
26320 ignores if DIR is the VC root.
26321 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
26323 2015-08-01 Eli Zaretskii <eliz@gnu.org>
26325 Prevent incorrect display when 'line-spacing' variable is set
26326 * src/xdisp.c (try_window_id): Give up this optimization if the
26327 buffer has its 'line-spacing' variable set non-nil.
26329 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
26331 Don't pass NOVISIT to find-file
26332 * lisp/progmodes/etags.el (next-file):
26333 Don't pass NOVISIT to find-file (bug#21175).
26335 Ignore buffer restriction for tags-loop-eval
26336 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
26337 restriction (bug#21167).
26339 2015-08-01 Eli Zaretskii <eliz@gnu.org>
26341 Fix a thinko in 'ffap-gopher-at-point'
26342 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
26344 Honor 'line-spacing' for empty lines
26345 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
26346 property and 'line-spacing' frame parameter or variable or
26347 property for empty lines, by doing the same processing as in
26348 x_produce_glyph for newline characters. (Bug#21165)
26350 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
26352 Simplify by assuming C99 integer division
26353 * src/floatfns.c (ceiling2, floor2, truncate2):
26354 Assume C99 (i.e., Fortran) semantics for integer division.
26355 This simplifies the code.
26357 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
26359 Don't overflow if computing approximate percentage
26360 * lisp/align.el (align-region):
26361 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
26362 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
26363 * lisp/cus-edit.el (custom-buffer-create-internal):
26364 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
26365 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
26366 (checkdoc-next-message-error):
26367 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
26368 * lisp/epa.el (epa-progress-callback-function):
26369 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
26370 * lisp/ffap.el (ffap-menu-rescan):
26371 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
26372 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
26373 * lisp/gnus/nneething.el (nneething-retrieve-headers):
26374 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
26375 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
26376 * lisp/gnus/nnml.el (nnml-retrieve-headers):
26377 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
26378 * lisp/gnus/nntp.el (nntp-retrieve-headers)
26379 (nntp-retrieve-articles):
26380 * lisp/imenu.el (imenu--relative-position):
26381 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
26382 (skkdic-convert-okuri-nasi):
26383 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
26384 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
26385 * lisp/org/org-list.el (org-update-checkbox-count):
26386 * lisp/org/org.el (org-table-map-tables)
26387 (org-update-parent-todo-statistics):
26388 * lisp/play/decipher.el (decipher-insert-frequency-counts)
26389 (decipher-analyze-buffer):
26390 * lisp/profiler.el (profiler-format-percent):
26391 * lisp/progmodes/cc-cmds.el (c-progress-update):
26392 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
26393 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
26394 (idlwave-list-load-path-shadows):
26395 * lisp/progmodes/opascal.el (opascal-step-progress):
26396 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
26397 (vhdl-scan-directory-contents):
26398 * lisp/textmodes/bibtex.el (bibtex-progress-message):
26399 * lisp/textmodes/flyspell.el (flyspell-small-region)
26400 (flyspell-external-point-words):
26401 * lisp/textmodes/table.el (table-recognize):
26402 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
26403 progress-report percentages and the like. This avoids problems
26404 if (* 100 NUMERATOR) would overflow.
26405 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
26406 * lisp/gnus/registry.el (registry-reindex):
26407 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
26408 * lisp/descr-text.el (describe-char):
26409 * lisp/org/org-colview.el (org-nofm-to-completion):
26410 * lisp/ps-print.el (ps-plot):
26411 * lisp/simple.el (what-cursor-position):
26412 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
26413 more-complicated and less-accurate approximation.
26415 Fix some int overflows in profiler.c
26416 * src/profiler.c (make_log): Make args EMACS_INT, not int,
26417 to avoid unwanted behavior on 'int' overflow.
26418 (make_log, evict_lower_half, record_backtrace):
26419 Use ptrdiff_t, not int, for object indexes.
26421 Port to pedantic memcpy
26422 * src/keyboard.c (menu_bar_items, tool_bar_items):
26423 * src/xrdb.c (magic_db):
26424 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
26428 2015-07-29 time_rz: port to pedantic memcpy
26429 * lib/time_rz.c: Copy from gnulib.
26431 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
26433 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
26434 When updating the very last entry, tabulated-list-print would
26435 erase it and then try to look at the next one (which obviously
26438 2015-07-31 Eli Zaretskii <eliz@gnu.org>
26440 Allow to use the old key processing code on MS-Windows
26441 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
26443 (w32_wnd_proc): Use it to invoke the old code that processed
26444 character keys, as fallback, when this variable is non-nil.
26445 Fix typos in comments. (Bug#19994)
26447 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
26449 Improve handling of Unicode keyboard input on MS-Windows
26450 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
26451 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
26452 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
26453 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
26454 successful, don't call TranslateMessage. (Bug#19994)
26456 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
26458 Fix default-directory in changeset diffs after vc-print-log
26459 * lisp/vc/log-view.el (log-view-diff-common): Move the
26460 revision-granularity check back into log-view-diff-changeset.
26461 (log-view-diff-changeset): Bind default-directory to the current
26464 Rename project-directories to project-roots
26465 * lisp/progmodes/project.el (project-search-path-function)
26466 (project-search-path): Update the docstring.
26467 (project-directories): Rename to `project-roots', update all
26468 callers and implementations accordingly.
26469 (project-root): Remove.
26470 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
26471 as the default file mask.
26473 2015-07-30 Eli Zaretskii <eliz@gnu.org>
26475 Support long URLs in w32-shell-execute
26476 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
26477 and filename_to_ansi to convert the DOCUMENT argument, as it could
26478 be a URL that is not limited to MAX_PATH characters. Instead, use
26479 MultiByteToWideChar directly, and allocate heap storage as
26480 required to accommodate the converted string. Likewise with
26481 non-Unicode operation. Ensure OPERATION is null-terminated, even
26482 if it is longer than 32K bytes. (Bug#21158)
26484 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
26486 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
26488 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
26490 Add docs for display-buffer action display-buffer-use-some-frame
26491 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
26492 * doc/lispref/windows.texi (Display Action Functions):
26493 Add display-buffer-use-some-frame.
26494 * etc/NEWS: Mention display-buffer-use-some-frame.
26496 Add display-buffer action display-buffer-use-some-frame
26497 * lisp/window.el (display-buffer-use-some-frame): New.
26499 Handle vc-mtn error more gently
26500 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
26503 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
26505 Fix Tramp problems with multihops, and nc
26506 * lisp/net/tramp-cache.el (tramp-get-file-property)
26507 (tramp-set-file-property, tramp-flush-file-property)
26508 (tramp-get-connection-property, tramp-set-connection-property)
26509 (tramp-flush-connection-property): Remove hop from vector.
26510 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
26511 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
26512 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
26514 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
26515 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
26516 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
26517 Keep hop in result.
26518 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
26521 2015-07-29 Eli Zaretskii <eliz@gnu.org>
26523 Resurrect highlighting of repeated words by Flyspell Mode
26524 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
26525 characters between point and the doublon candidate, so that
26526 flyspell-word-search-backward finds it. (Bug#21157)
26528 Fix redisplay of large images on expose events
26529 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
26530 between signed negative values and unsigned values. This
26531 prevented redisplay on expose events when the window showed a very
26534 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
26536 Remove unnecessary stack overflow dependency
26537 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
26538 Don't worry about $ac_cv_header_sys_resource_h and
26539 $ac_cv_func_getrlimit, as they're no longer needed for this.
26540 Problem reported by Eli Zaretskii in:
26541 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
26543 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
26545 Pacify compilation -Wincompatible-pointer-types warnings
26546 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
26548 (CompareStringW_Proc): New typedef.
26549 (w32_compare_strings): Use it, to pacify compiler warnings under
26550 "-Wincompatible-pointer-types".
26551 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
26552 (GetDiskFreeSpaceExA_Proc): New typedefs.
26553 (Ffile_system_info): Use them, to pacify compiler warnings under
26554 "-Wincompatible-pointer-types".
26556 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
26558 Fix subscript error in calculate_direct_scrolling
26559 Use slightly-longer cost vectors. Without this change,
26560 calculate_direct_scrolling can have a subscript violation when
26561 FRAME_LINES (frame) <= delta.
26562 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
26563 (line_ins_del, do_line_insertion_deletion_costs):
26564 Allocate and use slightly-larger cost vectors, ones based on
26565 FRAME_TOTAL_LINES instead of FRAME_LINES.
26567 Fix uninitalized value in encode_coding_object
26568 * src/coding.c (encode_coding_object): Also initialize
26569 coding->src_pos and coding->src_pos_byte when NILP (src_object).
26570 This avoids later use of uninitialized storage.
26572 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
26574 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
26577 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
26581 2015-07-27 time_rz: port better to MinGW
26582 2015-07-27 time: port __need_time_t to MinGW
26583 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
26584 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
26585 * lib/time-internal.h: New file, from gnulib.
26587 2015-07-27 Eli Zaretskii <eliz@gnu.org>
26589 Handle NULL pointers in w32heap.c allocation routines
26590 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
26592 (realloc_after_dump, realloc_before_dump, free_before_dump):
26593 Handle NULL pointers gracefully, as Emacs now seems to expect that.
26595 Fix Cairo build without PNG
26596 * src/image.c: Define PNG function when USE_CAIRO is defined, even
26597 if HAVE_PNG is not. (Bug#21133)
26599 MS-Windows follow-up for recent TZ-related changes
26600 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
26601 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
26602 picking up 'struct timespec' from pthread.h, if it is installed on
26603 the user's system. We want either the definitions from MinGW
26604 system headers, if available, or the Gnulib replacements if not.
26605 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
26607 * lib/time.in.h: Don't let __need_* symbols affect what happens on
26608 MinGW. These symbols are defined by MinGW system headers, but we
26609 don't want that to affect whether Gnulib portions of the header
26610 are or aren't used.
26612 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
26614 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
26616 New optional ZONE arg for format-time-string etc.
26617 This simplifies time conversions in other time zones.
26618 It also prevents display-time-world tampering with TZ (Bug#21020).
26619 * admin/admin.el (add-release-logs):
26620 Use improved add-log-time-format API.
26621 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
26622 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
26623 * configure.ac (tzalloc): Remove test for this, since
26624 Emacs no longer uses HAVE_TZALLOC directly.
26625 * doc/lispref/os.texi (Time of Day, Time Conversion)
26627 * etc/NEWS: Document the new behavior.
26628 Merge from gnulib, incorporating:
26629 2015-07-25 strftime: fix newly-introduced bug on Solaris
26630 2015-07-23 fprintftime, strftime: use timezone_t args
26631 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
26632 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
26634 Update from gnulib.
26635 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
26636 New files from gnulib.
26637 * lisp/time-stamp.el (time-stamp-string):
26638 * lisp/time.el (display-time-world-list)
26639 (display-time-world-display):
26640 Use new API, with time zone arg.
26641 * lisp/time.el (display-time-world-display):
26642 Fix race when current-time advances while we're running.
26643 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
26644 (add-log-iso8601-time-string): Accept optional time zone arg.
26645 * lisp/vc/add-log.el (add-change-log-entry):
26646 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
26647 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
26648 Add rules for the time module, since they're now needed
26650 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
26651 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
26652 * src/editfns.c: Include errno.h.
26653 (set_time_zone_rule): Omit unnecessary forward decl.
26654 (initial_tz): Remove, replacing with ...
26655 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
26656 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
26657 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
26658 (tzlookup): New static functions.
26659 (init_editfns): New arg DUMPING. All uses changed.
26660 (init_editfns): Omit most initialization if dumping, not if
26661 !initialized. Initialize wall_clock_tz and local_tz.
26662 (emacs_nmemftime, format_time_string): Time zone argument can now
26663 be any time zone, not just a boolean for UTC or local time. All
26665 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
26666 (Fcurrent_time_zone): New optional arg ZONE.
26667 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
26668 the same form as with the other new additions.
26669 (decode_time_zone): Remove; no longer needed.
26670 (tzvalbuf): Now file-scope.
26671 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
26672 (syms_of_editfns): Define Qwall.
26673 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
26674 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
26676 Remove; now supplied by gnulib.
26677 * src/emacs.c (main):
26678 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
26680 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
26682 Fix infinite loop in delete-consecutive-dups
26683 * lisp/subr.el (delete-consecutive-dups): Work even if the last
26684 element is nil (Bug#20588). Avoid rescan of a circular list in
26685 deletion of last element.
26687 2015-07-26 Martin Rudalics <rudalics@gmx.at>
26689 Have `x-frame-geometry' return nil for terminal and initial
26691 * src/nsfns.m (Fx_frame_geometry):
26692 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
26694 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
26695 (Fx_frame_geometry): Return nil for terminal frames
26697 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
26699 * etc/tutorials/TUTORIAL.ja: Improve translation.
26701 2015-07-25 Eli Zaretskii <eliz@gnu.org>
26703 Avoid crashes when w32 GUI functions are called in -batch
26704 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
26705 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
26706 FRAME_W32_WINDOW for initial frame. (Bug#21132)
26708 Fix flyspell-check-previous-highlighted-word
26709 * lisp/textmodes/flyspell.el
26710 (flyspell-check-previous-highlighted-word): Really accept a
26711 numeric argument, as the doc string describes. Fix an off-by-one
26712 error in looking up overlays, so invocation with point immediately
26713 after a word would check that word. Clarify the doc string as
26714 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
26716 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
26718 Minor cleanup in tramp-tests.el
26719 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
26720 Implement using the documented interface
26721 `tramp-connection-properties', rather than with internal functions.
26723 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
26725 Pass lambdas to `skeleton-read'
26726 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
26727 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
26728 lambdas to `skeleton-read' (bug#20386).
26730 2015-07-24 Eli Zaretskii <eliz@gnu.org>
26732 * INSTALL (DETAILED BUILDING AND INSTALLATION):
26733 Mention --without-imagemagick.
26735 Don't require GUI frames and mouse for Flyspell menus
26736 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
26737 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
26738 support, since pop-up menus work with text terminals and can be
26739 controlled via the keyboard.
26741 Improve documentation of Flyspell commands
26742 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
26743 can be invoked via the keyboard. Mention those commands by name
26744 and add them to the fn index. (Bug#21125)
26746 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
26748 Fix some Tramp problems with HP-UX
26749 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
26750 Add "tab0" to stty call.
26751 * test/automated/tramp-tests.el (tramp-persistency-file-name):
26753 (tramp--test-hpux-p): New defun.
26754 (tramp--test-utf8): Use it.
26756 2015-07-22 Glenn Morris <rgm@gnu.org>
26758 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
26760 2015-07-22 Eli Zaretskii <eliz@gnu.org>
26762 Fix point positioning in ffap-next-guess
26763 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
26764 as our callers expect. This was clobbered as part of fixing
26765 bug#5673. (Bug#21107)
26766 (ffap-gopher-at-point): Set ffap-string-at-point-region.
26768 2015-07-22 Martin Rudalics <rudalics@gmx.at>
26770 * lisp/window.el (even-window-sizes): Fix customization type.
26772 Optionally even widths of `display-buffer' windows. (Bug#21100)
26773 * lisp/window.el (quit-restore-window): Restore width if
26775 (display-buffer-record-window): Record width when window is
26776 reused and horizontally combined.
26777 (even-window-sizes): New option to allow evening window widths.
26778 (even-window-heights): Defalias to `even-window-sizes'.
26779 (window--even-window-heights): Rename to
26780 `window--even-window-sizes'. Handle side-by-side windows.
26781 (display-buffer-use-some-window): Call `window--even-window-sizes'
26782 instead of `window--even-window-heights'.
26783 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
26784 * doc/lispref/windows.texi (Choosing Window Options): Describe
26785 `even-window-sizes'.
26786 (Coordinates and Windows): Fix typo.
26788 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
26790 Add file name to autoload error messages
26791 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
26792 Add condition-case to add file name to error message.
26794 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
26796 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
26797 Use 0.0.0.1 as test host.
26799 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
26801 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
26802 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
26803 Fix inf-loop (bug#21083).
26805 2015-07-21 Glenn Morris <rgm@gnu.org>
26807 * test/automated/package-test.el (package-test-signed):
26808 Update for recent changes.
26810 * test/automated/elisp-mode-tests.el
26811 (elisp-xref-finds-both-function-and-variable)
26812 (elisp-xref-finds-only-function-for-minor-mode):
26813 Update for recent xref name changes.
26815 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
26817 Make eldoc timer non-repeatable
26818 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
26819 non-repeatable. Since it's on post-command hook, that just wasted
26822 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
26824 Mention `tramp-connection-properties' in NEWS
26826 Sync with Tramp repository
26827 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
26828 required prior changing its configuration.
26829 (Connection caching, Predefined connection information)
26830 (Remote shell setup): Fix typos.
26831 (Predefined connection information): Describe, how to overwrite
26832 parameters of `tramp-methods'.
26833 (Remote programs, Remote processes, Traces and Profiles):
26835 (Remote programs): Remove superfluous comment.
26836 * doc/misc/trampver.texi: Update release number.
26837 * lisp/net/tramp-cache.el (tramp-connection-properties):
26839 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
26840 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
26841 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
26842 "gvfs-mkdir -p ..." does not work robust.
26843 (tramp-gvfs-maybe-open-connection):
26844 Adapt `tramp-get-method-parameter' call.
26845 * lisp/net/tramp-sh.el (tramp-methods):
26846 Add `tramp-remote-shell-login' parameter where it fits.
26847 (tramp-get-remote-path): Use it.
26848 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
26849 (all): Adapt `tramp-get-method-parameter' calls.
26850 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
26851 (tramp-get-method-parameter): Replace argument METHOD by VEC.
26852 Check also for hits in `tramp-connection-properties'. Adapt docstring.
26853 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
26854 (all): Adapt `tramp-get-method-parameter' calls.
26855 * lisp/net/trampver.el: Update release number.
26856 * test/automated/tramp-tests.el (tramp--instrument-test-case):
26857 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
26858 (tramp-test13-make-directory, tramp--test-adb-p)
26859 (tramp--test-smb-or-windows-nt-p): Simplify.
26860 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
26861 (tramp--test-special-characters): Fix docstring. Add gvfs and
26863 (tramp--test-utf8): Fix docstring.
26865 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
26867 Add new xref-query-replace command
26868 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
26869 New function, extracted from xref-pulse-momentarily.
26870 (xref-query-replace): New command.
26871 (xref--query-replace-1): New helper function.
26872 (xref--xref-buffer-mode-map): Add `r' binding.
26874 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
26876 Simplify icalendar decoding of Z dates
26877 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
26878 Simplify calculation of time strings with trailing "Z".
26880 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
26882 Do not corrupt grep-find-ignored-files
26883 * lisp/progmodes/project.el (project-ignores): Change the order of
26884 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
26886 Add xref-match-item, and use it
26887 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
26888 (xref-file-location): Add reader for the column slot.
26889 (xref-match-item): New class.
26890 (xref-match-bounds): A method implementation for it.
26891 (xref-make-match): New constructor function.
26892 (xref--current-item): New private variable.
26893 (xref-pulse-momentarily): Use it.
26894 (xref--pop-to-location): Change the first argument to an xref
26895 item, instead of location, bind xref--current-item.
26896 Update all callers.
26897 (xref-next-line, xref-prev-line, xref--next-error-function)
26898 (xref--mouse-2): Look for the property `xref-item',
26899 instead of `xref-location'.
26900 (xref--item-at-point): Likewise. This function replaces
26901 `xref-location-at-point'. Update all callers.
26902 (xref--insert-xrefs): Add the `xref-item' text property, instead
26903 of `xref-location'.
26904 (xref--collect-match): Use xref-make-match.
26906 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
26907 Update all references.
26909 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
26912 vc-hg: Perform the print-log call asynchronously
26913 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
26914 asynchronously (bug#21067).
26916 Add xref-after-jump-hook and xref-after-return-hook
26917 * lisp/progmodes/xref.el (xref-after-jump-hook)
26918 (xref-after-return-hook): New hooks.
26919 (xref-pulse-on-jump): Remove, in favor of the above.
26920 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
26921 (xref--pop-to-location, xref--display-position)
26922 (xref-pop-marker-stack): Use the new hooks, as requested in
26923 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
26925 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
26927 * lisp/progmodes/js.el (js-mode): Correct the lighter.
26929 2015-07-19 Leo Liu <sdl.web@gmail.com>
26931 Fix a bug in cfengine3-mode
26932 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
26933 eldoc-documentation-function.
26935 2015-07-18 Julien Danjou <julien@danjou.info>
26937 sieve-mode: support "body" test command
26938 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
26939 Add missing "body" test command.
26941 2015-07-18 Eli Zaretskii <eliz@gnu.org>
26943 Fix info-apropos when the default encoding is Latin-N
26944 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
26945 'undecided', so that it is set to the encoding of the Info file we
26946 are about to insert. Otherwise, 'info-apropos' will fail to find
26947 some index nodes in some UTF-8 encoded files, if the buffer's
26948 previous encoding is Latin-N or some such.
26950 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
26952 * lisp/epg.el (epg--start): Check that gpgconf can be found
26955 Expose more file types to OS X that Emacs understands
26956 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
26957 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
26959 2015-07-18 Eli Zaretskii <eliz@gnu.org>
26961 Fix visual-order cursor movement when lines are truncated
26962 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
26963 simulate display in a window of infinite width, to allow move_it_*
26964 functions reach positions outside of normal window dimensions.
26965 Remove code that tried to handle a subset of these situations by
26966 manual iteration of buffer text. (Bug#17777)
26968 Fix following Info cross-references to anchors
26969 * lisp/info.el (Info-read-subfile): Add to the returned value the
26970 length of subfile preamble, after converting it to file's byte
26971 offset, as expected by the caller. Use bufferpos-to-filepos.
26972 (Info-find-node-2): If searching for a node with a
26973 1000-character slop fails, try again with a 10000-character slop,
26974 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
26975 * lisp/international/mule-util.el (bufferpos-to-filepos): New
26977 * etc/NEWS: Mention bufferpos-to-filepos.
26979 Fix scrolling backwards on TTY frames under scroll-conservatively
26980 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
26981 in moving backwards on TTY frames. (Bug#21080)
26983 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
26985 Consider a jsdoc tag to be a beginning of a paragraph as well
26986 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
26987 consider a jsdoc tag to be a beginning of a paragraph as well.
26989 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
26991 * lisp/emacs-lisp/package.el: Fix warnings.
26993 * lisp/emacs-lisp/package.el (package-buffer-info):
26994 Add author and maintainers to `package-buffer-info'.
26996 * lisp/emacs-lisp/package.el: Many small changes.
26997 Replace all instances of 'face with 'font-lock-face.
26998 (describe-package-1): Improve some strings and move the summary
27000 (package-install-file): Update docstring.
27001 (package-menu-hide-package): Bind to `H'.
27003 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
27004 Fix error handling.
27006 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
27008 Fix hang with large yanks This should fix the bug fixed by Mike
27010 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
27011 A problem in this area has been reported by several users; see
27012 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
27013 This fix differs from Mike Crowe's patch in that it should avoid a
27014 race condition that could lose SIGIO signals. ignore_sigio dates
27015 back to the 1980s when some platforms couldn't block signals, and
27016 could only ignore them, which led to races when signals arrived
27017 while being ignored. We shouldn't have to worry about those old
27019 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
27020 * src/emacs.c (shut_down_emacs):
27021 Don't call ignore_sigio; unrequest_sigio should suffice.
27022 * src/keyboard.c (kbd_buffer_store_buffered_event):
27023 Use unrequest_sigio, not ignore_sigio.
27024 (kbd_buffer_get_event):
27025 Call request_sigio when getting the ball rolling again.
27027 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
27029 * lisp/obsolete/longlines.el (longlines-search-function):
27030 Fallback on `isearch-search-fun-default'.
27032 2015-07-17 Tassilo Horn <tsdh@gnu.org>
27035 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
27036 of mentions/messages with @nick instead of just nick.
27038 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
27041 * lisp/autorevert.el (auto-revert-handler): Do not check for
27042 `buffer-modified-p'.
27043 * lisp/files.el (buffer-stale--default-function): Check for
27044 `buffer-modified-p'.
27045 * test/automated/auto-revert-tests.el
27046 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
27048 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
27050 Fix delete-dups bug on long lists
27051 * lisp/subr.el (delete-dups):
27052 Don't mistakenly keep some dups when applied to long lists.
27054 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
27056 Better heuristic for C stack overflow
27057 Improve the heuristic for distinguishing stack overflows from
27058 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
27059 the getrlimit method wasn't portable to Cygwin; see:
27060 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
27061 Corinna suggested pthread_getattr_np but this also has problems.
27062 Instead, replace the low-level system stuff with a simple
27063 heuristic based on known good stack addresses.
27064 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
27065 * src/sysdep.c: Don't include <sys/resource.h>.
27066 (stack_direction): Remove. All uses removed.
27067 (stack_overflow): New function.
27068 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
27069 Make SEGV fatal in non-main threads.
27071 2015-07-16 Daiki Ueno <ueno@gnu.org>
27073 epg: Automatically start pinentry server
27074 * lisp/epg-config.el (epg-gpgconf-program): New variable.
27075 * lisp/epg.el (epg--start): Call `pinentry-start' if
27076 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
27078 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
27080 * lisp/gnus/nnimap.el: Fix my last bogus change.
27081 Reinstall Stefan Monnier's change that was made in
27082 <83d824bc4041332f338ad7e5e830f443535aa300>.
27084 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
27088 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
27089 2015-07-05 acl-permissions: Fix on FreeBSD
27090 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
27091 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
27092 * lib/set-permissions.c: Copy from gnulib.
27094 Port to stricter C99
27095 * src/keyboard.h (kbd_buffer_store_event_hold):
27096 Don't return a void expression.
27098 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
27100 * doc/emacs/frames.texi (Creating Frames):
27101 Fix the command `C-x 5 m' runs.
27103 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
27105 New autorevert tests
27106 * test/automated/auto-revert-tests.el: New file.
27108 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
27110 Clear gcprolist etc. after stack overflow
27111 After stack overflow, command_loop calls init_eval, and this needs to
27112 clear gcprolist and byte_stack_list (Bug#20996).
27113 * src/alloc.c (init_alloc):
27114 Move gcprolist and byte_stack_list initialization from here ...
27115 * src/eval.c (init_eval): ... to here.
27117 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
27119 * doc/emacs/windows.texi (Pop Up Window): Fix the description
27122 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27124 Avoid deprecated enums in mac-ct font backend driver
27125 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
27126 (mac_ctfont_get_advance_width_for_glyph)
27127 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
27129 Cache font family in mac-ct font backend driver
27130 * src/macfont.m (macfont_family_cache): New variable.
27131 (syms_of_macfont): Initialize it.
27132 (macfont_available_families_cache): New variable.
27133 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
27134 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
27135 (macfont_handle_font_change_notification)
27136 (macfont_init_font_change_handler)
27137 (macfont_copy_available_families_cache): New functions.
27138 (macfont_create_family_with_symbol): Use font family caches.
27139 (macfont_list, macfont_list_family):
27140 Use macfont_copy_available_families_cache instead of
27141 mac_font_create_available_families.
27143 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
27145 Show the default value in the prompt
27146 * lisp/progmodes/xref.el: Add `M-?' binding for
27147 xref-find-references. Declare functions `grep-read-files' and
27148 `grep-expand-template'.
27149 (xref--read-identifier): Show the default value in the prompt.
27151 * lisp/progmodes/xref.el (xref-find-regexp): When called with
27152 prefix argument, ask for file patterns to search as well. When
27153 prompting for the directory, require an existing one.
27154 (xref-collect-matches): Add a new argument, FILES. Use it in the
27157 Add `project-ignores'
27158 * lisp/progmodes/project.el (project-ignores): New generic
27159 function, and an implementation for the VC project type.
27160 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
27161 variant of rgrep-default-command that handles a generic list of
27163 (xref-collect-matches): Use it, and pass through to it the value
27164 of the newly added argument.
27165 (xref-find-regexp): Handle ignored paths within the project.
27166 Remove outdated comment.
27167 * lisp/vc/vc.el (vc-default-ignore-completion-table):
27168 Skip the comments and the empty lines.
27170 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
27172 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
27174 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
27176 gnus-registry.el: Correct function argument order
27177 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
27178 Reverse the order of function arguments.
27180 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
27182 Bind grep-highlight-matches to nil
27183 * lisp/progmodes/xref.el (xref-collect-matches):
27184 Bind grep-highlight-matches to nil (bug#20728).
27186 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
27188 nnimap.el: Fix IMAP message size parsing
27189 * lisp/gnus/nnimap.el (nnimap-transform-headers):
27190 Don't assume that UID comes before RFC822.SIZE.
27192 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
27194 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
27195 (auth-source-creation-prompts): Declare.
27196 (nnimap-retrieve-headers, nnimap-status-message)
27197 (nnimap-request-create-group, nnimap-request-delete-group)
27198 (nnimap-close-group, nnimap-request-move-article)
27199 (nnimap-request-accept-article, nnimap-request-newgroups)
27200 (nnimap-request-post, nnimap-dummy-active-number)
27201 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
27202 (nnimap-parse-flags): Remove unused var `p'.
27203 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
27204 (nnimap-flags-to-marks): Remove unused var `totalp'.
27206 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
27208 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
27210 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27212 * src/macfont.m (macfont_list): Ignore font families lacking
27215 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
27217 Don't check the exit status, it can be misleading
27218 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
27219 exit status, it can be misleading.
27221 Introduce a Project API
27222 * lisp/progmodes/project.el: New file.
27223 * lisp/cedet/ede.el (project-try-ede): New function.
27224 (project-root): New implementation.
27225 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
27226 Set project-search-path-function.
27227 (elisp--xref-find-references): Delegate some logic to
27228 project-search-path.
27229 (elisp-search-path): New function.
27230 (elisp-xref-find): Don't implement `matches' anymore.
27231 * lisp/progmodes/etags.el: Don't implement `matches'.
27232 Delegate some logic to project-search-path.
27233 (etags-search-path): New function.
27234 * lisp/progmodes/xref.el (xref-find-function):
27235 Remove `matches' from the API.
27236 (xref-find-regexp): Move whatever common logic was in elisp and
27237 etags implementations, and search the directories returned by
27238 project-directories and project-search-path.
27240 2015-07-09 Nicolas Petton <nicolas@petton.fr>
27242 * test/automated/map-tests.el (test-map-delete-return-value):
27245 Add support for gv.el in map.el
27246 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
27247 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
27248 * test/automated/map-tests.el: Update tests to work with the new
27249 implementations of map-elt and map-put.
27251 2015-07-09 Glenn Morris <rgm@gnu.org>
27253 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
27255 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
27257 Syntax-propertize until the end of the line first
27258 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
27259 until the end of the line first.
27261 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
27263 * doc/emacs/files.texi (File Archives): Add a cross reference.
27265 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
27267 nnimap.el: Handle plain value for nnimap-stream
27268 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
27269 capabilities, so that a 'plain value for the `nnimap-stream' server
27270 variable is handled correctly.
27271 * doc/misc/gnus.texi (Customizing the IMAP Connection):
27272 Document the 'plain option.
27274 2015-07-08 Leo Liu <sdl.web@gmail.com>
27276 Fix bug in thing-at-point--bounds-of-well-formed-url
27277 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
27278 sure boundary contains current point.
27280 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
27282 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
27285 Declare whitespace-line-column a safe file-local
27286 * lisp/whitespace.el (whitespace-line-column): Declare to be a
27287 safe file-local when the value is an integer.
27289 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
27291 gnus-group.el: Check if group names are already strings
27292 * lisp/gnus/gnus-group.el (gnus-group-group-name):
27293 The group name may already be a string.
27294 Specifically, in the group list reached from the *Server* buffer,
27295 the 'gnus-group text property returns a string. Everywhere else
27296 it returns a symbol.
27298 nnimap.el: Remove unused let variables
27299 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
27301 2015-07-08 Eli Zaretskii <eliz@gnu.org>
27303 Support "maximized" property of runemacs's shortcut
27304 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
27305 the '--maximized' switch to Emacs.
27307 Support "minimized" property of runemacs's shortcut
27308 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
27309 pass the '--iconic' switch to Emacs. (Bug#20991)
27311 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
27314 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
27316 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
27317 Add a cross reference.
27319 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
27321 * lisp/obsolete/landmark.el: Add Obsolete-since header.
27323 2015-07-07 Glenn Morris <rgm@gnu.org>
27325 * test/automated/ert-tests.el (ert-test-deftest):
27326 Update for recent changes.
27328 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
27330 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
27331 * lisp/emacs-lisp/gv.el (gv-setter): New function.
27332 (gv-invalid-place): New error.
27333 (gv-get): Use them.
27334 (gv-synthetic-place, gv-delay-error): New places.
27335 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
27336 (cl-defgeneric, cl-defmethod): Use gv-setter.
27338 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
27340 Make vc-tests work with MSYS svn program
27341 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
27342 svn is an MSYS program.
27344 2015-07-07 Ken Brown <kbrown@cornell.edu>
27346 Improve recent change to emacsclient on Cygwin
27347 * lisp/server.el (server-process-filter): Remove redundant check
27348 that 'cygwin-convert-file-name-from-windows' is defined as a
27349 function on Cygwin. Don't call that function unless its argument
27350 starts with a drive letter.
27352 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
27354 * lisp/emacs-lisp/package.el (package-compute-transaction):
27355 Fix void variable due to `found-something' being in the wrong `let'.
27357 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
27359 * lisp/play/landmark.el: Move to lisp/obsolete/.
27361 2015-07-07 Martin Rudalics <rudalics@gmx.at>
27363 Have `x-show-tip' handle `right' and `bottom' frame parameters
27364 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
27365 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
27366 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
27367 tooltips also via `right' and `bottom' frame parameters.
27369 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
27371 Add online-help support to describe types
27372 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
27373 (describe-symbol): Improve the selection of default.
27374 * lisp/help-mode.el: Require cl-lib.
27375 (describe-symbol-backends): Move from help-fns.el.
27376 (help-make-xrefs): Use it.
27377 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
27379 (cl--typedef-regexp): New const.
27380 (find-function-regexp-alist): Add entry for types.
27381 (cl-help-type, cl-type-definition): New buttons.
27382 (cl-find-class): New function.
27383 (cl-describe-type): New command.
27384 (cl--describe-class, cl--describe-class-slot)
27385 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
27386 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
27387 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
27388 New functions. Moved from eieio-opt.el.
27389 (cl--generic-class-parents): New function, extracted from
27390 cl--generic-struct-specializers.
27391 (cl--generic-struct-specializers): Use it.
27392 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
27393 Improve constructor's docstrings.
27394 (cl-struct-unknown-slot): New error.
27395 (cl-struct-slot-offset): Use it.
27396 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
27397 definition in current-load-list.
27398 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
27399 (eieio--add-new-slot): Set it.
27400 (eieio-defclass-internal): Use new name for current-load-list.
27401 (eieio-oref): Add compiler-macro to warn about unknown slots.
27402 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
27403 as compile-time as well. Improve constructor docstrings.
27404 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
27405 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
27406 (eieio-class-def): Remove button.
27407 (eieio-help-constructor): Use new name for load-history element.
27408 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
27409 (eieio-method-documentation): Move to cl-generic.el.
27410 (eieio-display-method-list): Use new names.
27411 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
27412 Add "define-linline".
27413 (lisp-fdefs): Remove "defsubst".
27414 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
27415 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
27416 (macroexp--warn-and-return): Use it to avoid inf-loops.
27417 Add `compile-only' argument.
27419 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
27421 python.el: Fix local/remote shell environment setup
27422 * lisp/progmodes/python.el (python-shell-with-environment):
27423 Fix remote/local environment setup.
27424 * test/automated/python-tests.el (python-shell-with-environment-1)
27425 (python-shell-with-environment-2): New tests.
27427 2015-07-06 Glenn Morris <rgm@gnu.org>
27429 * lisp/simple.el (set-variable): Tweak recent doc fix.
27431 2015-07-06 Ken Brown <kbrown@cornell.edu>
27433 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
27435 2015-07-06 Glenn Morris <rgm@gnu.org>
27437 * lisp/simple.el (set-variable): Use user-error for type mismatch.
27439 2015-07-06 Ken Brown <kbrown@cornell.edu>
27441 * src/emacs.c (main): Don't increase the stack size on Cygwin.
27443 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
27445 (describe-symbol): Rewrite describe-function-or-variable
27446 * lisp/help-fns.el (describe-symbol-backends): New var.
27447 (help-xref-stack-item): Declare.
27448 (describe-symbol): Rename from describe-function-or-variable.
27449 Rewrite using describe-symbol-backends instead of help-xref-interned.
27450 * lisp/help.el (help-map): Use it.
27451 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
27452 (help-xref-interned): Make it into an obsolete alias.
27454 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
27455 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
27458 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
27460 Fix parsing glitches in dired-mark-sexp (bug#13575)
27461 * lisp/dired-x.el (dired-x--string-to-number): New function.
27462 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
27463 of directory-listing-before-filename-regexp. Consider
27464 forward-word harmful and replace it. Add more verbiage in
27465 comments and doc string.
27467 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
27469 python.el: Respect process environment for remote shells
27470 * lisp/progmodes/python.el
27471 (python-shell-calculate-process-environment): Calculate
27472 process-environment or tramp-remote-process-environment depending
27473 whether current file is remote.
27474 (python-shell-calculate-exec-path): Calculate exec-path or
27475 tramp-remote-path depending whether current file is remote.
27476 (python-shell-with-environment): New macro.
27477 (python-shell-prompt-detect, python-shell-calculate-command)
27478 (python-shell-make-comint, python-check): Use it.
27480 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
27481 * lisp/progmodes/python.el (python-shell--interpreter)
27482 (python-shell--interpreter-args): New vars.
27483 (inferior-python-mode, python-shell-make-comint): Use them.
27485 python.el: Fixes for IPython 3.x (Bug#20580)
27486 * lisp/progmodes/python.el:
27487 (python-shell-completion-native-setup): Fix IPython 3.x setup.
27488 (python-shell-completion-native-get-completions): Fix timeout
27491 python.el: Fix mark-defun behavior (Bug#19665)
27492 * lisp/progmodes/python.el (python-mark-defun): New function.
27493 * test/automated/python-tests.el (python-mark-defun-1)
27494 (python-mark-defun-2, python-mark-defun-3): New tests.
27496 2015-07-05 Glenn Morris <rgm@gnu.org>
27498 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
27499 such as "extends(parent), private". (Bug#20969)
27500 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
27503 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
27505 Avoid duplicate calls to current_timespec
27506 * src/process.c (wait_reading_process_output):
27507 Cache current_timespec results as long as we're not waiting.
27509 2015-07-05 Ian Kelling <ian@iankelling.org>
27511 Avoid returning early reading process output due to SIGIO
27512 * src/process.c (wait_reading_process_output): Extend the behavior of
27513 not breaking due to not finding output when a timer has lowered the
27514 timeout to include when SIGIO lowers the timeout.
27516 Don't return as fast reading any process output
27517 * src/process.c (wait_reading_process_output):
27518 The patch for Bug#17647 returns too fast sometimes when reading
27519 from any processes. Revert part of it, and limit the timeout more
27520 sensibly (Bug#20978).
27522 Refactor timeouts in wait_reading_process_output
27523 * src/process.c (wait_reading_process_output):
27524 Simplify timeouts with an enum. Remove a redundant condition.
27527 Remove ADAPTIVE_READ_BUFFERING ifdef
27528 * src/process.c (make-process, make-pipe-process, deactivate_process)
27529 (wait_reading_process_output, read_process_output, send_process)
27530 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
27531 added in case there was an operating system in which it was not
27532 useful. That was 11 years ago and it hasn't happened. Make
27533 development easier by not considering the effect of changes on a
27534 theoretical OS where this is disabled (Bug#20978).
27536 2015-07-05 Glenn Morris <rgm@gnu.org>
27538 * lisp/simple.el (set-variable): Doc fix.
27540 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
27542 2015-07-05 Ian Kelling <ian@iankelling.org>
27544 accept-process-output fix
27545 This is a followon to the fix for bug#17647 (Bug#20976).
27546 * src/process.c (status_notify): Fix too high return in some cases.
27548 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
27550 * lisp/character-fold.el (character-fold-table):
27551 Only fold decompositions if at least one character is non-spacing.
27554 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
27558 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
27559 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
27560 2015-07-02 update-copyright: fix test failure with perl >= 5.22
27561 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
27562 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
27563 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
27564 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
27566 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
27568 Respect `prog-indentation-context' in python.el
27569 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
27570 (python-indent-context, python-indent--calculate-indentation)
27571 (python-info-current-defun)
27572 (python-info-dedenter-opening-block-message)
27573 (python-info-line-ends-backslash-p)
27574 (python-info-beginning-of-backslash)
27575 (python-info-continuation-line-p): Use `prog-widen'.
27576 (python-indent--calculate-indentation)
27577 (python-indent--calculate-levels)
27578 (python-indent-calculate-indentation): Use `prog-first-column'.
27579 (python-indent--calculate-levels): Simplify.
27580 Ignore also initial empty lines for syntax calculation.
27581 * lisp/progmodes/python.el (python-indent-context): Return
27582 :no-indent for first non-empty line, not just in line 1.
27583 * test/automated/python-tests.el (python-indent-base-case)
27584 (python-indent-inside-paren-1, python-indent-inside-paren-2)
27585 (python-indent-inside-paren-3, python-indent-inside-paren-4)
27586 (python-indent-inside-paren-5, python-indent-inside-paren-6)
27587 (python-indent-after-backslash-1)
27588 (python-indent-after-backslash-2)
27589 (python-indent-after-backslash-3)
27590 (python-indent-after-backslash-4, python-indent-inside-string-1):
27591 Expect :no-indent for first non-empty line.
27593 2015-07-04 Daniel Colascione <dancol@dancol.org>
27595 Factor isearch word description into new function
27596 * lisp/isearch.el (isearch--describe-word-mode): New function.
27597 (isearch-message-prefix, isearch-query-replace): Use it.
27599 2015-07-04 Eli Zaretskii <eliz@gnu.org>
27601 Fix mouse pointer on w32 when a menu is active
27602 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
27603 shape while a menu is in use. This started happening since we now
27604 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
27606 2015-07-04 Martin Rudalics <rudalics@gmx.at>
27608 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
27609 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
27610 parameter. (Bug#17344)
27612 Have `compilation-set-window' use right window for getting fringes
27614 * lisp/progmodes/compile.el (compilation-set-window):
27615 Take `window-fringes' from argument window.
27617 2015-07-03 Glenn Morris <rgm@gnu.org>
27619 Update eieio tests for recent eieio-core change.
27620 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
27621 * test/automated/eieio-tests.el
27622 (eieio-test-32-slot-attribute-override-2):
27623 Replace the deleted eieio--class-v with cl--find-class.
27625 2015-07-03 Martin Rudalics <rudalics@gmx.at>
27627 Fix some issues with `window-divider-mode'
27628 * lisp/frame.el (window-divider-default-places): New option.
27629 (window-divider-mode): Remove option.
27630 (window-divider-mode): Make it a "regular" minor mode.
27631 (window-divider-width-valid-p): Drop frame- prefix.
27632 (window-divider-mode-apply): New argument ENABLE. Drop frame-
27633 prefix. Handle `window-divider-default-places'.
27634 (frame--window-divider-mode-set-and-apply): Remove.
27635 (window-divider-default-bottom-width)
27636 (window-divider-default-right-width): Drop :group entries.
27637 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
27638 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
27639 (menu-bar-no-window-divider): Set `window-divider-default-places'
27640 and call `window-divider-mode'.
27641 * doc/emacs/frames.texi (Window Dividers): Document
27642 `window-divider-default-places'.
27644 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
27646 * doc/emacs/display.texi (Displaying Boundaries):
27647 * doc/emacs/search.texi (Word Search): Add cross references.
27649 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
27651 -batch should not affect ‘’ -> `' display
27652 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
27653 -batch (Bug#20926).
27655 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
27657 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
27658 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
27659 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
27660 Use cl--find-class instead.
27662 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
27664 2015-07-02 Martin Rudalics <rudalics@gmx.at>
27666 Some further fixes in Change Window node (Bug#20183)
27667 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
27668 by "resizing" in section title. Add some concept indices.
27669 Suggested by N. Jackson (Bug#20183).
27671 * doc/emacs/windows.texi (Change Window): Reference window
27674 Document new `window-divider-mode'.
27675 * lisp/frame.el (window-divider-mode): Fix doc-string.
27676 * doc/emacs/frames.texi (Window Dividers): New section.
27678 Improve accessibility of window dividers (Bug#20183)
27679 * lisp/faces.el (window-divider)
27680 (window-divider-first-pixel, window-divider-last-pixel): Change
27681 membership from `frames' to `window-divider' customization group.
27682 * lisp/frame.el (window-divider): New customization group.
27683 (window-divider-mode): New minor mode.
27684 (window-divider-default-bottom-width)
27685 (window-divider-default-right-width): New options.
27686 (frame--window-divider-previous-mode): New variable.
27687 (frame-window-divider-width-valid-p)
27688 (frame--window-divider-mode-apply)
27689 (frame--window-divider-mode-set-and-apply): New functions.
27690 * lisp/menu-bar.el (menu-bar-options-save): Save
27691 window-divider-mode settings.
27692 (menu-bar-window-divider-customize)
27693 (menu-bar-bottom-and-right-window-divider)
27694 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
27695 (menu-bar-no-window-divider): New functions.
27696 (menu-bar-showhide-window-divider-menu): New variable.
27697 (menu-bar-showhide-menu): Show/hide window divider menu.
27698 * lisp/mouse.el (mouse-split-window-vertically)
27699 (mouse-split-window-horizontally): Replace `error' by
27700 `user-error'. Bind `window-combination-resize' to nil.
27701 (top-level): Add/reorder mouse key bindings on mode- and
27704 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
27706 Don't display ‘’ as `' under X in en_GB
27707 The curved quote setup code invokes (char-displayable-p ?‘),
27708 but this isn’t reliable until after the X frame replaces the
27709 terminal frame (Bug#20926).
27710 * lisp/international/mule-cmds.el (set-locale-environment):
27711 Move curved quote setup code from here ...
27712 * lisp/startup.el (command-line): ... to here, after creating
27715 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
27717 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
27719 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
27720 to reverse the meaning (Bug#15631).
27722 2015-07-01 Eli Zaretskii <eliz@gnu.org>
27724 Be more tolerant to fonts named "Foobar-12"
27725 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
27726 don't barf; instead, request a new fontset to be generated. This
27727 avoids unnecessarily rejecting fonts named against XLFD rules. See
27728 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
27729 for the description of the original problem.
27730 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
27731 by a hyphen in a font's name.
27733 Fix value of posn-at-pont in R2L lines
27734 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
27735 coordinate of -1, for a newline in a right-to-left line that
27736 overflowed into the left fringe.
27738 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
27740 (cl--copy-slot-descriptor): Copy the `props' alist as well
27741 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
27742 Rename from cl--copy-slot-descriptor.
27743 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
27745 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
27747 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
27748 (xterm-query-timeout): New var.
27749 (xterm--query): Use it. Fallback on async method if we timeout before
27750 getting the first byte of the reply (bug#12354).
27752 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
27755 * lisp/character-fold.el (character-fold-search):
27756 * lisp/emacs-lisp/package.el (package-hidden-regexps):
27759 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
27761 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
27763 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
27765 In strings, prefer plain ` and ' to \` and \'
27766 * lisp/allout.el (allout-insert-listified):
27767 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
27768 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
27769 (ls-lisp-string-lessp):
27770 * lisp/menu-bar.el (menu-bar-open):
27771 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
27772 * lisp/progmodes/compile.el (compile):
27773 * lisp/progmodes/etags.el (tags-loop-scan):
27774 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
27775 * lisp/subr.el (posn-actual-col-row):
27776 * lisp/term/pc-win.el (x-list-fonts):
27777 * lisp/textmodes/texinfmt.el (texinfmt-version):
27778 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
27779 * lisp/time.el (display-time-world-list):
27780 * lisp/tmm.el (tmm-menubar):
27781 * src/buffer.c (syms_of_buffer):
27782 * src/fileio.c (syms_of_fileio):
27783 Omit unnecessary and confusing backslash before quote.
27784 * lisp/erc/erc.el (erc-cmd-LASTLOG):
27785 * lisp/progmodes/flymake.el (flymake-fix-file-name):
27786 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
27787 Fix string that was intended to escape a backslash and not a quote.
27789 2015-06-30 Glenn Morris <rgm@gnu.org>
27791 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
27793 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
27794 Replace hard-coded lists with wildcard + filter-out.
27796 * configure.ac (system-configuration-features): Add X11, NS.
27798 Improve reproducibility of generated loaddefs file
27799 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
27800 Make the return value the modtime of the input file (if no autoloads).
27801 (update-directory-autoloads): In the "no autoloads" section,
27802 use "most recent modtime" rather than "current time".
27804 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
27806 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
27809 2015-06-30 Nicolas Petton <nicolas@petton.fr>
27811 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
27813 Add seq-min and seq-max
27814 Bump version number.
27815 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
27816 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
27818 2015-06-30 Eli Zaretskii <eliz@gnu.org>
27820 Make sure sleep-for always delays for as long as it's told
27821 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
27822 a loop, to ensure we always wait exactly the required amount of
27825 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
27827 Fix pointer signedness glitch
27828 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
27830 2015-06-30 Eli Zaretskii <eliz@gnu.org>
27832 Don't block changes in mouse pointer inside 'track-mouse'
27834 * doc/lispref/frames.texi (Mouse Tracking): Document the special
27835 effect of setting 'track-mouse' to 'dragging'.
27836 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
27837 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
27838 * lisp/mouse-drag.el (mouse-drag-throw):
27839 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
27840 to avoid changes in the shape of the mouse pointer.
27841 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
27842 pointer shape when do_mouse_tracking has the value of 'dragging',
27843 not just any non-nil value. (Bug#20934)
27844 (syms_of_xdisp): DEFSYM 'dragging'.
27846 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
27848 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
27850 * lisp/emacs-lisp/package.el (package-compute-transaction):
27851 Don't assume version sorting.
27853 * lisp/emacs-lisp/package.el (package--save-selected-packages):
27854 Don't save before init time, to avoid overwriting configurations.
27857 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
27859 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
27862 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
27864 Update for the upcoming CFEngine 3.7 release: support macros and
27865 quoted context strings; reformat JSON; indent promise attributes 2
27866 units by default; give function parameter descriptions in the eldoc
27868 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
27869 Autoload `json-pretty-print'. Support new features in 3.7.
27870 (cfengine-parameters-indent): Set default promise attribute indent to
27871 2 more than the promise itself.
27872 (cfengine3-macro-regex): New variable to match the new macro syntax.
27873 (cfengine3-font-lock-keywords): Use it to highlight macros.
27874 (cfengine3-indent-line): Use it to indent macros to column 0.
27875 (cfengine3-class-selector-regex): Update for the new quoted strings
27877 (cfengine3-reformat-json-string): New function to reformat a JSON
27878 string using `json-pretty-print'.
27879 (cfengine3-format-function-docstring): Use function parameter
27880 description if it's provided by the cf-promises syntax dump.
27882 2015-06-29 Michael R. Mauger <michael@mauger.com>
27884 Cygwin emacsclient handles w32 file names
27885 * lisp/server.el (server-process-filter): Allow Cygwin's
27886 emacsclient to be used as a file handler on MS-Windows.
27888 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
27890 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
27893 2015-06-29 Eli Zaretskii <eliz@gnu.org>
27895 * doc/lispref/text.texi (Sticky Properties): Improve wording.
27898 Allow font names that end in "-NN", where NN is a number
27899 * src/font.c (font_load_for_lface): If the font-spec didn't match
27900 any available fonts, try again without interpreting trailing "-NN"
27901 as the font size. For the description of the original problem, see
27902 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
27904 .gdbinit followup to changes in !USE_LSB_TAG
27905 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
27906 !USE_LSB_TAG, as Emacs no longer does.
27908 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
27910 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
27911 Otherwise `s p' of f and F will stomp on each other's value.
27914 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
27916 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
27917 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
27919 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
27921 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
27922 as additional guess.
27924 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
27927 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
27929 apropos-library quoting fix
27930 * lisp/apropos.el (apropos-library): Quote library consistently
27931 with the rest of the quoting used by apropos.
27933 Clarify interpreter-mode-alist doc
27934 * lisp/files.el (interpreter-mode-alist):
27935 Reword to avoid confusing quoting that wasn't working anyway.
27937 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
27939 Sync with Tramp 2.2.12
27940 * doc/misc/trampver.texi:
27941 * lisp/net/trampver.el: Update release number.
27942 * test/automated/tramp-tests.el (tramp-test13-make-directory):
27945 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
27947 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
27949 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
27951 Bind grep-highlight-matches around the rgrep call
27952 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
27953 around the rgrep call (bug#20728).
27955 Put "--color" before the other options in grep-command
27956 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
27957 before the other options in grep-command (bug#20912).
27959 Add --color Grep option to the command dynamically
27960 * lisp/progmodes/grep.el (grep-template, grep-find-template):
27961 Update the description for <C>. (Bug#20728)
27962 (grep-compute-defaults): Don't add the --color option to
27963 grep-options. Only add it to grep-command.
27964 (grep-expand-keywords): Expand the env value opts into <C>.
27965 (grep-expand-template): Replace cf in the env with the opts list,
27966 that can include -i and --color.
27967 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
27968 "--color=always" from the template, because we don't have to.
27970 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
27972 cl-extra fixes for most-negative-fixnum
27973 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
27974 Don't mishandle an argument equal to most-negative-fixnum,
27975 whose absolute value equals itself.
27976 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
27978 Initialize cl--gensym-counter to 0
27979 Previously it was initialized to a random value, which made it
27980 harder to reproduce earlier Emacs runs. The need for a random
27981 value went away when Emacs introduced and used the #: syntax for
27982 uninterned symbols (Bug#20862).
27983 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
27984 Document that cl--gensym-counter now starts with 0.
27985 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
27986 (cl--random-time): Move to near only remaining use.
27987 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
27989 Improve docstring for macroexp-let2
27990 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
27991 Improve as per suggestion by RMS in:
27992 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
27993 Also, rename args to match new doc string.
27995 2015-06-27 Eli Zaretskii <eliz@gnu.org>
27997 Fix VC test suite on MS-Windows
27998 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
27999 always starts with 3 slashes after the colon.
28000 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
28001 'w32-application-type' to invoke CVS on MS-Windows with properly
28002 formatted CVSROOT directory name.
28004 Add a new function w32-application-type
28005 * src/w32proc.c (Fw32_application_type): New function.
28007 Avoid error in TLS connections due to incorrect format
28008 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
28009 the call to 'error', instead of the unsupported %u. Reported by
28010 lo2net <fangtao0901@gmail.com>. (Bug#20908)
28012 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
28014 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
28016 2015-06-26 Leo Liu <sdl.web@gmail.com>
28018 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
28019 `with-output-to-string' in elisp.
28021 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
28022 with-output-to-string".
28023 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
28025 2015-06-26 Eli Zaretskii <eliz@gnu.org>
28027 Minor corrections in ELisp manual
28028 * doc/lispref/nonascii.texi (Character Properties): Correct
28029 inaccuracies in description of values of the Unicode properties.
28031 Fix invisible mouse pointers on Windows.
28032 * src/w32fns.c: Include windowsx.h.
28033 (w32_wnd_proc): If the mouse moved and the mouse pointer is
28034 invisible, make it visible again even when the main (Lisp)
28036 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
28037 garbaging the frame have the input thread call SetCursor.
28039 2015-06-26 Martin Rudalics <rudalics@gmx.at>
28041 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
28042 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
28043 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
28044 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
28045 (w32_toggle_invisible_pointer): New function.
28046 (w32_create_terminal): Add w32_toggle_invisible_pointer as
28047 toggle_invisible_pointer_hook for this terminal.
28049 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
28051 Doc fix for deletion commands
28052 'delete-char' does not respect the value of 'delete-active-region'.
28053 * doc/emacs/killing.texi (Deletion):
28054 Fix documentation for some single-char deletion commands.
28056 * doc/emacs/help.texi (Apropos):
28057 Improve documentation of 'apropos-do-all'.
28059 * doc/emacs/help.texi (Help Summary):
28060 Improve documentation of 'describe-mode'.
28062 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
28064 Fix submake dependency bug with .h files
28065 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
28066 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
28067 before the submake in $(libsrc) would spin off a subsubmake
28068 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
28070 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
28072 * lisp/character-fold.el (character-fold-table): Reuse `table'.
28074 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
28076 Translate undisplayable ‘ to `
28077 * doc/lispref/help.texi (Keys in Documentation):
28078 * lisp/international/mule-cmds.el (set-locale-environment):
28079 * lisp/term/w32console.el (terminal-init-w32console):
28080 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
28081 If ‘ is not displayable, transliterate it to `, not to '. See:
28082 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
28084 Fix C99 incompatibilities in Cairo code
28085 * src/image.c (xpm_load) [USE_CAIRO]:
28086 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
28087 Fix pointer signedness problem.
28089 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
28091 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
28092 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
28093 `with-output-to-string' should have the same indent as `progn'.
28094 This is in line with the declaration of `with-output-to-string'.
28096 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
28098 Get ‘./configure; make -C src emacs’ to work
28099 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
28100 * lib-src/Makefile.in (../lib/libgnu.a):
28101 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
28103 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
28105 Fix GC bugs --with-wide-int and Qnil == 0
28106 Use the same alignment for the !USE_LSB_TAG case as for the
28107 more-typical USE_LSB_TAG case. The attempt to support arbitrary
28108 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
28109 once we changed the representation of symbols so that Qnil == 0.
28110 Problem reported by Eli Zaretskii (Bug#20862).
28111 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
28112 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
28113 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
28114 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
28115 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
28116 This optimization in the !USE_LSB_TAG case is no longer valid when
28117 symbols are represented via offsets. Change the only use to
28118 assume that pointers might hide in objects.
28119 * src/lisp.h (alignas) [!USE_LSB_TAG]:
28120 Require support in this case, too.
28121 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
28122 This is OK, because the !USE_LSB_TAG case now applies only when
28123 Lisp_Object is wider than void *, so there's no longer any need
28124 to shift the offset. Not shifting the offset means that
28125 symbol representations have the same alignment as pointers,
28126 which the GC assumes.
28128 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
28130 * doc/lispintro/emacs-lisp-intro.texi (Data types):
28131 Improve documentation of 'substring'.
28133 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
28135 * lisp/character-fold.el (character-fold-table): Fix table generation.
28137 2015-06-24 Glenn Morris <rgm@gnu.org>
28139 * nextstep/Makefile.in (all): Make it the first target.
28140 (../src/emacs${EXEEXT}): Add rule for making it.
28142 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
28144 * etc/NEWS: Fix mention to old function name.
28146 * lisp/character-fold.el: New file (Bug#20887)
28147 (character-fold-to-regexp): New function.
28148 * lisp/replace.el (replace-search): Check value of
28149 `character-fold-search'.
28150 * lisp/isearch.el: Move character-folding code to
28152 (isearch-toggle-character-fold): New command.
28153 (isearch-mode-map): Bind it to "\M-sf".
28154 (isearch-mode): Check value of `character-fold-search'.
28156 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
28158 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
28159 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
28160 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
28162 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
28163 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
28165 2015-06-24 Glenn Morris <rgm@gnu.org>
28167 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
28169 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
28171 lisp/gnus/nnmaildir.el: Silence lexical warnings
28172 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
28174 (nnmaildir--update-nov): Remove unused var `numdir'.
28175 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
28176 (nnmaildir-request-group, nnmaildir-request-create-group)
28177 (nnmaildir-request-post, nnmaildir-request-move-article)
28178 (nnmaildir-request-accept-article, nnmaildir-active-number):
28180 (nnmaildir-get-new-mail, nnmaildir-group-alist)
28181 (nnmaildir-active-file): Declare.
28182 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
28183 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
28184 `mark', `end', `new-mark', and `mark-sym'.
28185 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
28187 (nnmaildir-request-expire-articles):
28188 Remove unused vars `article', `stop' and `nlist2'.
28189 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
28190 `end'. Use nnmaildir--article when dyn-binding is needed.
28191 Give the value directly in the `let' for `del-mark', `del-action',
28192 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
28193 (nnmaildir-close-server): Declare those local vars that need to be
28196 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
28198 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
28200 Port selection info fix to clang
28201 * src/keyboard.h (kbd_buffer_store_event_hold):
28202 Don't assume C11 semantics for alignof (Bug#20756).
28204 Fix bug that munged selection info
28205 On some optimizing C compilers, copying a structure did not
28206 copy the padding bytes between elements, and the type punning
28207 between struct input_data and struct selection_input_data did
28208 not work. Change the C code to use a proper union type instead.
28209 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
28210 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
28211 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
28212 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
28214 Use union buffered_input_event, not struct input_event.
28215 (clear_event, deliver_input_available_signal, process_special_events):
28216 Remove unnecessary forward decls.
28217 (kbd_buffer_store_buffered_event): New function, mostly just the
28218 old kbd_buffer_store_event_hold, except its argument is of type
28219 union buffered_input_event, not struct input_event.
28220 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
28221 not needed otherwise. Argument is now of type
28222 struct selection_input_event *, not struct input_event *.
28223 All callers changed.
28224 (clear_event): Arg is now of type union buffered_input_event *,
28225 not struct input_event *. All callers changed.
28226 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
28227 (union buffered_input_event): New type.
28228 (kbd_buffer_store_event_hold): Now an inline function,
28230 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
28231 (struct input_event): Use it.
28232 * src/xselect.c (struct selection_event_queue):
28233 Make elements be of type struct selection_input_event,
28234 not struct input_event.
28235 (selection_input_event_equal): New static function.
28236 (x_queue_event): Use it.
28237 (x_queue_event, x_decline_selection_request)
28238 (x_selection_current_request, x_reply_selection_request)
28239 (x_handle_selection_request, x_handle_selection_clear)
28240 (x_handle_selection_event): Use struct selection_input_event,
28241 not struct input_event. All callers changed.
28242 (x_convert_selection): Omit unused first arg. All callers changed.
28243 (Fx_disown_selection_internal): Omit unnecessary union.
28244 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
28245 rather than rolling our own equivalent. Prefer sie.kind when
28246 setting up that kind of structure.
28247 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
28248 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
28249 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
28250 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
28251 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
28252 (SELECTION_EVENT_TIME, x_handle_selection_event):
28253 Arg is now of type struct selection_input_event *)
28254 not struct input_event *. All callers changed.
28256 2015-06-23 Glenn Morris <rgm@gnu.org>
28258 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
28260 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
28262 * lisp/isearch.el: Fold many unicode characters to ASCII.
28263 (isearch-character-fold-search, isearch--character-fold-extras)
28264 (isearch--character-fold-table): New variable.
28265 (isearch--character-folded-regexp): New function.
28266 (isearch-search-fun-default): Use them.
28267 * lisp/replace.el (replace-character-fold): New variable.
28268 (replace-search): Use it.
28269 * etc/NEWS: Document it.
28271 2015-06-23 Glenn Morris <rgm@gnu.org>
28273 Check for an input event before showing a dialog box. (Bug#20813)
28274 * lisp/subr.el (y-or-n-p):
28275 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
28276 as last-nonmenu-event.
28278 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
28280 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
28281 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
28282 (switch-to-prev-buffer, switch-to-next-buffer): Respect
28283 switch-to-visible-buffer independent of the windows history.
28285 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
28287 * src/keyboard.c (last_timer_event): Remove unused var.
28289 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
28291 * test/automated/package-test.el (package-test-update-listing):
28294 2015-06-23 Glenn Morris <rgm@gnu.org>
28296 Revert 2014-06-25 nextstep/Makefile change.
28297 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
28298 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
28299 not as an order-only prerequisite.
28301 * configure.ac (--with-ns): Enable by default on OS X.
28303 2015-06-23 Leo Liu <sdl.web@gmail.com>
28305 Fix shell-for/backward-command to exclude spaces
28306 * lisp/shell.el (shell-forward-command, shell-backward-command):
28307 Handle the 'move case from re-search-forward/backward.
28308 fixes debbugs:20873
28310 2015-06-22 Juri Linkov <juri@linkov.net>
28312 * lisp/replace.el (query-replace-read-from): Add separator to
28313 the local binding of text-property-default-nonsticky. (Bug#20690)
28315 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
28318 2015-06-22 Ken Brown <kbrown@cornell.edu>
28320 Enable CPU profiling on Cygwin
28321 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
28322 change that undefined this.
28323 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
28324 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
28327 Improve diagnostics of profiler-cpu-start
28328 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
28329 return -1 if the sampling interval is invalid.
28330 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
28333 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
28335 * lisp/emacs-lisp/package.el: Exclude packages by name.
28336 (package-hidden-regexps): New variable.
28337 (package-menu--refresh): Use it.
28338 (package-menu-hide-package): New command.
28340 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
28342 2015-06-22 Eli Zaretskii <eliz@gnu.org>
28344 Fix debug-timer-check on systems without HAVE_TIMERFD
28345 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
28346 the expired timers, since wait_reading_process_output doesn't.
28347 (debug_timer_callback): Enlarge the tolerance to 20 msec.
28349 Fix RCS crashes in vc-test
28350 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
28351 ports of 'ci' on MS-Windows by always passing the -t- switch.
28353 2015-06-22 Glenn Morris <rgm@gnu.org>
28355 * doc/emacs/package.texi (Packages):
28356 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
28358 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
28360 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
28362 Port tests to help-quote-translation
28363 * test/automated/ert-x-tests.el (ert-test-describe-test):
28364 * test/automated/package-test.el (package-test-describe-package)
28365 (package-test-signed): Allow straight quotes, too.
28367 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
28369 Make find-function-on-key use the current window
28370 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
28371 Extract from `find-function-on-key', add a second argument.
28372 (find-function-on-key): Use it (bug#19679).
28373 (find-function-on-key-other-window)
28374 (find-function-on-key-other-frame): New commands.
28376 2015-06-21 Nicolas Petton <nicolas@petton.fr>
28378 Revert "Define `map-elt' as a generalized variable"
28379 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
28381 2015-06-21 Ken Brown <kbrown@cornell.edu>
28383 Drop support for CPU profiling on Cygwin
28384 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
28387 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
28389 Fix some “nested” quoting confusion in doc strings
28390 * lisp/emacs-lisp/advice.el (ad-map-arglists):
28391 * lisp/kermit.el (kermit-clean-on):
28392 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
28393 * src/keyboard.c (Frecursive_edit):
28394 Use curved quotes when quoting text containing apostrophe,
28395 so that the apostrophe isn't curved in the output.
28397 2015-06-21 Nicolas Petton <nicolas@petton.fr>
28399 Define `map-elt' as a generalized variable
28400 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
28401 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
28402 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
28403 `setf' with `map-elt'.
28404 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
28406 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
28408 Improve error handling in tramp-adb.el
28409 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
28410 Improve error handling.
28412 2015-06-21 Nicolas Petton <nicolas@petton.fr>
28414 Reuse `alist-get' in map.el
28415 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
28418 2015-06-21 Eli Zaretskii <eliz@gnu.org>
28420 Fix bytecomp-tests--warnings when $TMPDIR has a long name
28421 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
28422 Allow the warning to begin on the 3rd, not only 2nd line, which
28423 happens if temporary-file-directory has a very long name.
28425 Expect 2 icalendar tests to fail on MS-Windows
28426 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
28427 (icalendar-real-world): Make them expected failures on MS-Windows.
28429 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
28431 Improve port of settings UI to older displays
28432 * lisp/cus-start.el (standard): Don't assume curved quotes are
28433 easily distinguishable when users are tinkering with a setting
28434 that affects how curved quotes are generated.
28436 Fix quoting in electric-quote-mode doc string
28437 * lisp/electric.el (electric-quote-mode): Fix quoting.
28438 This is a fallout from the recent change introducing
28439 ‘help-quote-translation’.
28443 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
28445 * src/doc.c (syms_of_doc): Remove unused symbols.
28447 2015-06-20 Martin Rudalics <rudalics@gmx.at>
28449 * lisp/window.el (window-state-put): Undedicate target window
28450 before putting STATE into it. (Bug#20848)
28452 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
28454 Merge from origin/emacs-24
28455 a5e6f33 Fixes: debbugs:20832
28456 b9f02cf Fixes: debbugs:20832
28458 2015-06-19 Eli Zaretskii <eliz@gnu.org>
28460 Fix file-in-directory-p when the directory is UNC
28461 * lisp/files.el (file-in-directory-p): Support files and
28462 directories that begin with "//". (Bug#20844)
28464 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
28466 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
28467 in the minibuffer. (Bug#20832)
28469 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
28471 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
28472 for adding new todo file is empty but modified. (Bug#20832)
28474 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
28476 (filepos-to-bufferpos): Further tweaks to the utf-16 code
28477 * lisp/international/mule-util.el (filepos-to-bufferpos):
28478 Fix typo. Move non-exact check to the utf-16 branch (the only one
28479 affected). Don't use byte-to-position for the utf-16 case.
28481 2015-06-19 Eli Zaretskii <eliz@gnu.org>
28483 Minor fixes in filepos-to-bufferpos
28484 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
28485 test for utf-8-emacs. Exempt single-byte encodings from the
28486 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
28487 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
28488 UTF-16 encoded files for CR-LF EOLs.
28490 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
28492 Improve the optional translation of quotes
28493 Fix several problems with the recently-added custom variable
28494 help-quote-translation where the code would quote inconsistently
28495 in help buffers. Add support for quoting 'like this', which
28496 is common in other GNU programs in ASCII environments. Change
28497 help-quote-translation to use more mnemonic values: values are now the
28498 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
28499 traditional Emacs help-buffer quoting style `like this'. Change the
28500 default behavior of substitute-command-keys to match what's done in
28501 set-locale-environment, i.e., quote ‘like this’ if displayable,
28502 'like this' otherwise.
28503 * doc/lispref/help.texi (Keys in Documentation): Document
28504 new behavior of substitute-command-keys, and document
28505 help-quote-translation.
28506 * doc/lispref/tips.texi (Documentation Tips):
28507 Mention the effect of help-quote-translation.
28508 * etc/NEWS: Mention new behavior of substitute-command-keys,
28509 and merge help-quote-translation news into it.
28510 When talking about doc strings, mention new ways to type quotes.
28511 * lisp/cedet/mode-local.el (overload-docstring-extension):
28512 Revert my recent change to this function, which shouldn't be
28513 needed as the result is a doc string.
28514 * lisp/cedet/mode-local.el (mode-local-print-binding)
28515 (mode-local-describe-bindings-2):
28516 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
28517 * lisp/cus-theme.el (describe-theme-1):
28518 * lisp/descr-text.el (describe-text-properties-1, describe-char):
28519 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
28520 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
28521 (eieio-help-constructor):
28522 * lisp/emacs-lisp/package.el (describe-package-1):
28523 * lisp/faces.el (describe-face):
28524 * lisp/help-fns.el (help-fns--key-bindings)
28525 (help-fns--compiler-macro, help-fns--parent-mode)
28526 (help-fns--obsolete, help-fns--interactive-only)
28527 (describe-function-1, describe-variable):
28528 * lisp/help.el (describe-mode):
28529 Use substitute-command-keys to ensure a more-consistent quoting
28530 style in help buffers.
28531 * lisp/cus-start.el (standard):
28532 Document new help-quote-translation behavior.
28533 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
28534 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
28535 (help-xref-url-regexp):
28536 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
28537 * lisp/wid-edit.el (widget-documentation-link-regexp):
28538 Also match 'foo', in case we're in a help buffer generated when
28539 help-quote-translation is ?'.
28540 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
28541 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
28542 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
28543 (Fsubstitute_command_keys): Document and implement new behavior.
28544 (Vhelp_quote_translation): Document new behavior.
28546 2015-06-18 Glenn Morris <rgm@gnu.org>
28548 * lisp/cus-start.el (help-quote-translation): Add :version.
28550 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
28552 2015-06-18 Alan Mackenzie <acm@muc.de>
28554 Make translation of quotes to curly in doc strings optional.
28555 * src/doc.c (traditional, prefer-unicode): New symbols.
28556 (help-quote-translation): New variable.
28557 (Fsubstitute_command_keys): Make translation of quotes dependent on
28558 `help-quote-translation'; also translate curly quotes back to ASCII
28560 * lisp/cus-start.el (top-level): Add a customization entry for
28561 `help-quote-translation'.
28563 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
28565 * lisp/emacs-lisp/package.el: Don't always propagate async errors
28566 (package--with-work-buffer-async): Only propagate the error if the
28567 callback returns non-nil.
28568 (package--download-one-archive): Return nil on the signature
28569 checking callback if we accept unsigned.
28570 (package--download-and-read-archives): Return non-nil on the
28571 archive download callback.
28573 2015-06-18 Martin Rudalics <rudalics@gmx.at>
28575 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
28576 * src/nsfns.m (Fx_create_frame):
28577 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
28578 image_cache_refcount before first x_default_parameter call.
28580 2015-06-18 Eli Zaretskii <eliz@gnu.org>
28582 Improve and extend filepos-to-bufferpos
28583 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
28584 Don't barf if F returns nil for some argument.
28585 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
28586 that every encoding of type 'charset' is single-byte.
28588 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
28590 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
28591 Properly delete packages. (Bug#20836)
28593 2015-06-18 Eli Zaretskii <eliz@gnu.org>
28595 Update data files from just-released Unicode 8.0
28596 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
28598 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
28599 * admin/unidata/BidiMirroring.txt:
28600 * admin/unidata/BidiBrackets.txt:
28601 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
28603 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
28605 Document curved quotes a bit better
28606 * doc/emacs/basic.texi (Inserting Text):
28607 Mention C-x 8. Change example to use curved quote rather
28608 than infinity, as this lets us give more ways to do it.
28609 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
28610 and quotation marks.
28611 * doc/emacs/text.texi (Quotation Marks):
28612 * doc/lispref/tips.texi (Documentation Tips):
28613 Add "curly quotes" and "curved quotes" to the index.
28614 * doc/emacs/text.texi (Quotation Marks):
28615 Give the C-x 8 shorthands for curved quotes.
28616 Cross-reference to "Quotation Marks".
28618 2015-06-17 Daiki Ueno <ueno@gnu.org>
28620 Add pinentry.el for better GnuPG integration
28621 * lisp/pinentry.el: New file.
28622 * etc/NEWS: Add entry about pinentry.el.
28623 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
28626 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
28628 * lisp/emacs-lisp/package.el: Slightly better error reporting.
28630 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
28632 (define-minor-mode): Use setq-default for :global minor modes
28633 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
28634 Use setq-default for :global minor modes (bug#20712).
28636 2015-06-17 Eli Zaretskii <eliz@gnu.org>
28638 Avoid infloop in redisplay with tall images
28639 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
28640 down near ZV. (Bug#20808)
28641 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
28642 instead of CHARPOS.
28644 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
28646 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
28647 Fix error reporting.
28649 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
28651 * lisp/emacs-lisp/package.el: Revert buffer after any operation
28652 Call `package-menu--post-refresh' after any operation that changes
28653 the package database (`package-install' and `package-delete'). To
28654 avoid performance issues in large transactions, these functions
28655 add `post-refresh' to `post-command-hook' instead of calling it
28657 (package-menu--mark-or-notify-upgrades): New function.
28658 (list-packages): Add it to `package--post-download-archives-hook'.
28659 (package-menu--post-refresh): Lose the upgrade-checking code, add
28660 code to remove itself from `post-command-hook'.
28661 (package-install, package-delete): Add it to `post-command-hook'.
28662 (package-menu-execute): Don't call `package-menu--post-refresh'.
28664 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
28666 Add missing function xref-location-group for elisp-mode.
28667 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
28669 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
28671 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
28672 The behavior now matches the description in the manual. (Bug#20783)
28674 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
28676 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
28678 2015-06-17 Glenn Morris <rgm@gnu.org>
28680 Generate char-script-table from Unicode source. (Bug#20789)
28681 * admin/unidata/Makefile.in (AWK): New, set by configure.
28682 (all): Add charscript.el.
28683 (blocks): New variable.
28684 (charscript.el, ${unidir}/charscript.el): New targets.
28685 (extraclean): Also remove generated charscript.el.
28686 * admin/unidata/blocks.awk: New script.
28687 * admin/unidata/Blocks.txt: New data file, from unicode.org.
28688 * lisp/international/characters.el: Load charscript.
28689 * src/Makefile.in (charscript): New variable.
28690 (${charscript}): New target.
28691 (${lispintdir}/characters.elc): Depend on charscript.elc.
28692 (temacs$(EXEEXT)): Depend on charscript.
28694 * lisp/international/characters.el (char-script-table): Tweak
28695 some ranges to better match the source. (Bug#20789#17)
28697 Remove "no-byte-compile: t" from a few files.
28698 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
28699 * lisp/obsolete/patcomp.el: No reason not to compile these.
28701 2015-06-16 Glenn Morris <rgm@gnu.org>
28703 Fix some typos in copied Unicode data. (Bug#20789)
28704 * lisp/international/characters.el (char-script-table):
28705 * lisp/international/fontset.el (script-representative-chars)
28706 (setup-default-fontset): Fix typos.
28708 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
28709 Don't print filename twice (it's in the prefix now).
28711 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
28714 Address a compilation warning.
28715 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
28716 Replace 't' with '_' in pcase.
28718 Address some check-declare warnings.
28719 * lisp/simple.el (tabulated-list-print):
28720 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
28721 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
28722 (ns-get-selection): Update declarations.
28724 Address some compilation warnings.
28725 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
28726 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
28727 Replace 't' with '_' in pcase.
28729 Address some compilation warnings.
28730 * lisp/face-remap.el (text-scale-adjust):
28731 * lisp/menu-bar.el (popup-menu-normalize-position):
28732 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
28733 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
28734 * lisp/emacs-lisp/generator.el (cps--transform-1):
28735 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
28736 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
28737 * lisp/progmodes/octave.el (octave-goto-function-definition)
28738 (octave-find-definition-default-filename):
28739 Replace 't' with '_' in pcase.
28741 * lisp/emacs-lisp/pcase.el (pcase--u1):
28742 Paper-over today's bootstrap failure.
28744 2015-06-16 Nicolas Petton <nicolas@petton.fr>
28746 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
28748 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
28750 Better confirmation message in `find-alternate-file' (Bug#20830)
28751 * lisp/files.el (find-alternate-file'): Improve the confirmation
28752 message to show the buffer name.
28754 Better docstring for null. (Bug#20815)
28755 * src/data.c (null): Improves the docstring, saying what null returns
28756 when OBJECT is non-nil.
28758 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
28760 * lisp/net/newst-treeview.el: Use lexical-binding.
28762 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
28763 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
28764 New auxiliary function, extracted from filepos-to-bufferpos.
28765 Make sure it terminates.
28766 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
28767 Add support for the `exact' quality.
28769 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
28771 Identify feeds in newsticker treeview with :nt-feed property
28772 * lisp/net/newst-treeview.el:
28773 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
28775 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
28777 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
28778 (pcase--self-quoting-p): Floats aren't self-quoting.
28779 (pcase): Tweak docstring.
28780 (pcase--u1): Deprecate the t pattern. Improve error detection for
28782 (\`): Tweak docstring. Signal an error for unrecognized cases.
28785 2015-06-16 Eli Zaretskii <eliz@gnu.org>
28787 Fix infloop in filepos-to-bufferpos
28788 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
28789 offset calculation, and make it conditional on the eol-type of the
28790 file's encoding. (Bug#20825)
28792 2015-06-16 Martin Rudalics <rudalics@gmx.at>
28794 Fix handling of image cache refcounts. (Bug#20802)
28795 This backports Eli Zaretskii's solution of this problem for W32
28797 * src/nsfns.m (image_cache_refcount): Define unconditionally.
28798 (unwind_create_frame): If the image cache's reference count
28799 hasn't been updated yet, do that now.
28800 (Fx_create_frame): Set image_cache_refcount unconditionally.
28801 * src/xfns.c (image_cache_refcount): Define unconditionally.
28802 (unwind_create_frame): If the image cache's reference count
28803 hasn't been updated yet, do that now.
28804 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
28806 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
28809 2015-06-16 Nils Ackermann <nils@ackermath.info>
28811 Improve reftex-label-regexps default value
28812 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
28813 keyvals label regexp more strict to better cope with unbalanced
28814 brackets common in math documents.
28816 2015-06-16 Glenn Morris <rgm@gnu.org>
28818 * doc/emacs/calendar.texi (Format of Diary File):
28819 Move "nonmarking" from here...
28820 (Displaying the Diary): ... to here.
28822 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
28823 Swap the order of these nodes.
28824 * doc/emacs/emacs.texi: Update detailed menu for the above change.
28826 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
28827 Update date of examples.
28828 (Diary, Format of Diary File): Move example from former to latter.
28829 Reduce duplication.
28831 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
28832 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
28833 Don't set no-byte-compile in the outputs.
28834 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
28836 2015-06-15 Glenn Morris <rgm@gnu.org>
28838 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
28839 * doc/emacs/calendar.texi (Diary, Format of Diary File):
28840 Update for above diary-file change.
28842 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
28843 (apply-macro-to-region-lines): Use user-error.
28845 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
28846 (pages-directory-for-addresses): Doc fixes.
28848 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
28850 * lisp/info.el: Cleanup bytepos/charpos issues
28851 * lisp/international/mule-util.el: Use lexical-binding.
28852 (filepos-to-bufferpos): New function.
28853 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
28854 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
28855 (Info-read-subfile, Info-search): Use 0-based file positions.
28857 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
28858 (perl--syntax-exp-intro-keywords): New var.
28859 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
28862 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
28864 Fix quoting when making derived mode docstring
28865 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
28866 Nest regexp-quote inside format, not the reverse.
28867 Problem reported by Artur Malabarba in:
28868 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
28870 2015-06-15 Eli Zaretskii <eliz@gnu.org>
28872 Fix current-iso639-language on MS-Windows
28873 * lisp/international/mule-cmds.el (set-locale-environment):
28874 Downcase the locale name before interning it. This is so the
28875 'current-iso639-language' on MS-Windows matches the ':lang'
28876 property of font-spec objects.
28878 Limit Symbola usage some more
28879 * lisp/international/fontset.el (setup-default-fontset): Limit
28880 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
28883 2015-06-15 Nicolas Petton <nicolas@petton.fr>
28885 * lisp/emacs-lisp/map.el (map-let): Better docstring.
28887 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
28889 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
28890 (help-fns-test-funny-names): Spelling fixes.
28892 2015-06-14 Glenn Morris <rgm@gnu.org>
28894 * lisp/version.el (emacs-repository-version-git): Demote errors.
28895 Check result is a hash.
28897 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
28899 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
28900 Catch errors that happen before going async. (Bug#20809)
28902 2015-06-14 Eli Zaretskii <eliz@gnu.org>
28904 Another improvement of documentation of set-fontset-font
28905 * doc/lispref/display.texi (Fontsets): Say explicitly that
28906 CHARACTER can be a single codepoint.
28907 * src/fontset.c (Fset_fontset_font): Doc fix.
28909 Another improvement for symbol and punctuation characters
28910 * lisp/international/fontset.el (setup-default-fontset): Exclude
28911 from Symbola character ranges for symbols and punctuation covered
28912 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
28913 installed and where its coverage of symbols and punctuation is
28914 known to be good. (Bug#20727)
28916 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
28918 Some generic support for multi-mode indentation.
28919 * lisp/progmodes/prog-mode.el (prog-indentation-context):
28921 (prog-first-column, prog-widen): New convenience functions.
28923 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
28925 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
28926 Don't assume that `tabulated-list-printer' will leave point at the
28927 end of the buffer. (Bug#20810)
28929 2015-06-13 Glenn Morris <rgm@gnu.org>
28931 Tweaks for getting repository version; a bit more like it was for bzr
28932 * lisp/version.el (emacs-repository-version-git)
28933 (emacs-repository--version-git-1): New functions,
28934 split from emacs-repository-get-version.
28935 (emacs-repository-get-version): Make the second argument meaningful.
28937 * lisp/startup.el (command-line-1): Inform if skipping relative
28938 file names due to deleted PWD.
28940 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
28941 when starup directory is missing. (Bug#18851)
28942 (errno.h): Include it.
28944 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
28946 Better fix for documenting `X as "`X"
28947 Fix suggested by Stefan Monnier.
28948 * lisp/help-fns.el (help-fns--signature):
28949 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
28950 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
28951 Don't treat `X specially, as help-fns--signature now handles this.
28953 2015-06-13 Eli Zaretskii <eliz@gnu.org>
28955 Improve the default fontset when Symbola is not installed
28956 * lisp/international/fontset.el (setup-default-fontset): Only
28957 prepend Symbola and FreeMono font specs for symbols and
28958 punctuation; do not replace the default spec for them. This
28959 should have better results when Symbola/FreeMono are not
28960 installed. (Bug#20727)
28962 Improve documentation of ':lang' in font specs
28963 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
28964 use of the ':lang' property of the font spec.
28965 * doc/emacs/frames.texi (Fonts): Document the language names that
28966 can be in the STYLE part of XLFD.
28967 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
28970 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
28972 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
28974 Revert last change in fontset.el
28975 * lisp/international/fontset.el (setup-default-fontset): Revert
28976 the change "Configure Symbola font only if installed", since font
28977 search is evidently not yet set up when this function is called.
28980 2015-06-12 Glenn Morris <rgm@gnu.org>
28982 Ensure early startup warnings are visible at the end. (Bug#20792)
28983 * lisp/emacs-lisp/warnings.el (display-warning):
28984 If startup isn't complete, delay the warning.
28985 * lisp/startup.el (normal-top-level, command-line):
28986 Let display-warning automatically handle the needed delays.
28987 Run delayed-warnings-hook.
28989 * lisp/version.el (emacs-repository-get-version):
28990 Avoid calling external executable if possible. (Bug#20799)
28992 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
28994 Document `X as "`X", not as "(` X)"
28995 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
28996 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
28998 * src/print.c (print_object): Minor simplification.
29000 2015-06-12 Glenn Morris <rgm@gnu.org>
29002 * src/buffer.c (init_buffer): Add final newline to message.
29004 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
29006 Configure Symbola font only if installed
29007 * lisp/international/fontset.el (setup-default-fontset):
29008 Don't specify the Symbola font if it's not installed.
29009 Likewise for FreeMono. (Bug#20727)
29011 2015-06-12 Eli Zaretskii <eliz@gnu.org>
29013 Configure Symbola font only for symbols and punctuation
29014 * lisp/international/fontset.el (setup-default-fontset): Leave
29015 only symbols and punctuation in the fontset setup for Symbola
29016 font; remove "Greek and Coptic" and "Cyrillic Supplement".
29019 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
29021 Fix crash in fontset-info
29022 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
29025 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
29027 Port to Solaris 10 sparc + Sun C 5.13
29028 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
29029 Adjust to process.c change.
29030 * src/process.c (create_process): Declare volatile variables at
29031 top level of this function, so that they're less likely to be
29032 reused later in the function in the code executed by the vforked
29033 child. Do not declare locals used only in the vforked child, as
29034 they might share memory with locals still live in the parent.
29035 Instead, use the same variables in the child as in the parent.
29036 This works around a subtle bug that causes a garbage collector
29037 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
29039 2015-06-12 Glenn Morris <rgm@gnu.org>
29041 * lisp/startup.el (normal-top-level): Don't let *Messages* get
29042 a nil default-directory.
29044 2015-06-11 Glenn Morris <rgm@gnu.org>
29046 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
29048 Some progress towards starting with PWD deleted. (Bug#18851)
29049 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
29050 * lisp/startup.el (normal-top-level, command-line-1):
29051 * lisp/minibuffer.el (read-file-name-default):
29052 Handle default-directory being nil.
29054 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
29056 Fix "not a tty" bug on Solaris 10
29057 * configure.ac (PTY_OPEN): Define to plain 'open'
29058 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
29059 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
29060 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
29061 hosts that call grantpt which does its work via a setuid subcommand
29062 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
29063 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
29064 seems relevant in that case too.
29066 2015-06-11 Juri Linkov <juri@linkov.net>
29068 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
29069 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
29072 2015-06-11 Glenn Morris <rgm@gnu.org>
29074 * lisp/international/characters.el (char-script-table): Fix typo.
29076 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
29078 Fix quoting of help for functions with odd names
29079 While investigating Bug#20759, I discovered other quoting problems:
29080 C-h f mishandled characters like backslash and quote in function names.
29081 This fix changes the behavior so that 'C-h f pcase RET' now
29082 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
29083 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
29084 in src/lread.c's read1 function says that the backslash will be
29085 needed starting in Emacs 25, which implies that 'format' is
29086 correct and the old pcase documention was wrong to omit the backslash.
29087 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
29088 * lisp/help-fns.el (help-fns--signature):
29089 * lisp/help.el (help-add-fundoc-usage):
29090 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
29091 Use help--make-usage-docstring rather than formatting
29093 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
29094 Return raw docstring.
29095 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
29096 raw docstring. Take more care to distinguish raw from cooked dstrings.
29097 (describe-function-1): Let help-fns--signature substitute
29099 * lisp/help.el (help--docstring-quote): New function.
29100 (help-split-fundoc): Use it, to quote funny characters more
29102 (help--make-usage): Rename from help-make-usage, since this
29103 should be private. Leave an obsolete alias for the old name.
29104 (help--make-usage-docstring): New function.
29105 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
29107 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
29109 * lisp/thingatpt.el (in-string-p): Revert last change,
29110 since in-string-p is not used in thingatpt.el but only from outside.
29111 Also, use lexical binding.
29113 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
29115 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
29116 * test/automated/let-alist.el (let-alist-cons): Test it.
29118 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
29120 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
29122 2015-06-10 Glenn Morris <rgm@gnu.org>
29124 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
29126 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
29127 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
29128 * admin/gitmerge.el (gitmerge-commit-message):
29129 Exclude "skipped" messages from ChangeLog once again.
29131 Slight namespace cleanup for thingatpt.el.
29132 * lisp/thingatpt.el (thing-at-point--in-string-p)
29133 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
29134 (thing-at-point--read-from-whole-string): Rename from
29135 old versions without "thing-at-point--" prefix.
29136 Keep old versions as obsolete aliases. Update all uses.
29138 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
29139 Move requiring of finder from here...
29140 (checkdoc-package-keywords): ... to here.
29142 Use 'user-error' in a few calendar files.
29143 * lisp/calendar/appt.el (appt-add):
29144 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
29145 (calendar-generate):
29146 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
29147 Replace 'error' with 'user-error'.
29149 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
29151 * lisp/files-x.el (add-file-local-variable):
29152 Special-case 'lexical-binding'. (Bug#20641)
29154 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
29155 No longer autoload.
29156 * doc/misc/autotype.texi (Executables):
29157 Undocument executable-self-display.
29159 * lisp/progmodes/executable.el (executable-self-display):
29160 Use non-obsolete tail syntax. (Bug#20779)
29161 (executable-self-display): Doc update.
29163 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
29165 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
29166 (finder-known-keywords): Silence byte-compiler.
29168 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
29170 * lisp/simple.el (eval-expression): Macroexpand before evaluating
29173 * lisp/progmodes/sh-script.el: Better handle nested quotes.
29174 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
29175 (sh-font-lock-quoted-subshell): Make sure double quotes within single
29176 quotes don't mistakenly end prematurely the surrounding string.
29178 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
29180 2015-06-09 Glenn Morris <rgm@gnu.org>
29182 * test/automated/Makefile.in (ELFILES): Sort.
29184 * Makefile.in (SUBDIR_MAKEFILES):
29185 * lwlib/Makefile.in (WARN_CFLAGS):
29186 Use built-in Make functions rather than echo+sed.
29188 2015-06-09 Eli Zaretskii <eliz@gnu.org>
29190 Update char-script-table
29191 * lisp/international/characters.el (char-script-table): Update
29192 from Unicode 8.0 Draft.
29194 Improve font selection for punctuation and other symbols
29195 * src/fontset.c (face_for_char): If the character's script is
29196 'symbol', and the font used for ASCII face has a glyph for it, use
29197 the font for the ASCII face instead of searching the fontsets.
29198 This comes instead of NS-specific code that used the current
29199 face's font instead, which is now disabled due to undesirable
29200 consequences. (Bug#20727)
29202 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
29204 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29205 Skip past `#' to find BEG (bug#20771).
29206 * test/automated/elisp-mode-tests.el
29207 (elisp-completes-functions-after-hash-quote): New test.
29209 2015-06-08 Eli Zaretskii <eliz@gnu.org>
29211 Fix compilation warning/error in --without-x builds
29212 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
29213 code on HAVE_WINDOW_SYSTEM.
29215 Improve the default fontset wrt symbols
29216 * lisp/international/fontset.el (setup-default-fontset): Better
29217 setup of fontset-default for symbols: use Symbola and FreeMono.
29220 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
29222 Add new command checkdoc-package-keywords
29223 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
29225 (checkdoc-list-of-strings-p): Add doc.
29226 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
29227 non-nil, call `checkdoc-package-keywords'.
29228 (checkdoc-get-keywords): New defun.
29229 (checkdoc-package-keywords): New command. Warns if the current file
29230 has package.el-style keywords that aren't in `finder-known-keywords'.
29231 * etc/NEWS: Add entry.
29233 2015-06-08 Eli Zaretskii <eliz@gnu.org>
29235 Avoid crashes when key-binding is called from a timer
29236 * src/keymap.c (Fkey_binding): Don't segfault if called with an
29237 empty vector as KEY. (Bug#20705)
29239 Fix a thinko in arc-mode.el
29240 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
29241 non-Zip64 case. (Bug#20769)
29243 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
29245 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
29247 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
29249 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
29250 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
29251 "*warn*", print the warning to the standard output. (bug#20754)
29253 2015-06-07 Glenn Morris <rgm@gnu.org>
29255 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
29257 * src/font.c (syms_of_font) <font-log>: Doc fix.
29259 Remove the obsolete leading "*" from some C doc strings.
29260 * src/coding.c (syms_of_coding):
29261 * src/font.c (syms_of_font): Remove leading "*" from docs.
29262 * lisp/cus-start.el (enable-character-translation): Add it.
29264 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
29266 Move gen_origin from program to data
29267 That way, 'make change-history' needs to change only ChangeLog.2,
29268 instead of having to change two files.
29269 * ChangeLog.2: Add commit info for range that this file covers.
29270 * Makefile.in (new_commit_regexp): New macro.
29271 (change-history-nocommit): Simplify, by putting what used to be
29272 the gen_origin value into the data (ChangeLog.2) rather than
29273 into the program (gitlog-to-emacslog).
29274 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
29275 the input file (e.g., ChangeLog.2) rather than by having a
29276 constant in the program. Substitute it into the output.
29278 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
29280 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
29281 function name (bug#20759).
29283 2015-06-07 Eli Zaretskii <eliz@gnu.org>
29285 Adapt 'struct timespec' to next release of MinGW runtime
29286 * nt/inc/ms-w32.h (struct timespec): Don't declare if
29287 __struct_timespec_defined is defined.
29289 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
29293 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
29294 2015-06-05 stdio: Don't redefine gets when using C++
29295 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
29296 2015-06-02 file-has-acl: fix build on Mac OS X 10
29297 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
29298 2015-06-01 pthread_sigmask: discount system version if a simple macro
29299 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
29300 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
29301 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
29302 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
29303 * lib/gnulib.mk: Regenerate.
29305 2015-06-06 Juri Linkov <juri@linkov.net>
29307 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
29308 before calling grep-compute-defaults because now it affects the
29309 command lines computed in grep-compute-defaults. (Bug#20728)
29311 2015-06-06 Glenn Morris <rgm@gnu.org>
29313 Address some compilation warnings.
29314 * lisp/international/mule-cmds.el (w32-get-console-codepage)
29315 (w32-get-console-output-codepage):
29316 * lisp/progmodes/elisp-mode.el (xref-collect-references):
29317 * lisp/version.el (cairo-version-string): Declare.
29318 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
29320 2015-06-06 Eli Zaretskii <eliz@gnu.org>
29322 Fix display when a font claims large values of ascent and descent
29323 This fixes bug#20628.
29324 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
29325 coordinate of a hollow cursor glyph when the original glyph's
29326 ascent is too small.
29327 (get_font_ascent_descent, normal_char_ascent_descent)
29328 (normal_char_height): New functions.
29329 (handle_single_display_spec, append_space_for_newline)
29330 (calc_pixel_width_or_height, produce_stretch_glyph)
29331 (calc_line_height_property): Use normal_char_ascent_descent and
29332 normal_char_height.
29333 (x_produce_glyphs): When font-global values of ascent and descent
29334 are too large, use per-character glyph metrics instead, if
29335 possible. But don't allow the glyph row's ascent and descent
29336 values become smaller than the values from the metrics of the
29337 font's "normal" character.
29338 * src/xftfont.c (xftfont_draw):
29339 * src/w32font.c (w32font_draw): Correct the values of ascent and
29340 descent used to draw glyphless characters' hex code in a box.
29341 * src/xterm.c (x_draw_glyph_string_background):
29342 * src/xdisp.c (x_produce_glyphs):
29343 * src/w32term.c (x_draw_glyph_string_background):
29344 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
29345 to detect fonts whose global ascent and descent values are too
29346 large to be used in layout decision, and redraw the background
29348 * src/dispextern.h (FONT_TOO_HIGH): New macro.
29349 (get_font_ascent_descent): Add prototype.
29350 * src/xterm.c (x_new_font):
29351 * src/w32term.c (x_new_font):
29352 * src/nsterm.m (x_new_font):
29353 * src/font.c (font_open_entity):
29354 * src/composite.c (composition_gstring_width):
29355 Use get_font_ascent_descent to obtain reasonable values for ascent
29356 and descent of a font.
29358 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
29360 Add assertion in adjust_point_for_property
29361 * src/keyboard.c (adjust_point_for_property): Add eassert for
29362 current buffer being shown in selected window.
29364 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
29366 Replace uses of in-string-p; make it obsolete
29367 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
29368 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
29370 2015-06-06 Eli Zaretskii <eliz@gnu.org>
29372 Fix Dired display of an explicit list of files by ls-lisp.el
29373 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
29374 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
29375 correct for when displaying individual files separately, not as
29376 part of listing a directory, in which case these values are not
29377 recomputed by 'ls-lisp-insert-directory', but used verbatim.
29379 * lisp/dired.el (dired): Doc fix. (Bug#20739)
29381 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
29383 Do not adjust point in a non-selected window
29384 * src/keyboard.c (command_loop_1): Do not adjust point when
29385 current buffer is not shown in selected window (Bug#20590).
29387 * etc/DEBUG: Mention 'maybe_call_debugger'
29389 2015-06-05 Nicolas Petton <nicolas@petton.fr>
29391 Fix a unit test for map.el
29392 * test/automated/map-tests.el (test-map-let): Fix the test to work
29393 with the new syntax of `map-let'.
29395 * lisp/emacs-lisp/map.el (map-let): Better docstring.
29397 Better syntax for the map pcase pattern
29398 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
29399 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
29401 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
29403 Fix a byte-compiler error in map-put and map-delete
29404 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
29405 called with a symbol.
29407 2015-06-05 Glenn Morris <rgm@gnu.org>
29409 * admin/gitmerge.el (gitmerge-commit-message):
29410 Revert to including "skipped" messages in ChangeLog once again.
29412 2015-06-05 Tassilo Horn <tsdh@gnu.org>
29414 Use string> instead of equiv lambda with string<
29415 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
29416 lambda with string<.
29418 2015-06-05 Glenn Morris <rgm@gnu.org>
29420 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
29421 (map--delete-array): Fix typo.
29423 * test/automated/map-tests.el: Replace "assert" with "should".
29425 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
29426 (SUBDIRS_REL): Derive from SUBDIRS.
29428 Tweak some build messages.
29429 * lisp/Makefile.in ($(lisp)/loaddefs.el):
29430 * lisp/cus-dep.el (custom-make-dependencies):
29431 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
29432 * lisp/international/titdic-cnv.el (batch-titdic-convert):
29433 Don't say how to compile.
29435 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
29437 Omit U+0332 COMBINING LOW LINE in previous change
29438 It turns out that it does not work on Ubuntu 15.04.
29440 Fix transliteration of Bahá'í months
29441 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
29442 Improve quality of Latin transliteration of Bahá'í month names.
29444 Fix curved quotes in a few places
29445 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
29446 The strings in question are not doc strings, so this partially
29447 undoes the recent change that assumed they were doc strings.
29448 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
29449 * lisp/info.el (Info-finder-find-node):
29451 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
29452 Also allow curved quotes in doc strings.
29454 2015-06-04 Glenn Morris <rgm@gnu.org>
29456 * lisp/Makefile.in (AM_V_at): Add missing definition.
29458 * lisp/Makefile.in: Quieten output a bit.
29459 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
29460 Don't echo directories, since the commands we invoke print them.
29462 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
29463 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
29464 (SUBDIRS_SUBDIRS): New variables.
29465 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
29467 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
29468 (update-subdirs, compile-main, compile-clean):
29469 Replace "setwins" usage with new "SUBDIRS" variables.
29471 * lisp/vc/compare-w.el (compare-windows-get-window-function):
29474 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
29476 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
29478 Undo removal of x_clear_area call on expose for GTK3 or cairo
29479 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
29480 Clear exposed area. (Bug#20677)
29482 2015-06-04 Glenn Morris <rgm@gnu.org>
29484 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
29486 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
29488 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
29489 Rename from quail-lao-update-translation, since lao.el defines that.
29491 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
29493 Handle new-style advice in find-funct
29494 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
29495 Handle new-style advice. Return the symbol's function definition.
29497 (find-function-library): Update accordingly.
29499 2015-06-04 Nicolas Petton <nicolas@petton.fr>
29503 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
29505 Add new function string-greaterp
29506 * lisp/subr.el (string-greaterp): New function. Also aliased to
29508 * test/automated/subr-tests.el (string-comparison-test): Add unit
29509 tests for `string>'and `string<'.
29510 * src/fns.c (string-lessp): Better docstring.
29512 2015-06-04 Eli Zaretskii <eliz@gnu.org>
29514 Fix timezone-related functions on MS-Windows
29515 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
29516 'xputenv', even if no reallocation of tzvalbuf was necessary.
29517 This fixes a bug in timezone-related functions on MS-Windows.
29518 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
29520 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
29522 Don't pass raw directory name to 'error'
29523 * lisp/files.el (basic-save-buffer-2): Avoid format error if
29524 a directory name contains a string like "%s".
29526 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
29528 Override 'grep --color=always'
29529 * lisp/progmodes/xref.el (xref-collect-matches):
29530 Override --color=always in grep-find-template.
29532 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
29534 Fix error introduced recently in file-notify-tests.el
29535 * test/automated/file-notify-tests.el
29536 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
29537 (file-notify--deftest-remote): Revert previous patch, not
29540 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
29542 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
29543 Starting from a display string after a newline, point went to the
29544 previous line. Also, fix an inadvertent use of a buffer position
29545 with FETCH_BYTE. (Bug#20701)
29547 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
29549 Instrument file-notify-test.el in order to catch hydra error
29550 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
29551 Wrap body by `ignore-case', in order to trap non-local errors.
29553 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
29555 Undo previous changes in non-toolkit scroll bar drawing
29556 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
29557 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
29559 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
29561 * .gitignore: Also ignore doc/*/*/*.html and .ps.
29563 Support quotes 'like this' in info files
29564 This is possible when 'makeinfo --disable-encoding' is used
29566 * lisp/calc/calc-help.el (calc-describe-thing):
29567 * lisp/gnus/gnus-art.el (gnus-button-alist):
29568 * lisp/info.el (Info-find-index-name):
29569 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
29570 Also support quotes 'like this'.
29571 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
29572 * lisp/finder.el (finder-font-lock-keywords): Remove var that
29573 hasn't been used in years, instead of bothering to fix its quoting.
29575 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
29577 * .gitignore: Remove !test/etags/html-src/*.html.
29578 It's no longer needed, since *.html was removed. Sort.
29580 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
29582 Restore <D> instead of '.' in grep-find-template
29583 * lisp/cedet/semantic/symref/grep.el
29584 (semantic-symref-grep-use-template): Update a comment.
29585 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
29586 instead of '.' in grep-find-template (bug#20719).
29587 (rgrep): Pass nil as the directory to rgrep-default-command.
29588 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
29589 default value for DIR.
29590 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
29593 2015-06-02 Glenn Morris <rgm@gnu.org>
29595 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
29597 * configure.ac (emacs_config_features): Add Cairo.
29599 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
29601 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
29603 Ensure that autorevert works for remote files in file-notify-tests.el
29604 * test/automated/file-notify-tests.el (file-notify--test-desc):
29606 (file-notify--test-remote-enabled)
29607 (file-notify-test00-availability, file-notify-test01-add-watch)
29608 (file-notify-test02-events): Use it.
29609 (file-notify--test-event-test): Check proper descriptor.
29610 (file-notify-test03-autorevert): Ensure that
29611 `visited-file-modtime' has changed. (Bug#20392)
29613 2015-06-02 Nicolas Petton <nicolas@petton.fr>
29615 Add a pcase pattern for maps and `map-let' based on it
29616 * lisp/emacs-lisp/map.el (map-let): New macro.
29617 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
29618 * test/automated/map-tests.el: New test for `map-let'.
29620 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
29622 Reuse rgrep mechanics in xref-find-regexp
29623 * lisp/progmodes/grep.el (rgrep-default-command):
29624 Extract from `rgrep'.
29625 * lisp/progmodes/xref.el (xref-collect-references): Split from
29626 `xref-collect-matches'. Only handle the case of symbol search.
29627 (xref-collect-matches): Instead of Semantic Symref, use
29628 `rgrep-default-command', to take advantage of its directory and
29629 file ignore settings.
29630 (xref--collect-match): Remove the last argument, leaving the
29631 regexp construction up to the caller.
29632 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
29633 Change to take the xref-collect- function to use as an argument.
29634 (elisp-xref-find): Update accordingly.
29635 * lisp/progmodes/etags.el (etags--xref-find-matches)
29636 (etags-xref-find): Same.
29638 Move xref-elisp-location to elisp-mode.el
29639 * lisp/progmodes/xref.el (xref-elisp-location)
29640 (xref-make-elisp-location, xref-location-marker): Remove here.
29641 (xref--xref): Don't limit the type of the location slot.
29642 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
29643 Define as a cl-struct here.
29644 (xref-location-marker): Move here.
29646 2015-06-02 Eli Zaretskii <eliz@gnu.org>
29648 Minor tweaks for .gitignore
29649 * .gitignore: Don't ignore versioned *.html and *.ps files.
29650 Don't ignore admin/notes/tags that might be ignored as TAGS
29651 on case-insensitive filesystems. (Bug#20710)
29653 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
29655 Generate curved quotes in ert doc
29656 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
29657 (ert-results-mode-menu)
29658 (ert-results-pop-to-backtrace-for-test-at-point)
29659 (ert-results-pop-to-messages-for-test-at-point)
29660 (ert-results-pop-to-should-forms-for-test-at-point)
29661 (ert-describe-test):
29662 Quote ‘like this’, not `like this', when generating doc strings
29664 * test/automated/ert-x-tests.el (ert-test-describe-test):
29665 Allow quoting ‘like this’.
29667 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
29669 Add test for previous commit
29670 * test/automated/replace-tests.el: New file.
29671 (query-replace--split-string-tests): Add test for previous commit.
29673 Avoid confusion in query-replace history when replacing NUL chars
29674 * lisp/replace.el (query-replace--split-string): New function.
29675 (query-replace-read-from): Rely on the 'separator' property
29676 instead of searching for the NUL character (Bug#20690).
29678 2015-06-02 Glenn Morris <rgm@gnu.org>
29680 Merge from origin/emacs-24
29681 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
29683 * admin/gitmerge.el (gitmerge-commit-message):
29684 Exclude "skipped" messages from ChangeLog.
29686 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
29688 Sync with Tramp repository
29689 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
29691 (tramp-handle-make-auto-save-file-name): When calling
29692 `make-auto-save-file-name' internally, make sure it uses Unix-like
29693 behavior, not Windows-like behavior.
29694 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
29695 the local case, because "chown" might fail on w32.
29696 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
29699 2015-06-01 Eli Zaretskii <eliz@gnu.org>
29701 MS-Windows followup for batch stdout/stderr output changes
29702 * lisp/international/mule-cmds.el (set-locale-environment):
29703 In batch mode, use console codepages for keyboard and terminal
29704 encoding. (Bug#20545)
29706 Update .gitattributes for DOS EOL files
29707 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
29708 CRLF end-of-line format.
29710 NS equivalents of xterm.c and w32term.c changes
29711 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
29712 glyph string background also when the font in use claims
29713 preposterously large global height value. Helps to remove
29714 artifacts left from previous displays when glyphless characters
29715 are displayed as hex code in a box.
29716 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
29717 value for FRAME_LINE_HEIGHT, even when a font claims very large
29718 value for its height.
29720 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
29722 Avoid grave accent quoting in stderr diagnostics
29723 A few Emacs diagnostics go directly to stderr, and so can't easily
29724 contain curved quotes (as non-UTF-8 locales might mishandle them).
29725 Instead of bothering to add support for this rarity, reword the
29726 diagnostics so that they don't use grave accent to quote.
29727 * src/alloc.c (mark_memory): Fix comment.
29728 * src/buffer.c (init_buffer):
29729 * src/dispnew.c (init_display):
29730 * src/emacs.c (main, sort_args):
29731 * src/lread.c (dir_warning):
29732 * src/term.c (init_tty):
29733 * src/unexmacosx.c (unexec):
29734 * src/xfns.c (select_visual):
29735 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
29736 Reword stderr diagnostics to avoid quoting `like this'.
29737 * src/unexmacosx.c: Include errno.h.
29738 * src/xfns.c (select_visual): Encode value for locale.
29740 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
29742 Treat batch stdout/stderr like standard display
29743 Calls like (print FOO) could generate improperly encoded or
29744 hard-to-read output if FOO contains characters outside the system
29745 locale. Fix this by treating batch stdout and stderr like
29746 interactive standard display, when it comes to transliterating and
29747 encoding characters (Bug#20545).
29748 * doc/emacs/mule.texi (Communication Coding):
29749 * doc/lispref/display.texi (Active Display Table):
29750 * doc/lispref/nonascii.texi (Locales):
29752 * src/coding.c (syms_of_coding):
29753 * src/dispnew.c (syms_of_display):
29755 * src/print.c: Include disptab.h.
29756 (printchar_to_stream): New function, with much of the guts of the
29757 old Fexternal_debugging_output, except this one also uses the
29758 standard display table.
29759 (printchar, strout, Fexternal_debugging_output): Use it.
29761 2015-05-31 Glenn Morris <rgm@gnu.org>
29763 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
29765 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
29767 Remove DEFSYMs that aren't used at the C level. Also:
29768 * src/decompress.c (Qzlib_dll):
29769 * src/font.c (Qunicode_sip):
29770 * src/frame.c (Qtip_frame):
29771 * src/ftfont.c (Qserif):
29772 * src/gnutls.c (Qgnutls_dll):
29773 * src/xml.c (Qlibxml2_dll):
29775 * src/w32fns.c (syms_of_w32fns): ... to here,
29776 as these are used only on MS-Windows.
29778 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
29780 Use another default value for tramp-histfile-override
29781 * lisp/net/tramp-sh.el (tramp-histfile-override):
29782 Use ".tramp_history" as default.
29785 2015-05-29 Nicolas Petton <nicolas@petton.fr>
29787 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
29789 2015-05-16 Nicolas Petton <nicolas@petton.fr>
29791 * etc/NEWS: Add an entry about map.el.
29793 Improve the docstring of functions in map.el
29794 Since a map is not a data structure but a concept, adding information
29795 about the possible types of maps can be useful information.
29796 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
29797 each public function.
29799 2015-04-29 Nicolas Petton <nicolas@petton.fr>
29801 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
29802 specific tests depending on the type of the map.
29804 * lisp/emacs-lisp/map.el: Better docstrings.
29806 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
29808 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
29810 2015-04-25 Nicolas Petton <nicolas@petton.fr>
29812 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
29814 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
29816 Fix a false negative in `map-elt' with alists and values being nil
29817 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
29818 found but its associated value is nil, do not return the default
29820 * test/automated/map-tests.el: Add a regression test.
29822 2015-04-24 Nicolas Petton <nicolas@petton.fr>
29824 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
29826 Do not signal an error when trying to delete a key from an array
29827 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
29828 the key is present to avoid signaling an error.
29829 * test/automated/map-tests.el: Add a test for deleting non-existing
29832 * lisp/emacs-lisp/map.el: Better docstring.
29834 Minor improvement in map-elt
29835 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
29836 doing a lookup in arrays, but check the boundaries of the array
29838 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
29839 and a negative integer as key.
29841 2015-04-21 Nicolas Petton <nicolas@petton.fr>
29843 * test/automated/map-tests.el: Refactoring of test methods.
29845 * test/automated/map-tests.el: Renamed from map-test.el.
29847 2015-04-18 Nicolas Petton <nicolas@petton.fr>
29849 * lisp/emacs-lisp/map.el (map-into): Better error message.
29851 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
29853 Throw an error when converting a map into an unknown map type
29854 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
29856 * test/automated/map-tests.el: Add a regression test.
29858 New library map.el similar to seq.el but for mapping data structures.
29859 * test/automated/map-tests.el: New file.
29860 * lisp/emacs-lisp/map.el: New file.
29862 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
29864 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
29865 there's no explicit tag name (bug#20629).
29867 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
29870 * src/editfns.c, src/lisp.h (format2): Remove.
29871 It is more trouble than it's worth, now that we have CALLN.
29872 This is just a minor refactoring.
29873 * src/buffer.c (Fkill_buffer):
29874 * src/dbusbind.c (XD_OBJECT_TO_STRING):
29875 * src/fileio.c (barf_or_query_if_file_exists):
29876 Adjust to format2 going away.
29878 Don't misencode C-generated messages
29879 Also, be more consistent about calls to 'Fmessage' vs 'message'.
29880 * src/alloc.c (Fgc_status):
29881 Prefer AUTO_STRING to build_string for Fmessage call.
29882 * src/data.c (Fmake_variable_buffer_local)
29883 (Fmake_local_variable, Fmake_variable_frame_local):
29884 * src/doc.c (store_function_docstring):
29885 Use Fmessage, not message, since the argument can contain
29886 non-ASCII characters, and this can cause the resulting message
29887 to be incorrectly encoded for the current environment.
29888 * src/fns.c (maybe_resize_hash_table):
29889 * src/xselect.c (x_clipboard_manager_save_all):
29890 Use message, not Fmessage, since Fmessage's power isn't needed here.
29891 * src/process.c (Fmake_network_process): Reword message to avoid %s.
29892 * src/xdisp.c (vmessage): Document restrictions on message contents.
29893 (message_nolog) [false]: Remove unused code.
29895 Use \r rather than ^M in string literals
29896 This is less likely to cause problems on platforms that
29897 use CRLF (or CR!) termination for lines.
29899 Update .gitattributes to match current sources
29900 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
29901 * .gitattributes: Accommodate tests that insist on DOS format.
29902 Remove test/automated/data/decompress/foo-gzipped.
29903 Add etc/e/eterm-color.
29905 2015-05-30 Eli Zaretskii <eliz@gnu.org>
29907 * doc/emacs/mule.texi (Modifying Fontsets):
29908 Document face-ignored-fonts. (Bug#20628)
29910 Add etags test for the new -Q option
29911 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
29912 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
29913 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
29914 test-case changes below.
29915 * test/etags/ETAGS.good_6: New file.
29916 * test/etags/cp-src/x.cc: New file.
29917 * test/etags/Makefile (CPSRC): Add x.cc.
29918 (check): Add one more test, for -Q.
29920 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
29922 Use list for the tags completion table, not obarray
29923 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
29924 list instead of an obarray
29925 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
29926 (tags-completion-table): Combine those lists.
29927 (tags-completion-table): Update the docstring.
29929 2015-05-30 Eli Zaretskii <eliz@gnu.org>
29931 Restore EOL format testing in etags
29932 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
29933 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
29934 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
29935 test-case changes below.
29936 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
29937 * test/etags/cp-src/c.C (B): Add back stray CR character.
29938 * test/etags/c-src/dostorture.c: Add back.
29939 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
29941 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
29943 Declare Emacs on MS-Windows to be DPI-aware
29944 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
29945 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
29946 This avoids Windows entering compatibility mode for Emacs,
29947 which causes fonts to look less nice.
29949 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
29951 Improve Tramp traces
29952 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
29953 * lisp/net/tramp.el (tramp-debug-message): Use it.
29955 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
29957 backup-buffer minor reworking of internals
29958 * lisp/files.el (backup-buffer): Rework to avoid a couple of
29959 unused locals inadvertently introduced in the previous change.
29961 backup-buffer now reports .emacs.d/%backup% ills
29962 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
29963 fails due to disk space exhaustion or whatever, do not pretend
29964 that it succeeded. More generally, do a better job of checking
29965 for I/O failures, and limit the scope of the condition-case to
29966 just the operations where file errors should be caught and ignored
29967 (Bug#20595). Also, don't bother trying to delete later backups if
29968 an earlier deletion fails, as this is a sign of trouble and it's
29969 better to stop when there's trouble.
29971 copy-file now truncates output after writing
29972 * src/fileio.c (Fcopy_file): Truncate output after writing rather
29973 than before. This is more likely to work than truncation before
29974 writing, if the file system is out of space or the user is over
29975 disk quota (Bug#20595). Also, check for read errors.
29977 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
29979 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
29980 Don't load descriptors from directories above the package directories.
29982 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
29985 This incorporates the following (Bug#20681):
29986 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
29987 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
29988 * lib/set-permissions.c: Copy from gnulib.
29990 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
29992 Improve Tramp traces
29993 * lisp/net/tramp.el (tramp-call-process-region): New defun.
29994 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
29996 2015-05-29 Glenn Morris <rgm@gnu.org>
29998 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
30000 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
30002 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
30003 The signature was changed in the cairo branch, merged on 2015-05-23.
30004 This oversight broke compiling only the non-toolkit X version.
30006 2015-05-29 Samer Masterson <samer@samertm.com>
30008 * doc/lispref/os.texi: Update initial-buffer-choice docs.
30010 2015-05-29 Glenn Morris <rgm@gnu.org>
30012 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
30013 Mark as an expected failure.
30015 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
30017 Change package test to look for curved quotes
30018 * test/automated/package-test.el (package-test-describe-package)
30019 (package-test-signed): Search for curved single quotes as well as
30020 for grave accent and apostrophe.
30022 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
30024 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
30025 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
30027 2015-05-28 Samer Masterson <samer@samertm.com>
30029 Show files when `initial-buffer-choice' is non-nil
30030 * lisp/startup.el (command-line-1): When Emacs is given a file as an
30031 argument and `initial-buffer-choice' is non-nil, display both the file
30032 and `initial-buffer-choice'. For more than one file, show
30033 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
30034 commands out of the command line arg parser.
30035 (initial-buffer-choice): Clarify docstring.
30037 2015-05-28 Eli Zaretskii <eliz@gnu.org>
30040 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
30041 (gnulib module qcopy-acl): Add back, as it is harmless. This
30042 minimizes differences wrt lib/gnulib.mk.
30044 Fix the MS-Windows build as followup to gnulib update
30045 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
30046 set-permissions.c, as they don't compile on MinGW.
30047 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
30049 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
30051 Revert my change to gnus-art.el
30052 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
30053 It wasn't that important, and it caused a Gnus build to fail. See:
30054 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
30056 New minor mode Electric Quote
30057 This lets you easily insert quotes ‘like this’ by typing
30058 quotes `like this', and similarly you can easily insert
30059 quotes “like this” by typing quotes ``like this'' (Bug#20545).
30060 * doc/emacs/basic.texi (Inserting Text):
30061 * doc/emacs/modes.texi (Minor Modes):
30062 * etc/NEWS: Document it.
30063 * doc/emacs/text.texi (Quotation Marks): New section.
30064 * lisp/electric.el (electric-quote-comment)
30065 (electric-quote-string, electric-quote-paragraph):
30067 (electric--insertable-p)
30068 (electric-quote-post-self-insert-function): New functions.
30069 (electric-quote-mode, electric-quote-local-mode): New minor modes.
30070 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
30071 Add curved single quotes to electric-pair-text-pairs.
30072 Set electric-quote-string in this buffer.
30074 A few more doc string fixes (Bug#20385)
30076 Accept curved quotes in doc strings
30077 * lisp/info-look.el (info-lookup-guess-custom-symbol):
30078 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
30080 Generate curved quotes in pseudo-info nodes
30081 * lisp/info.el (Info-virtual-index-find-node)
30082 (Info-virtual-index, Info-apropos-find-node, info-apropos):
30083 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
30085 Fix minor quoting problems in doc strings
30086 Most of these fixes involve escaping grave accents that are
30087 actually intended to be grave accents, not left quotes.
30090 Support curved quotes in doc strings
30091 Emacs's traditional doc string style has been to quote symbols
30092 `like this'. This worked well on now-obsolete terminals where
30093 ` and ' were symmetric quotes, but nowadays curved quotes
30094 ‘like this’ look better. Support quoting the new way too.
30096 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
30097 ‘like-this’ as well as `like-this'.
30098 * etc/NEWS: Mention this.
30099 * lisp/cedet/mode-local.el (overload-docstring-extension)
30100 (mode-local-print-binding, mode-local-describe-bindings-2):
30101 * lisp/cus-theme.el (describe-theme-1):
30102 * lisp/descr-text.el (describe-text-properties-1, describe-char):
30103 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
30104 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
30105 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
30106 (eieio-help-constructor):
30107 * lisp/emacs-lisp/package.el (describe-package-1):
30108 * lisp/faces.el (describe-face):
30109 * lisp/help-fns.el (help-fns--key-bindings)
30110 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
30111 (help-fns--interactive-only, describe-function-1):
30112 (describe-variable):
30113 * lisp/help.el (describe-mode):
30114 * lisp/international/mule-cmds.el (describe-input-method)
30115 (describe-language-environment):
30116 * lisp/international/mule-diag.el (describe-character-set)
30117 (print-coding-system-briefly, list-input-methods)
30118 (list-input-methods-1):
30119 Insert curved quotes rather than grave accent and apostrophe.
30120 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
30121 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
30122 (checkdoc-proper-noun-region-engine):
30123 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
30124 (lisp-cl-font-lock-keywords-2):
30125 * lisp/finder.el (finder-font-lock-keywords):
30126 * lisp/gnus/gnus-art.el (gnus-button-alist):
30127 * lisp/help-fns.el (help-do-arg-highlight)
30128 (describe-function-1, describe-variable):
30129 * lisp/help-mode.el (help-xref-symbol-regexp)
30130 (help-xref-info-regexp, help-xref-url-regexp):
30131 * lisp/help.el (describe-mode):
30132 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
30133 * lisp/wid-edit.el (widget-documentation-link-regexp):
30134 Parse symbols quoted ‘like-this’ as well as `like-this'.
30135 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
30136 Add "‘" and "’" to electric-pair-text-pairs.
30137 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
30138 (elisp-completion-at-point, elisp--preceding-sexp):
30139 Also treat "‘" and "’" as quoting chars.
30141 substitute-command-keys now curves quotes
30142 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
30143 * doc/lispref/help.texi (Keys in Documentation):
30144 * etc/NEWS: Document this.
30145 * src/doc.c (Fsubstitute_command_keys): Implement it.
30147 2015-05-28 Glenn Morris <rgm@gnu.org>
30149 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
30150 (rmail-summary-by-topic, rmail-summary-by-senders):
30151 No longer strip leading/trailing whitespace.
30153 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
30154 (f90-no-block-limit): Add "enum". (Bug#20680)
30155 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
30158 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
30160 * lisp/isearch.el (isearch--current-buffer): Give a default value.
30161 Un-revert changes mistakenly dropped by f9fabb2b.
30163 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
30167 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
30168 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
30169 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
30170 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
30171 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
30172 2015-05-26 stdio: fix probe on mingw under gcc 5.1
30173 * admin/merge-gnulib (GNULIB_MODULES):
30174 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
30175 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
30176 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
30177 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
30178 Get latest versions from gnulib.
30179 * lib/get-permissions.c, lib/set-permissions.c: New files.
30180 * lib/gnulib.mk, m4/gnulib-comp.m4:
30182 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
30184 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
30186 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
30188 (vc-do-command): Rather than here (bug#20608).
30190 2015-05-27 Ivan Shmakov <ivan@siamics.net>
30192 Avoid gratuitous delete-dups in face-at-point
30193 * lisp/faces.el (face-at-point): Do not compute the properly
30194 ordered, duplicate-free list if only a single value is
30195 requested anyway. (Bug#20519)
30197 Show the exact C-x 8 RET invocation in describe-char
30198 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
30199 invocation instead of a template. (Bug#20522)
30201 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
30203 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
30204 (package-menu--post-refresh): Call `tabulated-list-print' with the
30205 UPDATE argument. This only affects the refresh action, the revert
30206 action still erases tags.
30207 (package-menu-get-status): Change `assq' to `assoc'.
30208 (package-menu--mark-upgrades-1): New function.
30209 (package-menu--mark-upgrades-pending): New variable.
30210 (package-menu-mark-upgrades): Use them to delay marking until
30211 after refresh is done.
30212 (package-menu--post-refresh): Call mark-upgrades-1 if
30213 mark-upgrades-pending is non-nil.
30215 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
30217 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
30218 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
30219 (commit 3953c4be2816537be95520605d45b866dc731f4b).
30221 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
30223 * lisp/isearch.el (isearch--current-buffer): New var.
30224 (isearch-update): Set cursor-sensor-inhibit here.
30225 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
30228 Change inhibit-point-motion-hooks to t
30229 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
30230 to t and document it as obsolete.
30232 2015-05-27 Eli Zaretskii <eliz@gnu.org>
30234 Support ZIP files that use Zip64 extensions
30235 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
30236 format of central directory offsets used by Zip64 extensions.
30239 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
30241 New test tramp-test30-make-auto-save-file-name
30242 * test/automated/tramp-tests.el
30243 (tramp-test30-make-auto-save-file-name): New test.
30244 (tramp-test31-special-characters)
30245 (tramp-test31-special-characters-with-stat)
30246 (tramp-test31-special-characters-with-perl)
30247 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
30248 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
30249 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
30250 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
30252 Improve tramp-handle-make-auto-save-file-name
30253 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
30254 (tramp-handle-make-auto-save-file-name): Let native
30255 `make-auto-save-file-name' use `auto-save-file-name-transforms',
30256 if `tramp-auto-save-directory' is not set.
30258 2015-05-27 Glenn Morris <rgm@gnu.org>
30260 No longer set dired-directory in eshell. (Bug#16477)
30261 * lisp/eshell/esh-mode.el (eshell-mode):
30262 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
30264 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
30266 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
30267 * lisp/progmodes/cc-mode.el (c-mode-help-address):
30268 Change to submit@debbugs.
30269 (c-mode-bug-package): New constant.
30270 (mail-position-on-field): Declare.
30271 (c-submit-bug-report): Insert X-Debbugs-Package header.
30272 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
30273 Mention debbugs.gnu.org.
30275 2015-05-26 Glenn Morris <rgm@gnu.org>
30277 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
30278 (rmail-summary-by-recipients, rmail-summary-by-topic)
30279 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
30280 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
30282 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
30284 Handle curved quotes in info files
30285 * lisp/calc/calc-help.el (calc-describe-thing):
30286 * lisp/info.el (Info-find-index-name)
30287 (Info-try-follow-nearest-node, Info-fontify-node):
30288 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
30289 In info files, process quotes ‘like this’ the same way we process
30290 quotes `like this'. This catches a few places we missed earlier.
30292 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
30294 xref-prompt-for-identifier: Use a list value
30295 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
30296 value, to be interpreted as a list of commands.
30297 (xref--prompt-p): New function.
30298 (xref--read-identifier): Use it.
30300 2015-05-26 Eli Zaretskii <eliz@gnu.org>
30302 Teach MS-Windows font back-end return per-glyph ascent/descent
30303 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
30305 * src/w32font.c (w32font_text_extents): Compute, cache, and
30306 accumulate per-glyph ascent and descent values, instead of copying
30307 global values from the font. If the values are not available from
30308 the font data, i.e., non-TTF fonts, fall back on font-global values.
30309 (compute_metrics): Compute and return per-glyph ascent and descent
30310 values, if returned by GetGlyphOutlineW, falling back on
30311 font-global values. (Bug#20628)
30312 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
30313 height of rectangle to be drawn, to be compatible with
30314 XDrawRectangle. Fixes glyphless-char display as hex codes in a
30315 box, when per-glyph ascent/descent values are used.
30317 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
30319 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
30320 Don't sort if sorter is nil.
30322 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
30325 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
30326 are major modes which set `auto-save-mode' on their own rules;
30327 Tramp shall not overwrite such settings.
30329 2015-05-26 Glenn Morris <rgm@gnu.org>
30331 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
30332 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
30333 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
30335 (vc-dir-mode): Remove unnecessary autoload.
30337 2015-05-25 Philipp Stephani <phst@google.com>
30339 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
30340 (xterm--extra-capabilities-type): Add `getSelection'.
30341 (xterm--query): Add `no-async' argument.
30342 (xterm--init-activate-get-selection): New function.
30343 (terminal-init-xterm): Use it.
30344 (xterm--init-modify-other-keys): Rename from
30345 terminal-init-xterm-modify-other-keys.
30346 (xterm--init-bracketed-paste-mode): Rename from
30347 terminal-init-xterm-bracketed-paste-mode.
30348 (xterm--init-activate-set-selection): Rename from
30349 terminal-init-xterm-activate-set-selection.
30350 (xterm--selection-char): New function.
30351 (gui-backend-set-selection): Use it. Use the &context to only apply
30352 this method in terminals where we enabled the feature.
30353 (gui-backend-get-selection): New method.
30355 2015-05-25 Daniel Colascione <dancol@dancol.org>
30357 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
30358 keyword constants to C++.
30360 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
30362 Make TAGS files more portable to MS-Windows
30363 * etc/NEWS: Document this.
30364 * lib-src/etags.c (readline_internal) [DOS_NT]:
30365 Don't treat CRs differently from GNUish hosts.
30366 * lisp/progmodes/etags.el (etags-goto-tag-location):
30367 Adjust STARTPOS to account for the skipped CRs in dos-style files.
30369 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
30371 Improve fix of bug#20634 in tramp-sh.el
30373 2015-05-25 Eli Zaretskii <eliz@gnu.org>
30375 Fix a typo in last commit
30376 * lib-src/etags.c (C_entries): Fix a typo.
30377 * test/etags/ETAGS.good_1:
30378 * test/etags/ETAGS.good_2:
30379 * test/etags/ETAGS.good_3:
30380 * test/etags/ETAGS.good_4:
30381 * test/etags/ETAGS.good_5:
30382 * test/etags/CTAGS.good: Update due to the change in etags.c.
30384 Fix tagging of class members in C-like OO languages
30385 * lib-src/etags.c (longopts): Add new option --class-qualify and
30387 (print_help): Add help text for --class-qualify.
30388 (main): Add handling of -Q.
30389 (consider_token, C_entries) <omethodparm>: Append argument types
30390 to Objective C methods only if --class-qualify was specified.
30391 Qualify C++, Objective C, and Java class members with their class
30392 names only if --class-qualify was specified.
30393 (C_entries): If --class-qualify was not specified, remove the
30394 namespace and class qualifiers from tag names of C++ methods.
30395 This allows to use etags.el as xref back-end without the
30396 tag-symbol-match-p method, which greatly increases the number of
30397 potentially false positives. (Bug#20629)
30398 * doc/man/etags.1: Update to document the new --class-qualify
30400 * test/etags/ETAGS.good_1:
30401 * test/etags/ETAGS.good_2:
30402 * test/etags/ETAGS.good_3:
30403 * test/etags/ETAGS.good_4:
30404 * test/etags/ETAGS.good_5:
30405 * test/etags/CTAGS.good: Update due to changes in etags.c.
30407 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
30409 (cl-generic-define-method): Side effects are evil (bug#20644)
30410 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
30411 cons-cells that might be used as keys in an `equal' hash-table.
30413 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
30415 Make erc timestamps visible again
30416 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
30417 Make timestamps visible again (if requested).
30419 2015-05-25 Eli Zaretskii <eliz@gnu.org>
30421 Fix last change in etags.c that broke tagging compresed files
30422 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
30423 quoting of decompression shell command for MS-Windows/MS-DOS.
30425 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
30427 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
30430 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
30432 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
30433 Fix typo in "Inhibit `epa-file-handler' in Tramp"
30434 (commit 89035e247591c8d688fce922b7079881aa110f33).
30436 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
30438 Fix IPv6 addresses in Tramp
30439 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
30440 Add square brackets around host name.
30442 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
30444 Inhibit `epa-file-handler' in Tramp (Bug#20634)
30445 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
30446 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
30447 `epa-file-handler'.
30449 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
30451 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
30452 (pcase-let): Document the behavior in case the pattern doesn't match.
30454 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
30456 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
30457 (tabulated-list-print): New optional argument, UPDATE. If
30458 non-nil, the list is printed by only adding and deleting the
30459 changed entries, instead of erasing the whole buffer. This method
30460 is much faster when few or no entries have changed.
30461 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
30462 * etc/NEWS: Document it.
30464 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
30465 (tabulated-list--get-sorter): New function.
30466 (tabulated-list-print): Restore window-line when remember-pos is
30467 passed and optimize away the `nreverse'.
30469 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
30471 Simpilify etags TEX mode scanning
30472 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
30473 Remove static vars.
30474 (TeX_commands): Deduce escapes here instead.
30475 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
30476 This removes the need for a reset_input call.
30478 Improve etags I/O error reporting
30480 Don't include sys/types.h and sys/stat.h; no longer needed.
30481 (infilename): New static var.
30482 (process_file_name): Don't call 'stat'. Instead, just open the
30483 file for reading and report any errors. Don't bother making
30484 a copy of the file argument; it's not needed. Be more careful to
30485 use the failing errno when reporting an error.
30486 Quote the real name better (though no perfectly)
30487 when passing it to the shell.
30488 (reset_input): New function, which reports I/O errors.
30489 All uses of 'rewind' changed to use this function.
30490 (perhaps_more_input): New function, which also checks for
30491 I/O errors. All uses of 'feof' changed to use this function.
30492 (analyze_regex): Report an error if fclose fails.
30493 (readline_internal): Report an error if getc fails.
30494 (etags_mktmp): Return an error if close fails.
30496 etags.c: avoid side effects in 'if'
30497 * lib-src/etags.c (process_file_name, Perl_functions)
30498 (TEX_decode_env): Hoist side effects into previous statement.
30501 * .gitignore: Ignore all *.stamp files. Sort.
30502 Ignore [0-9]*.txt (commonly used name for git patches)
30503 and /vc-dwim-log-* (vc-dwim temporary).
30505 2015-05-24 Eli Zaretskii <eliz@gnu.org>
30507 Fix last change in etags.c, which failed the test suite
30508 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
30509 before the last change.
30511 2015-05-23 Glenn Morris <rgm@gnu.org>
30513 Remove charset map files from repository, generate in first bootstrap
30514 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
30515 (all): Create the stamp file.
30516 (extraclean): Delete the stamp file.
30517 * src/Makefile.in (lispintdir, charsets): New variables.
30518 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
30520 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
30521 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
30522 * etc/charsets/*.map: Remove from repository.
30524 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
30526 Cleanup etags.c to use locale-independent code
30527 Although this doesn't alter behavior (as etags doesn't use
30528 setlocale), the new version is more clearly locale-independent and
30529 the executable is a bit smaller on my platform.
30530 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
30531 Include <c-ctype.h> instead of <ctype.h>.
30532 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
30534 Remove; no longer needed.
30535 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
30536 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
30537 c_islower, c_tolower, respectively.
30538 (notinname, begtoken, intoken, endtoken): Rewrite as functions
30539 instead of macros, and initialize the tables at compile-time
30540 rather than at run-time.
30542 Put default action first in src/Makefile
30543 * src/Makefile.in (all): Put this rule before lisp.mk.
30544 That way, plain 'make' works in the src directory again.
30546 2015-05-23 Glenn Morris <rgm@gnu.org>
30548 * Makefile.in: Fix extraclean rule.
30549 (extraclean_dirs): New.
30550 (extraclean): Use it.
30552 2015-05-23 Eli Zaretskii <eliz@gnu.org>
30554 Avoid compiler warning in image.c on MS-Windows
30555 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
30556 warning in image.c.
30558 2015-05-23 Glenn Morris <rgm@gnu.org>
30560 Fix --without-toolkit-scroll-bars builds.
30561 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
30562 Add new argument to x_clear_area1.
30563 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
30564 Update x_clear_area arguments.
30566 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
30567 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
30568 Change to included version.
30569 (LOCAL, local, totalclean): Remove.
30570 (extraclean): Delete all generated files.
30572 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
30574 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
30575 CVS/Entries exists.
30577 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
30579 * lisp/progmodes/etags.el (tags-completion-at-point-function):
30580 Don't trust the find-tag function.
30582 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
30584 Pacify --enable-gcc-warnings
30585 * src/frame.h (x_query_color): Remove redundant extern decl.
30586 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
30587 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
30588 (ftcrfont_text_extents, ftcrfont_draw):
30589 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
30590 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
30591 (x_ins_del_lines, frame_highlight, frame_unhighlight)
30592 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
30593 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
30594 (x_update_window_begin, x_connection_closed)
30595 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
30596 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
30597 (*x_gc_get_ext_data, x_extension_initialize)
30598 (x_cr_accumulate_data):
30599 Remove redundant static decl. Many of these GCC doesn't complain
30600 about, but we might as well clean out the duplication while we're
30601 in the neighborhood.
30602 * src/xterm.c (x_fill_trapezoid_for_relief):
30603 Remove decl of nonexistent function.
30605 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
30607 Replace gui-method macros with cl-generic with &context
30608 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
30609 (gui-method-declare, gui-call): Remove.
30610 (frame-creation-function): Use cl-defgeneric.
30611 (make-frame): Adjust callers.
30612 * lisp/menu-bar.el (menu-bar-edit-menu):
30613 Use gui-backend-selection-exists-p.
30614 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
30615 (gui-backend-get-selection): New cl-generic to replace
30616 gui-get-selection method.
30617 (gui-backend-set-selection): New cl-generic to replace
30618 gui-set-selection method.
30619 (gui-selection-owner-p): New cl-generic to replace
30620 gui-selection-owner-p method.
30621 (gui-backend-selection-exists-p): New cl-generic to replace
30622 gui-selection-exists-p method. Adjust all callers.
30623 * lisp/server.el (server-create-window-system-frame): Don't ignore
30624 window-system spec even when unsupported.
30625 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
30626 * lisp/startup.el (handle-args-function, window-system-initialization):
30628 (command-line): Adjust calls accordingly.
30629 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
30630 a window-system-initialization method.
30631 (handle-args-function, frame-creation-function): Use cl-defmethod.
30632 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
30633 (gui-get-selection): Use cl-defmethod on the new functions instead.
30634 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
30635 a gui-backend-get-selection method.
30636 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
30637 Use cl-defmethod on the new functions instead.
30638 (msdos-window-system-initialization): Turn into
30639 a window-system-initialization method.
30640 (frame-creation-function, handle-args-function): Use cl-defmethod.
30641 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
30642 a window-system-initialization method.
30643 (handle-args-function, frame-creation-function): Use cl-defmethod.
30644 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
30645 (gui-get-selection): Use cl-defmethod on the new functions instead.
30646 * lisp/term/x-win.el (x-window-system-initialization): Turn into
30647 a window-system-initialization method.
30648 (handle-args-function, frame-creation-function): Use cl-defmethod.
30649 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
30650 (gui-get-selection): Use cl-defmethod on the new functions instead.
30651 * lisp/term/xterm.el (xterm--set-selection): Turn into
30652 a gui-backend-set-selection method.
30653 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
30654 (Fns_selection_owner_p): Remove unused arg `terminal'.
30655 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
30657 2015-05-23 Eli Zaretskii <eliz@gnu.org>
30659 Revert "Fix etags Bug#20629 that broke C++ support"
30660 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
30662 2015-05-23 Jan D <jan.h.d@swipnet.se>
30664 Fix etags Bug#20629 that broke C++ support
30665 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
30666 Revert commit from Sun May 10 (Bug#20629).
30668 Merge branch 'cairo'.
30669 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
30670 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
30672 Merge branch 'master' into cairo
30674 Fixes to compile cairo branch without cairo
30675 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
30677 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
30680 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
30682 * lisp/emacs-lisp/package.el: Always update selected-packages.
30683 (package--update-selected-packages): New function.
30684 (package-menu-execute): Use it before starting the transaction,
30685 this way the list of selected packages is updated even when the
30687 (package-menu--perform-transaction): Don't edit selected-packages.
30689 2015-05-23 Eli Zaretskii <eliz@gnu.org>
30691 Fix etags reading of compressed files
30692 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
30693 Include fcntl.h, for O_CLOEXEC.
30694 (process_file_name): Don't use 'popen', whose streams cannot be
30695 rewound. Instead, uncompress the file to a temporary file,
30696 created by 'etags_mktmp', and read from that as usual.
30697 (etags_mktmp): New function.
30698 * test/etags/ETAGS.good_1:
30699 * test/etags/ETAGS.good_2:
30700 * test/etags/ETAGS.good_3:
30701 * test/etags/ETAGS.good_4:
30702 * test/etags/ETAGS.good_5: Update to be consistent with latest
30703 changes in etags.c regarding reading compressed files.
30705 Improve documentation of 'set-fontset-font'
30706 * doc/lispref/display.texi (Fontsets): Document the value of nil
30707 for the 3rd argument of 'set-fontset-font'.
30709 Fix documentation of forward-line
30710 * src/cmds.c (Fforward_line): Clarify the return value if the line
30711 at end of accessible portion of the buffer has no newline.
30712 * doc/lispref/positions.texi (Text Lines): Document what happens
30713 if the line at end of accessible portion of buffer has no newline.
30716 2015-05-22 Glenn Morris <rgm@gnu.org>
30718 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
30720 * admin/charsets/mapconv (LC_ALL): Set to C.
30722 * Makefile.in: Add admin/charsets into top-level clean rules.
30723 (clean): Add admin/charsets.
30724 (maybeclean_dirs): New variable.
30725 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
30727 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
30729 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
30731 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
30733 2015-05-22 Glenn Morris <rgm@gnu.org>
30735 Generate admin/charsets Makefile via configure, and make more portable
30736 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
30737 (admin/charsets/Makefile): Generate it.
30738 * admin/charsets/Makefile.in: Rename from Makefile.
30739 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
30740 New variables, set by configure.
30741 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
30742 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
30743 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
30744 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
30745 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
30746 (all): Declare PHONY.
30747 (local): New PHONY target.
30748 (map_template): New template. Use to define short PHONY aliases.
30749 (*.map): Add directory prefixes to targets and prerequisites.
30750 Respect make verbosity.
30751 (JISC6226.map): Replace non-portable sed append without newline.
30752 (install): Remove rule.
30753 (clean): Only delete temporary sedscript.
30754 (bootstrap-clean, distclean, maintainer-clean, extraclean)
30755 (totalclean): New PHONY rules.
30756 * admin/charsets/mapconv (BASE): Replace basename with expr.
30757 (FILE): Add "mapfiles" subdirectory.
30758 (AWK): New variable. Use throughout in place of "awk".
30759 (main): Use "gunzip -c" in place of "zcat".
30760 Don't leave whitespace before "p", for older sed.
30761 * admin/charsets/mapfiles/PTCP154: Add final newline,
30762 to make older sed versions happy.
30764 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
30766 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
30767 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
30768 (auto-revert-notify-watch-descriptor): Use defvar-local.
30769 (find-file-hook, auto-revert-tail-mode)
30770 (auto-revert-notify-add-watch): Use setq-local.
30771 (auto-revert-notify-add-watch): Don't call make-local-variable on
30772 kill-buffer-hook (bug#20601).
30774 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
30776 Change defgeneric so it doesn't completely redefine the function
30777 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
30778 previously defined methods.
30779 (cl-generic-define-method): Let-bind purify-flag instead of
30781 (cl--generic-prefill-dispatchers): Only define during compilation.
30782 (cl-method-qualifiers): Remove redundant alias.
30783 (help-fns-short-filename): Silence byte-compiler.
30784 * test/automated/cl-generic-tests.el:
30785 Adjust to new defgeneric semantics.
30787 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
30789 * lisp/emacs-lisp/package.el (package-menu-execute):
30790 Remove reference to remove-dups.
30792 2015-05-21 kwhite <kwhite@gnu.org>
30794 * lisp/erc/erc.el: Hide network/channel messages.
30795 (erc-network-hide-list, erc-channel-hide-list): New lists to define
30796 message types per network/channel.
30797 (erc-add-targets): New function to parse list of targets.
30798 (erc-hide-current-message-p): Modify to check for new targets.
30800 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
30802 Don't quote nil and t in doc strings
30803 This is as per "Tips for Documentation Strings" in the elisp manual.
30804 For consistency, do the same in diagnostics and comments.
30806 2015-05-21 Eli Zaretskii <eliz@gnu.org>
30808 Fix a minor problem with mouse-face on mode line
30809 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
30810 mouse face also if the mouse pointer hovers above mode-line glyphs
30811 that don't come from any Lisp string. (Bug#20620)
30813 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
30815 * lisp/emacs-lisp/package.el: Fix selected-package logic.
30816 (package-menu-execute): Mark as selected all non-upgrade packages
30818 (package-menu--perform-transaction): Don't mark anything.
30820 * lisp/emacs-lisp/package.el: Mode-line progress report.
30821 (package-menu--transaction-status): New variable.
30822 (package-menu-mode, package-menu--perform-transaction): Use it.
30824 * lisp/emacs-lisp/package.el: Better transaction messages.
30825 (package-menu--partition-transaction): New function.
30826 (package-menu--prompt-transaction-p, package-menu-execute):
30828 (package-menu--perform-transaction): Don't do any messaging.
30830 * lisp/emacs-lisp/package.el: Revert async package transactions.
30831 (package-menu-async): Update doc.
30832 (package-install-from-archive, package-download-transaction)
30833 (package-install, package-menu--perform-transaction)
30834 (package-menu-execute): Remove asynchronous functionality.
30836 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
30838 Revert doc string changes to f90.el
30839 Problem reported by Glenn Morris in:
30840 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
30841 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
30842 Revert recent changes to doc strings, as it's intended that they
30843 use grave accent, not quote.
30845 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
30847 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
30848 Improve parameter name.
30850 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
30852 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
30854 Don't require help-fns when not needed
30855 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
30856 * lisp/emacs-lisp/elint.el:
30857 Don't require help-fns at the top level
30858 * lisp/emacs-lisp/advice.el (ad-arglist):
30859 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
30860 Don't require help-fns. (Bug#17001)
30862 2015-05-20 Eli Zaretskii <eliz@gnu.org>
30864 Fix slash collapsing in etags on MS-Windows
30865 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
30866 MS-Windows code from the Posix code, and support collapsing both
30867 forward- and back-slashes on MS-Windows. Fixes a regression found
30870 Improve documentation of glyphless-char-display
30871 * doc/lispref/display.texi (Glyphless Chars): Improve
30872 documentation of glyphless character display.
30874 Fix "acronym" display of glyphless characters on w32
30875 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
30876 ignore "acronym" substitutes of 1 character for glyphless characters.
30878 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
30880 Add an automated test for let-when-compile
30881 * test/automated/subr-tests.el (let-when-compile): New test.
30883 Add let-when-compile macro instead of using pcase-let
30884 * lisp/subr.el (let-when-compile): New let-like macro that makes its
30885 bindings known to macros like `eval-when-compile' in the body.
30886 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
30887 a `let-when-compile'. Also comment out the unused lexical var
30889 The change greatly improves readability, while providing almost the
30890 same (even shorter) byte code: instead of pre-evaluating 10 variables,
30891 tossing them into a list, and destructuring that list a full screen
30892 page later, the variables are simply bound as they are evaluated,
30893 wrapped individually in `eval-when-compile'.
30895 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
30897 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
30898 (package-delete-button-action): New function.
30899 (describe-package-1): Add Delete button.
30901 * lisp/emacs-lisp/package.el: Better dependency description.
30902 (package--used-elsewhere-p): New optional arg, ALL, and return
30903 package-desc objects instead of names.
30904 (package-delete): Update accordingly.
30905 (describe-package-1): Describe which packages require the package.
30907 2015-05-20 Martin Rudalics <rudalics@gmx.at>
30909 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
30910 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
30913 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
30914 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
30915 (switch-to-buffer): If the selected window is strongly dedicated
30916 to its buffer, signal error before prompting for buffer name.
30917 Handle `switch-to-buffer-in-dedicated-window'.
30918 * doc/lispref/windows.texi (Switching Buffers):
30919 Document `switch-to-buffer-in-dedicated-window'.
30921 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
30923 Prefer "this" to “this” in doc strings
30924 This mostly just straightens quotes introduced in my previous patch.
30925 Suggested by Dmitry Gutov in:
30926 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
30927 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
30928 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
30929 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
30930 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
30931 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
30932 Prefer straight double quotes to curved double quotes in doc strings.
30934 Fix minor quoting problems in doc strings
30935 These were glitches regardless of how or whether we tackle the
30936 problem of grave accent in doc strings.
30937 * lisp/calc/calc-aent.el (math-restore-placeholders):
30938 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
30939 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
30940 * lisp/leim/quail/hebrew.el ("hebrew-new")
30941 ("hebrew-biblical-sil"):
30942 * lisp/leim/quail/thai.el ("thai-kesmanee"):
30943 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
30944 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
30945 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
30946 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
30947 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
30948 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
30949 (semantic-tag-components):
30950 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
30951 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
30952 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
30953 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
30954 * lisp/emacs-lisp/generator.el (iter-next):
30955 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
30956 (gnus-article-mode-syntax-table):
30957 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
30958 * lisp/net/soap-client.el (soap-wsdl-get):
30959 * lisp/net/telnet.el (telnet-mode):
30960 * lisp/org/org-compat.el (org-number-sequence):
30961 * lisp/org/org.el (org-remove-highlights-with-change)
30962 (org-structure-template-alist):
30963 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
30964 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
30965 (handwrite-12pt, handwrite-13pt):
30966 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
30967 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
30968 * lisp/progmodes/verilog-mode.el (verilog-tool)
30969 (verilog-string-replace-matches, verilog-preprocess)
30970 (verilog-auto-insert-lisp, verilog-auto-insert-last):
30971 * lisp/textmodes/makeinfo.el (makeinfo-options):
30972 * src/font.c (Ffont_spec):
30973 Fix minor quoting problems in doc strings, e.g., missing quote,
30974 ``x'' where `x' was meant, etc.
30975 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
30976 Fix minor quoting problem in other string.
30977 * lisp/leim/quail/ethiopic.el ("ethiopic"):
30978 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
30979 Omit unnecessary quotes.
30980 * lisp/faces.el (set-face-attribute, set-face-underline)
30981 (set-face-inverse-video, x-create-frame-with-faces):
30982 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
30983 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
30984 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
30985 * lisp/net/tramp.el (tramp-methods):
30986 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
30987 * lisp/textmodes/artist.el (artist-ellipse-right-char)
30988 (artist-ellipse-left-char, artist-vaporize-fuzziness)
30989 (artist-spray-chars, artist-mode, artist-replace-string)
30990 (artist-put-pixel, artist-text-see-thru):
30991 * lisp/vc/ediff-util.el (ediff-submit-report):
30992 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
30993 Use double-quotes rather than TeX markup in doc strings.
30994 * lisp/skeleton.el (skeleton-pair-insert-maybe):
30995 Reword to avoid the need for grave accent and apostrophe.
30996 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
30997 Don't use grave and acute accents to quote.
30999 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
31001 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
31004 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
31006 Try to port new etags tests to MS-Windows
31007 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
31008 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
31009 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
31010 Adjust to test-case changes below.
31011 * test/etags/Makefile (CSRC): Remove dostorture.c.
31012 Whatever it was trying to test, wasn't working portably.
31013 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
31014 just a line-ending problem.
31015 * test/etags/c-src/dostorture.c: Remove.
31016 * test/etags/cp-src/c.C: Remove stray CR.
31017 * test/etags/html-src/algrthms.html: Remove trailing CRs.
31018 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
31019 but if someone edits it later it should stay UTF-8-compatible.
31021 2015-05-19 Eli Zaretskii <eliz@gnu.org>
31023 Fix display of overlapping window-specific overlays
31024 * src/keyboard.c (adjust_point_for_property): When adjusting point
31025 due to display strings, ignore overlays that are specific to
31026 windows other than the currently selected one.
31027 * src/xdisp.c (handle_single_display_spec): If the display
31028 property comes from an overlay, arrange for buffer iteration to
31029 resume only after the end of that overlay. (Bug#20607)
31031 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
31033 New command icomplete-force-complete-and-exit
31034 * lisp/icomplete.el (icomplete-force-complete-and-exit):
31036 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
31037 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
31038 (icomplete-minibuffer-map): Bind C-j to it.
31039 (icomplete-forward-completions, icomplete-backward-completions):
31040 Mention the new command in the docstring.
31041 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
31042 Revert the previous fix for bug#17545.
31044 2015-05-19 Martin Rudalics <rudalics@gmx.at>
31048 In Elisp manual explain how to override window manager positioning
31050 * doc/lispref/frames.texi (Position Parameters): Give example of
31051 how to override a window manager positioning decision.
31053 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
31054 * src/frame.c (Fdelete_frame): In doc-string mention that frame
31055 can't be deleted if it has a surrogate minibuffer.
31056 * doc/lispref/frames.texi (Minibuffers and Frames)
31057 (Deleting Frames): Explain "surrogate minibuffer frames".
31059 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
31061 2015-05-18 Glenn Morris <rgm@gnu.org>
31063 Add option to ignore commit lines matching a pattern in ChangeLog
31064 * build-aux/gitlog-to-changelog: Add --ignore-line option.
31065 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
31067 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
31069 Don't skip new etags tests on non-UTF-8 hosts
31070 Problem reported by Eli Zaretskii for MS-Windows.
31071 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
31072 (LC_ALL): Set to C if the current locale isn't UTF-8.
31073 (.PHONY): Remove ediff_1 thru ediff_5.
31074 (check): Always run.
31076 2015-05-18 Glenn Morris <rgm@gnu.org>
31078 * lisp/calculator.el (calculator-funcall):
31079 * lisp/textmodes/artist.el (artist-spray-random-points):
31080 Use standard degree/radian conversion utilities.
31082 Further lisp-complete-symbol related cleanup.
31083 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
31084 Unadvertise non-functional argument. Replace obsolete alias.
31086 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
31088 Add a test case for Maven warning ouput
31089 * test/automated/compile-tests.el
31090 (compile-tests--test-regexps-data): Add a case for Maven warning
31092 (compile--test-error-line): Check the compilation message type, if
31093 it's specified in the test data.
31095 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
31097 Update Maven compilation-mode entry to distinguish warnings
31098 * lisp/progmodes/compile.el
31099 (compilation-error-regexp-alist-alist): Update Maven entry to
31100 distinguish warnings (bug#20556).
31102 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
31104 * test/automated/sgml-mode-tests.el: New file.
31106 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
31108 Improve handling of the first Git revision
31109 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
31110 there's no next entry, delete until the end of the buffer.
31111 (log-view-end-of-defun-1): Stop at eob.
31112 * lisp/vc/vc-annotate.el
31113 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
31114 when previous-revision is nil.
31115 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
31116 with `--' to avoid ambiguity.
31117 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
31118 returned revision string.
31119 (vc-git-annotate-time): Expect `^' before the first revision.
31120 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
31121 REV1 is nil, and REV2 is not.
31122 * lisp/vc/vc.el: Update the description of the `diff' function.
31124 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
31126 Allow checkdoc to be called in batch
31127 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
31128 is non-nil, echo the error with `warn'.
31129 How it can be used in -batch:
31130 (with-current-buffer (find-file "checkdoc.el")
31131 (checkdoc-current-buffer t))
31133 2015-05-18 Glenn Morris <rgm@gnu.org>
31135 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
31137 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
31139 * admin/notes/unicode: New section "binary files".
31141 Change new etags test to use UTF-8 encoding
31142 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
31143 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
31144 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
31145 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
31146 * test/etags/html-src/softwarelibero.html:
31147 Switch to UTF-8 encoding.
31148 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
31149 Remove Makefile, as it's too incestuous to have the test input
31150 include the build procedure.
31151 (UTF8_LOCALE, UTF_ENCODING): New macros.
31152 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
31153 (check): Skip if not UTF-8.
31154 (.PHONY): New rule.
31155 (FRC): Remove, as superseded by .PHONY. All uses removed.
31156 (regexfile): Prefer printf to echo when outputting oddball chars.
31157 (.PRECIOUS): Remove, as these files are not built.
31159 Rename 'foo-gzipped' to 'foo.gz'
31160 * test/automated/data/decompress/foo.gz:
31161 Rename from test/automated/data/decompress/foo-gzipped,
31162 to make it easier for other tools to tell that it's compressed.
31163 * test/automated/zlib-tests.el (zlib--decompress):
31164 Adjust to renamed file.
31166 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
31168 Set up default-directory
31169 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
31171 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
31172 appropriate value for default-directory.
31174 2015-05-17 Samer Masterson <samer@samertm.com>
31176 * lisp/eshell/em-term.el (eshell-term-sentinel):
31177 No-op by default, only kills term buffer if
31178 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
31179 (eshell-destroy-buffer-when-process-dies): New custom to preserve
31182 eshell: Introduce new buffer syntax
31183 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
31184 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
31185 needed (Bug#19319).
31186 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
31187 (eshell-get-target): Remove shorthand-specific code.
31188 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
31191 2015-05-17 Jan D <jan.h.d@swipnet.se>
31193 Merge branch 'master' into cairo
31195 2015-04-26 Jan D <jan.h.d@swipnet.se>
31197 Merge branch 'master' into cairo
31199 Add PBM support for cairo
31200 * src/image.c (xcolor_to_argb32): New function.
31201 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
31202 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
31203 XImagePtr if ! USE_CAIRO.
31204 (pbm_load): Add cairo support.
31206 2015-04-12 Jan D <jan.h.d@swipnet.se>
31208 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
31209 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
31210 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
31211 x_free_cr_resources.
31213 Handle specified bg in images. Use generic libpng code for PNGs.
31214 * src/image.c (get_spec_bg_or_alpha_as_argb)
31215 (create_cairo_image_surface): New functions when USE_CAIRO.
31216 (xpm_load): Call the above functions. Handle XPM without mask
31218 (png_load_body): Handle USE_CAIRO case.
31219 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
31221 (jpeg_load_body): Call create_cairo_image_surface.
31222 (gif_load, svg_load_image): Handle specified background, call
31223 create_cairo_image_surface.
31224 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
31226 2015-04-11 Jan D <jan.h.d@swipnet.se>
31228 Support GIF and TIFF with cairo
31229 * configure.ac: Allow jpeg with cairo.
31230 Allow tiff and gif with cairo.
31231 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
31232 (tiff_load): Create cairo image surface if USE_CAIRO.
31235 Support JPEG with USE_CAIRO
31236 * configure.ac: Allow jpeg with cairo.
31237 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
31239 2015-04-05 Jan D <jan.h.d@swipnet.se>
31241 Support RSVG and cairo
31242 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
31243 * src/dispextern.h (struct image): Add cr_data2 if cairo.
31244 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
31245 (x_clear_image): Free cr_data and cr_data2 if set.
31246 (xpm_load): Assign data to cr_data2.
31247 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
31249 2015-04-03 Jan D <jan.h.d@swipnet.se>
31251 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
31252 * configure.ac (HAVE_RSVG): Move after cairo.
31253 (USE_CAIRO): Disable rsvg, don't disable Xpm.
31254 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
31255 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
31256 don't return early.
31257 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
31258 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
31259 and create a surface.
31261 Tool tips for menus did not show any text.
31262 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
31263 tip frames, the geometry may be wrong.
31265 Merge branch 'master' into cairo, fixes tooltips not shown.
31267 Merge branch 'master' into cairo
31269 Add CAIRO_CFLAGS to lwlib/Makefile.in
31270 * Makefile.in (CAIRO_CFLAGS): Add.
31272 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
31274 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
31276 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
31278 Draw outermost line using black relief and erase corners also for cairo.
31279 * src/xterm.c [USE_CAIRO]: Include math.h.
31280 (enum corners) [USE_CAIRO]: New enum.
31281 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
31282 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
31283 than 1, draw the outermost line using the black relief.
31285 * src/xterm.c (x_fill_trapezoid_for_relief):
31286 Remove unnecessary cairo_close_path.
31288 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
31290 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
31292 * src/xterm.c (x_draw_stretch_glyph_string):
31293 Call x_reset_clip_rectangles instead of XSetClipMask.
31295 Use int instead of unsigned int for width and height args.
31296 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
31297 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
31298 width and height args.
31300 Modernize k&r cairo-related function declarations.
31301 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
31302 (xg_print_frames_dialog): Modernize k&r declarations.
31303 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
31304 (Fx_print_frames_dialog): Modernize k&r declarations.
31305 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
31306 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
31307 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
31308 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
31309 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
31310 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
31311 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
31312 (x_clear_area): Modernize k&r declarations.
31314 Implement wave-style variant of underlining for cairo.
31315 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
31316 (x_draw_underwave) [USE_CAIRO]: Use it.
31318 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
31319 instead of XFillRectangle.
31321 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
31323 Fix fringe bitmap initialization for cairo
31324 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
31325 data for cairo image surface.
31326 * src/xterm.c (x_cr_define_fringe_bitmap):
31327 Call cairo_surface_mark_dirty.
31329 2015-02-11 Jan D <jan.h.d@swipnet.se>
31332 * configure.ac (with-cairo): New option.
31333 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
31334 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
31335 Output "Does Emacs use cairo?".
31336 * lisp/version.el (emacs-version): Add cairo version.
31337 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
31338 (FONT_OBJ): Add comment about ftcrfont.
31339 (ALL_CFLAGS): Add CAIRO_CFLAGS.
31340 (LIBES): Add CAIRO_LIBS.
31341 * src/dispextern.h (struct image): Add cr_data for cairo.
31342 (x_cr_init_fringe): Declare.
31343 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
31344 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
31345 * src/fringe.c (x_cr_init_fringe): New function name that shares code
31346 with w32_init_fringe.
31347 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
31348 * src/ftfont.c (ftfont_info_size); New global variable.
31349 (ftfont_open2): New extern function almost the same as old ftfont_open,
31350 but takes the font_object as argument.
31351 (ftfont_open): Build font object and call ftfont_open2.
31352 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
31353 * src/gtkutil.c (xg_clear_under_internal_border)
31354 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
31355 Only queue_draw if not cairo. Change args to x_clear_area.
31356 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
31357 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
31358 (xg_print_frames_dialog): New functions for printing.
31359 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
31360 (xg_print_frames_dialog): Declare.
31361 * src/image.c: Add defined (USE_CAIRO) for PNG.
31362 Add !defined USE_CAIRO for W32 PNG code.
31363 (x_clear_image): If cairo, destroy the surface in cr_data.
31364 (png_load): Add new cairo compatible implementation.
31365 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
31366 * src/xfns.c: New section Printing.
31367 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
31368 (x-print-frames-dialog): New printing functions.
31369 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
31370 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
31371 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
31372 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
31373 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
31374 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
31375 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
31376 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
31377 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
31379 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
31380 (max_fringe_bmp, fringe_bmp): New variables.
31381 (x_gc_get_ext_data, x_extension_initialize)
31382 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
31383 (x_set_cr_source_with_gc_foreground)
31384 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
31385 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
31386 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
31387 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
31388 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
31389 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
31390 (x_update_begin): Create cairo surface if needed.
31391 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
31392 (x_update_end): Paint cairo drawing surface to xlib surface.
31393 (x_clear_under_internal_border, x_after_update_window_line): Adjust
31394 arguments to x_clear_area.
31395 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
31396 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
31398 (x_set_glyph_string_clipping)
31399 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
31400 instead of XSetClipRectangles.
31401 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
31402 Use x_fill_rectangle instead of XFillRectangle.
31403 (x_draw_glyph_string_foreground)
31404 (x_draw_composite_glyph_string_foreground)
31405 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
31406 instead of XDrawRectangle.
31407 (x_draw_relief_rect): Add code for USE_CAIRO.
31408 Call x_reset_clip_rectangles instead of XSetClipMask.
31409 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
31410 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
31411 instead of XSetClipMask.
31412 (x_draw_image_foreground, x_draw_image_foreground_1):
31413 x_draw_rectangle instead of XDrawRectangle.
31414 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
31416 (x_draw_image_glyph_string): If img has cr_data, use it as
31418 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
31419 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
31420 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
31421 x_reset_clip_rectangles instead of XSetClipMask.
31422 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
31423 (x_clear_area1): New function that calls XClearArea.
31424 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
31426 (x_clear_frame): x_clear_window instead of XClearWindow.
31427 (x_scroll_run): Set frame garbaged if cairo.
31428 (XTmouse_position): Initialize *part to 0.
31429 (x_scroll_bar_create): Adjust arguments to x_clear_area.
31430 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
31431 x_fill_rectangle instead of XFillRectangle.
31432 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
31433 arguments to x_clear_area.
31434 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
31435 (handle_one_xevent): Adjust arguments to x_clear_area.
31436 Destroy cairo surface for frame if ConfigureNotify.
31437 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
31438 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
31439 x_reset_clip_rectangles instead of XSetClipMask.
31440 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
31441 x_reset_clip_rectangles instead of XSetClipMask.
31442 (x_clear_frame_area): Adjust arguments to x_clear_area.
31443 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
31444 (x_term_init): Call x_extension_initialize if cairo.
31445 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
31446 x_cr_destroy_fringe_bitmap for cairo.
31447 (x_initialize): Call x_cr_init_fringe for cairo.
31448 * src/xterm.h: Add include of cairo header files.
31449 (x_bitmap_record): Add img if cairo.
31450 (x_gc_ext_data): New struct for cairo.
31451 (x_display_info): Add ext_codes for cairo.
31452 (x_output): Add cr_context and cr_surface for cairo.
31453 (x_clear_area): Change arguments from Display*/Window to frame pointer.
31454 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
31455 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
31456 (x_cr_draw_frame, x_cr_export_frames): Declare.
31458 2015-05-17 Johan Bockgård <bojohan@gnu.org>
31460 Fix integer-valued `mouse-highlight' (Bug#20590)
31461 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
31463 2015-05-17 Eli Zaretskii <eliz@gnu.org>
31465 MS-Windows followup for ASCIIfication of curved quotes
31466 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
31467 test for curved quotes being displayable, after switching the
31468 terminal encoding. (Bug#20545)
31470 2015-05-17 Jan D <jan.h.d@swipnet.se>
31472 Add comment that x_shift_glyphs_for_insert is never called
31473 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
31474 Add comment that this function is never called.
31476 2015-05-16 Glenn Morris <rgm@gnu.org>
31478 * src/lisp.mk: Remove from repository and generate at build-time.
31479 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
31480 (shortlisp_filter): New variable.
31481 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
31482 (distclean): Remove lisp.mk.
31483 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
31484 * lisp/loadup.el: Tweak layout to make it easier to parse.
31485 * make-dist: Do not distribute src/lisp.mk.
31487 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
31489 Display shorter dates in Git annotate output
31490 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
31491 format (when not overridden with vc-git-annotate-switches).
31492 (vc-git-annotate-time): Support the short format, as well as ISO
31493 8601 that has been used until now (bug#5428).
31495 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
31497 ASCIIfy curved quotes on displays lacking them
31498 * lisp/international/mule-cmds.el (set-locale-environment):
31499 If curved quotes don't work, display straight ASCII approximations
31502 2015-05-16 Glenn Morris <rgm@gnu.org>
31504 Small src/Makefile simplification
31505 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
31506 * src/Makefile.in (lisp): Derive from shortlisp.
31507 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
31509 2015-05-16 Eli Zaretskii <eliz@gnu.org>
31511 * lisp/help-mode.el (help-go-forward): Doc fix.
31514 * doc/lispref/debugging.texi (Profiling): Improve indexing.
31517 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
31519 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
31520 have one fewer `not'.
31522 * lisp/vc/vc-git.el (vc-git-diff-switches)
31523 (vc-git-annotate-switches, vc-git-resolve-conflicts)
31524 (vc-git-program, vc-git-root-log-format): Remove the redundant
31525 :group declarations.
31527 2015-05-16 Nicolas Petton <nicolas@petton.fr>
31529 Removes the predicate from lisp-complete-symbol (Bug#20456)
31530 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
31531 and remove it from the docstring.
31533 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
31535 Add new option vc-git-resolve-conflicts
31536 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
31537 (vc-git-find-file-hook): Add to after-save-hook only when the
31539 (vc-git-resolve-when-done): Update to honor the new variable.
31542 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
31544 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
31545 (tabulated-list-init-header): Document new behavior.
31546 (tabulated-list-print-fake-header): Do nothing if
31547 `tabulated-list--header-string' is nil.
31548 (tabulated-list--header-string): Add a docstring.
31549 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
31550 * etc/NEWS: Document it.
31552 2015-05-15 Leo Liu <sdl.web@gmail.com>
31554 Revert "Fix cps--gensym"
31555 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
31556 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
31558 2015-05-15 Glenn Morris <rgm@gnu.org>
31560 Replace AC_SUBST_FILE in configure with include in Makefiles
31561 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
31562 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
31563 (AUTO_DEPEND): New output variable.
31564 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
31565 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
31566 (lwlib_deps_frag): Replace by conditional include.
31567 * lwlib/autodeps.mk: Remove file.
31568 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
31569 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
31570 (oldxmenu_deps_frag): Replace by conditional include.
31571 * oldXMenu/autodeps.mk: Remove file.
31572 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
31573 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
31574 (lisp_frag): Replace by an include.
31575 (deps_frag): Replace by conditional include.
31576 * src/autodeps.mk: Remove file.
31578 Tweak japanese.el's loading of dependencies
31579 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
31580 * lisp/language/japanese.el: Use require rather than load.
31581 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
31583 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
31584 Provide a feature in the generated file.
31586 2015-05-15 Jan D <jan.h.d@swipnet.se>
31589 * src/nsmenu.m (ns_popup_dialog)
31590 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
31591 * src/nsfns.m (Fx_create_frame): Remove unused variables.
31592 (Fns_read_file_name): Initialize fname, remove ret.
31593 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
31594 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
31595 Remove unused variable.
31596 (init): Add parantesis in if.
31597 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
31599 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
31601 Fix a enum conversion warning in macfont.m
31602 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
31603 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
31605 2015-05-15 Eli Zaretskii <eliz@gnu.org>
31607 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
31608 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
31610 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
31612 * lisp/cus-start.el: Add ns-confirm-quit.
31614 Fix warnings on OSX 10.10
31615 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
31617 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
31618 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
31619 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
31620 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
31621 setScalesWhenResized for OSX < 10.6.
31622 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
31623 * src/nsterm.m (ns_copy_bits): New function that does not use
31624 deprecated NSCopyBits.
31625 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
31626 (runAlertPanel): New function.
31627 (applicationShouldTerminate:): Call runAlertPanel.
31628 (initFrameFromEmacs, toggleFullScreen:): Only call
31629 useOptimizedDrawing for OSX < 10.10.
31630 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
31631 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
31632 (draggingEntered:): Returns NSDragOperation.
31633 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
31635 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
31637 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
31638 (package--init-file-ensured): New variable.
31639 (package-initialize, package--ensure-init-file): Use it.
31641 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
31643 Honor :fore/background for XBM on NS (Bug#14969)
31644 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
31645 initFromXBM takes bg, fg args, remove flip arg.
31646 (ns_image_from_XBM): Add bg, fg args.
31647 * src/image.c (x_create_bitmap_from_data)
31648 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
31649 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
31650 initFromXBM. Remove flip arg.
31651 (initFromSkipXBM): Move code to initFromXBM.
31652 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
31653 Use fg, bg from args (Bug#14969). Remove if (length) section, was
31655 Remove bit flipping (bitPat, swt), generated incorrect images when
31656 width/height wasn't a multiple of 8.
31657 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
31658 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
31661 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
31663 * lisp/emacs-lisp/package.el: Be more careful with the init file.
31664 (package--ensure-init-file): Check that user-init-file is set,
31665 exists, is readable, and is writable. (Bug#20584)
31666 Also expand the docstring.
31668 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
31670 Sync with upstream verilog-mode revision 6232468
31671 * lisp/progmodes/verilog-mode.el
31672 (verilog-font-lock-grouping-keywords-face)
31673 (verilog-highlight-grouping-keywords): Fix use of face when
31674 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
31675 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
31676 parent is reset, bug906. Reported by Ken Schmidt.
31677 (verilog-auto-inout-module): Add fourth regexp argument to
31678 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
31679 Reported by John Tillema.
31680 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
31681 modport if signal attachment is itself a modport. Reported by
31683 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
31684 always_comb and always_latch, bug844. Reported by Greg Hilton.
31685 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
31686 with many curly-bracket pairs, bug663.
31687 (verilog-set-auto-endcomments): Fix end comments for functions of
31688 type void, etc. Reported by Alex Reed.
31689 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
31690 caused by indent-line-to deleting tabls pre 24.5.
31691 (verilog-nameable-item-re): Fix nameable items that can have an
31692 end-identifier to include endchecker, endgroup, endprogram,
31693 endproperty, and endsequence. Reported by Alex Reed.
31694 (verilog-label-be): When auto-commenting a buffer, consider
31695 auto-comments on all known keywords (not just a subset thereof).
31696 Reported by Alex Reed.
31697 (verilog-auto-end-comment-lines-re)
31698 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
31699 Automatically comment property/endproperty blocks to match other
31700 similar blocks like sequence/endsequence, function/endfunction, etc.
31701 Reported by Alex Reed.
31702 (verilog-set-auto-endcomments): Detect the function- or task-name
31703 when auto-commenting blocks that lack an explicit portlist.
31704 Reported by Alex Reed.
31705 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
31706 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
31707 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
31708 is nil, fix indenting initial/final to match always statements,
31709 bug825. Reported by Tim Clapp.
31710 (verilog-extended-complete-re): Fix indentation of DPI-C imports
31711 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
31712 Mao and Jason Forkey.
31713 (verilog-read-decls): Fix parsing typed interfaces. Fix
31714 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
31715 Fix localparam not being ignored in AUTOINSTPARAM,
31716 bug889. Reported by Shannon Hill.
31717 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
31718 bug793. Reported by Pierre-David Pfister.
31719 (verilog-auto-arg-format, verilog-auto-arg-ports):
31720 Add verilog-auto-arg-format to support newlines in AUTOARG.
31721 Reported by Jie Xiao.
31722 (verilog-batch-execute-func): Do not batch re-auto files loaded by
31723 Local Variables. Fix printing "no changes to be saved" with
31724 verilog-batch. Reported by Dan Dever.
31725 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
31726 interface-only modules, bug721. Reported by Dean Hoyt.
31727 Author: Alex Reed <acreed4@gmail.com>
31728 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
31729 Don't treat '<keyword>:<identifier>' as the start of a labeled
31730 statement, bug905. Reported by Enzo Chi.
31731 (verilog-directive-re, verilog-compiler-directives)
31732 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
31733 directives (plus some extras) when determining indentation, bug
31734 901. Reported by Bernd Beuster.
31735 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
31736 iff expression doesn't start with word-character, bug900.
31737 (verilog-optional-signed-range-re, verilog-optional-signed-re):
31738 Fix incorrect indentation/alignment of unsigned declarations,
31740 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
31741 always constructs, bug895.
31742 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
31743 Reported by Eric Mastromarchi.
31744 (verilog-beg-of-statement): Fix indenting for some forms of
31745 constraintsm bug433. Reported by Brad Parker. Fix indentation of
31746 continued assignment incorrect if first line ends with ']', bug437.
31747 Reported by Dan Dever. Fix indention of cover inside an
31748 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
31750 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
31751 Reported by Kaushal Modi.
31752 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
31753 (verilog-backward-token): Fix indenting sensitivity lists with
31754 named events, bug840. Reed.
31755 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
31756 nil not honoring 'forever', 'foreach', and 'do' keywords.
31758 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
31760 Check for invalid GTK+ monitor scales
31761 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
31762 INT_MAX for too-large scales. All callers changed to assume the
31763 result is valid (Bug#20432).
31764 (xg_frame_set_char_size, xg_update_scrollbar_pos):
31765 Calculate scale only if needed.
31766 Show ASCII approximations instead.
31768 2015-05-14 Eli Zaretskii <eliz@gnu.org>
31770 Fix daemon crashes when linum-mode is turned on early on
31771 * src/window.c (Fwindow_end): Don't try calling display engine
31772 functions on initial-frame frame. (Bug#20565)
31774 Fix selective diff browsing in Ediff
31775 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
31776 Go to the beginning of the region before searching for the
31777 ediff-regexp-focus-* regexps. (Bug#20568)
31779 2015-05-14 Jan D <jan.h.d@swipnet.se>
31782 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
31783 arrive in the main loop, even for Gtk 3 (Bug#20142).
31785 Don't access display after i/o error (Bug#19147).
31786 * src/xterm.c (x_connection_closed): Add third arg ioerror.
31787 If ioerror, set display to 0 (Bug#19147).
31788 (x_error_quitter): Call x_connection_closed with third arg false.
31789 (x_io_error_quitter): Call x_connection_closed with third arg true.
31791 Handle GTK_SCALE, fixes Bug#20432.
31792 * src/gtkutil.c (xg_get_gdk_scale): New function.
31793 (xg_frame_set_char_size)
31794 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
31795 (xg_get_default_scrollbar_height)
31796 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
31797 when setting sizes (Bug#20432).
31799 2015-05-13 Leo Liu <sdl.web@gmail.com>
31801 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
31803 2015-05-13 Glenn Morris <rgm@gnu.org>
31805 Fix bootstrap (void function cl-member).
31806 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
31807 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
31809 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
31811 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
31812 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
31813 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
31814 Avoid defalias for closures which are not immutable.
31815 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
31816 the dispatchers table with various entries.
31817 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
31818 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
31820 2015-05-13 Eli Zaretskii <eliz@gnu.org>
31822 Improve tagging of C bindings in DEFVAR_*
31823 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
31826 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
31828 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
31830 2015-05-12 Glenn Morris <rgm@gnu.org>
31832 * lisp/progmodes/tcl.el (tcl-filter):
31833 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
31835 Add basic VC push support
31836 * lisp/vc/vc.el (vc-push): New autoloaded command.
31837 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
31838 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
31839 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
31840 (vc-bzr-push): New.
31841 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
31842 (vc-git-pull): Reimplement using vc-git--pushpull.
31843 (vc-git-push): New.
31844 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
31845 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
31846 * doc/emacs/maintaining.texi (Pulling / Pushing):
31847 Rename from "VC Pull". Mention pushing.
31848 (VC With A Merging VCS, VC Change Log): Update xrefs.
31849 (Branches): Update menu.
31850 * doc/emacs/emacs.texi: Update menu.
31851 * etc/NEWS: Mention this.
31853 2015-05-12 Nicolas Petton <nicolas@petton.fr>
31855 Improve the seq pcase pattern and the `seq-let' macro
31856 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
31857 object is a sequence, and binds each element of ARGS to the
31858 corresponding element of the sequence.
31860 2015-05-12 Eli Zaretskii <eliz@gnu.org>
31862 Fix tags created from DEFVAR_* declarations in C
31863 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
31864 to make tags extracted from DEFVAR_* declarations more accurate.
31866 Add a test suite for etags
31867 * test/etags/: New test suite, adapted from
31868 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
31869 whose original author is Francesco Potortì <pot@gnu.org>.
31871 Fix tagging of symbols in C enumerations
31872 * lib-src/etags.c (consider_token): Don't tag symbols in
31873 expressions that assign values to enum constants. See
31874 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
31876 (C_entries): Reset fvdef to fvnone after processing a preprocessor
31877 conditional and after a comma outside of parentheses.
31879 2015-05-12 Glenn Morris <rgm@gnu.org>
31881 * lisp/url/url-handlers.el (url-file-name-completion)
31882 (url-file-name-all-completions): Silence compiler.
31884 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
31886 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
31888 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
31890 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
31891 (cl--generic-mandatory-args): Remove.
31892 (cl--generic-split-args): New function.
31893 (cl-generic-define, cl--generic-lambda): Use it.
31894 (cl-generic-define-method): Use it as well, and add support for
31896 (cl--generic-get-dispatcher): Handle &context dispatch.
31897 (cl--generic-cache-miss): `dispatch-arg' can now be a
31898 context expression.
31899 (cl--generic-dispatchers): Pre-fill.
31900 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
31903 2015-05-11 Glenn Morris <rgm@gnu.org>
31905 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
31907 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
31909 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
31910 * lisp/term/rxvt.el: Require term/xterm.
31911 (rxvt-function-map): Use xterm-rxvt-function-map.
31912 (rxvt-standard-colors): Move before first use.
31913 (terminal-init-rxvt): Use xterm--push-map and
31914 xterm-register-default-colors.
31915 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
31916 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
31917 Move shared bindings between rxvt and xterm to it.
31918 (xterm-function-map): Use it. Move the xterm-paste binding to
31919 xterm-rxvt-function-map (bug#20444).
31920 (xterm-standard-colors): Move before first use.
31921 (xterm--push-map): New function.
31922 (xterm-register-default-colors): Take standard colors as argument.
31923 (terminal-init-xterm): Use it. Adjust call to
31924 xterm-register-default-colors.
31926 2015-05-11 Glenn Morris <rgm@gnu.org>
31928 * lisp/term/x-win.el: Quieten --without-x compilation.
31929 (x-own-selection-internal, x-disown-selection-internal)
31930 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
31933 * Makefile.in (emacslog): Remove srcdir.
31934 (ChangeLog): Update for the above.
31936 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
31938 python.el: better limit for looking-back calls
31939 * lisp/progmodes/python.el (python-shell-accept-process-output):
31940 Use last comint prompt start as limit for looking-back.
31942 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
31944 CEDET (srecode-insert-fcn): Fix use of oref on a class
31945 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
31946 on a class. Reported by Pierre Lorenzon.
31947 (srecode-template-inserter-point): Remove declaration.
31949 CEDET (srecode-create-dictionary): Avoid obsolete object name
31950 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
31951 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
31953 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
31955 C-x 8 shorthands for curved quotes, Euro, etc.
31956 Although C-x 8 lets you insert arbitrary Unicode characters,
31957 it's awkward to use this to insert commonly used symbols such as curved
31958 quotes, the Euro symbol, etc. This patch adds simpler sequences for
31959 characters commonly found in English text and in basic math.
31960 For example, assuming the Alt key works on your keyboard and iso-transl
31961 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
31962 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
31964 * doc/emacs/mule.texi (Unibyte Mode):
31965 A few other printing characters now work too.
31966 * etc/NEWS: Document this.
31967 * lisp/international/iso-transl.el (iso-transl-char-map):
31968 Also support the following characters:
31969 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
31971 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
31973 Add xref-find-regexp
31974 * lisp/progmodes/xref.el (xref-find-function): Describe the
31976 (xref-find-regexp): New command, using it.
31977 (xref-collect-references): Rename to xref-collect-matches.
31978 (xref--collect-reference): Rename to xref--collect-match.
31979 (xref-collect-matches, xref--collect-match): Accept new argument,
31980 KIND. Update accordingly.
31981 (xref--regexp-to-extended): New function.
31982 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
31984 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
31985 * lisp/progmodes/etags.el (etags-xref-find):
31986 Support the `matches' action.
31987 (etags--xref-find-matches): New function.
31989 2015-05-10 Glenn Morris <rgm@gnu.org>
31991 * Makefile.in: Fixes for recent change-history changes.
31992 (change-history-nocommit): Update footer regexp.
31993 Ensure output script stays executable.
31995 2015-05-10 Nicolas Petton <nicolas@petton.fr>
31997 New version of `seq-let' based on a pcase pattern
31998 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
31999 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
32001 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
32003 Add basic HTML5 tags and a template
32004 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
32005 (html-tag-alist): Add HTML5 tags.
32006 (html-tag-help): Add new tags descriptions.
32007 (html-navigational-links): Template for nav links.
32008 (html-html5-template): Template for a HTML5 page.
32010 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
32012 semantic/symref/grep: Don't use word boundaries
32013 * lisp/cedet/semantic/symref/grep.el
32014 (semantic-symref-perform-search): Instead of wrapping input in
32015 word boundaries, check that the characters before and after are
32016 not word constituents.
32018 semantic/symref/grep: Support regexp search
32019 * lisp/cedet/semantic/symref.el
32020 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
32021 the search type is regexp.
32022 * lisp/cedet/semantic/symref/grep.el
32023 (semantic-symref-perform-search): Support the regexp search type.
32024 Pass -E to Grep when it's used.
32026 semantic-symref-regexp: Allow to input an arbitrary string
32027 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
32028 Allow to input an arbitrary string interactively.
32030 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
32031 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
32032 Remove tag-symbol-match-p from the default value
32033 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
32035 Declare find-tag obsolete
32036 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
32037 xref-find-definitions.
32039 2015-05-10 Jan D <jan.h.d@swipnet.se>
32041 Draw composite string correctly (Bug#20537)
32042 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
32044 (ns_draw_glyph_string): Call it.
32046 2015-05-09 Eli Zaretskii <eliz@gnu.org>
32048 Avoid infloop in ERC
32049 * lisp/simple.el (line-move-to-column): Ignore field boundaries
32050 while computing line beginning position. (Bug#20498)
32052 2015-05-08 Glenn Morris <rgm@gnu.org>
32054 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
32055 * build-aux/gitlog-to-emacslog: Check called from right directory.
32056 (srcprefix): Remove.
32058 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
32059 * Makefile.in (ChangeLog): No longer pass "distprefix".
32060 * make-dist: Update "make ChangeLog" syntax for the above change.
32062 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
32063 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
32065 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
32067 Add command-line option-parsing to gitlog-to-emacslog
32068 * build-aux/gitlog-to-emacslog: Add command-line options.
32069 By default, refuse to remove an existing output file.
32070 * Makefile.in (CHANGELOG): Update default.
32071 (ChangeLog): Do not test for existing file.
32072 (change-history-nocommit): Ensure temp file does not exist.
32074 Quieten --without-x compilation
32075 * lisp/term/common-win.el: Provide a feature.
32076 * lisp/term/x-win.el (term/common-win): Require it.
32078 * lisp/dired-aux.el (dired-do-print): Require lpr.
32080 Quieten compilation, eg in --without-x builds
32081 * lisp/dired-aux.el (lpr-printer-switch):
32082 * lisp/frame.el (tool-bar-height):
32083 * lisp/linum.el (font-info):
32084 * lisp/window.el (font-info, overflow-newline-into-fringe)
32086 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
32087 * lisp/gnus/gnus-util.el (iswitchb-mode):
32088 * lisp/mail/rmailmm.el (libxml-parse-html-region):
32089 * lisp/net/nsm.el (gnutls-peer-status)
32090 (gnutls-peer-status-warning-describe):
32091 * lisp/net/shr.el (libxml-parse-xml-region):
32092 * lisp/url/url-http.el (gnutls-peer-status): Declare.
32094 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
32096 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
32097 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
32098 `subclass' since they're never called with a class.
32099 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
32100 srecode-dictionary-child-p.
32102 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
32104 * lisp/help.el (help--binding-locus): Document argument POSITION.
32107 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
32110 * doc/misc/texinfo.tex: Get latest version.
32112 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
32114 ffap.el (ffap-read-file-or-url): Fix completing-read call
32115 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
32116 `completing-read' should be a symbol.
32118 2015-05-08 Eli Zaretskii <eliz@gnu.org>
32120 Verify file modifications by other programs
32121 * src/filelock.c (lock_file): Check whether the file was modified
32122 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
32124 Fix keyboard macros that include function keys
32125 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
32126 keys in the macro before returning. (Bug#20454)
32128 2015-05-08 Glenn Morris <rgm@gnu.org>
32130 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
32131 "Copyright-paperwork-exempt". (Bug#20324)
32133 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
32134 (log-edit-rewrite-tiny-change): New variable.
32135 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
32136 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
32137 * etc/NEWS: Mention this.
32139 * lisp/calc/calc.el (math-zerop): Declare.
32141 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
32143 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
32145 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
32146 Support the case when BINDINGS is a single tuple. (Bug#20525)
32148 * etc/NEWS: Fix typo in previous commit
32149 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
32151 2015-05-07 Jan D <jan.h.d@swipnet.se>
32153 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
32154 Output URL to Gtk+ bug (Bug#20452).
32156 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
32158 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
32160 * lisp/emacs-lisp/package.el: New "external" package status.
32161 An external package is any installed package that's not built-in
32162 and not from `package-user-dir', which usually means it's from an
32163 entry in `package-directory-list'. They are treated much like
32164 built-in packages, in that they cannot be through the Package Menu
32165 deleted and are not considered for upgrades.
32166 (package-desc-status): Identify if a package is installed outside
32167 `package-user-dir'.
32168 (package-menu--print-info-simple)
32169 (package-menu--status-predicate): Add support for it.
32170 * etc/NEWS: Document it.
32172 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
32174 * lisp/mail/rmail.el: Use lexical-binding.
32175 (rmail-bury): Remove unused var `buffer-to-bury'.
32176 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
32177 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
32178 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
32179 (rmail-insert-inbox-text): Remove unused var `movemail'.
32180 (rmail-add-mbox-headers): Remove unused var `limit'.
32181 (rmail-undelete-previous-message): Remove unused var `value'.
32182 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
32184 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
32185 (rmail-restore-desktop-buffer): Rename arguments.
32187 2015-05-06 Glenn Morris <rgm@gnu.org>
32189 * Makefile.in (change-history-commit): Add missing piece of previous.
32191 Avoid unnecessary bumping of Makefile.in's timestamp
32192 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
32193 (emacslog): New variable.
32194 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
32195 (unchanged-history-files): Use $emacslog rather than Makefile.in.
32196 (change-history-nocommit): Store hash in $emacslog.
32197 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
32198 * admin/update_autogen (changelog_files): Update for the above.
32200 * Makefile.in: Don't always insist on removing existing "ChangeLog".
32201 (CHANGELOG): New variable.
32202 (no-ChangeLog): Remove.
32203 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
32204 (change-history-nocommit): Use a temp file rather than insisting
32205 on deletion of any existing "ChangeLog".
32207 * build-aux/gitlog-to-emacslog: Allow specification of output.
32209 * admin/update_autogen: Add option to update ChangeLog.
32210 (usage): Mention -H.
32211 (changelog_flag, changelog_n, changelog_files): New variables.
32212 (main): Check for -H, and maybe run change-history-nocommit.
32214 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
32216 * lisp/subr.el (delete-dups): Pre-size the hashtable.
32218 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
32219 cl--arglist-args is defined (bug#20517).
32221 2015-05-06 Glenn Morris <rgm@gnu.org>
32223 * Makefile.in (change-history-nocommit): New.
32225 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
32227 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
32228 timer when it is non-nil
32229 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
32231 2015-05-06 Glenn Morris <rgm@gnu.org>
32233 Quieten CEDET compilation
32234 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
32235 Invert fboundp test to quieten on current Emacs.
32236 * lisp/cedet/ede/config.el (ede-shell-run-something)
32237 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
32238 (semanticdb-refresh-table): Declare.
32239 (ede-preprocessor-map): Require semantic/db.
32241 Quieten cc-mode compilation
32242 * lisp/progmodes/cc-awk.el (c-forward-sws):
32243 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
32246 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
32248 * lisp/subr.el (delete-dups): Avoid nreverse.
32250 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
32252 * lisp/subr.el (delete-dups): Make it destructive again.
32254 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
32256 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
32258 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
32260 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
32261 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
32262 (testcover--read): Rename from testcover-read. Change calling
32263 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
32265 (testcover-start): Use add-function. Move edebug-all-defs binding to
32267 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
32268 (testcover-mark): Remove unused var `item'.
32269 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
32271 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
32273 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
32274 use a hash table. This can result in ~500 times speed-up for typical
32275 collections of size 5000, like that of `load-library'.
32277 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
32279 CEDET: Avoid `oref' on classes in a few more cases
32280 * lisp/cedet/ede/generic.el (ede-find-target):
32281 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
32282 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
32285 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
32286 (grepflags, greppattern): Declare.
32287 (semantic-symref-perform-search): Remove unused var `pat'.
32289 CEDET (srecode-compile-inserter): Avoid `oref' on classes
32290 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
32291 Avoid `oref' on classes (bug#20491).
32292 (srecode-compile-split-code): Remove unused var `key'.
32294 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
32296 Clean up pulse.el a little
32297 * lisp/cedet/pulse.el (pulse): Remove.
32298 (pulse-momentary-timer): Save instead of the stop time.
32299 (pulse-momentary-highlight-overlay):
32300 Call pulse-momentary-unhighlight first thing.
32301 Treat pulse-momentary-overlay as a single value, not a list.
32302 Save the created timer. Only pass the stop time to the timer.
32303 (pulse-tick): Update accordingly.
32304 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
32305 single value. Cancel the timer.
32307 2015-05-06 Tassilo Horn <tsdh@gnu.org>
32309 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
32310 Support the biblatex journaltitle field.
32312 2015-05-05 Glenn Morris <rgm@gnu.org>
32314 Minor declare-function improvement
32315 * lisp/emacs-lisp/bytecomp.el
32316 (byte-compile-macroexpand-declare-function):
32317 Handle declarations after calls. (Bug#20509)
32319 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
32321 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
32323 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
32325 Pulse using a timer
32326 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
32327 (pulse-momentary-highlight-overlay): Set up the timer instead of
32329 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
32330 (pulse-tick): New function.
32331 (pulse-momentary-unhighlight): Cut off the stop time.
32332 (pulse-delay): Update the docstring WRT to not using sit-for.
32334 Add semantic/symref/grep file patterns for ruby-mode
32335 * lisp/cedet/semantic/symref/grep.el
32336 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
32337 Clarify the docstring.
32339 Don't require match
32340 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
32341 match. That doesn't work for every command, and some identifier
32342 completion tables are bound to be imperfect anyway.
32344 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
32346 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
32347 (semantic-grammar--template-expand): New function.
32348 (semantic-grammar-header, semantic-grammar-footer): Use it.
32349 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
32350 (semantic-grammar-file-regexp): Refine regexp.
32351 (semantic-grammar-eldoc-get-macro-docstring):
32352 Use elisp-get-fnsym-args-string when available.
32353 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
32354 instead of the old eldoc-* names.
32355 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
32356 from elisp-mode.el. Tweak calling convention.
32357 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
32358 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
32359 elisp--get-fnsym-args-string.
32360 (elisp--highlight-function-argument): Add `prefix' arg.
32361 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
32362 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
32364 2015-05-05 Glenn Morris <rgm@gnu.org>
32366 * lisp/help-fns.el (describe-function-1):
32367 Handle builtins with advertised calling conventions. (Bug#20479)
32369 2015-05-05 Nicolas Petton <nicolas@petton.fr>
32371 Merge branch 'seq-let'
32373 Update `seq-let' documentation
32374 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
32375 with the support of `&rest'.
32377 Add support for &rest in `seq-let'
32378 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
32379 in the argument list.
32380 * test/automated/seq-tests.el: Add a test for parsing and binding
32381 `&rest' in `seq-let'.
32383 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
32385 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
32386 Add missing increment (Bug#20467).
32387 (eieio-object-value-create): Adjust to new slots representation
32389 (eieio-object-value-create): Fix missed adjustment to new
32390 representation of slots metadata.
32392 2015-05-05 Nicolas Petton <nicolas@petton.fr>
32394 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
32396 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
32398 Work around "Attempt to modify read-only object"
32399 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
32400 elisp--xref-find-definitions, to work around "Attempt to modify
32401 read-only object" error.
32403 Only skip some variables that have function counterparts
32404 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
32405 Only skip minor-mode-named variable if it's defined in a Lisp
32406 file, and it's in minor-mode-list (bug#20506).
32407 * test/automated/elisp-mode-tests.el
32408 (elisp-xref-finds-both-function-and-variable)
32409 (elisp-xref-finds-only-function-for-minor-mode): New tests.
32411 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
32413 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
32415 (xref--insert-xrefs): Buttonize the whole line, including the
32416 number at the beginning.
32418 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
32419 Make sure we're inside the let bindings.
32420 * test/automated/elisp-mode-tests.el
32421 (elisp-completes-functions-after-let-bindings): New test.
32423 2015-05-04 Glenn Morris <rgm@gnu.org>
32425 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
32426 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
32427 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
32428 Remove outdated declarations.
32430 Replace instances of "(eval-when-compile (autoload ...))"
32431 * lisp/gnus/gnus-art.el (nneething-get-file-name):
32432 Declare rather than autoload.
32433 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
32434 Remove pointless autoload.
32435 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
32436 (gnus-topic-create-topic, gnus-topic-enter-dribble):
32437 Declare rather than autoload.
32438 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
32439 (mailcap-extension-to-mime): Autoload at run-time.
32440 * lisp/gnus/mm-util.el (latin-unity-massage-name)
32441 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
32442 (latin-unity-representations-present-region):
32443 Declare rather than autoload.
32444 * lisp/gnus/mml-smime.el (epg-make-context)
32445 (epg-passphrase-callback-function): Autoload at run-time.
32446 (epg-context-set-signers, epg-context-result-for)
32447 (epg-new-signature-digest-algorithm)
32448 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
32449 (epg-sign-string, epg-encrypt-string)
32450 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
32451 (epg-configuration, epg-expand-group, epa-select-keys):
32452 Declare rather than autoload.
32453 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
32454 Autoload at run-time.
32455 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
32456 (gnus-registry-get-id-key, gnus-registry-action):
32457 Declare rather than autoload.
32458 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
32459 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
32460 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
32461 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
32462 (spam-stat-split-fancy): Remove pointless autoloads.
32463 * lisp/net/mairix.el: Load gnus-util when compiling.
32464 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
32465 (message-field-value): Declare rather than autoload.
32466 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
32467 Check gnus-alive-p is fbound.
32468 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
32469 (vm-check-for-killed-summary, vm-error-if-folder-empty)
32470 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
32471 Declare rather than autoload.
32473 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
32475 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
32476 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
32478 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
32480 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
32482 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
32483 * lisp/emacs-lisp/package.el (epg-signature-status):
32486 * lisp/play/gametree.el (gametree-show-children-and-entry)
32487 (gametree-apply-layout, gametree-mouse-show-subtree)
32488 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
32490 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
32491 Handle cl-defgeneric, cl-defmethod.
32493 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
32495 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
32496 Highlight both type and symbol name.
32498 Insert, highlight and align line numbers in xref output
32499 * lisp/progmodes/etags.el (xref-location-line): Specialize for
32500 xref-etags-location.
32501 * lisp/progmodes/xref.el (xref-location-line): New generic method.
32502 (xref-file-location): Add reader for the line slot.
32503 (xref--location-at-point): Skip to the `xref-location' property.
32504 (xref--collect-reference): Drop the line number from description.
32505 (xref--insert-xrefs): Insert, highlight and align line numbers.
32507 2015-05-04 Daniel Colascione <dancol@dancol.org>
32509 * lisp/simple.el (save-mark-and-excursion--save)
32510 (save-mark-and-excursion--restore): Fix previous commit
32511 (255a011f0ecf004b31c59945b10154b10fac3af1).
32513 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
32515 Don't pulse the indentation, or the newline
32516 * lisp/cedet/pulse.el (pulse-lighten-highlight)
32517 (pulse-reset-face): Fall back to the inherited background
32519 (pulse-momentary-highlight-region): Add autoload cookie.
32520 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
32521 indentation, or the newline, if the line's non-empty
32522 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
32524 2015-05-04 Daniel Colascione <dancol@dancol.org>
32526 Add `save-mark-and-excursion', which has the old
32527 `save-excursion' behavior
32528 * doc/lispref/positions.texi (Excursions):
32529 Document `save-mark-and-excursion'.
32530 * lisp/font-lock.el (font-lock-fontify-block):
32531 Use `save-mark-and-excursion' instead of `save-excursion',
32532 restoring Emacs 24 behavior.
32533 * lisp/simple.el (save-mark-and-excursion--save)
32534 (save-mark-and-excursion--restore): New functions.
32535 (save-mark-and-excursion): New user macro.
32536 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
32537 in `save-excursion' documentation.
32539 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
32541 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
32542 Classify lone symbol inside let varlist as variable.
32543 * test/automated/elisp-mode-tests.el
32544 (completest-variables-in-let-bindings): New test.
32546 Add xref-pulse-on-jump
32547 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
32548 Add autoload cookie.
32549 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
32550 (xref--maybe-pulse): New function.
32551 (xref-pop-marker-stack, xref--pop-to-location)
32552 (xref--display-position): Use it.
32553 (xref--location-at-point): Use back-to-indentation.
32555 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
32557 lisp/org/org-{macs,list}.el: Fix lexical warnings
32558 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
32559 (org-list-get-next-item, org-list-get-prev-item)
32560 (org-list-get-children): Mark unused arg `struct'.
32561 (org-list-use-alpha-bul-p): Remove unused var `bul'.
32562 (org-toggle-checkbox): Mark unused var.
32563 (org-update-checkbox-count): Remove unused var `box-num'.
32564 (org-adapt-indentation): Declare.
32565 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
32566 (org-list-send-list): Remove unused var `txt'.
32567 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
32568 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
32569 * lisp/org/org-macs.el: Use `declare'.
32570 (org-with-limited-levels): Declare dyn-bound vars.
32572 2015-05-04 Eli Zaretskii <eliz@gnu.org>
32574 Fix minor issues with CEDET on MS-Windows
32575 * lisp/cedet/semantic/symref/idutils.el
32576 (semantic-symref-parse-tool-output-one-line): Fix the search
32577 regexp to match MS-Windows file names with drive letters.
32579 * lisp/cedet/semantic/symref/grep.el
32580 (semantic-symref-grep-use-template): Remove "--color=always" from
32581 Grep switches on MS-Windows.
32582 (semantic-symref-grep-shell): Use shell-file-name as the default
32583 value, so this works not only on Posix platforms.
32584 (semantic-symref-perform-search): Use shell-quote-argument instead
32585 of literal '..' for portable quoting of Grep command-line
32586 argument. Use shell-command-switch instead of a literal "-c".
32587 * lisp/cedet/semantic/bovine/gcc.el
32588 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
32589 for an absolute file name in a portable way.
32591 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
32593 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
32594 (package-import-keyring, package-refresh-contents)
32595 (package-compute-transaction, package--save-selected-packages)
32596 (package-install-from-archive, package-delete)
32597 (package-menu--perform-transaction): Use `inhibit-message' instead.
32598 (package--compile): Set `warning-minimum-level' to :error.
32600 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
32602 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
32603 (terminal-init-screen): Use it (bug#20356).
32604 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
32605 (xterm--extra-capabilities-type): New const.
32606 (xterm-extra-capabilities): Use it.
32607 (xterm--version-handler): Lower the pseudo-version for `screen'.
32609 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
32611 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
32612 Always insert a newline at the end (to avoid mouse-face background
32613 tail at the last line).
32615 elisp-completion-at-point: Prioritize being quoted over funpos
32616 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
32617 Only consider function position when not inside quoted form
32619 * test/automated/elisp-mode-tests.el: New file.
32621 Stop vc-print-log from jumping to the top
32622 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
32623 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
32625 (vc-incoming-outgoing-internal): Always pass nil.
32626 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
32627 call it, and don't set vc-sentinel-movepoint (bug#15322).
32628 (vc-print-root-log): Don't fetch the root working revision, nor
32629 pass it to vc-print-log-internal.
32631 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
32633 Fix display of keyboard layouts for right-to-left scripts
32634 * lisp/international/quail.el (quail-insert-kbd-layout):
32635 Force left-to-right paragraph direction.
32637 2015-05-02 K. Handa <handa@gnu.org>
32639 * src/cmds.c (internal_self_insert): When we insert spaces for
32640 padding, set point before the padding spaces, not after them.
32642 2015-05-02 Nicolas Petton <nicolas@petton.fr>
32644 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
32646 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
32648 Fix etags-xref-find for references
32649 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
32651 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
32652 directory if no tags tables are loaded (bug#19468).
32654 2015-05-02 Philipp Stephani <phst@google.com>
32656 Update the options in whitespace-style defcustom
32657 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
32658 `repeat' because the option is really set-like. Add missing
32659 options. Reorder options to match the order in the
32660 documentation. (Bug#20346)
32662 2015-05-02 Eli Zaretskii <eliz@gnu.org>
32664 Fix error diagnostics of c-macro-expand
32665 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
32666 too early if no start-marker string was found -- that generally
32667 means cpp exited abnormally, and we still want to show its error
32668 messages to the user.
32670 Don't require Texinfo 5.0 for Emacs documentation
32671 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
32672 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
32673 "@codequoteundirected on", respectively, to avoid requiring
32674 Texinfo 5.x for Emacs documentation.
32676 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
32678 * lisp/files.el (pwd):
32679 When called with a prefix argument, insert the current default
32680 directory at point.
32682 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
32684 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
32685 * lisp/isearch.el (isearch-mode-map): Don't inhibit
32686 function-key-map remapping for backspace (bug#20466).
32688 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
32690 Implement xref-find-references in etags and elisp-mode
32691 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
32692 (elisp-xref-find): Use it.
32693 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
32694 * lisp/progmodes/xref.el (xref-collect-references):
32695 (xref--collect-reference): New functions.
32697 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
32699 Prefer plain characters to Texinfo circumlocutions
32700 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
32701 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
32703 Fix single-quoting style in PDF manuals
32704 The PDF versions of the GNU manuals used curved single quotes to
32705 represent grave accent and apostrophe, which made it a pain to cut
32706 and paste code examples from them. Fix the PDF versions to use
32707 grave accent and apostrophe for Lisp source code, keystrokes, etc.
32708 This change does not affect the info files, nor does it affect
32709 ordinary uses of curved single quotes in PDF.
32710 * doc/emacs/docstyle.texi: New file, which specifies treatment for
32711 grave accent and apostrophe, as well as the document encoding.
32712 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
32713 * doc/lispintro/emacs-lisp-intro.texi:
32714 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
32715 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
32716 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
32717 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
32718 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
32719 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
32720 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
32721 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
32722 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
32723 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
32724 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
32725 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
32726 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
32727 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
32728 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
32729 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
32730 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
32731 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
32732 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
32733 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
32734 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
32735 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
32736 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
32737 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
32738 * doc/misc/woman.texi:
32739 Use it instead of '@documentencoding UTF-8', to lessen the need for
32740 global changes like this in the future.
32741 * doc/emacs/Makefile.in (EMACS_XTRA):
32742 * doc/lispintro/Makefile.in (srcs):
32743 * doc/lispref/Makefile.in (srcs):
32744 Add dependency on docstyle.texi.
32745 * doc/misc/Makefile.in (style): New macro.
32746 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
32747 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
32750 2015-05-01 Glenn Morris <rgm@gnu.org>
32752 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
32754 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
32755 (help-fns--signature): Declare.
32757 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
32759 2015-05-01 Nicolas Petton <nicolas@petton.fr>
32761 New macro seq-let, providing destructuring support to seq.el
32762 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
32763 to `cl-destructuring-bind' but works on all sequence types supported
32764 by `seq.el'. Bump version number to 1.6.
32765 * test/automated/seq-tests.el: Add tests for seq-let.
32766 * doc/lispref/sequences.texi: Add documentation for seq-let.
32768 2015-05-01 Pontus Michael <m.pontus@gmail.com>
32770 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
32772 2015-05-01 Glenn Morris <rgm@gnu.org>
32774 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
32776 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
32778 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
32779 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
32780 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
32781 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
32784 2015-05-01 K. Handa <handa@gnu.org>
32786 * lisp/international/mule-cmds.el (input-method-use-echo-area):
32787 Change :type to 'boolean.
32789 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
32791 Start using proportional fonts in eww by default
32792 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
32793 it seems to work well.
32795 Fix links in tables in shr
32796 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
32797 makes (some) links in tables not work.
32799 2015-05-01 Jan D <jan.h.d@swipnet.se>
32801 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
32803 2015-04-30 Glenn Morris <rgm@gnu.org>
32805 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
32806 Update for 2015-02-08 change to indirect-function.
32808 * lisp/term/ns-win.el (ns-get-selection-internal):
32809 Remove declaration for function deleted 2014-10-21.
32811 * lisp/dom.el: Load subr-x when compiling, for when-let.
32813 Silence some compilation warnings
32814 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
32815 * lisp/emulation/cua-base.el (delete-active-region):
32816 * lisp/net/net-utils.el (w32-get-console-output-codepage):
32817 * lisp/term/ns-win.el (ns-own-selection-internal)
32818 (ns-disown-selection-internal, ns-selection-owner-p)
32819 (ns-selection-exists-p, ns-get-selection):
32820 Declare for compiler.
32822 Function declaration updates prompted by 'make check-declare'
32823 * lisp/emacs-lisp/package.el (lm-homepage):
32824 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
32825 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
32826 * lisp/gnus/mml.el (libxml-parse-html-region):
32827 * lisp/gnus/nnrss.el (libxml-parse-html-region):
32828 * lisp/net/eww.el (libxml-parse-html-region):
32829 * lisp/net/shr.el (libxml-parse-html-region):
32830 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
32831 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
32832 * lisp/vc/vc-git.el (vc-annotate-convert-time):
32833 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
32834 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
32835 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
32836 Update declaration.
32838 Remove compatibility code for 20-year old function renaming
32839 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
32840 Make it an obsolete alias.
32841 (idlwave-shell-filter): Change all uses to comint-output-filter.
32843 2015-04-30 Tassilo Horn <tsdh@gnu.org>
32845 Add ace-window face config
32846 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
32849 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
32851 Unclutter 'make doc' output a bit
32852 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
32853 Use make subst rather than sh IFS to split target string apart.
32854 This makes 'make' output easier to follow.
32857 * doc/misc/texinfo.tex: Update from gnulib.
32859 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
32861 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
32862 (package-menu--print-info): Obsolete.
32863 (package-menu--print-info-simple): New function.
32864 (package-menu--refresh): Use it, simplify code, and improve
32866 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
32867 Tiny performance improvement.
32869 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
32871 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
32873 Omit -Wstrict-overflow workaround in GCC 5
32874 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
32875 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
32879 2015-04-29 extern-inline: no need for workaround in GCC 5.1
32880 2015-04-26 file-has-acl: port to CentOS 6
32881 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
32883 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
32885 Set next-error-* in xref--xref-buffer-mode
32886 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
32887 Set `next-error-function' and `next-error-last-buffer'.
32888 (xref--next-error-function): New function.
32889 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
32891 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
32893 python.el: Fix warnings on looking-back calls missing LIMIT
32894 * lisp/progmodes/python.el (python-shell-accept-process-output):
32895 Pass LIMIT arg to looking-back.
32897 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
32899 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
32900 (package--download-and-read-archives): Use pushnew instead of
32901 append. If something terrible happened during a previous
32902 download, simply refreshing should now make things work again.
32904 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
32906 Introduce etags-xref-find-definitions-tag-order
32907 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
32909 (etags--xref-find-definitions): Use it (bug#19468).
32911 2015-04-29 Eli Zaretskii <eliz@gnu.org>
32913 PATH- and completion-related fixes in Eshell on MS-Windows
32914 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
32915 MS-Windows, prepend "." to list of directories produced from PATH,
32916 as Windows always implicitly searches the current directory first.
32917 (eshell-force-execution): Make it have a non-nil default value on
32918 MS-Windows and MS-DOS.
32919 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
32920 eshell-force-execution is non-nil, complete on readable files and
32921 directories, not only executables. When running on MS-Windows,
32922 prepend "." to list of directories produced from PATH, as Windows
32923 always implicitly searches the current directory first.
32925 2015-04-29 Sam Steingold <sds@gnu.org>
32927 Bury RCIRC buffers when there is no activity
32928 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
32929 (rcirc-bury-buffers): New function.
32930 (rcirc-next-active-buffer): When there is no new activity, use
32931 `rcirc-bury-buffers' to hide all RCIRC buffers.
32933 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
32935 Fix DBUS query result parsing for secrets-search-items
32936 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
32937 parsing. The function assumed that return value of the
32938 SearchItems method called on a collection is a list of two lists,
32939 however this is true only when no collection is specified. GNOME
32940 had used to incorrectly return a list of two lists in both cases,
32941 but this was already fixed:
32942 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
32943 incorrect information in the secrets-search-items’ docstring.
32946 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
32948 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
32949 Use `inhibit-message' instead of hiding the previous message
32950 with (message nil).
32952 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
32954 Remove the deprecated INTERNAL_FIELD macro by expanding it
32955 * src/lisp.h (INTERNAL_FIELD): Remove.
32956 (DEFVAR_KBOARD): Modify accordingly.
32957 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
32958 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
32959 * src/buffer.c (compact_buffer): Use BVAR.
32961 2015-04-29 Glenn Morris <rgm@gnu.org>
32963 Replace an obsolete function alias
32964 * lisp/isearch.el (isearch-yank-x-selection):
32965 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
32966 (mouse-drag-secondary-moving):
32967 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
32968 Replace obsolete alias x-get-selection with gui-get-selection.
32970 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
32972 * lisp/mail/rmailsum.el: Use lexical-binding.
32974 2015-04-29 Glenn Morris <rgm@gnu.org>
32976 * test/automated/package-test.el (package-test-update-archives-async):
32977 Skip test on hydra.nixos.org.
32979 2015-04-28 Glenn Morris <rgm@gnu.org>
32981 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
32982 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
32983 (foldout-mouse-hide-or-exit): Use new names for outline functions.
32985 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
32986 Update for 2014-06-26 hideif.el change.
32988 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
32989 (rmail--decode-and-apply): New function.
32990 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
32992 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
32994 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
32996 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
32997 (package-menu--refresh): Delegate obsolete-hiding to
32998 `package--remove-hidden'.
32999 (package--remove-hidden): Disregard high-priority package if it is
33000 older than the installed one.
33002 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
33004 Update source file encoding list
33005 Update admin/notes/unicode, along with coding system cookies in
33006 other files, so that the two match each other better.
33007 * admin/notes/unicode: lisp/language/ethio-util.el and
33008 lisp/language/ethiopic.el also use utf-8-emacs.
33009 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
33010 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
33011 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
33012 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
33013 * etc/refcards/sk-survival.tex:
33014 Add "coding: utf-8" so that this file is not mishandled in a
33015 Latin-1 or Big-5 locale.
33016 * lisp/international/robin.el, lisp/org/ox-ascii.el:
33017 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
33018 * lisp/language/ethio-util.el: Fix trailer.
33020 2015-04-28 Eli Zaretskii <eliz@gnu.org>
33022 Fix synchronous invocation of Ispell
33023 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
33024 value to ispell-process-directory before calling ispell-init-process.
33025 Don't call set-process-coding-system if ispell-async-processp is nil.
33028 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
33030 * lisp/emacs-lisp/package.el: Skip space and comments in init file
33031 (package--ensure-init-file): Insert snippet at first
33032 non-whitespace non-comments line. Respects local-vars at the top
33035 2015-04-28 Glenn Morris <rgm@gnu.org>
33037 * lisp/mail/rmail.el (rmail-copy-headers):
33038 Handle rmail-nonignored-headers being nil. (Bug#18878)
33040 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
33042 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
33043 Don't get confused by a bzrlib version mismatch warning.
33045 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
33047 Change default location of EUDC options file
33048 * etc/NEWS: Document change to EUDC options file's default location.
33049 * lisp/net/eudc-vars.el (eudc-options-file): Use
33050 `locate-user-emacs-file' to change default options file location.
33052 2015-04-27 Glenn Morris <rgm@gnu.org>
33054 * test/automated/package-test.el (package-test-update-archives-async):
33055 Try to handle the test server script dying.
33057 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
33059 * lisp/saveplace.el (save-place-mode): New minor mode.
33060 (save-place): Redefine as an obsolete alias.
33062 * lisp/midnight.el: Make it a minor mode. Allow predicates.
33063 * lisp/midnight.el: Use lexical-binding.
33064 (midnight-mode): Make it a proper minor mode.
33065 (midnight-buffer-display-time): Make arg non-optional.
33066 (midnight-find): Remove.
33067 (clean-buffer-list-kill-never-regexps)
33068 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
33069 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
33071 (clean-buffer-list): Use cl-find.
33072 Allow clean-buffer-list-kill-never-regexps to contain functions.
33074 2015-04-27 Nicolas Petton <nicolas@petton.fr>
33076 Bump version of seq.el to 1.5
33077 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
33078 from seq-doseq. Bump version number of seq.el.
33080 2015-04-27 Glenn Morris <rgm@gnu.org>
33082 * lisp/mail/rmail.el (rmail-reply):
33083 Decode subject before matching "Re:" prefix. (Bug#20396)
33085 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
33087 * lisp/emacs-lisp/package.el: Small improvements
33088 (package--with-work-buffer-async): More informative error.
33089 (package-install-user-selected-packages): Rename to
33090 `package-install-selected-packages'.
33092 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
33094 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
33095 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
33096 (eieio--class-make): Remove leftover `tag'.
33098 2015-04-27 Glenn Morris <rgm@gnu.org>
33100 * lisp/gnus/message.el (gnus-extract-address-components):
33101 Remove bogus declaration that was masking previous problem.
33103 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
33105 * lisp/gnus/message.el (message-insert-formatted-citation-line):
33106 Fix typo. (Bug#20318)
33108 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
33110 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
33112 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
33113 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
33114 the buffer in yet another frame.
33115 (reftex-toc-visit-location): Make sure toc-window has focus at the end
33116 when `final' is nil.
33117 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
33118 silence warnings. Use `--' to clarify that it's internal.
33119 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
33120 (reftex-toc-promote): Clarify unused argument.
33121 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
33122 Add `reftex--' prefix. Fix all users.
33123 (reftex-toc-promote-prepare): Use _ for dummy variable.
33124 (reftex-toc-restore-region): Rename `m.
33126 2015-04-27 Eli Zaretskii <eliz@gnu.org>
33128 Fix a typo in bibtex.el
33129 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
33130 last change. (Bug#20429)
33132 Fix redisplay of frame after loading new fonts
33133 * src/xdisp.c (redisplay_internal): When retrying redisplay of
33134 a frame because new fonts were loaded, disable all redisplay
33135 optimizations on that frame by calling SET_FRAME_GARBAGED.
33138 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
33140 * lisp/info.el (Info-menu): Properly provide the `default'
33143 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
33144 Catch errors from documentation (bug#20418).
33145 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
33147 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
33149 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
33150 Remove redundant ":group 'package".
33152 2015-04-26 Eli Zaretskii <eliz@gnu.org>
33154 Fix a typo in rmail.el
33155 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
33156 last commit. (Bug#20429)
33158 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
33160 Introduce xref-prompt-for-identifier
33161 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
33162 (xref--read-identifier): Use it
33163 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
33165 2015-04-26 João Távora <joaotavora@gmail.com>
33167 `tex-insert-quote' after single `'' opens quotes instead of closing
33168 Without this, it's very hard to precede double quotes with the
33169 apostrophe character, i.e. insert the sequence '``
33170 (quote-backquote-backquote), commonly useful in portuguese, for
33172 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
33173 preceding chars making `tex-insert-quote' be in the "opening" context.
33175 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
33177 Pass `id' to `completing-read' as def instead of initial input
33178 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
33179 `completing-read' as the default value instead of initial input
33180 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
33182 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
33184 Don't freeze with unreadable processes
33185 Don't freeze if an exiting process can't be read from. (Bug#19860).
33186 This fixes a bug I introduced in
33187 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
33188 "* process.c: Add sanity checks for file descriptors."
33189 Dmitry Gutov did most of the legwork in finding the problem.
33190 * src/process.c (wait_reading_process_output):
33191 Treat non-running processes that can't be read from
33192 the same as other non-running processes.
33194 2015-04-25 Alan Mackenzie <acm@muc.de>
33196 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
33197 * lisp/subr.el (remove-yank-excluded-properties): Put
33198 `with-silent-modifications' around only the last three lines of code.
33200 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
33202 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
33203 (package--all-keywords): Deleted variable.
33205 * etc/NEWS: Document package-hiding functionality.
33207 2015-04-25 Eli Zaretskii <eliz@gnu.org>
33209 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
33211 Clarify the doc string of 'replace-regexp-in-string'
33212 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
33214 Improve doc string of 'insert-buffer-substring'
33215 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
33217 MS-Windows followup for the recent gnulib update
33218 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
33221 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
33227 2015-04-24 file-has-acl: new module, split from acl
33228 2015-04-24 manywarnings: add GCC 5.1 warnings
33229 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
33230 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
33231 2015-04-15 acl: On Linux, check for acls without libacl
33232 2015-04-14 tempname: avoid unused parameter warnings (trivial)
33233 * lib/acl-internal.c: New file, from gnulib.
33234 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
33235 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
33236 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
33237 Update from gnulib.
33239 Port --enable-gcc-warnings to GCC 5.1 x86-64
33240 * lib-src/ebrowse.c (dump_sym):
33241 * lib-src/hexl.c (main):
33242 * src/ccl.c (ccl_driver):
33243 * src/character.c (string_escape_byte8):
33244 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
33245 * src/gnutls.c (Fgnutls_boot):
33246 * src/gtkutil.c (xg_check_special_colors):
33247 * src/image.c (x_build_heuristic_mask):
33248 * src/print.c (safe_debug_print, print_object):
33249 * src/term.c (produce_glyphless_glyph):
33250 * src/xdisp.c (get_next_display_element)
33251 (produce_glyphless_glyph):
33252 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
33253 Don't use a signed format to print an unsigned integer, or vice
33254 versa. GCC 5.1's new -Wformat-signedness option warns about this.
33255 * src/image.c (png_load_body, jpeg_load_body):
33256 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
33258 2015-04-24 Tassilo Horn <tsdh@gnu.org>
33260 Add new faces to tsdh-light-theme
33261 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
33262 definitions for Info-quoted, ace-jump-face-foreground,
33263 hl-paren-face, show-paren-match, and show-paren-mismatch.
33265 2015-04-24 Nicolas Petton <nicolas@petton.fr>
33267 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
33269 2015-04-24 Glenn Morris <rgm@gnu.org>
33271 * build-aux/gitlog-to-emacslog:
33272 Use raw log format rather than wrapped one.
33274 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
33276 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
33277 (seq-doseq): Fix out-of-scope binding.
33278 Don't call `seq-length at every iteration.
33279 Reduce `if's from 3 to 2 per iteration.
33280 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
33282 2015-04-24 Glenn Morris <rgm@gnu.org>
33284 * lisp/textmodes/text-mode.el (text-mode-hook):
33285 Move text-mode-hook-identify to default.
33287 * lisp/mouse.el (minor-mode-menu-from-indicator):
33288 Handle non-function members of minor-mode-map-alist. (Bug#20201)
33290 * lisp/help-fns.el (describe-function): More type checking.
33291 (describe-function-1): Handle changed symbol-function. (Bug#20201)
33293 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
33296 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
33298 shr: strip leading whitespace when expanding URLs
33299 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
33301 2015-04-24 Eli Zaretskii <eliz@gnu.org>
33303 Clarify "co-authored" some more
33305 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
33307 Clarify doc strings of functions that search for properties
33308 * src/textprop.c (Fnext_char_property_change)
33309 (Fprevious_char_property_change)
33310 (Fnext_single_char_property_change)
33311 (Fprevious_single_char_property_change, Fnext_property_change)
33312 (Fnext_single_property_change, Fprevious_property_change)
33313 (Fprevious_single_property_change): Clarify doc strings wrt return
33314 value and the optional LIMIT argument. (Bug#20411)
33316 2015-04-24 Glenn Morris <rgm@gnu.org>
33318 * test/automated/message-mode-tests.el (message-mode-propertize):
33319 Handle non-writable HOME; eg on hydra.nixos.org.
33321 2015-04-23 Eli Zaretskii <eliz@gnu.org>
33323 Avoid starting threads by w32-shell-execute
33324 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
33325 local file names, before invoking ShellExecute. (Bug#20220)
33327 2015-04-23 Martin Rudalics <rudalics@gmx.at>
33329 Fix following doc-links in `widget-documentation-link-action'
33330 * lisp/wid-edit.el (widget-documentation-link-action): Make
33331 following doc-links less simplistic (Bug#20398).
33333 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
33335 Improve EUDC manual
33336 * doc/misc/eudc.texi (Troubleshooting):
33337 New LDAP troubleshooting subsection.
33339 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
33341 Omit needless "\ " after multibyte then newline
33342 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
33343 (print_object): When print-escape-multibyte is non-nil and a
33344 multibyte character is followed by a newline or formfeed, followed
33345 by a hex digit, don't output a needless "\ " before the hex digit.
33346 * test/automated/print-tests.el (print-hex-backslash): New test.
33348 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
33350 Add a new `inhibit-message' variable
33351 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
33352 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
33353 `inhibit_message' is non-zero.
33354 * etc/NEWS: Add an entry.
33355 * doc/lispref/display.texi: Add an entry for `inhibit-message',
33356 mention it in `message'.
33358 2015-04-22 Martin Rudalics <rudalics@gmx.at>
33360 Fix last fix in `display-buffer-record-window'.
33361 * lisp/window.el (display-buffer-record-window): Fix last fix.
33363 2015-04-22 Eli Zaretskii <eliz@gnu.org>
33365 Minor edits in CONTRIBUTE
33366 * CONTRIBUTE: Rearrange instructions about log messages.
33367 Use "Git" capitalized all over.
33368 Use 2 spaces between sentences.
33370 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
33372 * lisp/files.el (basic-save-buffer): Fix argument.
33374 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
33375 In case `(and (null custom-file) init-file-had-error)' do the same
33376 thing we'd do if `(null user-init-file)', which is to either error out
33377 or return nil. This is in line with `custom-save-all' which would
33378 throw an error in that situation. (Bug#20355)
33380 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
33381 (package-menu-hide-low-priority): New variable, see its doc.
33382 (package-archive-priorities): Update doc.
33383 (package-desc-priority): New function.
33384 (package-desc-priority-version): Use it.
33385 (package--remove-hidden): New function.
33386 (package-menu--refresh): Use it.
33388 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
33389 (package-menu--hide-obsolete): New variable.
33390 (package--remove-hidden): Use it.
33391 (package-menu-hide-obsolete): New interactive function to toggle
33393 (package--quick-help-keys): Document it.
33394 (package-menu-async): Add :version tag.
33395 (package-menu-mode-map): Bind package-menu-hide-obsolete.
33396 (package-desc-status): Indicate non-installed obsolete packages as
33398 (package-menu-mark-install): Allow installation of avail-obso.
33399 (package-menu--status-predicate): Sort avail-obso with available.
33401 2015-04-22 Alan Mackenzie <acm@muc.de>
33403 On C-y, stop some text property entries being written into buffer-undo-list
33404 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
33405 `with-silent-modifications'.
33407 2015-04-22 Martin Rudalics <rudalics@gmx.at>
33409 In display-buffer-record-window record selected window if necessary
33410 * lisp/window.el (display-buffer-record-window): Store selected window
33411 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
33413 2015-04-22 Tassilo Horn <tsdh@gnu.org>
33415 Fix reftex-citation bug
33416 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
33417 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
33418 integration is enabled and there are no citations in the document
33421 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
33423 Add or reset based on the presence of MERGE_HEAD
33424 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
33425 `vc-git-resolve-when-done' to `after-save-hook' in either case.
33426 (vc-git-conflicted-files): Add a TODO.
33427 (vc-git-resolve-when-done): Depending on the presence of
33428 MERGE_HEAD, either update the resolved file in the index, or
33429 remove it from there. (Bug#20292)
33431 2015-04-21 Glenn Morris <rgm@gnu.org>
33433 * lisp/custom.el (custom-declare-group): No need to purecopy
33434 custom-current-group-alist members following recent change to set
33435 it to nil before dumping.
33437 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
33440 2015-04-21 Daniel Colascione <dancol@dancol.org>
33442 Unbreak no-op buffer save message
33443 * lisp/files.el (basic-save-buffer): Accept called-interactively as
33444 an argument instead of directly invoking called-interactively-p,
33445 which will always yield nil in that context.
33447 2015-04-21 Alan Mackenzie <acm@muc.de>
33449 CC Mode: Do nothing in before/after-change-functions for text
33452 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
33453 yank-handled-properties buffer local, and remove 'category from it.
33454 (c-called-from-text-property-change-p): New function.
33455 (c-before-change): Don't do anything if a call of the new function
33457 (c-after-change): Don't do much if a call of the new function returns
33459 (c-extend-after-change-region): Put changes to text property 'fontified
33460 inside c-save-buffer-state.
33462 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
33464 Fix byte-compiler warnings about looking-back
33465 * lisp/vc/log-view.el (log-view-end-of-defun-1):
33466 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
33467 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
33468 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
33469 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
33470 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
33471 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
33472 * lisp/org/org.el (org-insert-heading, org-sort-entries):
33473 * lisp/org/org-mouse.el (org-mouse-end-headline)
33474 (org-mouse-context-menu):
33475 * lisp/org/org-clock.el (org-clock-cancel):
33476 * lisp/man.el (Man-default-man-entry):
33477 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
33478 (rmail-ensure-blank-line):
33479 * lisp/mail/footnote.el (Footnote-delete-footnote):
33480 * lisp/mail/emacsbug.el (report-emacs-bug):
33481 * lisp/info.el (Info-follow-reference, Info-fontify-node):
33482 * lisp/info-look.el (info-lookup-guess-custom-symbol):
33483 * lisp/help-fns.el (help-fns--key-bindings):
33484 * lisp/files.el (hack-local-variables):
33485 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
33486 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
33487 (viper-complete-filename-or-exit):
33488 * lisp/emulation/viper-cmd.el (viper-backward-indent):
33489 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
33490 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
33491 * lisp/cus-edit.el (custom-face-edit-value-create):
33492 * lisp/calendar/todo-mode.el (todo-set-item-priority)
33493 (todo-filter-items-1, todo-convert-legacy-files)
33494 (todo-prefix-overlays): Add explicit second arg to looking-back.
33496 2015-04-20 Glenn Morris <rgm@gnu.org>
33498 Avoid non-nil current-load-list at startup
33499 * src/process.c (init_process_emacs): Move Fprovide statement...
33500 (syms_of_process): ... to here.
33502 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
33504 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
33507 2015-04-20 Ludovic Courtès <ludo@gnu.org>
33509 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
33512 2015-04-20 Glenn Morris <rgm@gnu.org>
33514 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
33516 Tweak exec-path in uninstalled case
33517 * src/callproc.c (init_callproc): If running uninstalled, do not
33518 include eventual installation libexec directory in exec-path.
33520 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
33522 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
33524 (package-menu-filter): Accept a list of keywords.
33525 (package--all-keywords): New variable to cache known keywords.
33526 (package-all-keywords): Populate it if necessary.
33527 (package-refresh-contents): Reset it.
33529 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
33530 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
33531 as special keywords which match agains package archive and status
33533 * etc/NEWS: Document it.
33535 2015-04-20 Eli Zaretskii <eliz@gnu.org>
33537 Describe and index "empty overlays".
33538 * doc/lispref/display.texi (Overlays): Improve indexing.
33539 (Managing Overlays): Describe "empty" overlays.
33540 (Overlay Properties, Finding Overlays): Add cross-reference to
33541 where empty overlays are described.
33543 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
33547 Quote 'like this' in top-level files
33548 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
33549 Prefer to single-quote 'like this' (instead of the older style
33551 * configure.ac: Fix some space-before-tab problems that 'git commit'
33554 Use bool for boolean in textprop.c, undo.c
33555 * src/textprop.c (soft, hard): Now constants instead of macros.
33556 (validate_plist): Rewrite to avoid need for boolean local.
33557 (interval_has_all_properties, interval_has_some_properties)
33558 (interval_has_some_properties_list, add_properties)
33559 (remove_properties, get_char_property_and_overlay)
33560 (Fnext_single_char_property_change)
33561 (Fprevious_single_char_property_change, add_text_properties_1)
33562 (Fremove_text_properties, Fremove_list_of_text_properties)
33563 (copy_text_properties):
33564 * src/tparam.c (tparam1):
33565 * src/undo.c (record_change, record_property_change)
33567 Use 'true' and 'false' for booleans.
33569 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
33571 * lisp/vc/vc-git.el (vc-git-find-file-hook):
33572 Call `smerge-start-session' even when dealing with a stash
33573 conflict (bug#20292).
33575 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
33577 Add option to eshell/clear to clear scrollback.
33578 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
33579 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
33580 scrollback contents are cleared.
33581 * etc/NEWS: Describe change.
33582 * doc/misc/eshell.texi: Add entry for `clear'.
33584 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
33586 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
33587 where either will do.
33589 2015-04-19 Steve Purcell <steve@sanityinc.com>
33591 Assume package archive-contents are UTF8-encoded
33592 * lisp/emacs-lisp/package.el (package--read-archive-file):
33593 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
33594 downloaded and cached archive-contents files, so that non-ASCII
33595 characters in package descriptions are displayed correctly in the
33596 `list-packages' menu. (Bug#20231)
33598 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
33600 Abort when looking at stashed changes
33601 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
33602 stashed changes (bug#20292).
33604 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
33606 Refactor low-level printing for simplicity
33607 * src/print.c (PRINTDECLARE): Remove. Move its contents into
33608 PRINTPREPARE; doable now that we assume C99. All callers changed.
33609 (PRINTCHAR): Remove, as it adds more mystery than clarity.
33610 All callers changed.
33611 (strout): Assume that caller computes length. All callers changed.
33612 (print_c_string): New function.
33613 (write_string, write_string_1): Compute length instead of asking
33614 the caller to compute it. All callers changed.
33615 (write_string): Simplify by using write_string_1.
33616 (write_string_1): Simplify by using print_c_string.
33617 (Fterpri): Compute default val more clearly.
33618 (Fprin1_to_string, print_object):
33619 Assume C99 to avoid unnecessary nesting.
33620 (print_object): Prefer print_c_string to multiple printchar, or
33621 to calling strout with -1 length. Coalesce into sprintf when
33624 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
33626 Prefer "Bug#1234" in commit messages (Bug#20325)
33627 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
33628 as this isn't useful for Git.
33629 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
33631 2015-04-18 Glenn Morris <rgm@gnu.org>
33633 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
33636 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
33638 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
33639 Do not use `chomp' as a function. (Bug#19505)
33641 2015-04-18 Glenn Morris <rgm@gnu.org>
33643 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
33645 * doc/emacs/misc.texi (Sorting): Small edit.
33648 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
33650 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
33652 css-mode.el: Support multi-line comment filling
33654 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
33656 (css-adaptive-fill): New function.
33657 (css-mode): Set `adaptive-fill-function'.
33658 (scss-mode): Set `comment-continue'.
33660 2015-04-18 Nicolas Petton <nicolas@petton.fr>
33662 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
33663 Better error messages.
33665 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
33667 Minor improvements in Bulgarian input methods
33668 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
33669 Replace U+042C with U+045D, as the former character is not used in
33670 the modern Bulgarian language.
33673 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
33675 Improve EUDC manual
33676 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
33677 authentication schemes. Add index items. Shorten example server
33680 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
33682 Don't show both feature and function with the same name
33683 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
33684 Don't show both feature and function with the same name.
33686 (elisp--xref-identifier-location): Skip variable, if it's also
33688 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
33689 Avoid returning both the variable and the function for the same
33692 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
33694 Fix fontification of keywords clobbered by the prompt
33695 * lisp/comint.el (comint-output-filter): Remove the uses of
33696 with-silent-modifications I introduced as part of the last change.
33697 This fixes, e.g., erratically missing highlighting when running
33698 ./configure --help; ./configure in a shell-mode buffer with
33699 compilation-shell-minor-mode turned on.
33701 2015-04-17 Glenn Morris <rgm@gnu.org>
33703 * admin/authors.el (authors-valid-file-names)
33704 (authors-renamed-files-alist): Additions.
33706 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
33708 * lisp/indent.el (indent-region): Don't deactivate the mark.
33711 2015-04-17 Sam Steingold <sds@gnu.org>
33713 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
33715 2015-04-16 Leo Liu <sdl.web@gmail.com>
33717 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
33719 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
33721 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
33722 Don't use `pcomplete' any more.
33724 2015-04-16 Glenn Morris <rgm@gnu.org>
33726 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
33728 2015-04-16 Eli Zaretskii <eliz@gnu.org>
33730 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
33731 * configure.ac (LIBJPEG): Leave it empty for MinGW.
33733 2015-04-16 Glenn Morris <rgm@gnu.org>
33735 * lisp/replace.el (query-replace-from-to-separator):
33736 Delay initialization to avoid rogue setting after startup.
33738 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
33740 Pre-4.6 GCC succeeds with unknown option
33741 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
33744 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
33746 '[:graph:]' now excludes whitespace, not just ' '
33747 * doc/lispref/searching.texi (Char Classes):
33748 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
33749 sans whitespace (not sans space).
33750 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
33752 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
33754 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
33756 * lisp/subr.el (substitute-key-definition-key, special-form-p)
33757 (macrop): Drop deprecated second arg to indirect-function.
33758 (looking-back): Make the second arg non-optional.
33760 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
33761 command is actually sent to the shell.
33763 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
33765 Port jpeg configuration to Solaris 10 with Sun C
33766 * configure.ac: Check for jpeglib 6b by trying to link it, instead
33767 of relying on cpp magic that has problems in practice. Check for
33768 both jpeglib.h and jerror.h features. Remove special case for
33769 mingw32, which should no longer be needed (and if it were needed,
33770 should now be addressable by hotwiring emacs_cv_jpeglib).
33773 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
33775 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
33776 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
33777 Move to elisp-mode.el.
33778 (lisp-mode-variables): (Re)move elisp-specific settings.
33779 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
33780 from lisp-mode-variables.
33781 (elisp--font-lock-flush-elisp-buffers): New function, moved from
33784 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
33785 Avoid pathological slowdown at top-level in large file.
33787 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
33789 Standardize names of ChangeLog history files
33790 Suggested by Glenn Morris in:
33791 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
33792 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
33793 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
33794 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
33795 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
33796 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
33797 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
33800 Split top-level entries into pre- and post-April 7
33801 This more clearly distingiushes pre-April-7 ChangeLog entries (which
33802 are for top-level files only) from post-April-7 entries (which are
33803 about files at all levels. Problem reported by Glenn Morris in:
33804 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
33805 * ChangeLog.1: Move post-April-7 entries from here ...
33806 * ChangeLog.2: ... to this new file.
33807 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
33809 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
33811 Fix recent cus-start changes that added customize-rogues
33812 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
33814 * lisp/loadup.el ("cus-start"): Move to the end to reduce
33817 2015-04-15 Nicolas Petton <nicolas@petton.fr>
33819 Define cl-concatenate as an alias to seq-concatenate
33820 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
33821 code by making cl-concatenate an alias to seq-concatenate.
33823 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
33825 * src/lread.c (intern_1): Make sure we'd find the symbol we add
33827 * src/xfaces.c (resolve_face_name): Don't use `intern' with
33830 2015-04-15 Glenn Morris <rgm@gnu.org>
33832 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
33834 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
33836 Clean up gnus-uu saving code slightly
33837 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
33838 save-restriction/widen calls make more sense.
33840 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
33842 Make [:graph:] act like [:print:] sans space
33843 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
33844 [:graph:] so that it matches everything that [:print:] does,
33846 * doc/lispref/searching.texi (Char Classes):
33848 * lisp/emacs-lisp/rx.el (rx):
33849 Document [:graph:] to be [:print:] sans ' '.
33850 * src/character.c, src/character.h (graphicp): New function.
33851 * src/regex.c (ISGRAPH) [emacs]: Use it.
33852 (BIT_GRAPH): New macro.
33853 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
33854 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
33855 Return BIT_GRAPH for RECC_GRAPH.
33856 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
33857 and ISPRINT if BIT_PRINT.
33859 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
33861 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
33862 Don't use call-next-method in a cl-defmethod.
33864 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
33865 (eieio--class-p): Remove, provided by cl-defstruct.
33867 2015-04-14 Nicolas Petton <nicolas@petton.fr>
33869 Add seq-intersection and seq-difference to the seq library
33870 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
33872 * test/automated/seq-tests.el: Add tests for seq-intersection and
33874 * doc/lispref/sequences.texi: Add documentation for seq-intersection
33875 and seq-difference.
33877 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
33879 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
33880 to avoid leaking internals.
33882 2015-04-14 Sam Steingold <sds@gnu.org>
33884 package--ensure-init-file: widen requires save-restriction
33886 2015-04-14 Eli Zaretskii <eliz@gnu.org>
33888 Improve the commit-msg Git hook for unibyte environments
33889 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
33890 in unibyte environments. (Suggested by Paul Eggert
33891 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
33892 [:print:], based on UTF-8 sequences of the unprintable characters.
33894 Describe problems with cursor caused by Windows Magnifier
33895 * etc/PROBLEMS: Describe the problem with cursor shape on
33896 MS-Windows due to Windows Magnifier.
33899 Make [:print:] support non-ASCII characters correctly
33900 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
33901 (BIT_PRINT): New bit mask.
33902 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
33903 * src/character.c (printablep): New function.
33904 * src/character.h (printablep): Add prototype.
33905 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
33906 of 'print', 'alnum', and 'alphabetic'.
33907 * doc/lispref/searching.texi (Char Classes): Document the new
33908 behavior of [:print:].
33909 * etc/NEWS: Mention the new behavior of [:print:].
33911 Assign correct general-category and names to surrogates
33912 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
33913 surrogates. This avoids assigning them the default
33914 general-category of 'Cn', i.e. unassigned codepoints.
33915 (unidata-get-name): Give surrogates synthetic names.
33917 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
33919 Assume C89 offsetof in xterm.c, xlwmenu.c
33920 * lwlib/xlwmenu.c (offset):
33921 * src/xterm.c (cvt_string_to_pixel_args):
33922 Use offsetof, not XtOffset.
33924 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
33926 Assume C89 offsetof in widget.c
33927 * src/widget.c (XtOffset): Remove; no longer needed.
33928 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
33930 Fix think-o in previous patch
33931 * src/window.c (count_windows, get_leaf_windows):
33932 Don't optimize count_windows incorrectly.
33934 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
33936 Avoid some int overflows in window.c
33937 * src/print.c (print_object):
33938 * src/window.c (sequence_number):
33939 * src/window.h (struct window.sequence_number):
33940 Don't assume window sequence number fits in int.
33941 * src/window.c (window_select_count):
33942 * src/window.h (struct window.use_time, window_select_count):
33943 Don't assume window use time fits in int.
33944 * src/window.c (Fsplit_window_internal):
33945 Don't assume user-supplied integer, or sum, fits in int.
33946 (Fset_window_configuration, count_windows, get_leaf_windows)
33947 (save_window_save, Fcurrent_window_configuration):
33948 Use ptrdiff_t for object counts.
33949 (Fset_window_configuration): Omit unused local 'n'.
33950 (count_windows): Simplify by writing in terms of get_leaf_windows.
33951 (get_leaf_windows): Don't store through FLAT if it's null.
33952 (extract_dimension): New static function.
33953 (set_window_margins, set_window_fringes, set_window_scroll_bars):
33954 Use it to avoid undefined behavior when converting user-supplied
33957 2015-04-13 Glenn Morris <rgm@gnu.org>
33959 Minor doc copyedits
33960 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
33961 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
33963 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
33965 [Gnus] Catch the invalid-operation that idna.el will issue
33966 * lisp/gnus/gnus-art.el (gnus-use-idna):
33967 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
33968 * lisp/gnus/message.el (message-use-idna):
33969 Catch the invalid-operation that idna.el will issue.
33971 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
33973 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
33975 2015-04-13 Sam Steingold <sds@gnu.org>
33977 package--ensure-init-file: widen before looking for
33978 "(package-initialize)"
33980 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
33982 Change diff-switches default to `-u' (Bug#20290)
33983 * doc/emacs/files.texi (Comparing Files): Document the new default
33984 value of `diff-switches'.
33985 * doc/emacs/trouble.texi (Sending Patches): Document the preference
33986 for unified diff format. Escape the plus in the suggested `-F' regexp
33988 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
33990 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
33992 (gnus-group--setup-tool-bar-update): Fix last change
33993 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
33994 cursor-sensor-functions should be a list of functions.
33996 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
33998 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
33999 Use gmm-called-interactively-p.
34001 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
34003 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
34005 * lisp/cus-start.el (read-buffer-function): Don't advertise
34006 iswitchb-read-buffer any more.
34007 (iswitchb): Don't tweak this obsolete group any more.
34009 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
34011 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
34013 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
34014 Adding a string after a constructor's argument list will use
34015 that string as the constructor function docstring. If this string
34016 is absent but the struct itself was given a docstring, use that as
34017 the constructor's docstring.
34020 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
34022 Deprecate `intangible' and `point-entered' properties
34023 * lisp/emacs-lisp/cursor-sensor.el: New file.
34024 * lisp/simple.el (pre-redisplay-functions): New hook.
34025 (redisplay--pre-redisplay-functions): New function.
34026 (pre-redisplay-function): Use it.
34027 (minibuffer-avoid-prompt): Mark obsolete.
34028 (redisplay--update-region-highlight): Adapt it to work as a function on
34029 pre-redisplay-functions.
34030 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
34031 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
34032 than point-entered to make the prompt intangible.
34033 * lisp/forms.el: Move `provide' calls to the end.
34034 (forms-mode): Don't use `run-hooks' on a local var.
34035 (forms--make-format, forms--make-format-elt-using-text-properties):
34036 Use cursor-intangible rather than `intangible'.
34037 (forms-mode): Enable cursor-intangible-mode.
34038 * lisp/isearch.el (isearch-mode): Use defvar-local.
34039 (cursor-sensor-inhibit): Declare.
34040 (isearch-mode): Set cursor-sensor-inhibit.
34041 (isearch-done): Set it back.
34042 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
34043 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
34045 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
34046 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
34048 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
34049 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
34050 inhibit-point-motion-hooks any more.
34051 (ses--cell-at-pos, ses--curcell): New functions, extracted from
34053 (ses-set-curcell): Use them.
34054 (ses-print-cell, ses-setup): Use cursor-intangible instead of
34055 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
34056 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
34057 Use ses--cell-at-pos.
34058 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
34059 extracted from ses-command-hook. Make them work with multiple windows
34060 displaying the same buffer.
34061 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
34062 Enable cursor-intangible-mode.
34063 (ses-command-hook): Remove cell highlight and mode-line update code.
34064 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
34065 Update for new name of text-property holding the cell name.
34066 (ses-rename-cell): Don't mess with mode-line-process.
34067 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
34068 cursor-sensor-functions property instead of point-entered.
34069 (erc-insert-timestamp-right, erc-format-timestamp):
34070 Use cursor-intangible rather than `intangible'.
34071 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
34072 remove-from-invisibility-spec. Enable cursor-intangible-mode and
34073 cursor-sensor-mode if needed.
34074 (erc-echo-timestamp): Adapt to calling convention of
34075 cursor-sensor-functions.
34076 (erc-insert-timestamp-right): Remove unused vars `current-window' and
34078 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
34079 (gnus-update-group-mark-positions): Remove unused `topic' var.
34080 (gnus-group-insert-group-line): Remove unused var `header'.
34081 (gnus-group--setup-tool-bar-update): New function.
34082 (gnus-group-insert-group-line): Use it.
34083 (gnus-group-update-eval-form): Declare local
34084 dynamically-bound variables.
34085 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
34086 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
34087 (gnus-group-prepare-topics, gnus-topic-update-topic)
34088 (gnus-topic-change-level, gnus-topic-catchup-articles)
34089 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
34090 Use inhibit-read-only.
34091 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
34092 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
34093 * lisp/textmodes/reftex-index.el (reftex-display-index):
34094 Use cursor-intangible-mode if available.
34095 (reftex-index-post-command-hook): Check cursor-intangible.
34096 * lisp/textmodes/reftex-toc.el (reftex-toc):
34097 Use cursor-intangible-mode if available.
34098 (reftex-toc-recenter, reftex-toc-post-command-hook):
34099 Check cursor-intangible.
34100 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
34101 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
34102 (sgml-tags-invisible): Use with-silent-modifications and
34103 inhibit-read-only. Enable cursor-sensor-mode.
34104 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
34105 calling convention of cursor-sensor-functions.
34106 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
34107 (table-point-entered-cell-hook, table-point-left-cell-hook):
34109 (table-cell-entered-state): Remove var.
34110 (table--put-cell-point-entered/left-property)
34111 (table--remove-cell-properties):
34112 Use cursor-sensor-functions rather than point-entered/left.
34113 (table--point-entered/left-cell-function): Merge
34114 table--point-entered-cell-function and table--point-left-cell-function
34115 and adjust to calling convention of cursor-sensor-functions.
34117 Update ldef-boots.el
34119 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
34121 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
34123 Collapse successive char deletions in the undo log
34124 * src/cmds.c (remove_excessive_undo_boundaries): New function,
34125 extracted from Fself_insert_command.
34126 (Fdelete_char, Fself_insert_command): Use it.
34127 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
34128 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
34130 xterm and OSC 52: Add NEWS entry, and tweak the code
34131 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
34133 (terminal-init-xterm-activate-set-selection): Set a terminal property.
34134 (xterm--set-selection): Use it instead of checking the value of
34135 `terminal-initted'. Don't use string-bytes.
34137 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
34139 xterm.el: Implement OSC-52 functionality for setting the X selection
34140 * lisp/term/xterm.el (xterm-max-cut-length): New var.
34141 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
34143 (terminal-init-xterm, xterm--version-handler): Use them.
34145 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
34147 Remove left over code from when we used an obsolete/loaddefs.el file
34148 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
34149 when we used an obsolete/loaddefs.el file.
34151 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
34152 (semanticdb-without-unloaded-file-searches): Use declare.
34153 (semantic-fw-add-edebug-spec): Remove.
34155 * lisp/completion.el (completion-lisp-mode-hook):
34156 Use completion-separator-chars rather than local key binding.
34158 * src/*.c: Set deactivate_mark buffer-locally
34160 * src/insdel.c (prepare_to_modify_buffer_1):
34161 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
34164 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
34166 python.el: Keep symmetry on sexp navigation with parens
34168 * lisp/progmodes/python.el
34169 (python-nav--forward-sexp): Add argument skip-parens-p.
34170 (python-nav-forward-sexp, python-nav-backward-sexp)
34171 (python-nav-forward-sexp-safe)
34172 (python-nav-backward-sexp-safe): Use it.
34173 * test/automated/python-tests.el
34174 (python-nav-forward-sexp-1): Fix test.
34176 2015-04-12 João Távora <joaotavora@gmail.com>
34178 Don't use `setq-local' in Gnus code
34179 This might break upstream builds with older Emacsen
34180 * lisp/gnus/message.el (message-mode): Use `set' and
34181 `make-local-variable' instead of `setq-local'.
34183 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
34185 Update Makefile.in's .PHONY dependencies
34186 * Makefile.in (change-history-commit, master-branch-is-current)
34187 (no-ChangeLog): Now phony.
34189 Remove configure's --with-mmdf option
34190 * configure.ac (MAIL_USE_MMDF): Remove.
34191 * etc/NEWS: Document this.
34192 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
34195 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
34196 That way, 'make install' won't think it's a man page.
34197 Reported by Ashish SHUKLA in:
34198 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
34200 Improve 'make change-history' prereq tests
34201 * Makefile.in (gen_origin): Fix to match what's in the master branch.
34202 (no-ChangeLog, master-branch-is-current): New rules.
34203 (change-history): Depend on them, to avoid similar future problems.
34204 Escape the local-variables string to pacify Emacs when editing
34207 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
34209 * test/automated/package-test.el (with-package-test):
34210 Kill Packages buffer.
34212 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
34213 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
34214 "Upgrade" last, and use capitalized instead of all-caps.
34216 * lisp/emacs-lisp/package.el: Completely silence async operations.
34217 (package--make-autoloads-and-stuff): Silence autoloads.
34218 (package--save-selected-packages): New function, silences
34219 `customize-save-variable'.
34220 (package--user-selected-p, package-install-from-buffer)
34221 (package-delete, package-install): Use it.
34222 (package-install-from-archive)
34223 (package-menu--perform-transaction): Silence.
34224 (package-menu-execute): Feedback when operation starts.
34226 Use delay-mode-hooks when visiting the init-file
34227 * lisp/emacs-lisp/package.el (package--ensure-init-file):
34229 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
34231 * lisp/files.el: Only message when saving if save-silently is nil.
34232 (save-silently): New variable.
34233 (files--message): New function.
34234 (find-file-noselect, save-buffer, basic-save-buffer)
34235 (basic-save-buffer-2, save-some-buffers, not-modified)
34236 (append-to-file): Use them.
34238 2015-04-12 Johan Bockgård <bojohan@gnu.org>
34240 Support debug declarations in pcase macros
34241 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
34242 (pcase-UPAT): Use it. Remove "`".
34243 (pcase--edebug-match-macro): New function.
34244 (pcase-defmacro): Support debug declarations.
34245 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
34246 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
34247 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
34248 Add debug declaration.
34250 pcase.el: Edebug support for `app' and vector patterns
34251 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
34252 (pcase-UPAT): Use it. Support `app' patterns.
34253 (pcase-QPAT): Support vector patterns.
34255 edebug.el: Disambiguate vector specifications
34256 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
34257 `(vector ...)' as a vector specification, not as a sublist.
34259 (gnus-summary-refer-thread): Don't clobber unread articles
34260 This fixes a bug where `A T' causes "random" articles to become marked
34262 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
34263 gnus-newsgroup-unreads remains sorted.
34265 mouse-sel.el: Fix mouse-sel-get-selection-function
34266 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
34267 Use gui--last-selected-text-primary instead of no longer existing
34268 gui-last-selected-text.
34270 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
34272 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
34274 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
34276 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
34278 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
34281 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
34282 (byte-compile--interactive): New var.
34283 (byte-compile--message): New function.
34284 (byte-compile-log-1, byte-force-recompile)
34285 (byte-recompile-directory, byte-recompile-file)
34286 (byte-compile-file, compile-defun)
34287 (byte-compile-file-form-defmumble, byte-compile)
34288 (byte-compile-file-form-defalias, display-call-tree): Use it.
34290 * lisp/files.el: Don't message when nothing happened.
34291 (save-some-buffers, basic-save-buffer): Before messaging to say
34292 "nothing was saved" check if (called-interactively-p 'any).
34294 2015-04-12 João Távora <joaotavora@gmail.com>
34296 Summary: Improve sexp-based movement in message-mode
34297 Works by giving citations and smileys a different syntax. This helps
34298 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
34299 sexp-based movement.
34300 * lisp/gnus/message.el (message--syntax-propertize): New function.
34301 (message-mode): Set syntax-related vars.
34302 (message-smileys): New variable.
34303 * test/automated/message-mode-tests.el: New file
34305 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
34307 Use bool for boolean in window.c
34308 * src/window.c: Omit unnecessary static function decls.
34309 (adjust_window_count, select_window, Fselect_window)
34310 (window_body_width, Fwindow_body_height, Fwindow_body_width)
34311 (set_window_hscroll, check_window_containing, Fwindow_at)
34312 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
34313 (unshow_buffer, replace_window, recombine_windows)
34314 (add_window_to_list, candidate_window_p, next_window)
34315 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
34316 (Fget_buffer_window, Fdelete_other_windows_internal)
34317 (replace_buffer_in_windows_safely, set_window_buffer)
34318 (Fset_window_buffer, Fforce_window_update)
34319 (temp_output_buffer_show, make_parent_window)
34320 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
34321 (resize_frame_windows, Fsplit_window_internal)
34322 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
34323 (Fresize_mini_window_internal, mark_window_cursors_off)
34324 (window_scroll, window_scroll_pixel_based)
34325 (window_scroll_line_based, scroll_command, Fscroll_other_window)
34326 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
34327 (Fmove_to_window_line, Fset_window_configuration)
34328 (delete_all_child_windows, apply_window_adjustment)
34329 (set_window_fringes, set_window_scroll_bars)
34330 (Fset_window_vscroll, foreach_window, foreach_window_1)
34331 (compare_window_configurations, Fcompare_window_configurations):
34332 Prefer 'bool', 'true', and 'false' for booleans.
34333 * src/window.h (WINDOW_MODE_LINE_LINES)
34334 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
34336 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
34338 Speed up byte-compilation and autoload generation by avoiding mode-hooks
34339 This prevents emacs-lisp-mode-hook from being run everytime an
34340 autoload file is generated, which can account for a fraction of
34341 package installation time depending on the hooks the user has
34343 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
34344 * lisp/emacs-lisp/autoload.el (autoload-find-file)
34345 (autoload-find-generated-file): Use delay-mode-hooks.
34347 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
34348 (package-menu-refresh): Respect async and do new package checking.
34349 (list-packages): Use `package-menu-refresh' instead of repeating code.
34351 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
34352 (package--quick-help-keys): New variable.
34353 (package--prettify-quick-help-key): New function.
34354 (package-menu-quick-help): Use it.
34356 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
34357 (package--build-compatibility-table): Require finder.
34359 * test/automated/package-test.el: Fix new test.
34361 * lisp/emacs-lisp/package.el: Silence async operations.
34362 (package--silence): New variable.
34363 (package--message): New function.
34364 (package-import-keyring, package-refresh-contents)
34365 (package-compute-transaction, package-install, package-delete)
34366 (package-menu--perform-transaction, package-menu-execute): Use it.
34368 * test/automated/package-test.el: Test async functionality.
34369 (package-test-update-archives-async): New test.
34371 2015-04-11 Daiki Ueno <ueno@gnu.org>
34373 Utilize `make-process' in epg.el
34374 * lisp/epg.el (epg-error-output): Abolish.
34375 (epg-context): New slot `error-buffer'.
34376 (epg--start): Use `make-process' and `make-pipe-process'.
34377 (epg--process-filter): Remove code separating stderr from stdout.
34378 (epg-wait-for-completion): Simplify `error-output' handling.
34379 (epg-reset): Dispose error buffer.
34381 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
34383 * .gitignore: Ignore doc temps and outputs.
34385 Port commit-msg to MSYS Bash+Gawk
34386 See Eli Zaretskii in:
34387 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
34388 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
34389 (cent_sign, print_at_sign, at_sign): Revert previous change.
34390 (print_at_sign): Prepend "BEGIN".
34391 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
34393 Port commit-msg to broken MS-Windows shell
34394 * build-aux/git-hooks/commit-msg (cent_sign):
34395 Just use UTF-8 here rather than ASCII + printf, as the latter fails
34396 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
34397 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
34399 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
34401 Support GnuTLS v3.4 and later on MS-Windows
34402 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
34403 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
34404 GnuTLS DLL to load according to value of libgnutls-version.
34407 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
34409 Minor quoting etc. fixes to misc manuals
34410 Fix some minor quoting and spacing issues. Distinguish more
34411 clearly among grave accent and apostrophe (which are ASCII) and
34412 single quote (which is not). Prefer the standard terms
34413 "apostrophe" and "grave accent" to alternative names that can be
34414 confusing. Use apostrophes to single-quote ASCII text.
34415 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
34416 rather than approximating it in ASCII with grave accent.
34418 2015-04-11 Daiki Ueno <ueno@gnu.org>
34420 Respect more keyword args in `make-process'
34421 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
34422 keywords as documented.
34424 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
34426 Extract ChangeLog entries when committing a directory
34427 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
34428 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
34429 Add a FIXME comment.
34430 (log-edit-changelog-entries): Extract from
34431 `log-edit-changelog-entries', handle FILE being a directory
34432 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
34434 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
34436 Fix problems found by --enable-gcc-warnings
34437 * src/process.c (create_process, Fmake_pipe_process)
34438 (Fmake_network_process): Omit unused locals.
34440 Fix commit-msg to handle scissors lines
34441 * build-aux/git-hooks/commit-msg:
34442 Ignore every line after a scissors line, such as a line generated
34443 by 'git commit -v'. Problem reported by Johan Bockgård in:
34444 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
34446 port commit-msg to Gawk 3.0.4 (1999)
34447 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
34448 (print_at_sign, at_sign): New vars. Use them to avoid problems
34449 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
34450 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
34452 Have commit-msg report commit failure
34453 * build-aux/git-hooks/commit-msg: If the commit is aborted,
34454 say so. Simplify by doing this at the end. Problem reported
34455 by Eli Zaretskii in:
34456 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
34458 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
34460 Clean up LDAP Configuration section of EUDC manual
34461 * doc/misc/eudc.texi: Combine indices.
34462 (LDAP Configuration): Use command markup. Add index entries.
34463 Change formatting. Wrap long lines. Add noindent markup.
34465 2015-04-10 Daiki Ueno <ueno@gnu.org>
34467 Add facility to collect stderr of async subprocess
34468 * src/w32.h (register_aux_fd): New function declaration.
34469 * src/w32.c (register_aux_fd): New function.
34470 * src/process.h (struct Lisp_Process): New member stderrproc.
34471 * src/process.c (PIPECONN_P): New macro.
34472 (PIPECONN1_P): New macro.
34473 (Fdelete_process, Fprocess_status, Fset_process_buffer)
34474 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
34475 (Fcontinue_process): Handle pipe process specially.
34476 (create_process): Respect p->stderrproc.
34477 (Fmake_pipe_process): New function.
34478 (Fmake_process): Add new keyword argument :stderr.
34479 (wait_reading_process_output): Specially handle a pipe process when
34481 (syms_of_process): Register Qpipe and Smake_pipe_process.
34482 * doc/lispref/processes.texi (Asynchronous Processes): Document
34483 `make-pipe-process' and `:stderr' keyword of `make-process'.
34484 * lisp/subr.el (start-process): Suggest to use `make-process' handle
34485 standard error separately.
34486 * test/automated/process-tests.el (process-test-stderr-buffer)
34487 (process-test-stderr-filter): New tests.
34488 * etc/NEWS: Mention new process type `pipe' and its usage with the
34489 `:stderr' keyword of `make-process'.
34491 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
34493 Minor quoting etc. fixes to lispref manual
34494 * doc/lispref/tips.texi (Documentation Tips):
34495 Distinguish more clearly among grave accent, apostrophe,
34497 * doc/lispref/README, doc/lispref/buffers.texi:
34498 * doc/lispref/commands.texi, doc/lispref/control.texi:
34499 * doc/lispref/customize.texi, doc/lispref/display.texi:
34500 * doc/lispref/elisp.texi, doc/lispref/files.texi:
34501 * doc/lispref/frames.texi, doc/lispref/hash.texi:
34502 * doc/lispref/help.texi, doc/lispref/internals.texi:
34503 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
34504 * doc/lispref/markers.texi, doc/lispref/modes.texi:
34505 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
34506 * doc/lispref/os.texi, doc/lispref/positions.texi:
34507 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
34508 * doc/lispref/text.texi, doc/lispref/tips.texi:
34509 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
34510 Use American-style double quoting in ordinary text,
34511 and quote 'like this' when single-quoting in ASCII text.
34512 Also, fix some minor spacing issues.
34514 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
34516 Handle symlinked test directory in tramp-tests.el
34517 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
34518 (tramp--test-check-files): Use `file-truename' for directories.
34520 2015-04-10 Eli Zaretskii <eliz@gnu.org>
34522 Fix 'recenter' when visual-line-mode is turned on
34523 * src/window.c (Frecenter): Use the same code for GUI and TTY
34524 frames alike; use vmotion only for "initial" frames. This is
34525 because vmotion doesn't support visual-line-mode. Rewrite the
34526 'iarg >= 0' case to use move_it_* functions instead of using
34527 vmotion, for the same reason. Fix the clipping of the argument
34528 value to support scroll-margin in all cases and avoid unwarranted
34529 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
34530 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
34533 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
34535 * lisp/abbrev.el (define-abbrev-table): Refine last change.
34537 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
34538 use of c[ad]+r", so as to keep the "cl-" prefix on all
34539 cl-lib definitions.
34541 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
34542 Use inhibit-point-motion-hooks.
34544 * lisp/cedet/semantic: Remove some dead code.
34545 * lisp/cedet/semantic/util-modes.el
34546 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
34548 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
34549 not supported any more.
34550 (semantic-safe): Use `declare'.
34551 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
34552 (semantic-tag-intangible-p): Remove unused functions.
34553 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
34554 Remove unused function.
34556 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
34557 (gnus-article-hide-text, gnus-article-unhide-text)
34558 (gnus-article-unhide-text-type): Remove special handling of
34559 `intangible' since that property is not used any more.
34560 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
34562 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
34564 Use the VC root in `log-edit-listfun'
34565 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
34566 `log-edit-listfun'.
34568 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
34570 Fix description of Unix time, mention new function.
34571 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
34573 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
34574 (Basic Operations on Units): Mention `calc-convert-exact-units'.
34576 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
34578 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
34580 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
34582 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
34583 Don't add newline after the last entry.
34585 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
34587 css-mode.el: Add "not" pseudo-class
34589 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
34590 list of CSS pseudo-classes.
34592 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
34594 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
34596 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
34598 Stop messing with the EMACS env var
34599 * doc/emacs/misc.texi (Interactive Shell): Remove description of
34602 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
34604 Adapt 'make change-history' to coding cookie
34605 * Makefile.in (change-history): Adjust to change of format of
34606 ChangeLog file, which now has a coding cookie before an indented
34609 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
34611 Adapt 'make change-history' to coding cookie
34612 * Makefile.in (change-history): Adjust to change of format of
34613 ChangeLog file, which now has a coding cookie before an indented
34616 gitlog-to-changelog coding cookie and mv -i
34617 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
34618 for copyright notice prototype, so that we get a proper "coding:"
34619 cookie. Use 'mv -i' to avoid unconditionally overwriting an
34620 existing ChangeLog. Problems reported by Eli Zaretskii in:
34621 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
34624 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
34625 2015-04-09 gitlog-to-changelog: port to MS-Windows
34627 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
34629 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
34632 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
34634 Stop messing with the EMACS env var
34636 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
34637 * lisp/comint.el (comint-exec-1):
34638 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
34639 * lisp/progmodes/compile.el (compilation-start): Same and bring
34640 INSIDE_EMACS's format in line with other users.
34642 css-mode.el (css-smie-rules): Fix indentation after complex selectors
34644 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
34645 inner structure of selectors.
34647 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
34649 python.el: Indent docstring lines to base-indent
34651 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
34653 * lisp/progmodes/python.el
34654 (python-indent-context): Add :inside-docstring context.
34655 (python-indent--calculate-indentation): Handle :inside-docstring.
34656 (python-indent-region): Re-indent docstrings.
34657 * test/automated/python-tests.el (python-indent-region-5)
34658 (python-indent-inside-string-2): Fix tests.
34660 python.el: Increase native completion robustness
34662 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
34663 this and providing useful ideas.
34664 * lisp/progmodes/python.el
34665 (python-shell-completion-native-output-timeout): Increase value.
34666 (python-shell-completion-native-try-output-timeout): New var.
34667 (python-shell-completion-native-try): Use it.
34668 (python-shell-completion-native-setup): New readline setup avoids
34669 polluting current context, ensures output when no-completions are
34670 available and includes output end marker.
34671 (python-shell-completion-native-get-completions): Trigger with one
34672 tab only. Call accept-process-output until output end is found or
34673 python-shell-completion-native-output-timeout is exceeded.
34675 2015-04-08 Samer Masterson <samer@samertm.com>
34677 * lisp/eshell: Make backslash a no-op in front of normal chars
34679 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
34680 (eshell-parse-backslash): Return escaped character after backslash
34681 if it is special. Otherwise, if the backslash is not in a quoted
34682 string, ignore the backslash and return the character after; if
34683 the backslash is in a quoted string, return the backslash and the
34685 * test/automated/eshell.el (eshell-test/escape-nonspecial)
34686 (eshell-test/escape-nonspecial-unicode)
34687 (eshell-test/escape-nonspecial-quoted)
34688 (eshell-test/escape-special-quoted): Add tests for new
34689 `eshell-parse-backslash' behavior.
34691 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
34693 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
34694 after the file name.
34697 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
34699 Minor quoting etc. fixes to Emacs manual
34700 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
34701 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
34702 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
34703 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
34704 * doc/emacs/indent.texi, doc/emacs/macos.texi:
34705 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
34706 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
34707 * doc/emacs/search.texi, doc/emacs/trouble.texi:
34708 * doc/emacs/vc1-xtra.texi:
34709 Use American-style double quoting in ordinary text,
34710 and quote 'like this' when single-quoting in ASCII text.
34711 Also, fix some minor spacing issues.
34713 Minor quoting etc. fixes to elisp intro
34714 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
34715 American-style double quoting in ordinary text. In ASCII text,
34716 consistently quote 'like this' instead of `like this', unless
34717 Emacs requires the latter.
34719 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
34721 * CONTRIBUTE: Mention log-edit-insert-changelog.
34723 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
34725 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
34727 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
34729 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
34731 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
34732 Fix inheritance of initargs. (Bug#20270)
34734 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
34736 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
34737 while dowloading information.
34739 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
34740 (package--ensure-init-file): Check file contents before visiting.
34741 (package-initialize): Call it.
34742 (package-install-from-buffer, package-install): Don't call it.
34744 2015-04-08 Eli Zaretskii <eliz@gnu.org>
34746 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
34749 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
34751 * lisp/net/tramp-cache.el (tramp-flush-file-property):
34752 Fix nasty scoping bug.
34754 2015-04-08 Tassilo Horn <tsdh@gnu.org>
34756 Add notice to visual commands section
34757 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
34758 such as git call less with its -F option which omits pagination if
34759 the contents is less than one page long. This interferes with
34760 eshell's visual (sub-)commands.
34762 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
34764 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
34765 environment variable expansion in file names. (Bug#19839)
34767 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
34769 Prefer double-quote to accent-grave in man pages
34771 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
34774 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
34776 2015-04-07 Ivan Shmakov <ivan@siamics.net>
34778 Update etc/PROBLEMS.
34779 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
34780 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
34781 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
34782 respectively); other minor updates and tweaks. (Bug#20011)
34784 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
34786 Add doc strings for some Isearch state vars
34787 * lisp/misearch.el (multi-isearch-buffer-list)
34788 (multi-isearch-file-list): Add doc strings.
34791 2015-04-07 Alan Mackenzie <acm@muc.de>
34793 Always mark "<" and ">" in #include directives with text properties.
34794 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
34795 "anchored matcher" with an invocation of
34796 c-make-font-lock-search-function to allow fontification when there's
34797 no trailing space on an "#include <..>" line.
34799 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
34801 Generate a ChangeLog file from commit logs
34802 * .gitignore: Add 'ChangeLog'.
34803 * build-aux/gitlog-to-changelog: New file, from Gnulib.
34804 * build-aux/gitlog-to-emacslog: New file.
34805 * CONTRIBUTE: Document the revised workflow.
34806 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
34807 instead of just special cases.
34808 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
34809 (ChangeLog, unchanged-history-files, change-history)
34810 (change-history-commit): New rules.
34811 * admin/admin.el (make-manuals-dist--1):
34812 Don't worry about doc/ChangeLog.
34813 * admin/authors.el: Add a FIXME.
34814 * admin/make-tarball.txt:
34815 * lisp/calendar/icalendar.el:
34816 * lisp/gnus/deuglify.el:
34817 * lisp/obsolete/gulp.el:
34819 Adjust to renamed ChangeLog history files.
34820 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
34821 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
34822 Remove obsolete discussion of merging ChangeLog files.
34823 New section "Maintaining ChangeLog history".
34824 * build-aux/git-hooks/pre-commit:
34825 Reject attempts to commit files named 'ChangeLog'.
34826 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
34827 * make-dist: Make and distribute top-level ChangeLog if there's a
34828 .git directory. Distribute the new ChangeLog history files
34829 instead of scattered ChangeLog files. Distribute the new files
34830 gitlog-to-changelog and gitlog-to-emacslog.
34833 Rename ChangeLogs for gitlog-to-changelog
34834 This patch was implemented via the following shell commands:
34835 find * -name ChangeLog |
34836 sed 's,.*,git mv & &.1,
34837 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
34838 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
34839 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
34840 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
34841 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
34843 git commit -am"[this commit message]"
34845 This file records repository revisions from
34846 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
34847 commit a725592db8824bb97d07e3897e800eee946757a3 (inclusive).
34848 See ChangeLog.1 for earlier changes.
34850 ;; Local Variables:
34854 Copyright (C) 2015-2016 Free Software Foundation, Inc.
34856 This file is part of GNU Emacs.
34858 GNU Emacs is free software: you can redistribute it and/or modify
34859 it under the terms of the GNU General Public License as published by
34860 the Free Software Foundation, either version 3 of the License, or
34861 (at your option) any later version.
34863 GNU Emacs is distributed in the hope that it will be useful,
34864 but WITHOUT ANY WARRANTY; without even the implied warranty of
34865 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34866 GNU General Public License for more details.
34868 You should have received a copy of the GNU General Public License
34869 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.